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