summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/video/backlight/gpio-backlight.txt
blob: 321be6640533e9ee2d0ff024788f2800343f50d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
	};