Skip to contentSkip to conversation

dt-bindings: mfd: mc13xxx: Add the unit address to sysled

PATCH New Fabio Estevam 1 participant 1 message Dec 7, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 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/sysled has a reg or ranges property, but no unit name

---
Changes since v1:
- Use the correct name (sysled_ in the warning message (Rob)

 Documentation/devicetree/bindings/mfd/mc13xxx.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/mfd/mc13xxx.txt +1 -1
index ac235fe..8261ea7 100644
@@ -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