ubuntu-linux-kernel/Documentation/devicetree/bindings/leds/backlight/gpio-backlight.txt

17 lines
395 B
Plaintext
Raw Normal View History

2024-04-01 15:06:58 +00:00
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;
};