* [PATCH 02/11] pci-rcar-gen2: add initial device tree documentation
@ 2014-02-05 10:19 Ben Dooks
2014-02-05 12:04 ` Magnus Damm
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Ben Dooks @ 2014-02-05 10:19 UTC (permalink / raw)
To: linux-sh
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 <ben.dooks@codethink.co.uk>
---
Cc: linux-sh@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: horms+renesas@verge.net.au
---
.../devicetree/bindings/pci/renessas,pci-r8a7790.txt | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pci/renessas,pci-r8a7790.txt
diff --git a/Documentation/devicetree/bindings/pci/renessas,pci-r8a7790.txt b/Documentation/devicetree/bindings/pci/renessas,pci-r8a7790.txt
new file mode 100644
index 0000000..a6fd432
--- /dev/null
+++ b/Documentation/devicetree/bindings/pci/renessas,pci-r8a7790.txt
@@ -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
--
1.8.5.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 02/11] pci-rcar-gen2: add initial device tree documentation
2014-02-05 10:19 [PATCH 02/11] pci-rcar-gen2: add initial device tree documentation Ben Dooks
@ 2014-02-05 12:04 ` Magnus Damm
2014-02-05 12:17 ` Ben Dooks
2014-02-05 12:22 ` Magnus Damm
2 siblings, 0 replies; 4+ messages in thread
From: Magnus Damm @ 2014-02-05 12:04 UTC (permalink / raw)
To: linux-sh
On Wed, Feb 5, 2014 at 7:19 PM, Ben Dooks <ben.dooks@codethink.co.uk> wrote:
> 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 <ben.dooks@codethink.co.uk>
> ---
> Cc: linux-sh@vger.kernel.org
> Cc: devicetree@vger.kernel.org
> Cc: horms+renesas@verge.net.au
> ---
> .../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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 02/11] pci-rcar-gen2: add initial device tree documentation
2014-02-05 10:19 [PATCH 02/11] pci-rcar-gen2: add initial device tree documentation Ben Dooks
2014-02-05 12:04 ` Magnus Damm
@ 2014-02-05 12:17 ` Ben Dooks
2014-02-05 12:22 ` Magnus Damm
2 siblings, 0 replies; 4+ messages in thread
From: Ben Dooks @ 2014-02-05 12:17 UTC (permalink / raw)
To: linux-sh
On 05/02/14 12:04, Magnus Damm wrote:
> On Wed, Feb 5, 2014 at 7:19 PM, Ben Dooks <ben.dooks@codethink.co.uk> wrote:
>> 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 <ben.dooks@codethink.co.uk>
>> ---
>> Cc: linux-sh@vger.kernel.org
>> Cc: devicetree@vger.kernel.org
>> Cc: horms+renesas@verge.net.au
>> ---
>> .../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.
Great, let's get this lot reviewed and hopefully we can get this sorted
before the 3.15-rc1.
> 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.
Thanks, should I change this to be renesas,pci-rcar-gen2.txt then?
--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 02/11] pci-rcar-gen2: add initial device tree documentation
2014-02-05 10:19 [PATCH 02/11] pci-rcar-gen2: add initial device tree documentation Ben Dooks
2014-02-05 12:04 ` Magnus Damm
2014-02-05 12:17 ` Ben Dooks
@ 2014-02-05 12:22 ` Magnus Damm
2 siblings, 0 replies; 4+ messages in thread
From: Magnus Damm @ 2014-02-05 12:22 UTC (permalink / raw)
To: linux-sh
On Wed, Feb 5, 2014 at 9:17 PM, Ben Dooks <ben.dooks@codethink.co.uk> wrote:
> On 05/02/14 12:04, Magnus Damm wrote:
>>
>> On Wed, Feb 5, 2014 at 7:19 PM, Ben Dooks <ben.dooks@codethink.co.uk>
>> wrote:
>>>
>>> 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 <ben.dooks@codethink.co.uk>
>>> ---
>>> Cc: linux-sh@vger.kernel.org
>>> Cc: devicetree@vger.kernel.org
>>> Cc: horms+renesas@verge.net.au
>>> ---
>>> .../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.
>
>
> Great, let's get this lot reviewed and hopefully we can get this sorted
> before the 3.15-rc1.
Sure.
>> 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.
>
>
> Thanks, should I change this to be renesas,pci-rcar-gen2.txt then?
Sounds good to me!
Thanks,
/ magnus
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-02-05 12:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-05 10:19 [PATCH 02/11] pci-rcar-gen2: add initial device tree documentation Ben Dooks
2014-02-05 12:04 ` Magnus Damm
2014-02-05 12:17 ` Ben Dooks
2014-02-05 12:22 ` Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).