Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] ARM: dts: vf610-zii-scu4-aib: Use generic names for DT nodes
@ 2019-08-24  0:27 Andrey Smirnov
  2019-08-25  7:18 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Smirnov @ 2019-08-24  0:27 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Cory Tusar, Andrey Smirnov, Shawn Guo, linux-kernel,
	Fabio Estevam, Chris Healy

The devicetree specification recommends using generic node names.

Some ZII dts files already follow such recommendation, but some don't,
so use generic node names for consistency among the ZII dts files.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Cory Tusar <cory.tusar@zii.aero>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
 arch/arm/boot/dts/vf610-zii-scu4-aib.dts | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/arch/arm/boot/dts/vf610-zii-scu4-aib.dts b/arch/arm/boot/dts/vf610-zii-scu4-aib.dts
index 45a978defbdc..6edd682dbd29 100644
--- a/arch/arm/boot/dts/vf610-zii-scu4-aib.dts
+++ b/arch/arm/boot/dts/vf610-zii-scu4-aib.dts
@@ -417,7 +417,7 @@
 	pinctrl-0 = <&pinctrl_dspi1>;
 	status = "okay";
 
-	spi-flash@0 {
+	flash@0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "jedec,spi-nor";
@@ -430,7 +430,7 @@
 		};
 	};
 
-	spi-flash@1 {
+	flash@1 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "jedec,spi-nor";
@@ -519,7 +519,7 @@
 		#gpio-cells = <2>;
 	};
 
-	lm75@48 {
+	temp-sensor@48 {
 		compatible = "national,lm75";
 		reg = <0x48>;
 	};
@@ -534,7 +534,7 @@
 		reg = <0x52>;
 	};
 
-	ds1682@6b {
+	elapsed-time-recorder@6b {
 		compatible = "dallas,ds1682";
 		reg = <0x6b>;
 	};
@@ -551,7 +551,7 @@
 		reg = <0x38>;
 	};
 
-	adt7411@4a {
+	adc@4a {
 		compatible = "adi,adt7411";
 		reg = <0x4a>;
 	};
@@ -563,7 +563,7 @@
 	pinctrl-0 = <&pinctrl_i2c2>;
 	status = "okay";
 
-	gpio9: sx1503q@20 {
+	gpio9: io-expander@20 {
 		compatible = "semtech,sx1503q";
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_sx1503_20>;
@@ -574,12 +574,12 @@
 		interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
 	};
 
-	lm75@4e {
+	temp-sensor@4e {
 		compatible = "national,lm75";
 		reg = <0x4e>;
 	};
 
-	lm75@4f {
+	temp-sensor@4f {
 		compatible = "national,lm75";
 		reg = <0x4f>;
 	};
@@ -591,17 +591,17 @@
 		reg = <0x23>;
 	};
 
-	adt7411@4a {
+	adc@4a {
 		compatible = "adi,adt7411";
 		reg = <0x4a>;
 	};
 
-	at24c08@54 {
+	eeprom@54 {
 		compatible = "atmel,24c08";
 		reg = <0x54>;
 	};
 
-	tca9548@70 {
+	i2c-mux@70 {
 		compatible = "nxp,pca9548";
 		pinctrl-names = "default";
 		#address-cells = <1>;
@@ -639,7 +639,7 @@
 		};
 	};
 
-	tca9548@71 {
+	i2c-mux@71 {
 		compatible = "nxp,pca9548";
 		pinctrl-names = "default";
 		reg = <0x71>;
-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] ARM: dts: vf610-zii-scu4-aib: Use generic names for DT nodes
  2019-08-24  0:27 [PATCH] ARM: dts: vf610-zii-scu4-aib: Use generic names for DT nodes Andrey Smirnov
@ 2019-08-25  7:18 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2019-08-25  7:18 UTC (permalink / raw)
  To: Andrey Smirnov
  Cc: Cory Tusar, Fabio Estevam, Chris Healy, linux-arm-kernel, linux-kernel

On Fri, Aug 23, 2019 at 05:27:47PM -0700, Andrey Smirnov wrote:
> The devicetree specification recommends using generic node names.
> 
> Some ZII dts files already follow such recommendation, but some don't,
> so use generic node names for consistency among the ZII dts files.
> 
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> Cc: Shawn Guo <shawnguo@kernel.org>
> Cc: Chris Healy <cphealy@gmail.com>
> Cc: Cory Tusar <cory.tusar@zii.aero>
> Cc: Fabio Estevam <festevam@gmail.com>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org

It doesn't apply to my branch.

Shawn

> ---
>  arch/arm/boot/dts/vf610-zii-scu4-aib.dts | 24 ++++++++++++------------
>  1 file changed, 12 insertions(+), 12 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/vf610-zii-scu4-aib.dts b/arch/arm/boot/dts/vf610-zii-scu4-aib.dts
> index 45a978defbdc..6edd682dbd29 100644
> --- a/arch/arm/boot/dts/vf610-zii-scu4-aib.dts
> +++ b/arch/arm/boot/dts/vf610-zii-scu4-aib.dts
> @@ -417,7 +417,7 @@
>  	pinctrl-0 = <&pinctrl_dspi1>;
>  	status = "okay";
>  
> -	spi-flash@0 {
> +	flash@0 {
>  		#address-cells = <1>;
>  		#size-cells = <1>;
>  		compatible = "jedec,spi-nor";
> @@ -430,7 +430,7 @@
>  		};
>  	};
>  
> -	spi-flash@1 {
> +	flash@1 {
>  		#address-cells = <1>;
>  		#size-cells = <1>;
>  		compatible = "jedec,spi-nor";
> @@ -519,7 +519,7 @@
>  		#gpio-cells = <2>;
>  	};
>  
> -	lm75@48 {
> +	temp-sensor@48 {
>  		compatible = "national,lm75";
>  		reg = <0x48>;
>  	};
> @@ -534,7 +534,7 @@
>  		reg = <0x52>;
>  	};
>  
> -	ds1682@6b {
> +	elapsed-time-recorder@6b {
>  		compatible = "dallas,ds1682";
>  		reg = <0x6b>;
>  	};
> @@ -551,7 +551,7 @@
>  		reg = <0x38>;
>  	};
>  
> -	adt7411@4a {
> +	adc@4a {
>  		compatible = "adi,adt7411";
>  		reg = <0x4a>;
>  	};
> @@ -563,7 +563,7 @@
>  	pinctrl-0 = <&pinctrl_i2c2>;
>  	status = "okay";
>  
> -	gpio9: sx1503q@20 {
> +	gpio9: io-expander@20 {
>  		compatible = "semtech,sx1503q";
>  		pinctrl-names = "default";
>  		pinctrl-0 = <&pinctrl_sx1503_20>;
> @@ -574,12 +574,12 @@
>  		interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
>  	};
>  
> -	lm75@4e {
> +	temp-sensor@4e {
>  		compatible = "national,lm75";
>  		reg = <0x4e>;
>  	};
>  
> -	lm75@4f {
> +	temp-sensor@4f {
>  		compatible = "national,lm75";
>  		reg = <0x4f>;
>  	};
> @@ -591,17 +591,17 @@
>  		reg = <0x23>;
>  	};
>  
> -	adt7411@4a {
> +	adc@4a {
>  		compatible = "adi,adt7411";
>  		reg = <0x4a>;
>  	};
>  
> -	at24c08@54 {
> +	eeprom@54 {
>  		compatible = "atmel,24c08";
>  		reg = <0x54>;
>  	};
>  
> -	tca9548@70 {
> +	i2c-mux@70 {
>  		compatible = "nxp,pca9548";
>  		pinctrl-names = "default";
>  		#address-cells = <1>;
> @@ -639,7 +639,7 @@
>  		};
>  	};
>  
> -	tca9548@71 {
> +	i2c-mux@71 {
>  		compatible = "nxp,pca9548";
>  		pinctrl-names = "default";
>  		reg = <0x71>;
> -- 
> 2.21.0
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-24  0:27 [PATCH] ARM: dts: vf610-zii-scu4-aib: Use generic names for DT nodes Andrey Smirnov
2019-08-25  7:18 ` Shawn Guo

Linux-ARM-Kernel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-arm-kernel/0 linux-arm-kernel/git/0.git
	git clone --mirror https://lore.kernel.org/linux-arm-kernel/1 linux-arm-kernel/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-arm-kernel linux-arm-kernel/ https://lore.kernel.org/linux-arm-kernel \
		linux-arm-kernel@lists.infradead.org infradead-linux-arm-kernel@archiver.kernel.org
	public-inbox-index linux-arm-kernel


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-arm-kernel


AGPL code for this site: git clone https://public-inbox.org/ public-inbox