Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: backlight: arcxcnn: Supply bindings for Arctic Sand backlight

Signed-off-by: Olimpiu Dejeu <olimpiu@arcticsand.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Olimpiu Dejeu and committed by
Lee Jones
ce9d2257 c1ae3cfa

+33
+33
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 +