blob: 8bf2940f54bcfc86eaa716485640c92ea3f80021 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001SKY81452-backlight bindings
2
3Required properties:
4- compatible : Must be "skyworks,sky81452-backlight"
5
6Optional properties:
7- name : Name of backlight device. Default is 'lcd-backlight'.
8- gpios : GPIO to use to EN pin.
9 See Documentation/devicetree/bindings/gpio/gpio.txt
10- led-sources : List of enabled channels from 0 to 5.
11 See Documentation/devicetree/bindings/leds/common.txt
12- skyworks,ignore-pwm : Ignore both PWM input
13- skyworks,dpwm-mode : Enable DPWM dimming mode, otherwise Analog dimming.
14- skyworks,phase-shift : Enable phase shift mode
15- skyworks,short-detection-threshold-volt
16 : It should be one of 4, 5, 6 and 7V.
17- skyworks,current-limit-mA
18 : It should be 2300mA or 2750mA.
19
20Example:
21
22 backlight {
23 compatible = "skyworks,sky81452-backlight";
24 name = "pwm-backlight";
25 led-sources = <0 1 2 5>;
26 skyworks,ignore-pwm;
27 skyworks,phase-shift;
28 skyworks,current-limit-mA = <2300>;
29 };