diff mbox

[RESEND,3/3] ARM: Kirkwood: DT: Add missing vendor prefix

Message ID 1394055207-4639-4-git-send-email-andrew@lunn.ch (mailing list archive)
State New, archived
Headers show

Commit Message

Andrew Lunn March 5, 2014, 9:33 p.m. UTC
Add vendor prefixes to compatible strings where they are missing.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
---
 arch/arm/boot/dts/kirkwood-b3.dts              | 2 +-
 arch/arm/boot/dts/kirkwood-cloudbox.dts        | 2 +-
 arch/arm/boot/dts/kirkwood-dreamplug.dts       | 2 +-
 arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts | 2 +-
 arch/arm/boot/dts/kirkwood-ns2-common.dtsi     | 2 +-
 arch/arm/boot/dts/kirkwood-nsa310.dts          | 2 +-
 arch/arm/boot/dts/kirkwood-nsa310a.dts         | 2 +-
 arch/arm/boot/dts/kirkwood-openblocks_a6.dts   | 2 +-
 arch/arm/boot/dts/kirkwood-openblocks_a7.dts   | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)

Comments

Rob Herring March 6, 2014, 2:53 a.m. UTC | #1
On Wed, Mar 5, 2014 at 3:33 PM, Andrew Lunn <andrew@lunn.ch> wrote:
> Add vendor prefixes to compatible strings where they are missing.

Please explain why you are breaking the ABI and why that is okay.
Normally, you should just leave this as is or add the new compatible
string rather than change it.

Rob

>
> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
> ---
>  arch/arm/boot/dts/kirkwood-b3.dts              | 2 +-
>  arch/arm/boot/dts/kirkwood-cloudbox.dts        | 2 +-
>  arch/arm/boot/dts/kirkwood-dreamplug.dts       | 2 +-
>  arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts | 2 +-
>  arch/arm/boot/dts/kirkwood-ns2-common.dtsi     | 2 +-
>  arch/arm/boot/dts/kirkwood-nsa310.dts          | 2 +-
>  arch/arm/boot/dts/kirkwood-nsa310a.dts         | 2 +-
>  arch/arm/boot/dts/kirkwood-openblocks_a6.dts   | 2 +-
>  arch/arm/boot/dts/kirkwood-openblocks_a7.dts   | 2 +-
>  9 files changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/arch/arm/boot/dts/kirkwood-b3.dts b/arch/arm/boot/dts/kirkwood-b3.dts
> index 40791053106b..6becedebaa4e 100644
> --- a/arch/arm/boot/dts/kirkwood-b3.dts
> +++ b/arch/arm/boot/dts/kirkwood-b3.dts
> @@ -76,5 +76,5 @@
>                                 #address-cells = <1>;
>                                 #size-cells = <1>;
> -                               compatible = "m25p16";
> +                               compatible = "st,m25p16";
>                                 reg = <0>;
>                                 spi-max-frequency = <40000000>;
> diff --git a/arch/arm/boot/dts/kirkwood-cloudbox.dts b/arch/arm/boot/dts/kirkwood-cloudbox.dts
> index 0e06fd3cee4d..3b62aeeaa3a2 100644
> --- a/arch/arm/boot/dts/kirkwood-cloudbox.dts
> +++ b/arch/arm/boot/dts/kirkwood-cloudbox.dts
> @@ -47,5 +47,5 @@
>                                 #address-cells = <1>;
>                                 #size-cells = <1>;
> -                               compatible = "mx25l4005a";
> +                               compatible = "mxicy,mx25l4005a";
>                                 reg = <0>;
>                                 spi-max-frequency = <20000000>;
> diff --git a/arch/arm/boot/dts/kirkwood-dreamplug.dts b/arch/arm/boot/dts/kirkwood-dreamplug.dts
> index ef3463e0ae19..28b3ee369778 100644
> --- a/arch/arm/boot/dts/kirkwood-dreamplug.dts
> +++ b/arch/arm/boot/dts/kirkwood-dreamplug.dts
> @@ -44,5 +44,5 @@
>                                 #address-cells = <1>;
>                                 #size-cells = <1>;
> -                               compatible = "mx25l1606e";
> +                               compatible = "mxicy,mx25l1606e";
>                                 reg = <0>;
>                                 spi-max-frequency = <50000000>;
> diff --git a/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts b/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts
> index 2cb0dc529165..32c6fb4a1162 100644
> --- a/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts
> +++ b/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts
> @@ -57,5 +57,5 @@
>                                 #address-cells = <1>;
>                                 #size-cells = <1>;
> -                               compatible = "mx25l12805d";
> +                               compatible = "mxicy,mx25l12805d";
>                                 reg = <0>;
>                                 spi-max-frequency = <50000000>;
> diff --git a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
> index 743152f31a81..594bad0e386e 100644
> --- a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
> +++ b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
> @@ -33,5 +33,5 @@
>                                 #address-cells = <1>;
>                                 #size-cells = <1>;
> -                               compatible = "mx25l4005a";
> +                               compatible = "mxicy,mx25l4005a";
>                                 reg = <0>;
>                                 spi-max-frequency = <20000000>;
> diff --git a/arch/arm/boot/dts/kirkwood-nsa310.dts b/arch/arm/boot/dts/kirkwood-nsa310.dts
> index 03fa24cf3344..0a07af9d8e58 100644
> --- a/arch/arm/boot/dts/kirkwood-nsa310.dts
> +++ b/arch/arm/boot/dts/kirkwood-nsa310.dts
> @@ -105,5 +105,5 @@
>
>                         adt7476: adt7476a@2e {
> -                               compatible = "adt7476";
> +                               compatible = "adi,adt7476";
>                                 reg = <0x2e>;
>                         };
> diff --git a/arch/arm/boot/dts/kirkwood-nsa310a.dts b/arch/arm/boot/dts/kirkwood-nsa310a.dts
> index a5e779452867..27ca6a79c48a 100644
> --- a/arch/arm/boot/dts/kirkwood-nsa310a.dts
> +++ b/arch/arm/boot/dts/kirkwood-nsa310a.dts
> @@ -95,5 +95,5 @@
>
>                         lm85: lm85@2e {
> -                               compatible = "lm85";
> +                               compatible = "national,lm85";
>                                 reg = <0x2e>;
>                         };
> diff --git a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
> index b88da9392c32..0650beafc1de 100644
> --- a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
> +++ b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
> @@ -41,5 +41,5 @@
>
>                         s35390a: s35390a@30 {
> -                               compatible = "s35390a";
> +                               compatible = "sii,s35390a";
>                                 reg = <0x30>;
>                         };
> diff --git a/arch/arm/boot/dts/kirkwood-openblocks_a7.dts b/arch/arm/boot/dts/kirkwood-openblocks_a7.dts
> index b2f7cae06839..895506743e4d 100644
> --- a/arch/arm/boot/dts/kirkwood-openblocks_a7.dts
> +++ b/arch/arm/boot/dts/kirkwood-openblocks_a7.dts
> @@ -53,5 +53,5 @@
>
>                         s24c02: s24c02@50 {
> -                               compatible = "24c02";
> +                               compatible = "at,24c02";
>                                 reg = <0x50>;
>                         };
> --
> 1.9.0
>
Andrew Lunn March 6, 2014, 9:05 a.m. UTC | #2
On Wed, Mar 05, 2014 at 08:53:25PM -0600, Rob Herring wrote:
> On Wed, Mar 5, 2014 at 3:33 PM, Andrew Lunn <andrew@lunn.ch> wrote:
> > Add vendor prefixes to compatible strings where they are missing.
> 
> Please explain why you are breaking the ABI and why that is okay.
> Normally, you should just leave this as is or add the new compatible
> string rather than change it.

Ah, sorry, thought it was well known. Both I2C and MTD ignore the
vendor prefix. I'm adding them for consistency, and to keep checkpatch
happy.

I can respin and add a comment about this.

  Andrew

> 
> Rob
> 
> >
> > Signed-off-by: Andrew Lunn <andrew@lunn.ch>
> > ---
> >  arch/arm/boot/dts/kirkwood-b3.dts              | 2 +-
> >  arch/arm/boot/dts/kirkwood-cloudbox.dts        | 2 +-
> >  arch/arm/boot/dts/kirkwood-dreamplug.dts       | 2 +-
> >  arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts | 2 +-
> >  arch/arm/boot/dts/kirkwood-ns2-common.dtsi     | 2 +-
> >  arch/arm/boot/dts/kirkwood-nsa310.dts          | 2 +-
> >  arch/arm/boot/dts/kirkwood-nsa310a.dts         | 2 +-
> >  arch/arm/boot/dts/kirkwood-openblocks_a6.dts   | 2 +-
> >  arch/arm/boot/dts/kirkwood-openblocks_a7.dts   | 2 +-
> >  9 files changed, 9 insertions(+), 9 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/kirkwood-b3.dts b/arch/arm/boot/dts/kirkwood-b3.dts
> > index 40791053106b..6becedebaa4e 100644
> > --- a/arch/arm/boot/dts/kirkwood-b3.dts
> > +++ b/arch/arm/boot/dts/kirkwood-b3.dts
> > @@ -76,5 +76,5 @@
> >                                 #address-cells = <1>;
> >                                 #size-cells = <1>;
> > -                               compatible = "m25p16";
> > +                               compatible = "st,m25p16";
> >                                 reg = <0>;
> >                                 spi-max-frequency = <40000000>;
> > diff --git a/arch/arm/boot/dts/kirkwood-cloudbox.dts b/arch/arm/boot/dts/kirkwood-cloudbox.dts
> > index 0e06fd3cee4d..3b62aeeaa3a2 100644
> > --- a/arch/arm/boot/dts/kirkwood-cloudbox.dts
> > +++ b/arch/arm/boot/dts/kirkwood-cloudbox.dts
> > @@ -47,5 +47,5 @@
> >                                 #address-cells = <1>;
> >                                 #size-cells = <1>;
> > -                               compatible = "mx25l4005a";
> > +                               compatible = "mxicy,mx25l4005a";
> >                                 reg = <0>;
> >                                 spi-max-frequency = <20000000>;
> > diff --git a/arch/arm/boot/dts/kirkwood-dreamplug.dts b/arch/arm/boot/dts/kirkwood-dreamplug.dts
> > index ef3463e0ae19..28b3ee369778 100644
> > --- a/arch/arm/boot/dts/kirkwood-dreamplug.dts
> > +++ b/arch/arm/boot/dts/kirkwood-dreamplug.dts
> > @@ -44,5 +44,5 @@
> >                                 #address-cells = <1>;
> >                                 #size-cells = <1>;
> > -                               compatible = "mx25l1606e";
> > +                               compatible = "mxicy,mx25l1606e";
> >                                 reg = <0>;
> >                                 spi-max-frequency = <50000000>;
> > diff --git a/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts b/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts
> > index 2cb0dc529165..32c6fb4a1162 100644
> > --- a/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts
> > +++ b/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts
> > @@ -57,5 +57,5 @@
> >                                 #address-cells = <1>;
> >                                 #size-cells = <1>;
> > -                               compatible = "mx25l12805d";
> > +                               compatible = "mxicy,mx25l12805d";
> >                                 reg = <0>;
> >                                 spi-max-frequency = <50000000>;
> > diff --git a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
> > index 743152f31a81..594bad0e386e 100644
> > --- a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
> > +++ b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
> > @@ -33,5 +33,5 @@
> >                                 #address-cells = <1>;
> >                                 #size-cells = <1>;
> > -                               compatible = "mx25l4005a";
> > +                               compatible = "mxicy,mx25l4005a";
> >                                 reg = <0>;
> >                                 spi-max-frequency = <20000000>;
> > diff --git a/arch/arm/boot/dts/kirkwood-nsa310.dts b/arch/arm/boot/dts/kirkwood-nsa310.dts
> > index 03fa24cf3344..0a07af9d8e58 100644
> > --- a/arch/arm/boot/dts/kirkwood-nsa310.dts
> > +++ b/arch/arm/boot/dts/kirkwood-nsa310.dts
> > @@ -105,5 +105,5 @@
> >
> >                         adt7476: adt7476a@2e {
> > -                               compatible = "adt7476";
> > +                               compatible = "adi,adt7476";
> >                                 reg = <0x2e>;
> >                         };
> > diff --git a/arch/arm/boot/dts/kirkwood-nsa310a.dts b/arch/arm/boot/dts/kirkwood-nsa310a.dts
> > index a5e779452867..27ca6a79c48a 100644
> > --- a/arch/arm/boot/dts/kirkwood-nsa310a.dts
> > +++ b/arch/arm/boot/dts/kirkwood-nsa310a.dts
> > @@ -95,5 +95,5 @@
> >
> >                         lm85: lm85@2e {
> > -                               compatible = "lm85";
> > +                               compatible = "national,lm85";
> >                                 reg = <0x2e>;
> >                         };
> > diff --git a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
> > index b88da9392c32..0650beafc1de 100644
> > --- a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
> > +++ b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
> > @@ -41,5 +41,5 @@
> >
> >                         s35390a: s35390a@30 {
> > -                               compatible = "s35390a";
> > +                               compatible = "sii,s35390a";
> >                                 reg = <0x30>;
> >                         };
> > diff --git a/arch/arm/boot/dts/kirkwood-openblocks_a7.dts b/arch/arm/boot/dts/kirkwood-openblocks_a7.dts
> > index b2f7cae06839..895506743e4d 100644
> > --- a/arch/arm/boot/dts/kirkwood-openblocks_a7.dts
> > +++ b/arch/arm/boot/dts/kirkwood-openblocks_a7.dts
> > @@ -53,5 +53,5 @@
> >
> >                         s24c02: s24c02@50 {
> > -                               compatible = "24c02";
> > +                               compatible = "at,24c02";
> >                                 reg = <0x50>;
> >                         };
> > --
> > 1.9.0
> >
diff mbox

Patch

diff --git a/arch/arm/boot/dts/kirkwood-b3.dts b/arch/arm/boot/dts/kirkwood-b3.dts
index 40791053106b..6becedebaa4e 100644
--- a/arch/arm/boot/dts/kirkwood-b3.dts
+++ b/arch/arm/boot/dts/kirkwood-b3.dts
@@ -76,5 +76,5 @@ 
 				#address-cells = <1>;
 				#size-cells = <1>;
-				compatible = "m25p16";
+				compatible = "st,m25p16";
 				reg = <0>;
 				spi-max-frequency = <40000000>;
diff --git a/arch/arm/boot/dts/kirkwood-cloudbox.dts b/arch/arm/boot/dts/kirkwood-cloudbox.dts
index 0e06fd3cee4d..3b62aeeaa3a2 100644
--- a/arch/arm/boot/dts/kirkwood-cloudbox.dts
+++ b/arch/arm/boot/dts/kirkwood-cloudbox.dts
@@ -47,5 +47,5 @@ 
 				#address-cells = <1>;
 				#size-cells = <1>;
-				compatible = "mx25l4005a";
+				compatible = "mxicy,mx25l4005a";
 				reg = <0>;
 				spi-max-frequency = <20000000>;
diff --git a/arch/arm/boot/dts/kirkwood-dreamplug.dts b/arch/arm/boot/dts/kirkwood-dreamplug.dts
index ef3463e0ae19..28b3ee369778 100644
--- a/arch/arm/boot/dts/kirkwood-dreamplug.dts
+++ b/arch/arm/boot/dts/kirkwood-dreamplug.dts
@@ -44,5 +44,5 @@ 
 				#address-cells = <1>;
 				#size-cells = <1>;
-				compatible = "mx25l1606e";
+				compatible = "mxicy,mx25l1606e";
 				reg = <0>;
 				spi-max-frequency = <50000000>;
diff --git a/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts b/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts
index 2cb0dc529165..32c6fb4a1162 100644
--- a/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts
+++ b/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts
@@ -57,5 +57,5 @@ 
 				#address-cells = <1>;
 				#size-cells = <1>;
-				compatible = "mx25l12805d";
+				compatible = "mxicy,mx25l12805d";
 				reg = <0>;
 				spi-max-frequency = <50000000>;
diff --git a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
index 743152f31a81..594bad0e386e 100644
--- a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
+++ b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
@@ -33,5 +33,5 @@ 
 				#address-cells = <1>;
 				#size-cells = <1>;
-				compatible = "mx25l4005a";
+				compatible = "mxicy,mx25l4005a";
 				reg = <0>;
 				spi-max-frequency = <20000000>;
diff --git a/arch/arm/boot/dts/kirkwood-nsa310.dts b/arch/arm/boot/dts/kirkwood-nsa310.dts
index 03fa24cf3344..0a07af9d8e58 100644
--- a/arch/arm/boot/dts/kirkwood-nsa310.dts
+++ b/arch/arm/boot/dts/kirkwood-nsa310.dts
@@ -105,5 +105,5 @@ 
 
 			adt7476: adt7476a@2e {
-				compatible = "adt7476";
+				compatible = "adi,adt7476";
 				reg = <0x2e>;
 			};
diff --git a/arch/arm/boot/dts/kirkwood-nsa310a.dts b/arch/arm/boot/dts/kirkwood-nsa310a.dts
index a5e779452867..27ca6a79c48a 100644
--- a/arch/arm/boot/dts/kirkwood-nsa310a.dts
+++ b/arch/arm/boot/dts/kirkwood-nsa310a.dts
@@ -95,5 +95,5 @@ 
 
 			lm85: lm85@2e {
-				compatible = "lm85";
+				compatible = "national,lm85";
 				reg = <0x2e>;
 			};
diff --git a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
index b88da9392c32..0650beafc1de 100644
--- a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
+++ b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
@@ -41,5 +41,5 @@ 
 
 			s35390a: s35390a@30 {
-				compatible = "s35390a";
+				compatible = "sii,s35390a";
 				reg = <0x30>;
 			};
diff --git a/arch/arm/boot/dts/kirkwood-openblocks_a7.dts b/arch/arm/boot/dts/kirkwood-openblocks_a7.dts
index b2f7cae06839..895506743e4d 100644
--- a/arch/arm/boot/dts/kirkwood-openblocks_a7.dts
+++ b/arch/arm/boot/dts/kirkwood-openblocks_a7.dts
@@ -53,5 +53,5 @@ 
 
 			s24c02: s24c02@50 {
-				compatible = "24c02";
+				compatible = "at,24c02";
 				reg = <0x50>;
 			};