1. 05 Jan, 2022 13 commits
  2. 23 Dec, 2021 4 commits
  3. 21 Dec, 2021 3 commits
  4. 17 Dec, 2021 8 commits
  5. 16 Dec, 2021 3 commits
  6. 15 Dec, 2021 3 commits
  7. 14 Dec, 2021 6 commits
    • Rob Herring's avatar
      dt-bindings: PCI: designware: Fix 'unevaluatedProperties' warnings · b92225b0
      Rob Herring authored
      With 'unevaluatedProperties' support implemented, there's a number of
      warnings from the Designware PCIe based bindings:
      
      Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.example.dt.yaml: pcie@1ffc000: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'device_type', 'bus-range', 'ranges', '#interrupt-cells', 'interrupt-map-mask', 'interrupt-map' were unexpected)
      Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.example.dt.yaml: pcie@1ffc000: Unevaluated properties are not allowed ('clock-names' was unexpected)
      Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.example.dt.yaml: pcie@f4000000: Unevaluated properties are not allowed ('bus-range', '#address-cells', '#size-cells', 'device_type', 'ranges', 'num-lanes', '#interrupt-cells', 'interrupts', 'interrupt-names', 'interrupt-map-mask', 'interrupt-map', 'clocks', 'clock-names' were unexpected)
      Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.example.dt.yaml: pcie@f4000000: Unevaluated properties are not allowed ('clock-names' was unexpected)
      Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.example.dt.yaml: pcie@f5000000: Unevaluated properties are not allowed ('bus-range', '#address-cells', '#size-cells', 'device_type', 'phys', 'ranges', 'num-lanes', '#interrupt-cells', 'interrupts', 'interrupt-names', 'interrupt-map-mask', 'interrupt-map', 'reset-gpios', 'pcie@0,0' were unexpected)
      Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.example.dt.yaml: pcie@f5000000: Unevaluated properties are not allowed ('phys', 'hisilicon,clken-gpios' were unexpected)
      Documentation/devicetree/bindings/pci/intel-gw-pcie.example.dt.yaml: pcie@d0e00000: Unevaluated properties are not allowed ('device_type', '#address-cells', '#size-cells', 'linux,pci-domain', 'bus-range', '#interrupt-cells', 'interrupt-map-mask', 'interrupt-map' were unexpected)
      Documentation/devicetree/bindings/pci/intel-gw-pcie.example.dt.yaml: pcie@d0e00000: Unevaluated properties are not allowed ('resets', 'phys', 'phy-names', 'reset-assert-ms' were unexpected)
      Documentation/devicetree/bindings/pci/rockchip-dw-pcie.example.dt.yaml: pcie@fe280000: Unevaluated properties are not allowed ('clock-names', 'msi-map', 'phys', 'phy-names', 'power-domains', 'resets', 'reset-names' were unexpected)
      Documentation/devicetree/bindings/pci/samsung,exynos-pcie.example.dt.yaml: pcie@15700000: Unevaluated properties are not allowed ('#address-cells', '#size-cells', '#interrupt-cells', 'device_type', 'bus-range', 'ranges', 'interrupt-map-mask', 'interrupt-map' were unexpected)
      Documentation/devicetree/bindings/pci/samsung,exynos-pcie.example.dt.yaml: pcie@15700000: Unevaluated properties are not allowed ('clock-names', 'phys', 'vdd10-supply', 'vdd18-supply' were unexpected)
      Documentation/devicetree/bindings/pci/sifive,fu740-pcie.example.dt.yaml: pcie@e00000000: Unevaluated properties are not allowed ('#address-cells', '#size-cells', '#interrupt-cells', 'device_type', 'dma-coherent', 'bus-range', 'ranges', 'interrupts', 'interrupt-parent', 'interrupt-map-mask', 'interrupt-map', 'clock-names', 'clocks' were unexpected)
      Documentation/devicetree/bindings/pci/sifive,fu740-pcie.example.dt.yaml: pcie@e00000000: Unevaluated properties are not allowed ('dma-coherent', 'clock-names', 'resets', 'pwren-gpios' were unexpected)
      Documentation/devicetree/bindings/pci/socionext,uniphier-pcie-ep.example.dt.yaml: pcie-ep@66000000: Unevaluated properties are not allowed ('clock-names', 'clocks', 'reset-names', 'resets', 'phy-names', 'phys' were unexpected)
      Documentation/devicetree/bindings/pci/toshiba,visconti-pcie.example.dt.yaml: pcie@28400000: Unevaluated properties are not allowed ('clock-names' was unexpected)
      Documentation/devicetree/bindings/pci/toshiba,visconti-pcie.example.dt.yaml: pcie@28400000: Unevaluated properties are not allowed ('device_type', 'bus-range', 'num-viewport', '#address-cells', '#size-cells', '#interrupt-cells', 'ranges', 'interrupt-names', 'interrupt-map-mask', 'interrupt-map', 'max-link-speed' were unexpected)
      
      The main problem is that snps,dw-pcie.yaml and snps,dw-pcie-ep.yaml
      shouldn't set 'unevaluatedProperties: false'. Otherwise, bindings that
      reference them cannot add additional properties. With that addressed,
      there's a handful of other undocumented properties to add.
      
      Cc: Xiaowei Song <songxiaowei@hisilicon.com>
      Cc: Binghui Wang <wangbinghui@hisilicon.com>
      Cc: Bjorn Helgaas <bhelgaas@google.com>
      Cc: Paul Walmsley <paul.walmsley@sifive.com>
      Cc: Greentime Hu <greentime.hu@sifive.com>
      Cc: Palmer Dabbelt <palmer@dabbelt.com>
      Cc: Jingoo Han <jingoohan1@gmail.com>
      Cc: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
      Cc: linux-pci@vger.kernel.org
      Cc: linux-riscv@lists.infradead.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Link: https://lore.kernel.org/r/20211206194426.2470080-1-robh@kernel.org
      b92225b0
    • Rob Herring's avatar
      dt-bindings: PCI: cdns-ep: Fix 'unevaluatedProperties' warnings · 375c4b83
      Rob Herring authored
      With 'unevaluatedProperties' support implemented, the TI j721e endpoint
      binding example has a warning:
      
      Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.example.dt.yaml: pcie-ep@d000000: Unevaluated properties are not allowed ('max-link-speed', 'num-lanes', 'max-functions' were unexpected)
      
      Adjust where pci-ep.yaml is referenced so that ti,j721e-pci-ep.yaml will
      include it.
      
      Cc: Tom Joseph <tjoseph@cadence.com>
      Cc: Bjorn Helgaas <bhelgaas@google.com>
      Cc: linux-pci@vger.kernel.org
      Cc: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Link: https://lore.kernel.org/r/20211206194413.2469643-1-robh@kernel.org
      375c4b83
    • Rob Herring's avatar
      dt-bindings: PCI: Fix 'unevaluatedProperties' warnings · dcd49679
      Rob Herring authored
      With 'unevaluatedProperties' support implemented, there's several
      warnings due to undocumented properties:
      
      Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.example.dt.yaml: pcie@1e140000: pcie@0,0: Unevaluated properties are not allowed ('phy-names' was unexpected)
      Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.example.dt.yaml: pcie@1e140000: pcie@1,0: Unevaluated properties are not allowed ('phy-names' was unexpected)
      Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.example.dt.yaml: pcie@1e140000: pcie@2,0: Unevaluated properties are not allowed ('phy-names' was unexpected)
      Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.example.dt.yaml: pcie@11230000: Unevaluated properties are not allowed ('phy-names' was unexpected)
      Documentation/devicetree/bindings/pci/microchip,pcie-host.example.dt.yaml: pcie@2030000000: Unevaluated properties are not allowed ('interrupt-controller' was unexpected)
      Documentation/devicetree/bindings/pci/ti,am65-pci-ep.example.dt.yaml: pcie-ep@5500000: Unevaluated properties are not allowed ('num-ib-windows', 'num-ob-windows' were unexpected)
      Documentation/devicetree/bindings/pci/ti,am65-pci-host.example.dt.yaml: pcie@5500000: Unevaluated properties are not allowed ('num-viewport', 'interrupts' were unexpected)
      Documentation/devicetree/bindings/pci/ti,j721e-pci-host.example.dt.yaml: pcie@2900000: Unevaluated properties are not allowed ('dma-coherent' was unexpected)
      
      Add the necessary property definitions or remove the properties from the
      examples to fix these warnings.
      
      Cc: Ryder Lee <ryder.lee@mediatek.com>
      Cc: Jianjun Wang <jianjun.wang@mediatek.com>
      Cc: Sergio Paracuellos <sergio.paracuellos@gmail.com>
      Cc: Bjorn Helgaas <bhelgaas@google.com>
      Cc: Matthias Brugger <matthias.bgg@gmail.com>
      Cc: Daire McNamara <daire.mcnamara@microchip.com>
      Cc: Abraham I <kishon@ti.com>
      Cc: linux-pci@vger.kernel.org
      Cc: linux-mediatek@lists.infradead.org
      Cc: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Acked-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
      Link: https://lore.kernel.org/r/20211206194406.2469361-1-robh@kernel.org
      dcd49679
    • Rob Herring's avatar
      dt-bindings: memory-controllers: ti,gpmc: Drop incorrect unevaluatedProperties · 07bb5e0e
      Rob Herring authored
      With 'unevaluatedProperties' support implemented, the TI GPMC example
      has a warning:
      
      Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.example.dt.yaml: memory-controller@6e000000: onenand@0,0: Unevaluated properties are not allowed ('compatible', '#address-cells', '#size-cells', 'partition@0', 'partition@100000' were unexpected)
      
      The child node definition for GPMC is not a complete binding, so specifying
      'unevaluatedProperties: false' for it is not correct and should be
      dropped.
      
      Fixup the unnecessary 'allOf' while we're here.
      
      Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Roger Quadros <rogerq@kernel.org>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Reviewed-by: default avatarRoger Quadros <rogerq@kernel.org>
      Reviewed-by: default avatarThierry Reding <treding@nvidia.com>
      Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
      Link: https://lore.kernel.org/r/20211206174215.2297796-1-robh@kernel.org
      07bb5e0e
    • Rob Herring's avatar
      dt-bindings: usb: Add missing properties used in examples · b13e2bd3
      Rob Herring authored
      With 'unevaluatedProperties' support implemented, the following warnings
      are generated in the usb examples:
      
      Documentation/devicetree/bindings/usb/intel,keembay-dwc3.example.dt.yaml: usb: usb@34000000: Unevaluated properties are not allowed ('reg' was unexpected)
      Documentation/devicetree/bindings/usb/snps,dwc3.example.dt.yaml: usb@4a030000: Unevaluated properties are not allowed ('reg' was unexpected)
      
      Add the missing property definitions.
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>
      Cc: Felipe Balbi <balbi@kernel.org>
      Cc: linux-usb@vger.kernel.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Reviewed-by: default avatarThierry Reding <treding@nvidia.com>
      Link: https://lore.kernel.org/r/20211206174113.2295616-1-robh@kernel.org
      b13e2bd3
    • Rob Herring's avatar
      dt-bindings: watchdog: atmel: Add missing 'interrupts' property · 9696fe26
      Rob Herring authored
      With 'unevaluatedProperties' support implemented, the atmel,sama5d4-wdt
      example has the following warning:
      
      /home/rob/proj/git/linux-dt/.build-arm64/Documentation/devicetree/bindings/watchdog/atmel,sama5d4-wdt.example.dt.yaml: watchdog@fc068640: Unevaluated properties are not allowed ('interrupts' was unexpected)
      
      Document the missing 'interrupts' property.
      
      Cc: Wim Van Sebroeck <wim@linux-watchdog.org>
      Cc: Guenter Roeck <linux@roeck-us.net>
      Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
      Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
      Cc: Ludovic Desroches <ludovic.desroches@microchip.com>
      Cc: Eugen Hristev <eugen.hristev@microchip.com>
      Cc: linux-watchdog@vger.kernel.org
      Cc: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Acked-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Reviewed-by: default avatarThierry Reding <treding@nvidia.com>
      Acked-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
      Link: https://lore.kernel.org/r/20211206174045.2294873-1-robh@kernel.org
      9696fe26