2014-06-19 14:08:03

by Gregory CLEMENT

[permalink] [raw]
Subject: [PATCH] ARM: mvebu: Fix missing binding documentation for Armada 38x

For the Armada 380 and Armada 385 SoCs, the common bindings for those
2 SoCs, was forgotten. This patch add the documentation for the
marvell,aramda38x property.

Signed-off-by: Gregory CLEMENT <[email protected]>
---
Hi,

This fix should be merged in 3.16. For 3.15 I am not sure as it is not
a regression.

Thanks,
Gregory

Documentation/devicetree/bindings/arm/armada-38x.txt | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/armada-38x.txt b/Documentation/devicetree/bindings/arm/armada-38x.txt
index 11f2330a6554..b68bcb80d2de 100644
--- a/Documentation/devicetree/bindings/arm/armada-38x.txt
+++ b/Documentation/devicetree/bindings/arm/armada-38x.txt
@@ -6,5 +6,9 @@ following property:

Required root node property:

+compatible: must contain "marvell,armada38x"
+
+Required root node property:
+
- compatible: must contain either "marvell,armada380" or
"marvell,armada385" depending on the variant of the SoC being used.
--
1.8.1.2


2014-06-19 14:54:54

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH] ARM: mvebu: Fix missing binding documentation for Armada 38x

On Thu, Jun 19, 2014 at 9:07 AM, Gregory CLEMENT
<[email protected]> wrote:
> For the Armada 380 and Armada 385 SoCs, the common bindings for those
> 2 SoCs, was forgotten. This patch add the documentation for the
> marvell,aramda38x property.
>
> Signed-off-by: Gregory CLEMENT <[email protected]>
> ---
> Hi,
>
> This fix should be merged in 3.16. For 3.15 I am not sure as it is not
> a regression.
>
> Thanks,
> Gregory
>
> Documentation/devicetree/bindings/arm/armada-38x.txt | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/armada-38x.txt b/Documentation/devicetree/bindings/arm/armada-38x.txt
> index 11f2330a6554..b68bcb80d2de 100644
> --- a/Documentation/devicetree/bindings/arm/armada-38x.txt
> +++ b/Documentation/devicetree/bindings/arm/armada-38x.txt
> @@ -6,5 +6,9 @@ following property:
>
> Required root node property:
>
> +compatible: must contain "marvell,armada38x"
> +
> +Required root node property:
> +
> - compatible: must contain either "marvell,armada380" or
> "marvell,armada385" depending on the variant of the SoC being used.

This looks a bit strange. How about something like this:

- compatible: must contain either "marvell,armada380" or
"marvell,armada385" depending on the variant of the SoC being
used and contain "marvell,armada38x".

Rob

2014-06-19 16:25:08

by Gregory CLEMENT

[permalink] [raw]
Subject: Re: [PATCH] ARM: mvebu: Fix missing binding documentation for Armada 38x

Hi Rob,

On 19/06/2014 16:54, Rob Herring wrote:
> On Thu, Jun 19, 2014 at 9:07 AM, Gregory CLEMENT
> <[email protected]> wrote:
>> For the Armada 380 and Armada 385 SoCs, the common bindings for those
>> 2 SoCs, was forgotten. This patch add the documentation for the
>> marvell,aramda38x property.
>>
>> Signed-off-by: Gregory CLEMENT <[email protected]>
>> ---
>> Hi,
>>
>> This fix should be merged in 3.16. For 3.15 I am not sure as it is not
>> a regression.
>>
>> Thanks,
>> Gregory
>>
>> Documentation/devicetree/bindings/arm/armada-38x.txt | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/armada-38x.txt b/Documentation/devicetree/bindings/arm/armada-38x.txt
>> index 11f2330a6554..b68bcb80d2de 100644
>> --- a/Documentation/devicetree/bindings/arm/armada-38x.txt
>> +++ b/Documentation/devicetree/bindings/arm/armada-38x.txt
>> @@ -6,5 +6,9 @@ following property:
>>
>> Required root node property:
>>
>> +compatible: must contain "marvell,armada38x"
>> +
>> +Required root node property:
>> +
>> - compatible: must contain either "marvell,armada380" or
>> "marvell,armada385" depending on the variant of the SoC being used.
>
> This looks a bit strange. How about something like this:
>
> - compatible: must contain either "marvell,armada380" or
> "marvell,armada385" depending on the variant of the SoC being
> used and contain "marvell,armada38x".

Indeed it will be more clear written in this way.


Thanks,

Gregory


>
> Rob
>


--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

2014-06-19 16:31:56

by Sergei Shtylyov

[permalink] [raw]
Subject: Re: [PATCH] ARM: mvebu: Fix missing binding documentation for Armada 38x

On 06/19/2014 06:07 PM, Gregory CLEMENT wrote:

> For the Armada 380 and Armada 385 SoCs, the common bindings for those
> 2 SoCs, was forgotten. This patch add the documentation for the
> marvell,aramda38x property.

> Signed-off-by: Gregory CLEMENT <[email protected]>
> ---
> Hi,

> This fix should be merged in 3.16. For 3.15 I am not sure as it is not
> a regression.

> Thanks,
> Gregory

> Documentation/devicetree/bindings/arm/armada-38x.txt | 4 ++++
> 1 file changed, 4 insertions(+)

> diff --git a/Documentation/devicetree/bindings/arm/armada-38x.txt b/Documentation/devicetree/bindings/arm/armada-38x.txt
> index 11f2330a6554..b68bcb80d2de 100644
> --- a/Documentation/devicetree/bindings/arm/armada-38x.txt
> +++ b/Documentation/devicetree/bindings/arm/armada-38x.txt
> @@ -6,5 +6,9 @@ following property:
>
> Required root node property:
>
> +compatible: must contain "marvell,armada38x"
> +
> +Required root node property:

Duplicate statement with the above?

> +
> - compatible: must contain either "marvell,armada380" or
> "marvell,armada385" depending on the variant of the SoC being used.

WBR, Sergei

2014-06-19 16:33:54

by Sergei Shtylyov

[permalink] [raw]
Subject: Re: [PATCH] ARM: mvebu: Fix missing binding documentation for Armada 38x

On 06/19/2014 06:07 PM, Gregory CLEMENT wrote:

> For the Armada 380 and Armada 385 SoCs, the common bindings for those
> 2 SoCs, was forgotten. This patch add the documentation for the
> marvell,aramda38x property.

> Signed-off-by: Gregory CLEMENT <[email protected]>
> ---
> Hi,

> This fix should be merged in 3.16. For 3.15 I am not sure as it is not
> a regression.

> Thanks,
> Gregory

> Documentation/devicetree/bindings/arm/armada-38x.txt | 4 ++++
> 1 file changed, 4 insertions(+)

> diff --git a/Documentation/devicetree/bindings/arm/armada-38x.txt b/Documentation/devicetree/bindings/arm/armada-38x.txt
> index 11f2330a6554..b68bcb80d2de 100644
> --- a/Documentation/devicetree/bindings/arm/armada-38x.txt
> +++ b/Documentation/devicetree/bindings/arm/armada-38x.txt
> @@ -6,5 +6,9 @@ following property:
>
> Required root node property:
>
> +compatible: must contain "marvell,armada38x"

Oh, and the wildcards are a no-no in the "compatible" prop.

WBR, Sergei