Commit ae92365c authored by Andreas Kemnade's avatar Andreas Kemnade Committed by Lee Jones

dt-bindings: backlight: lm3630a: Add enable-gpios to describe HWEN pin

Provide DT documentation for enable-gpios.
Signed-off-by: default avatarAndreas Kemnade <andreas@kemnade.info>
Acked-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarDan Murphy <dmurphy@ti.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 7050a7c3
...@@ -29,6 +29,10 @@ properties: ...@@ -29,6 +29,10 @@ properties:
'#size-cells': '#size-cells':
const: 0 const: 0
enable-gpios:
description: GPIO to use to enable/disable the backlight (HWEN pin).
maxItems: 1
required: required:
- compatible - compatible
- reg - reg
...@@ -96,6 +100,7 @@ examples: ...@@ -96,6 +100,7 @@ examples:
led-controller@38 { led-controller@38 {
compatible = "ti,lm3630a"; compatible = "ti,lm3630a";
reg = <0x38>; reg = <0x38>;
enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment