mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 22:53:55 +08:00
7755313e69
Backlights are generally a subtype of LEDs at least from a software point of view if not always electrically. Move the bindings from the video directory to underneath the leds dir. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Pawel Moll <pawel.moll@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk> Cc: Kumar Gala <galak@codeaurora.org>
17 lines
395 B
Plaintext
17 lines
395 B
Plaintext
gpio-backlight bindings
|
|
|
|
Required properties:
|
|
- compatible: "gpio-backlight"
|
|
- gpios: describes the gpio that is used for enabling/disabling the backlight.
|
|
refer to bindings/gpio/gpio.txt for more details.
|
|
|
|
Optional properties:
|
|
- default-on: enable the backlight at boot.
|
|
|
|
Example:
|
|
backlight {
|
|
compatible = "gpio-backlight";
|
|
gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
|
|
default-on;
|
|
};
|