Skip to content

Commit

Permalink
dt-bindings: backlight: lm3630a: Add enable-gpios to describe HWEN pin
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andreas Kemnade authored and Lee Jones committed Oct 2, 2019
1 parent 7050a7c commit ae92365
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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>;

0 comments on commit ae92365

Please sign in to comment.