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