]> Git Repo - J-linux.git/commitdiff
dt-bindings: leds: intel,lgm: Add missing 'led-gpios' property
authorRob Herring <[email protected]>
Wed, 7 Dec 2022 20:43:26 +0000 (14:43 -0600)
committerRob Herring <[email protected]>
Mon, 12 Dec 2022 01:06:39 +0000 (19:06 -0600)
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]>
Documentation/devicetree/bindings/leds/leds-lgm.yaml

index f8d7963c3a13f448ceda313f6cdad992e7b86677..3f13db0dc915d5b3d836492da4f0d3a383ca48de 100644 (file)
@@ -64,6 +64,9 @@ properties:
             minimum: 0
             maximum: 2
 
+          led-gpios:
+            maxItems: 1
+
           intel,sso-hw-trigger:
             type: boolean
             description: This property indicates Hardware driven/control LED.
@@ -118,14 +121,14 @@ examples:
           reg = <0>;
           function = "gphy";
           color = <LED_COLOR_ID_GREEN>;
-          led-gpio = <&ssogpio 0 0>;
+          led-gpios = <&ssogpio 0 0>;
         };
 
         led@2 {
           reg = <2>;
           function = LED_FUNCTION_POWER;
           color = <LED_COLOR_ID_GREEN>;
-          led-gpio = <&ssogpio 23 0>;
+          led-gpios = <&ssogpio 23 0>;
         };
       };
     };
This page took 0.056295 seconds and 4 git commands to generate.