Merge tag 'for-linus' of git://linux-c6x.org/git/projects/linux-c6x-upstreaming
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / leds / backlight / arcxcnn_bl.txt
1 Binding for ArcticSand arc2c0608 LED driver
2
3 Required properties:
4 - compatible:           should be "arc,arc2c0608"
5 - reg:                  slave address
6
7 Optional properties:
8 - default-brightness:   brightness value on boot, value from: 0-4095
9 - label:                The name of the backlight device
10                         See Documentation/devicetree/bindings/leds/common.txt
11 - led-sources:          List of enabled channels from 0 to 5.
12                         See Documentation/devicetree/bindings/leds/common.txt
13
14 - arc,led-config-0:     setting for register ILED_CONFIG_0
15 - arc,led-config-1:     setting for register ILED_CONFIG_1
16 - arc,dim-freq:         PWM mode frequence setting (bits [3:0] used)
17 - arc,comp-config:      setting for register CONFIG_COMP
18 - arc,filter-config:    setting for register FILTER_CONFIG
19 - arc,trim-config:      setting for register IMAXTUNE
20
21 Note: Optional properties not specified will default to values in IC EPROM
22
23 Example:
24
25 arc2c0608@30 {
26         compatible = "arc,arc2c0608";
27         reg = <0x30>;
28         default-brightness = <500>;
29         label = "lcd-backlight";
30         linux,default-trigger = "backlight";
31         led-sources = <0 1 2 5>;
32 };
33