Skip to contentSkip to conversation

leds: Add an optional property named 'sdb-gpios'

PATCH New Grant Feng 1 participant 1 message Aug 6, 2020

Subsystems (2)
lore
Share & tools
lore

Grant Feng

author
#0 lore raw

PATCH 1/1 leds: Add an optional property named 'sdb-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.

---
 Documentation/devicetree/bindings/leds/leds-is31fl32xx.txt | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/leds/leds-is31fl32xx.txt +3 -0
index 926c2117942c..94f02827fd83 100644
@@ -15,6 +15,8 @@ Required properties:
 - reg: I2C slave address
 - address-cells : must be 1
 - size-cells : must be 0
+- sdb-gpios : (optional)
+  Specifier of the GPIO connected to SDB pin.
 
 LED sub-node properties:
 - reg : LED channel number (1..N)
@@ -31,6 +33,7 @@ is31fl3236: led-controller@3c {
 	reg = <0x3c>;
 	#address-cells = <1>;
 	#size-cells = <0>;
+	sdb-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
 
 	led@1 {
 		reg = <1>;
Signature · 1 line
2.17.1