Skip to contentSkip to conversation

arm64: dts: imx8mm-nitrogen-r2: Pass the i2c3 unit name

PATCH Applied Fabio Estevam 3 participants 4 messages Feb 8, 2021 – Mar 5, 2021

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 arm64: dts: imx8mm-nitrogen-r2: Pass the i2c3 unit name

Pass the i2c3 unit name to fix the following W=1 build warning:

arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts:159.8-172.5: Warning (unit_address_vs_reg): /soc@0/bus@30800000/i2c@30a40000/i2cmux@70/i2c3: node has a reg or ranges property, but no unit name

---
 arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts +1 -1
index c0c384d76147..48ccbb8ff127 100644
@@ -156,7 +156,7 @@ i2cmux@70 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		i2c3 {
+		i2c3@0 {
 			reg = <0>;
 			#address-cells = <1>;
 			#size-cells = <0>;
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw
Quoted 14 lines · Fabio Estevam

Pass the i2c3 unit name to fix the following W=1 build warning:

arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts:159.8-172.5: Warning (unit_address_vs_reg): /soc@0/bus@30800000/i2c@30a40000/i2cmux@70/i2c3: node has a reg or ranges property, but no unit name

---
 arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts +0 -0
index c0c384d76147..48ccbb8ff127 100644

arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts i2cmux@70 { · line 159

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts +1 -1
@@ -156,7 +156,7 @@ i2cmux@70 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		i2c3 {
+		i2c3@0 {

Or it should be i2c@3?

Shawn

Quoted 6 lines
arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts +0 -0
 			reg = <0>;
 			#address-cells = <1>;
 			#size-cells = <0>;
Signature · 1 line
2.25.1

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#2 lore raw
Quoted 19 lines · Shawn Guo
Quoted 17 lines · Fabio Estevam

Pass the i2c3 unit name to fix the following W=1 build warning:

arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts:159.8-172.5: Warning (unit_address_vs_reg): /soc@0/bus@30800000/i2c@30a40000/i2cmux@70/i2c3: node has a reg or ranges property, but no unit name

---
 arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts +0 -0
index c0c384d76147..48ccbb8ff127 100644
@@ -156,7 +156,7 @@ i2cmux@70 {
              #address-cells = <1>;
              #size-cells = <0>;
 
Quoted 4 lines

arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts i2cmux@70 { · line 159

Quoted 2 lines
arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts +1 -1
-             i2c3 {
+             i2c3@0 {

Or it should be i2c@3?

It's in the i2c3 node, so let's name it "i2c3@0".

Thanks,

Quoted 9 lines

Shawn

Quoted 6 lines
arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts +0 -1
                      reg = <0>;
                      #address-cells = <1>;
                      #size-cells = <0>;
--

2.25.1

Adrien

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Applied
#3 lore raw
In reply to Fabio Estevam
Quoted 5 lines · Fabio Estevam

Pass the i2c3 unit name to fix the following W=1 build warning:

arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts:159.8-172.5: Warning (unit_address_vs_reg): /soc@0/bus@30800000/i2c@30a40000/i2cmux@70/i2c3: node has a reg or ranges property, but no unit name

Applied, thanks.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel