Back to home page

OSCL-LXR

 
 

    


0001 Binding for ArcticSand arc2c0608 LED driver
0002 
0003 Required properties:
0004 - compatible:           should be "arc,arc2c0608"
0005 - reg:                  slave address
0006 
0007 Optional properties:
0008 - default-brightness:   brightness value on boot, value from: 0-4095
0009 - label:                The name of the backlight device
0010                         See Documentation/devicetree/bindings/leds/common.txt
0011 - led-sources:          List of enabled channels from 0 to 5.
0012                         See Documentation/devicetree/bindings/leds/common.txt
0013 
0014 - arc,led-config-0:     setting for register ILED_CONFIG_0
0015 - arc,led-config-1:     setting for register ILED_CONFIG_1
0016 - arc,dim-freq:         PWM mode frequence setting (bits [3:0] used)
0017 - arc,comp-config:      setting for register CONFIG_COMP
0018 - arc,filter-config:    setting for register FILTER_CONFIG
0019 - arc,trim-config:      setting for register IMAXTUNE
0020 
0021 Note: Optional properties not specified will default to values in IC EPROM
0022 
0023 Example:
0024 
0025 arc2c0608@30 {
0026         compatible = "arc,arc2c0608";
0027         reg = <0x30>;
0028         default-brightness = <500>;
0029         label = "lcd-backlight";
0030         linux,default-trigger = "backlight";
0031         led-sources = <0 1 2 5>;
0032 };
0033