dt-bindings: PCI: Convert Rockchip RK3399 PCIe to DT schema
Subsystems (5)
Rob Herring
maintainerPATCH 1/1 dt-bindings: PCI: Convert Rockchip RK3399 PCIe to DT schema
Convert the Rockchip RK3399 PCIe Host/Endpoint controller to DT schema format. Like most dual mode PCI controllers, we need to split the schema into common, host and endpoint schemas.
---
Shawn (or anyone from Rockchip), Note and please ack the license change.
--- .../pci/rockchip,rk3399-pcie-common.yaml | 69 +++++++++ .../bindings/pci/rockchip,rk3399-pcie-ep.yaml | 68 +++++++++ .../bindings/pci/rockchip,rk3399-pcie.yaml | 132 +++++++++++++++++ .../bindings/pci/rockchip-pcie-ep.txt | 62 -------- .../bindings/pci/rockchip-pcie-host.txt | 135 ------------------ MAINTAINERS | 2 +- 6 files changed, 270 insertions(+), 198 deletions(-) create mode 100644 Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie-common.yaml create mode 100644 Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie-ep.yaml create mode 100644 Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie.yaml delete mode 100644 Documentation/devicetree/bindings/pci/rockchip-pcie-ep.txt delete mode 100644 Documentation/devicetree/bindings/pci/rockchip-pcie-host.txt
Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie-common.yaml new file +69 -0
@@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/rockchip,rk3399-pcie-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip AXI PCIe Bridge Common Properties + +maintainers: + - Shawn Lin <[email protected]> + +properties: + reg: + maxItems: 2 + + clocks: + maxItems: 4 + + clock-names: + items: + - const: aclk + - const: aclk-perf + - const: hclk + - const: pm + + num-lanes: + maximum: 4 + + phys: + oneOf: + - maxItems: 1 + - maxItems: 4 + + phy-names: + oneOf: + - const: pcie-phy + - items: + - const: pcie-phy-0 + - const: pcie-phy-1 + - const: pcie-phy-2 + - const: pcie-phy-3 + + resets: + maxItems: 7 + + reset-names: + items: + - const: core + - const: mgmt + - const: mgmt-sticky + - const: pipe + - const: pm + - const: pclk + - const: aclk + +required: + - compatible + - reg + - reg-names + - clocks + - clock-names + - phys + - phy-names + - resets + - reset-names + +additionalProperties: true + +...
Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie-ep.yaml new file +68 -0
68 lines not on this page · raw message
Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie.yaml new file +132 -0
132 lines not on this page · raw message
Documentation/devicetree/bindings/pci/rockchip-pcie-ep.txt deleted +0 -62
62 lines not on this page · raw message
Documentation/devicetree/bindings/pci/rockchip-pcie-host.txt deleted +0 -135
135 lines not on this page · raw message
MAINTAINERS +1 -1
@@ -16309,7 +16309,7 @@ M: Shawn Lin <[email protected]> L: [email protected] L: [email protected] S: Maintained -F: Documentation/devicetree/bindings/pci/rockchip-pcie* +F: Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie* F: drivers/pci/controller/pcie-rockchip* PCIE DRIVER FOR SOCIONEXT UNIPHIER
Signature · 1 line
2.35.1
Quoted 7 lines · Rob Herring
Convert the Rockchip RK3399 PCIe Host/Endpoint controller to DT schema format. Like most dual mode PCI controllers, we need to split the schema into common, host and endpoint schemas.
Signed-off-by Rob Herring <[email protected]>---
Shawn (or anyone from Rockchip), Note and please ack the license change.
Quoted 14 lines
--- .../pci/rockchip,rk3399-pcie-common.yaml | 69 +++++++++ .../bindings/pci/rockchip,rk3399-pcie-ep.yaml | 68 +++++++++ .../bindings/pci/rockchip,rk3399-pcie.yaml | 132 +++++++++++++++++ .../bindings/pci/rockchip-pcie-ep.txt | 62 -------- .../bindings/pci/rockchip-pcie-host.txt | 135 ------------------ MAINTAINERS | 2 +- 6 files changed, 270 insertions(+), 198 deletions(-) create mode 100644 Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie-common.yaml create mode 100644 Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie-ep.yaml create mode 100644 Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie.yaml delete mode 100644 Documentation/devicetree/bindings/pci/rockchip-pcie-ep.txt delete mode 100644 Documentation/devicetree/bindings/pci/rockchip-pcie-host.txt
Applied, thanks!