Skip to contentSkip to conversation

ARM: dts: da850: fix W=1 warnings with pinmux node

PATCH New Sekhar Nori 2 participants 3 messages Apr 17, 2018 – Apr 24, 2018 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: da850: fix W=1 warnings with pinmux node

Remove unused #address-cells and #size-cells from pinmux node. This fixes W=1 warnings of the type:

arch/arm/boot/dts/da850-lcdk.dtb: Warning (avoid_unnecessary_addr_size): /soc at 1c00000/pinmux at 14120: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Tested on DA850 LCDK by checking output of:

/sys/kernel/debug/pinctrl/1c14120.pinmux-pinctrl-single/pins

before and after the change.

---
 arch/arm/boot/dts/da850.dtsi | 2 --
 1 file changed, 2 deletions(-)
arch/arm/boot/dts/da850.dtsi +0 -2
index cba3afd00763..f6f1597b03df 100644
@@ -55,8 +55,6 @@
 		pmx_core: pinmux at 14120 {
 			compatible = "pinctrl-single";
 			reg = <0x14120 0x50>;
-			#address-cells = <1>;
-			#size-cells = <0>;
 			#pinctrl-cells = <2>;
 			pinctrl-single,bit-per-mux;
 			pinctrl-single,register-width = <32>;
Signature · 1 line
2.16.2
#1 lore raw

PATCH 1/1 ARM: dts: da850: fix W=1 warnings with pinmux node

Quoted 5 lines · Sekhar Nori

Remove unused #address-cells and #size-cells from pinmux node. This fixes W=1 warnings of the type:

arch/arm/boot/dts/da850-lcdk.dtb: Warning (avoid_unnecessary_addr_size): /soc at 1c00000/pinmux at 14120: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Quoted 8 lines

Tested on DA850 LCDK by checking output of:

/sys/kernel/debug/pinctrl/1c14120.pinmux-pinctrl-single/pins

before and after the change.

---

author Applied
#2 lore raw

PATCH 1/1 ARM: dts: da850: fix W=1 warnings with pinmux node

Quoted 10 lines · David Lechner
Quoted 9 lines · Sekhar Nori

Remove unused #address-cells and #size-cells from pinmux node. This fixes W=1 warnings of the type:

arch/arm/boot/dts/da850-lcdk.dtb: Warning (avoid_unnecessary_addr_size): /soc at 1c00000/pinmux at 14120: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Tested on DA850 LCDK by checking output of:

Quoted 8 lines
Quoted 6 lines

/sys/kernel/debug/pinctrl/1c14120.pinmux-pinctrl-single/pins

before and after the change.

---

Applied to fixes.

Thanks,
Sekhar