* [PATCH] ARM: dts: da850: fix W=1 warnings with pinmux node
@ 2018-04-17 12:36 Sekhar Nori
2018-04-17 15:56 ` David Lechner
0 siblings, 1 reply; 3+ messages in thread
From: Sekhar Nori @ 2018-04-17 12:36 UTC (permalink / raw)
To: Linux ARM Mailing List
Cc: Bartosz Golaszewski, Device Tree Mailing List, David Lechner,
Kevin Hilman
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@1c00000/pinmux@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.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
arch/arm/boot/dts/da850.dtsi | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index cba3afd00763..f6f1597b03df 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -55,8 +55,6 @@
pmx_core: pinmux@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>;
--
2.16.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: da850: fix W=1 warnings with pinmux node
2018-04-17 12:36 [PATCH] ARM: dts: da850: fix W=1 warnings with pinmux node Sekhar Nori
@ 2018-04-17 15:56 ` David Lechner
2018-04-24 9:01 ` Sekhar Nori
0 siblings, 1 reply; 3+ messages in thread
From: David Lechner @ 2018-04-17 15:56 UTC (permalink / raw)
To: Sekhar Nori, Linux ARM Mailing List
Cc: Bartosz Golaszewski, Device Tree Mailing List, Kevin Hilman
On 04/17/2018 07:36 AM, Sekhar Nori wrote:
> 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@1c00000/pinmux@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.
>
> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
> ---
Reviewed-by: David Lechner <david@lechnology.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: da850: fix W=1 warnings with pinmux node
2018-04-17 15:56 ` David Lechner
@ 2018-04-24 9:01 ` Sekhar Nori
0 siblings, 0 replies; 3+ messages in thread
From: Sekhar Nori @ 2018-04-24 9:01 UTC (permalink / raw)
To: David Lechner, Linux ARM Mailing List
Cc: Bartosz Golaszewski, Device Tree Mailing List, Kevin Hilman
On Tuesday 17 April 2018 09:26 PM, David Lechner wrote:
> On 04/17/2018 07:36 AM, Sekhar Nori wrote:
>> 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@1c00000/pinmux@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.
>>
>> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
>> ---
>
> Reviewed-by: David Lechner <david@lechnology.com>
Applied to fixes.
Thanks,
Sekhar
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-24 9:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-17 12:36 [PATCH] ARM: dts: da850: fix W=1 warnings with pinmux node Sekhar Nori
2018-04-17 15:56 ` David Lechner
2018-04-24 9:01 ` Sekhar Nori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).