OSDN Git Service

dt-bindings: mfd: mc13xxx: Add the unit address to sysled
authorFabio Estevam <fabio.estevam@nxp.com>
Fri, 1 Dec 2017 21:51:26 +0000 (19:51 -0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 8 Jan 2018 11:03:35 +0000 (11:03 +0000)
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

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Documentation/devicetree/bindings/mfd/mc13xxx.txt

index ac235fe..8261ea7 100644 (file)
@@ -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";