dt-bindings: mfd: mc13xxx: Add the unit address to sysled
Subsystems (2)
PATCH 1/1 dt-bindings: mfd: mc13xxx: Add the unit address to sysled
From: Fabio Estevam <[email protected]>
As the 'reg' property is mandatory in the subnodes, improve the example by adding the unit address to the sysled node.
This prevents the following build warning with W=1:
Node /soc/aips@70000000/spba@70000000/ecspi@70010000/pmic@0/leds/sysled0 has a reg or ranges property, but no unit name
--- Documentation/devicetree/bindings/mfd/mc13xxx.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/mfd/mc13xxx.txt +1 -1
@@ -130,7 +130,7 @@ ecspi@70010000 { /* ECSPI1 */ #size-cells = <0>; led-control = <0x000 0x000 0x0e0 0x000>; - sysled { + sysled@3 { reg = <3>; label = "system:red:live"; linux,default-trigger = "heartbeat";
Signature · 6 lines
2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1512165086-25512-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Quoted 5 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
As the 'reg' property is mandatory in the subnodes, improve the example by adding the unit address to the sysled node.
Quoted 8 lines
This prevents the following build warning with W=1:
Node /soc/aips@70000000/spba@70000000/ecspi@70010000/pmic@0/leds/sysled0 has a reg or ranges property, but no unit name
Signed-off-by Fabio Estevam <[email protected]>--- Documentation/devicetree/bindings/mfd/mc13xxx.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Why do I have 2 identical patches in my inbox?
Quoted 13 lines
Documentation/devicetree/bindings/mfd/mc13xxx.txt +1
-1@@ -130,7 +130,7 @@ ecspi@70010000 { /* ECSPI1 */ #size-cells = <0>; led-control = <0x000 0x000 0x0e0 0x000>; - sysled { + sysled@3 { reg = <3>; label = "system:red:live"; linux,default-trigger = "heartbeat";
Signature · 8 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 9 lines · Lee Jones
Quoted 7 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
As the 'reg' property is mandatory in the subnodes, improve the example by adding the unit address to the sysled node.
This prevents the following build warning with W=1:
Quoted 8 lines
Quoted 6 lines
Node /soc/aips@70000000/spba@70000000/ecspi@70010000/pmic@0/leds/sysled0 has a reg or ranges property, but no unit name
Signed-off-by Fabio Estevam <[email protected]>--- Documentation/devicetree/bindings/mfd/mc13xxx.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Why do I have 2 identical patches in my inbox?
There was a typo in the mailing list address in the first one, sorry. --
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Herring
Reviewed-byQuoted 8 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
As the 'reg' property is mandatory in the subnodes, improve the example by adding the unit address to the sysled node.
This prevents the following build warning with W=1:
Node /soc/aips@70000000/spba@70000000/ecspi@70010000/pmic@0/leds/sysled0 has a reg or ranges property, but no unit name
Even if the doc file could compile, looks like the name was sysled not sysled0.
Quoted 5 lines
Signed-off-by Fabio Estevam <[email protected]>--- Documentation/devicetree/bindings/mfd/mc13xxx.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
In any case,
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Rob,
Quoted 6 lines · Rob Herring
Quoted 5 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
As the 'reg' property is mandatory in the subnodes, improve the example by adding the unit address to the sysled node.
Quoted 6 lines
Quoted 3 lines
This prevents the following build warning with W=1:
Node /soc/aips@70000000/spba@70000000/ecspi@70010000/pmic@0/leds/sysled0 has a reg or ranges property, but no unit name
Even if the doc file could compile, looks like the name was sysled not sysled0.
The sysled0 name I got from arch/arm/boot/dts/imx51-zii-rdu1.dts, where I fixed the real warning:
https://www.spinics.net/lists/arm-kernel/msg620322.html
Quoted 9 lines
Quoted 5 lines
Signed-off-by Fabio Estevam <[email protected]>--- Documentation/devicetree/bindings/mfd/mc13xxx.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)In any case,
Reviewed-by Rob Herring <[email protected]>
Thanks
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Lee Jones
AppliedQuoted 5 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
As the 'reg' property is mandatory in the subnodes, improve the example by adding the unit address to the sysled node.
Quoted 8 lines
This prevents the following build warning with W=1:
Node /soc/aips@70000000/spba@70000000/ecspi@70010000/pmic@0/leds/sysled0 has a reg or ranges property, but no unit name
Signed-off-by Fabio Estevam <[email protected]>--- Documentation/devicetree/bindings/mfd/mc13xxx.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Signature · 8 lines
Lee Jones Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html