blob: 230abdefd6e7be20b470c3790e74c4d26d084ee8 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001Binding for ArcticSand arc2c0608 LED driver
2
3Required properties:
4- compatible: should be "arc,arc2c0608"
5- reg: slave address
6
7Optional 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
21Note: Optional properties not specified will default to values in IC EPROM
22
23Example:
24
25arc2c0608@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