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 <krzysztof.kozlowski@linaro.org> Acked-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20221207204327.2810001-1-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
ee9d7a0e75
commit
121164481b
|
@ -64,6 +64,9 @@ properties:
|
||||||
minimum: 0
|
minimum: 0
|
||||||
maximum: 2
|
maximum: 2
|
||||||
|
|
||||||
|
led-gpios:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
intel,sso-hw-trigger:
|
intel,sso-hw-trigger:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: This property indicates Hardware driven/control LED.
|
description: This property indicates Hardware driven/control LED.
|
||||||
|
@ -118,14 +121,14 @@ examples:
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
function = "gphy";
|
function = "gphy";
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
led-gpio = <&ssogpio 0 0>;
|
led-gpios = <&ssogpio 0 0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
led@2 {
|
led@2 {
|
||||||
reg = <2>;
|
reg = <2>;
|
||||||
function = LED_FUNCTION_POWER;
|
function = LED_FUNCTION_POWER;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
led-gpio = <&ssogpio 23 0>;
|
led-gpios = <&ssogpio 23 0>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue