aboutsummaryrefslogtreecommitdiff
path: root/Bindings/leds/leds-gpio.txt
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2014-08-31 04:34:12 +0000
committerWarner Losh <imp@FreeBSD.org>2014-08-31 04:34:12 +0000
commitd1ca9b39dc9ec58a6b6169a48e5b229a33debaf0 (patch)
treec36c7befa73b6a6704f0cec1d7f1c0344601c218 /Bindings/leds/leds-gpio.txt
parent0d4a4b13019e01c1eab30b74c983040450010b81 (diff)
downloadsrc-d1ca9b39dc9ec58a6b6169a48e5b229a33debaf0.tar.gz
src-d1ca9b39dc9ec58a6b6169a48e5b229a33debaf0.zip
Notes
Diffstat (limited to 'Bindings/leds/leds-gpio.txt')
-rw-r--r--Bindings/leds/leds-gpio.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Bindings/leds/leds-gpio.txt b/Bindings/leds/leds-gpio.txt
index df1b3080f6b8..f77148f372ea 100644
--- a/Bindings/leds/leds-gpio.txt
+++ b/Bindings/leds/leds-gpio.txt
@@ -21,6 +21,8 @@ LED sub-node properties:
on). The "keep" setting will keep the LED at whatever its current
state is, without producing a glitch. The default is off if this
property is not present.
+- retain-state-suspended: (optional) The suspend state can be retained.Such
+ as charge-led gpio.
Examples:
@@ -50,3 +52,13 @@ run-control {
default-state = "on";
};
};
+
+leds {
+ compatible = "gpio-leds";
+
+ charger-led {
+ gpios = <&gpio1 2 0>;
+ linux,default-trigger = "max8903-charger-charging";
+ retain-state-suspended;
+ };
+};