devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: doc: Document missing binding for omap5-mpu
@ 2013-11-08 10:38 Sricharan R
  2013-11-08 10:38 ` [PATCH 2/2] ARM: dts: doc: Document missing binding for ti-sdma controller Sricharan R
  2013-12-03  5:44 ` [PATCH 1/2] ARM: dts: doc: Document missing binding for omap5-mpu Rob Herring
  0 siblings, 2 replies; 7+ messages in thread
From: Sricharan R @ 2013-11-08 10:38 UTC (permalink / raw)
  To: linux-omap, linux-doc, linux-arm-kernel, devicetree
  Cc: bcousson, santosh.shilimkar, r.sricharan

The binding and support for omap5-mpu which has a cortex-a15
smp core, gic and integrated L2 cache has been existing for sometime.
So Documenting the missing binding here.

Cc: Benoit Cousson <bcousson@baylibre.com>
Signed-off-by: Sricharan R <r.sricharan@ti.com>
---
 Documentation/devicetree/bindings/arm/omap/mpu.txt |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/omap/mpu.txt b/Documentation/devicetree/bindings/arm/omap/mpu.txt
index 1a5a42c..83f405b 100644
--- a/Documentation/devicetree/bindings/arm/omap/mpu.txt
+++ b/Documentation/devicetree/bindings/arm/omap/mpu.txt
@@ -7,10 +7,18 @@ The MPU contain CPUs, GIC, L2 cache and a local PRCM.
 Required properties:
 - compatible : Should be "ti,omap3-mpu" for OMAP3
                Should be "ti,omap4-mpu" for OMAP4
+	       Should be "ti,omap5-mpu" for OMAP5
 - ti,hwmods: "mpu"
 
 Examples:
 
+- For an OMAP5 SMP system:
+
+mpu {
+    compatible = "ti,omap5-mpu";
+    ti,hwmods = "mpu"
+};
+
 - For an OMAP4 SMP system:
 
 mpu {
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/2] ARM: dts: doc: Document missing binding for ti-sdma controller
  2013-11-08 10:38 [PATCH 1/2] ARM: dts: doc: Document missing binding for omap5-mpu Sricharan R
@ 2013-11-08 10:38 ` Sricharan R
  2013-11-08 21:54   ` Rob Herring
  2013-12-03  5:44 ` [PATCH 1/2] ARM: dts: doc: Document missing binding for omap5-mpu Rob Herring
  1 sibling, 1 reply; 7+ messages in thread
From: Sricharan R @ 2013-11-08 10:38 UTC (permalink / raw)
  To: linux-omap, linux-doc, linux-arm-kernel, devicetree
  Cc: bcousson, santosh.shilimkar, r.sricharan

The binding and support for system DMA module present in OMAP2+ Socs
and DRA7 with dma-engine is already present. So adding the missing
documentation for the same.

Cc: Benoit Cousson <bcousson@baylibre.com>
Signed-off-by: Sricharan R <r.sricharan@ti.com>
---
 Documentation/devicetree/bindings/dma/ti-sdma.txt |   28 +++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/dma/ti-sdma.txt

diff --git a/Documentation/devicetree/bindings/dma/ti-sdma.txt b/Documentation/devicetree/bindings/dma/ti-sdma.txt
new file mode 100644
index 0000000..7fb2342
--- /dev/null
+++ b/Documentation/devicetree/bindings/dma/ti-sdma.txt
@@ -0,0 +1,28 @@
+TI SDMA
+
+Required Properties:
+- compatible :	Should be "ti,omap2420-sdma", "ti,omap2430-sdma" for OMAP2
+		Should be "ti,omap3430-sdma", "ti,omap3630-sdma" for OMAP3
+		Should be "ti,omap4430-sdma" for OMAP4, OMAP5 and DRA7
+- reg: Memory map for accessing module
+- interrupts: Interrupt request number from the dma controller to
+	      interrupt controller
+- dma-cells: Should be set to <1>
+- dma-channels: Total number of logical DMA channels supported by the
+		controller
+- dma-requests: Total number of dma request signals supported by the
+		controller
+
+Example:
+
+sdma: dma-controller@48056000 {
+	compatible = "ti,omap4430-sdma";
+	reg = <0x48056000 0x1000>;
+	interrupts = <12>,
+		     <13>,
+		     <14>,
+		     <15>;
+	#dma-cells = <1>;
+	#dma-channels = <32>;
+	#dma-requests = <64>;
+};
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] ARM: dts: doc: Document missing binding for ti-sdma controller
  2013-11-08 10:38 ` [PATCH 2/2] ARM: dts: doc: Document missing binding for ti-sdma controller Sricharan R
@ 2013-11-08 21:54   ` Rob Herring
  2013-11-09 11:53     ` Sricharan R
  0 siblings, 1 reply; 7+ messages in thread
From: Rob Herring @ 2013-11-08 21:54 UTC (permalink / raw)
  To: Sricharan R
  Cc: linux-omap, linux-doc, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, Santosh Shilimkar, Benoit Cousson

On Fri, Nov 8, 2013 at 4:38 AM, Sricharan R <r.sricharan@ti.com> wrote:
> The binding and support for system DMA module present in OMAP2+ Socs
> and DRA7 with dma-engine is already present. So adding the missing
> documentation for the same.
>
> Cc: Benoit Cousson <bcousson@baylibre.com>
> Signed-off-by: Sricharan R <r.sricharan@ti.com>
> ---
>  Documentation/devicetree/bindings/dma/ti-sdma.txt |   28 +++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/dma/ti-sdma.txt
>
> diff --git a/Documentation/devicetree/bindings/dma/ti-sdma.txt b/Documentation/devicetree/bindings/dma/ti-sdma.txt
> new file mode 100644
> index 0000000..7fb2342
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/dma/ti-sdma.txt
> @@ -0,0 +1,28 @@
> +TI SDMA
> +
> +Required Properties:
> +- compatible : Should be "ti,omap2420-sdma", "ti,omap2430-sdma" for OMAP2
> +               Should be "ti,omap3430-sdma", "ti,omap3630-sdma" for OMAP3
> +               Should be "ti,omap4430-sdma" for OMAP4, OMAP5 and DRA7
> +- reg: Memory map for accessing module
> +- interrupts: Interrupt request number from the dma controller to

s/dma/DMA/

> +             interrupt controller
> +- dma-cells: Should be set to <1>
> +- dma-channels: Total number of logical DMA channels supported by the
> +               controller
> +- dma-requests: Total number of dma request signals supported by the

s/dma/DMA/

> +               controller

These should have the # included.

Rob

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] ARM: dts: doc: Document missing binding for ti-sdma controller
  2013-11-08 21:54   ` Rob Herring
@ 2013-11-09 11:53     ` Sricharan R
  2013-11-11 15:56       ` Rob Herring
  0 siblings, 1 reply; 7+ messages in thread
From: Sricharan R @ 2013-11-09 11:53 UTC (permalink / raw)
  To: Rob Herring
  Cc: linux-omap, linux-doc, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, Santosh Shilimkar, Benoit Cousson

Hi Rob,

On Saturday 09 November 2013 03:24 AM, Rob Herring wrote:
> On Fri, Nov 8, 2013 at 4:38 AM, Sricharan R <r.sricharan@ti.com> wrote:
>> The binding and support for system DMA module present in OMAP2+ Socs
>> and DRA7 with dma-engine is already present. So adding the missing
>> documentation for the same.
>>
>> Cc: Benoit Cousson <bcousson@baylibre.com>
>> Signed-off-by: Sricharan R <r.sricharan@ti.com>
>> ---
>>  Documentation/devicetree/bindings/dma/ti-sdma.txt |   28 +++++++++++++++++++++
>>  1 file changed, 28 insertions(+)
>>  create mode 100644 Documentation/devicetree/bindings/dma/ti-sdma.txt
>>
>> diff --git a/Documentation/devicetree/bindings/dma/ti-sdma.txt b/Documentation/devicetree/bindings/dma/ti-sdma.txt
>> new file mode 100644
>> index 0000000..7fb2342
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/dma/ti-sdma.txt
>> @@ -0,0 +1,28 @@
>> +TI SDMA
>> +
>> +Required Properties:
>> +- compatible : Should be "ti,omap2420-sdma", "ti,omap2430-sdma" for OMAP2
>> +               Should be "ti,omap3430-sdma", "ti,omap3630-sdma" for OMAP3
>> +               Should be "ti,omap4430-sdma" for OMAP4, OMAP5 and DRA7
>> +- reg: Memory map for accessing module
>> +- interrupts: Interrupt request number from the dma controller to
> s/dma/DMA/
>
>> +             interrupt controller
>> +- dma-cells: Should be set to <1>
>> +- dma-channels: Total number of logical DMA channels supported by the
>> +               controller
>> +- dma-requests: Total number of dma request signals supported by the
> s/dma/DMA/
 Ok, will correct case.
>> +               controller
> These should have the # included.
 Sorry, i do not follow this ?

Regards,
 Sricharan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] ARM: dts: doc: Document missing binding for ti-sdma controller
  2013-11-09 11:53     ` Sricharan R
@ 2013-11-11 15:56       ` Rob Herring
  2013-11-11 15:58         ` Sricharan R
  0 siblings, 1 reply; 7+ messages in thread
From: Rob Herring @ 2013-11-11 15:56 UTC (permalink / raw)
  To: Sricharan R
  Cc: linux-omap, linux-doc, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, Santosh Shilimkar, Benoit Cousson

On Sat, Nov 9, 2013 at 5:53 AM, Sricharan R <r.sricharan@ti.com> wrote:
> Hi Rob,
>
> On Saturday 09 November 2013 03:24 AM, Rob Herring wrote:
>> On Fri, Nov 8, 2013 at 4:38 AM, Sricharan R <r.sricharan@ti.com> wrote:
>>> The binding and support for system DMA module present in OMAP2+ Socs
>>> and DRA7 with dma-engine is already present. So adding the missing
>>> documentation for the same.
>>>
>>> Cc: Benoit Cousson <bcousson@baylibre.com>
>>> Signed-off-by: Sricharan R <r.sricharan@ti.com>
>>> ---
>>>  Documentation/devicetree/bindings/dma/ti-sdma.txt |   28 +++++++++++++++++++++
>>>  1 file changed, 28 insertions(+)
>>>  create mode 100644 Documentation/devicetree/bindings/dma/ti-sdma.txt
>>>
>>> diff --git a/Documentation/devicetree/bindings/dma/ti-sdma.txt b/Documentation/devicetree/bindings/dma/ti-sdma.txt
>>> new file mode 100644
>>> index 0000000..7fb2342
>>> --- /dev/null
>>> +++ b/Documentation/devicetree/bindings/dma/ti-sdma.txt
>>> @@ -0,0 +1,28 @@
>>> +TI SDMA
>>> +
>>> +Required Properties:
>>> +- compatible : Should be "ti,omap2420-sdma", "ti,omap2430-sdma" for OMAP2
>>> +               Should be "ti,omap3430-sdma", "ti,omap3630-sdma" for OMAP3
>>> +               Should be "ti,omap4430-sdma" for OMAP4, OMAP5 and DRA7
>>> +- reg: Memory map for accessing module
>>> +- interrupts: Interrupt request number from the dma controller to
>> s/dma/DMA/
>>
>>> +             interrupt controller
>>> +- dma-cells: Should be set to <1>
>>> +- dma-channels: Total number of logical DMA channels supported by the
>>> +               controller
>>> +- dma-requests: Total number of dma request signals supported by the
>> s/dma/DMA/
>  Ok, will correct case.
>>> +               controller
>> These should have the # included.
>  Sorry, i do not follow this ?

You are missing the # in the property names as the example has:

+       #dma-cells = <1>;
+       #dma-channels = <32>;
+       #dma-requests = <64>;

Rob

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] ARM: dts: doc: Document missing binding for ti-sdma controller
  2013-11-11 15:56       ` Rob Herring
@ 2013-11-11 15:58         ` Sricharan R
  0 siblings, 0 replies; 7+ messages in thread
From: Sricharan R @ 2013-11-11 15:58 UTC (permalink / raw)
  To: Rob Herring
  Cc: linux-omap, linux-doc, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, Santosh Shilimkar, Benoit Cousson

On Monday 11 November 2013 09:26 PM, Rob Herring wrote:
> On Sat, Nov 9, 2013 at 5:53 AM, Sricharan R <r.sricharan@ti.com> wrote:
>> Hi Rob,
>>
>> On Saturday 09 November 2013 03:24 AM, Rob Herring wrote:
>>> On Fri, Nov 8, 2013 at 4:38 AM, Sricharan R <r.sricharan@ti.com> wrote:
>>>> The binding and support for system DMA module present in OMAP2+ Socs
>>>> and DRA7 with dma-engine is already present. So adding the missing
>>>> documentation for the same.
>>>>
>>>> Cc: Benoit Cousson <bcousson@baylibre.com>
>>>> Signed-off-by: Sricharan R <r.sricharan@ti.com>
>>>> ---
>>>>  Documentation/devicetree/bindings/dma/ti-sdma.txt |   28 +++++++++++++++++++++
>>>>  1 file changed, 28 insertions(+)
>>>>  create mode 100644 Documentation/devicetree/bindings/dma/ti-sdma.txt
>>>>
>>>> diff --git a/Documentation/devicetree/bindings/dma/ti-sdma.txt b/Documentation/devicetree/bindings/dma/ti-sdma.txt
>>>> new file mode 100644
>>>> index 0000000..7fb2342
>>>> --- /dev/null
>>>> +++ b/Documentation/devicetree/bindings/dma/ti-sdma.txt
>>>> @@ -0,0 +1,28 @@
>>>> +TI SDMA
>>>> +
>>>> +Required Properties:
>>>> +- compatible : Should be "ti,omap2420-sdma", "ti,omap2430-sdma" for OMAP2
>>>> +               Should be "ti,omap3430-sdma", "ti,omap3630-sdma" for OMAP3
>>>> +               Should be "ti,omap4430-sdma" for OMAP4, OMAP5 and DRA7
>>>> +- reg: Memory map for accessing module
>>>> +- interrupts: Interrupt request number from the dma controller to
>>> s/dma/DMA/
>>>
>>>> +             interrupt controller
>>>> +- dma-cells: Should be set to <1>
>>>> +- dma-channels: Total number of logical DMA channels supported by the
>>>> +               controller
>>>> +- dma-requests: Total number of dma request signals supported by the
>>> s/dma/DMA/
>>  Ok, will correct case.
>>>> +               controller
>>> These should have the # included.
>>  Sorry, i do not follow this ?
> You are missing the # in the property names as the example has:
>
> +       #dma-cells = <1>;
> +       #dma-channels = <32>;
> +       #dma-requests = <64>;
>
> Rob
Oh, ok, Will add this.

Regards,
 Sricharan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] ARM: dts: doc: Document missing binding for omap5-mpu
  2013-11-08 10:38 [PATCH 1/2] ARM: dts: doc: Document missing binding for omap5-mpu Sricharan R
  2013-11-08 10:38 ` [PATCH 2/2] ARM: dts: doc: Document missing binding for ti-sdma controller Sricharan R
@ 2013-12-03  5:44 ` Rob Herring
  1 sibling, 0 replies; 7+ messages in thread
From: Rob Herring @ 2013-12-03  5:44 UTC (permalink / raw)
  To: Sricharan R
  Cc: linux-omap, linux-doc@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	Santosh Shilimkar, Benoit Cousson

On Fri, Nov 8, 2013 at 4:38 AM, Sricharan R <r.sricharan@ti.com> wrote:
> The binding and support for omap5-mpu which has a cortex-a15
> smp core, gic and integrated L2 cache has been existing for sometime.
> So Documenting the missing binding here.
>
> Cc: Benoit Cousson <bcousson@baylibre.com>
> Signed-off-by: Sricharan R <r.sricharan@ti.com>
> ---
>  Documentation/devicetree/bindings/arm/omap/mpu.txt |    8 ++++++++
>  1 file changed, 8 insertions(+)

Applied for 3.13.

Rob

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-12-03  5:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-08 10:38 [PATCH 1/2] ARM: dts: doc: Document missing binding for omap5-mpu Sricharan R
2013-11-08 10:38 ` [PATCH 2/2] ARM: dts: doc: Document missing binding for ti-sdma controller Sricharan R
2013-11-08 21:54   ` Rob Herring
2013-11-09 11:53     ` Sricharan R
2013-11-11 15:56       ` Rob Herring
2013-11-11 15:58         ` Sricharan R
2013-12-03  5:44 ` [PATCH 1/2] ARM: dts: doc: Document missing binding for omap5-mpu Rob Herring

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).