34 lines · plain
1Binding for ArcticSand arc2c0608 LED driver2 3Required properties:4- compatible: should be "arc,arc2c0608"5- reg: slave address6 7Optional properties:8- default-brightness: brightness value on boot, value from: 0-40959- label: The name of the backlight device10 See Documentation/devicetree/bindings/leds/common.txt11- led-sources: List of enabled channels from 0 to 5.12 See Documentation/devicetree/bindings/leds/common.txt13 14- arc,led-config-0: setting for register ILED_CONFIG_015- arc,led-config-1: setting for register ILED_CONFIG_116- arc,dim-freq: PWM mode frequence setting (bits [3:0] used)17- arc,comp-config: setting for register CONFIG_COMP18- arc,filter-config: setting for register FILTER_CONFIG19- arc,trim-config: setting for register IMAXTUNE20 21Note: Optional properties not specified will default to values in IC EPROM22 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 34