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

DT: leds: Add an optional property named 'shutdown-gpios'

The chip enters hardware shutdown when the SDB pin is pulled low.
The chip releases hardware shutdown when the SDB pin is pulled high.

Signed-off-by: Grant Feng <von81@163.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>

authored by

Grant Feng and committed by
Pavel Machek
23bdfe00 dddb4e38

+2
+2
Documentation/devicetree/bindings/leds/leds-is31fl319x.txt
··· 16 16 - audio-gain-db : audio gain selection for external analog modulation input. 17 17 Valid values: 0 - 21, step by 3 (rounded down) 18 18 Default: 0 19 + - shutdown-gpios : Specifier of the GPIO connected to SDB pin of the chip. 19 20 20 21 Each led is represented as a sub-node of the issi,is31fl319x device. 21 22 There can be less leds subnodes than the chip can support but not more. ··· 45 44 #address-cells = <1>; 46 45 #size-cells = <0>; 47 46 reg = <0x65>; 47 + shutdown-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; 48 48 49 49 red_aux: led@1 { 50 50 label = "red:aux";