Back to home page

OSCL-LXR

 
 

    


0001 SKY81452-backlight bindings
0002 
0003 Required properties:
0004 - compatible            : Must be "skyworks,sky81452-backlight"
0005 
0006 Optional properties:
0007 - name                  : Name of backlight device. Default is 'lcd-backlight'.
0008 - gpios                 : GPIO to use to EN pin.
0009                         See Documentation/devicetree/bindings/gpio/gpio.txt
0010 - led-sources           : List of enabled channels from 0 to 5.
0011                         See Documentation/devicetree/bindings/leds/common.txt
0012 - skyworks,ignore-pwm   : Ignore both PWM input
0013 - skyworks,dpwm-mode    : Enable DPWM dimming mode, otherwise Analog dimming.
0014 - skyworks,phase-shift  : Enable phase shift mode
0015 - skyworks,short-detection-threshold-volt
0016                         : It should be one of 4, 5, 6 and 7V.
0017 - skyworks,current-limit-mA
0018                         : It should be 2300mA or 2750mA.
0019 
0020 Example:
0021 
0022         backlight {
0023                 compatible = "skyworks,sky81452-backlight";
0024                 name = "pwm-backlight";
0025                 led-sources = <0 1 2 5>;
0026                 skyworks,ignore-pwm;
0027                 skyworks,phase-shift;
0028                 skyworks,current-limit-mA = <2300>;
0029         };