Skip to content

Commit 1211644

Browse files
committed
dt-bindings: leds: intel,lgm: Add missing 'led-gpios' property
The example has 'led-gpio' properties, but that's not documented. As the 'gpio' form is deprecated, add 'led-gpios' to the schema and update the example. Reviewed-by: Krzysztof Kozlowski <[email protected]> Acked-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
1 parent ee9d7a0 commit 1211644

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Documentation/devicetree/bindings/leds/leds-lgm.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ properties:
6464
minimum: 0
6565
maximum: 2
6666

67+
led-gpios:
68+
maxItems: 1
69+
6770
intel,sso-hw-trigger:
6871
type: boolean
6972
description: This property indicates Hardware driven/control LED.
@@ -118,14 +121,14 @@ examples:
118121
reg = <0>;
119122
function = "gphy";
120123
color = <LED_COLOR_ID_GREEN>;
121-
led-gpio = <&ssogpio 0 0>;
124+
led-gpios = <&ssogpio 0 0>;
122125
};
123126
124127
led@2 {
125128
reg = <2>;
126129
function = LED_FUNCTION_POWER;
127130
color = <LED_COLOR_ID_GREEN>;
128-
led-gpio = <&ssogpio 23 0>;
131+
led-gpios = <&ssogpio 23 0>;
129132
};
130133
};
131134
};

0 commit comments

Comments
 (0)