dt-bindings: PCI: host-bridges: Switch from deprecated pci-bus.yaml
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 13 Apr 2024 15:16:16 +0000 (17:16 +0200)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Wed, 15 May 2024 14:44:47 +0000 (14:44 +0000)
dtschema package with core schemas deprecated pci-bus.yaml schema in
favor of pci-host-bridge.yaml.  Update all bindings to use the latter
one.

The difference between pci-bus.yaml and pci-host-bridge.yaml is only in
lack of "reg" property defined by the latter, which should not have any
effect here, because all these bindings define the "reg".

The change is therefore quite trivial, however it requires dtschema
package v2024.02 or newer.

Link: https://lore.kernel.org/linux-pci/20240413151617.35630-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> # Renesas
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
24 files changed:
Documentation/devicetree/bindings/pci/amlogic,axg-pcie.yaml
Documentation/devicetree/bindings/pci/apple,pcie.yaml
Documentation/devicetree/bindings/pci/brcm,iproc-pcie.yaml
Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml
Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml
Documentation/devicetree/bindings/pci/faraday,ftpci100.yaml
Documentation/devicetree/bindings/pci/host-generic-pci.yaml
Documentation/devicetree/bindings/pci/intel,ixp4xx-pci.yaml
Documentation/devicetree/bindings/pci/intel,keembay-pcie.yaml
Documentation/devicetree/bindings/pci/loongson.yaml
Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml
Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml
Documentation/devicetree/bindings/pci/qcom,pcie.yaml
Documentation/devicetree/bindings/pci/rcar-pci-host.yaml
Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml
Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie.yaml
Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml
Documentation/devicetree/bindings/pci/ti,am65-pci-host.yaml
Documentation/devicetree/bindings/pci/versatile.yaml
Documentation/devicetree/bindings/pci/xilinx-versal-cpm.yaml
Documentation/devicetree/bindings/pci/xlnx,axi-pcie-host.yaml
Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml
Documentation/devicetree/bindings/pci/xlnx,xdma-host.yaml

index a5bd90bc0712e4d16c741e510bd59fa56d71f173..79a21ba0f9fd62804ba95fe8a6cc3252cf652197 100644 (file)
@@ -13,7 +13,7 @@ description:
   Amlogic Meson PCIe host controller is based on the Synopsys DesignWare PCI core.
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
   - $ref: /schemas/pci/snps,dw-pcie-common.yaml#
 
 # We need a select here so we don't match all nodes with 'snps,dw-pcie'
index 215ff9a9c8352ecd551051971285d066a4fb3858..c8775f9cb071339dfa6f17f9f4a99f031c98b70a 100644 (file)
@@ -85,7 +85,7 @@ required:
 unevaluatedProperties: false
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
   - $ref: /schemas/interrupt-controller/msi-controller.yaml#
   - if:
       properties:
index 0e07ab61a48d28954f278acb2ac05d430b492ff7..5434c144d2ec0fd05be6455c7b5ae60dc4bac778 100644 (file)
@@ -11,7 +11,7 @@ maintainers:
   - Scott Branden <scott.branden@broadcom.com>
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
 
 properties:
   compatible:
index 22491f7f88521c853c1ed8e91c5f9d5db2d095ef..11f8ea33240cfd2df4b9cab4163659f6b98ff544 100644 (file)
@@ -108,7 +108,7 @@ required:
   - msi-controller
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
   - $ref: /schemas/interrupt-controller/msi-controller.yaml#
   - if:
       properties:
index a6b494401ebbc85ea499a49a5a3e7ff23dee3a8f..f4eb82e684bd5a33dda4146f7746d3e22b54d2a3 100644 (file)
@@ -10,7 +10,7 @@ maintainers:
   - Tom Joseph <tjoseph@cadence.com>
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
   - $ref: cdns-pcie.yaml#
 
 properties:
index 92efbf0f1297f65cc5efeb15eedac1f2b5d49aa2..378dd1c8e2ee2e3964d7408e0be6646a3a42bec9 100644 (file)
@@ -51,7 +51,7 @@ description: |
         <0x6000 0 0 4 &pci_intc 2>;
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
 
 properties:
   compatible:
index d25423aa71674c40c5718fa33cd01de27f2441b6..3484e0b4b412e8e558435d193dd55ce1fad178f1 100644 (file)
@@ -116,7 +116,7 @@ required:
   - ranges
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
   - if:
       properties:
         compatible:
index debfb54a8042491b6472ef3e50e20dc1cb9c2d9a..3cae2e0f7f5e263a2c51c5f13ac9838cd6837a7f 100644 (file)
@@ -12,7 +12,7 @@ maintainers:
 description: PCI host controller found in the Intel IXP4xx SoC series.
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
 
 properties:
   compatible:
index 505acc4f3efc1ec74b74e5bf628796ecd9dfc76f..1fd557504b107e74bd539a99443672e1320088e0 100644 (file)
@@ -11,7 +11,7 @@ maintainers:
   - Srikanth Thokala <srikanth.thokala@intel.com>
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
 
 properties:
   compatible:
index a8324a9bd002f6b867eb11aba40a83385002fce4..1988465e73a12129e07bc62d828242060c81f2f3 100644 (file)
@@ -13,7 +13,7 @@ description: |+
   PCI host controller found on Loongson PCHs and SoCs.
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
 
 properties:
   compatible:
index 7e8c7a2a5f9b6c387b1ec2fd7b5a47dcee5867e1..76d742051f7346c16aeadbfeec72ad3f59c2a29a 100644 (file)
@@ -140,7 +140,7 @@ required:
   - interrupt-controller
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
   - if:
       properties:
         compatible:
index f7a3c26363556d4daf3050db4da74c221c7711db..a3c4ddc094aa5c15dfae4b8eaa4e2485bb9edbbf 100644 (file)
@@ -10,7 +10,7 @@ maintainers:
   - Daire McNamara <daire.mcnamara@microchip.com>
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
   - $ref: /schemas/interrupt-controller/msi-controller.yaml#
 
 properties:
index 0d1b23523f62e7050bfffddf399ce160b06ae746..0a39bbfcb28b08c12b130468108bd452c7320ec9 100644 (file)
@@ -95,6 +95,6 @@ anyOf:
       - msi-map
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
 
 additionalProperties: true
index cf9a6910b542f0b9529cdcedb6740a820b397f91..f867746b1ae594a4f6b3cea171f245be866bdf53 100644 (file)
@@ -130,7 +130,7 @@ anyOf:
       - msi-map
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
   - if:
       properties:
         compatible:
index 835b6db00c27968a2b21cbd3f8ca28743cd8cf97..666f013e3af8f3ad1ae6bea020e4456f48c3a42d 100644 (file)
@@ -12,7 +12,7 @@ maintainers:
   - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
 
 allOf:
-  - $ref: pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
 
 properties:
   compatible:
index 5a0d64d3ae6b9515eca803b7b749960d5144495a..b288cdb1ec70a53fb335bf6f35c00752f0efcfe7 100644 (file)
@@ -110,7 +110,7 @@ required:
   - "#interrupt-cells"
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
 
   - if:
       properties:
index 531008f0b6ac327401452d0f0ae9043806059534..60a36b586e1a6e1650e7e1607d0b62cf02c5e3ff 100644 (file)
@@ -10,7 +10,7 @@ maintainers:
   - Shawn Lin <shawn.lin@rock-chips.com>
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
   - $ref: rockchip,rk3399-pcie-common.yaml#
 
 properties:
index 022055edbf9e69fcd9ccf3e2551025192f72f3ad..548f59d76ef2094c413635f6bf278c657d16a1c6 100644 (file)
@@ -23,7 +23,7 @@ select:
     - compatible
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
   - $ref: /schemas/pci/snps,dw-pcie-common.yaml#
   - if:
       not:
index c54d4e57d089d2926ceb0f9a61a099661d9fe548..0a9d10532cc8ced79689c2352bcb221d8cfc0338 100644 (file)
@@ -11,7 +11,7 @@ maintainers:
   - Kishon Vijay Abraham I <kishon@ti.com>
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
 
 properties:
   compatible:
index 09748ef6b94f5af8ec0d7a3b42a7415fece61034..294c7cd84b37f11b7bf33c1b3a5a3f7bfc378738 100644 (file)
@@ -13,7 +13,7 @@ description: |+
   PCI host controller found on the ARM Versatile PB board's FPGA.
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
 
 properties:
   compatible:
index 4734be456bde6c6c4b2c567e0ac6ccc7d518e6cc..b75ceefa6f93b4b6b39ebb77cbfba37096ca8b94 100644 (file)
@@ -10,7 +10,7 @@ maintainers:
   - Bharat Kumar Gogada <bharat.kumar.gogada@amd.com>
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
 
 properties:
   compatible:
index 69b7decabd45479b77da7ce19c2beca931d05a6e..fb87b960a250c100f1781ec56601e8657e912523 100644 (file)
@@ -10,7 +10,7 @@ maintainers:
   - Thippeswamy Havalige <thippeswamy.havalige@amd.com>
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
 
 properties:
   compatible:
index 426f90a47f355a196178f716a439c1c040c63663..b0d07c71c1c0e82a4ac773a455f121a5aebd2299 100644 (file)
@@ -10,7 +10,7 @@ maintainers:
   - Thippeswamy Havalige <thippeswamy.havalige@amd.com>
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
   - $ref: /schemas/interrupt-controller/msi-controller.yaml#
 
 properties:
index 0aa00b8e49b3afc6707cd860e79b25cc63debb88..2f59b3a73dd27f12df332a846c15ac3aa27c422a 100644 (file)
@@ -10,7 +10,7 @@ maintainers:
   - Thippeswamy Havalige <thippeswamy.havalige@amd.com>
 
 allOf:
-  - $ref: /schemas/pci/pci-bus.yaml#
+  - $ref: /schemas/pci/pci-host-bridge.yaml#
 
 properties:
   compatible: