Skip to contentSkip to conversation

Prefixes for Kirkwood DT files

PATCH RESEND New Andrew Lunn 3 participants 8 messages Mar 5, 2014 – Mar 6, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover Prefixes for Kirkwood DT files

It has been reported that not all these patches made it to the list. This is probably because git send-email used UTF8 encoded, since some of the hunks contain context lines using none ASCII characters.

Andrew Lunn (3):
DT: I2C: Add trivial bindings used by kirkwood boards
DT: Vendors: Add vendor prefix for Macronix
ARM: Kirkwood: DT: Add missing vendor prefix

 .../devicetree/bindings/i2c/trivial-devices.txt         | 17 +++++++++++++++++
 Documentation/devicetree/bindings/vendor-prefixes.txt   |  1 +
 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 +-
 11 files changed, 27 insertions(+), 9 deletions(-)
Signature · 1 line
1.9.0
#1 lore raw

PATCH RESEND 1/3 DT: I2C: Add trivial bindings used by kirkwood boards

Add a number of eeproms and temperature sensors/fan controllers used by kirkwood boards.

---
 .../devicetree/bindings/i2c/trivial-devices.txt         | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
Documentation/devicetree/bindings/i2c/trivial-devices.txt +17 -0
index e11ed0fe770c..7faa3eab2549 100644
@@ -14,5 +14,20 @@ ad,adm9240		ADM9240:  Complete System Hardware Monitor for uProcessor-Based Syst
 adi,adt7461		+/-1C TDM Extended Temp Range I.C
 adt7461			+/-1C TDM Extended Temp Range I.C
+adi,adt7473		+/-1C TDM Extended Temp Range I.C
+adi,adt7475		+/-1C TDM Extended Temp Range I.C
+adi,adt7476		+/-1C TDM Extended Temp Range I.C
+adi,adt7490		+/-1C TDM Extended Temp Range I.C
+at,24c00		i2c serial eeprom  (24cxx)
+at,24c01		i2c serial eeprom  (24cxx)
+at,24c02		i2c serial eeprom  (24cxx)
+at,24c04		i2c serial eeprom  (24cxx)
 at,24c08		i2c serial eeprom  (24cxx)
+at,24c16		i2c serial eeprom  (24cxx)
+at,24c32		i2c serial eeprom  (24cxx)
+at,24c64		i2c serial eeprom  (24cxx)
+at,24c128		i2c serial eeprom  (24cxx)
+at,24c256		i2c serial eeprom  (24cxx)
+at,24c512		i2c serial eeprom  (24cxx)
+at,24c1024		i2c serial eeprom  (24cxx)
 atmel,24c02		i2c serial eeprom  (24cxx)
 atmel,at97sc3204t	i2c trusted platform module (TPM)
@@ -46,6 +61,8 @@ maxim,max1237		Low-Power, 4-/12-Channel, 2-Wire Serial, 12-Bit ADCs
 maxim,max6625		9-Bit/12-Bit Temperature Sensors with I?C-Compatible Serial Interface
 mc,rv3029c2		Real Time Clock Module with I2C-Bus
+national,lm63		Temperature sensor with integrated fan control
 national,lm75		I2C TEMP SENSOR
 national,lm80		Serial Interface ACPI-Compatible Microprocessor System Hardware Monitor
+national,lm85		Temperature sensor with integrated fan control
 national,lm92		?0.33?C Accurate, 12-Bit + Sign Temperature Sensor and Thermal Window Comparator with Two-Wire Interface
 nuvoton,npct501		i2c trusted platform module (TPM)
Signature · 1 line
1.9.0
#2 lore raw

PATCH RESEND 2/3 DT: Vendors: Add vendor prefix for Macronix

In reply to Andrew Lunn

Add vendor prefix mxicy for Macronix International Co., Ltd.

---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
index 860c467374fe..f4599aea1f7d 100644
@@ -63,4 +63,5 @@ microchip	Microchip Technology Inc.
 mosaixtech	Mosaix Technologies, Inc.
 mpl	MPL AG
+mxicy	Macronix International Co., Ltd.
 national	National Semiconductor
 netgear	Netgear, Inc.
Signature · 1 line
1.9.0
#3 lore raw

PATCH RESEND 2/3 DT: Vendors: Add vendor prefix for Macronix

Quoted 6 lines · Andrew Lunn

Add vendor prefix mxicy for Macronix International Co., Ltd.

---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)
Quoted 14 lines
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -1
index 860c467374fe..f4599aea1f7d 100644
@@ -63,4 +63,5 @@ microchip     Microchip Technology Inc.
 mosaixtech     Mosaix Technologies, Inc.
 mpl    MPL AG
+mxicy  Macronix International Co., Ltd.
 national       National Semiconductor
 netgear        Netgear, Inc.
--

1.9.0

#4 lore raw

PATCH RESEND 3/3 ARM: Kirkwood: DT: Add missing vendor prefix

In reply to Andrew Lunn

Add vendor prefixes to compatible strings where they are missing.

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

PATCH RESEND 3/3 ARM: Kirkwood: DT: Add missing vendor prefix

Quoted 1 line · Andrew Lunn

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

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

1.9.0

#6 lore raw

PATCH RESEND 3/3 ARM: Kirkwood: DT: Add missing vendor prefix

Quoted 6 lines · Rob Herring
Quoted 1 line · Andrew Lunn

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

Quoted 119 lines

Rob

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

1.9.0

#7 lore raw

cover Prefixes for Kirkwood DT files

In reply to Andrew Lunn
Quoted 7 lines · Andrew Lunn

It has been reported that not all these patches made it to the list. This is probably because git send-email used UTF8 encoded, since some of the hunks contain context lines using none ASCII characters.

Andrew Lunn (3):
DT: I2C: Add trivial bindings used by kirkwood boards
DT: Vendors: Add vendor prefix for Macronix

Hmmm, I still didn't receive these two. I'll check an online archive later...

thx,

Jason.

Quoted 18 lines

ARM: Kirkwood: DT: Add missing vendor prefix

 .../devicetree/bindings/i2c/trivial-devices.txt         | 17 +++++++++++++++++
 Documentation/devicetree/bindings/vendor-prefixes.txt   |  1 +
 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 +-
 11 files changed, 27 insertions(+), 9 deletions(-)
Signature · 1 line
1.9.0