xref: /freebsd/sys/contrib/device-tree/Bindings/leds/backlight/gpio-backlight.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1gpio-backlight bindings
2
3Required properties:
4  - compatible: "gpio-backlight"
5  - gpios: describes the gpio that is used for enabling/disabling the backlight.
6    refer to bindings/gpio/gpio.txt for more details.
7
8Optional properties:
9  - default-on: enable the backlight at boot.
10
11Example:
12	backlight {
13		compatible = "gpio-backlight";
14		gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
15		default-on;
16	};
17