commit | d90f0d4cae5c9349a412e3f924bf25e20e35ddfa | [log] [tgz] |
---|---|---|
author | Patrick Bruenn <p.bruenn@beckhoff.com> | Wed Apr 11 11:16:27 2018 +0200 |
committer | Tom Rini <trini@konsulko.com> | Tue May 08 09:07:33 2018 -0400 |
tree | 8d8b4015294e415f20a2097b929285537fdbf1c1 | |
parent | 732bc7ce3fcfde5f102a92a9a7f3ed67f4af9a3a [diff] |
dm: led: Support "default-state" property Add support for the device tree property "default-state". This feature might be useful for LEDs indicating "power on" or similar states. Note: Even with this commit gpio-leds remain in reset state. That's because the led_gpio is not probed until DM_FLAG_ACTIVATED is set. Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>