pci-rcar-gen2: add initial device tree documentation
PATCH 2/11 pci-rcar-gen2: add initial device tree documentation
Add initial documentation for the pci-rcar-gen2 driver device tree bindings. This is not yet complete and needs work on the sub-nodes for the PCI bus.
---
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
--- .../devicetree/bindings/pci/renessas,pci-r8a7790.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/renessas,pci-r8a7790.txt
Documentation/devicetree/bindings/pci/renessas,pci-r8a7790.txt new file +12 -0
@@ -0,0 +1,12 @@ +Renesas internal AHB to PCI bridge + +This is the bridge used internally to connect the USB controllers to the +AHB. + +Required properties: + - compatible: "renesas,pci-r8a7790" for the R8A7790 SoC + - reg : A list of physical regions to access the device. The first is + the operational registers for the OHCI/EHCI controller and the + second region is for the bridge configuration and control registers. + - interrupts : interrupt for the device + - clocks : The reference to the device clock
Signature · 1 line
1.8.5.3
Quoted 4 lines · Ben Dooks
Add initial documentation for the pci-rcar-gen2 driver device tree bindings. This is not yet complete and needs work on the sub-nodes for the PCI bus.
Signed-off-by Ben Dooks <[email protected]>
Quoted 8 lines
---
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]--- .../devicetree/bindings/pci/renessas,pci-r8a7790.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/renessas,pci-r8a7790.txt
Hi Ben,
Thanks for this. Regarding DT bindings, I agree about using the SoC as suffix in the compatible string since this is in line with what we do for other device drivers. I much prefer that over "gen2" or something else that may or may not apply to newer SoCs.
As you probably know, the pci-rcar-gen2.c driver is intended to be used both on r8a7790 and r8a7791. Regarding this binding document, is it possible to make it one file for the driver instead of r8a7790 specific? That would match what we do for DT binding documentation for other device drivers.
Cheers,
/ magnus
Quoted 14 lines · Magnus Damm
Quoted 4 lines · Ben Dooks
Add initial documentation for the pci-rcar-gen2 driver device tree bindings. This is not yet complete and needs work on the sub-nodes for the PCI bus.
Signed-off-by Ben Dooks <[email protected]>Quoted 8 lines
---
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]--- .../devicetree/bindings/pci/renessas,pci-r8a7790.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+)create mode 100644
Documentation/devicetree/bindings/pci/renessas,pci-r8a7790.txt
Quoted 6 lines
Hi Ben,
Thanks for this. Regarding DT bindings, I agree about using the SoC as suffix in the compatible string since this is in line with what we do for other device drivers. I much prefer that over "gen2" or something else that may or may not apply to newer SoCs.
Great, let's get this lot reviewed and hopefully we can get this sorted before the 3.15-rc1.
Quoted 5 lines
As you probably know, the
pci-rcar-gen2.cdriver is intended to be used both on r8a7790 and r8a7791. Regarding this binding document, is it possible to make it one file for the driver instead of r8a7790 specific? That would match what we do for DT binding documentation for other device drivers.
Thanks, should I change this to be renesas,pci-rcar-gen2.txt then?
Signature · 2 lines
Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius
Quoted 24 lines · Ben Dooks
Quoted 23 lines · Magnus Damm
Quoted 10 lines · Ben Dooks
Add initial documentation for the pci-rcar-gen2 driver device tree bindings.
This is not yet complete and needs work on the sub-nodes for the PCI bus.Signed-off-by Ben Dooks <[email protected]>---
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]Quoted 6 lines
--- .../devicetree/bindings/pci/renessas,pci-r8a7790.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+)create mode 100644
Documentation/devicetree/bindings/pci/renessas,pci-r8a7790.txtHi Ben,
Quoted 8 lines
Quoted 4 lines
Thanks for this. Regarding DT bindings, I agree about using the SoC as suffix in the compatible string since this is in line with what we do for other device drivers. I much prefer that over "gen2" or something else that may or may not apply to newer SoCs.
Great, let's get this lot reviewed and hopefully we can get this sorted before the 3.15-rc1.
Sure.
Quoted 8 lines
Quoted 5 lines
As you probably know, the
pci-rcar-gen2.cdriver is intended to be used both on r8a7790 and r8a7791. Regarding this binding document, is it possible to make it one file for the driver instead of r8a7790 specific? That would match what we do for DT binding documentation for other device drivers.Thanks, should I change this to be renesas,pci-rcar-gen2.txt then?
Sounds good to me!
Thanks,
/ magnus