summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/leds/backlight
diff options
context:
space:
mode:
authorAndreas Kemnade <andreas@kemnade.info>2019-09-12 23:32:56 +0200
committerLee Jones <lee.jones@linaro.org>2019-10-02 14:24:37 +0100
commitae92365cdd759748b4b0671109f456a1bb7aa57d (patch)
tree2f91ad3c0c1117d19f7e6be53369790be6fffb4b /Documentation/devicetree/bindings/leds/backlight
parent7050a7c3747787c3f9ba94df59eb7e9e018bbdf2 (diff)
downloadlinux-ae92365cdd759748b4b0671109f456a1bb7aa57d.tar.gz
linux-ae92365cdd759748b4b0671109f456a1bb7aa57d.tar.bz2
linux-ae92365cdd759748b4b0671109f456a1bb7aa57d.zip
dt-bindings: backlight: lm3630a: Add enable-gpios to describe HWEN pin
Provide DT documentation for enable-gpios. Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Acked-by: Daniel Thompson <daniel.thompson@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/leds/backlight')
-rw-r--r--Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml
index dc129d9a329e..c8470628fe02 100644
--- a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml
+++ b/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml
@@ -29,6 +29,10 @@ properties:
'#size-cells':
const: 0
+ enable-gpios:
+ description: GPIO to use to enable/disable the backlight (HWEN pin).
+ maxItems: 1
+
required:
- compatible
- reg
@@ -96,6 +100,7 @@ examples:
led-controller@38 {
compatible = "ti,lm3630a";
reg = <0x38>;
+ enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
#address-cells = <1>;
#size-cells = <0>;