xref: /linux/Documentation/devicetree/bindings/leds/backlight/sky81452-backlight.txt (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*7755313eSRob HerringSKY81452-backlight bindings
2*7755313eSRob Herring
3*7755313eSRob HerringRequired properties:
4*7755313eSRob Herring- compatible		: Must be "skyworks,sky81452-backlight"
5*7755313eSRob Herring
6*7755313eSRob HerringOptional properties:
7*7755313eSRob Herring- name			: Name of backlight device. Default is 'lcd-backlight'.
8*7755313eSRob Herring- gpios			: GPIO to use to EN pin.
9*7755313eSRob Herring			See Documentation/devicetree/bindings/gpio/gpio.txt
10*7755313eSRob Herring- led-sources		: List of enabled channels from 0 to 5.
11*7755313eSRob Herring			See Documentation/devicetree/bindings/leds/common.txt
12*7755313eSRob Herring- skyworks,ignore-pwm	: Ignore both PWM input
13*7755313eSRob Herring- skyworks,dpwm-mode	: Enable DPWM dimming mode, otherwise Analog dimming.
14*7755313eSRob Herring- skyworks,phase-shift	: Enable phase shift mode
15*7755313eSRob Herring- skyworks,short-detection-threshold-volt
16*7755313eSRob Herring			: It should be one of 4, 5, 6 and 7V.
17*7755313eSRob Herring- skyworks,current-limit-mA
18*7755313eSRob Herring			: It should be 2300mA or 2750mA.
19*7755313eSRob Herring
20*7755313eSRob HerringExample:
21*7755313eSRob Herring
22*7755313eSRob Herring	backlight {
23*7755313eSRob Herring		compatible = "skyworks,sky81452-backlight";
24*7755313eSRob Herring		name = "pwm-backlight";
25*7755313eSRob Herring		led-sources = <0 1 2 5>;
26*7755313eSRob Herring		skyworks,ignore-pwm;
27*7755313eSRob Herring		skyworks,phase-shift;
28*7755313eSRob Herring		skyworks,current-limit-mA = <2300>;
29*7755313eSRob Herring	};
30