Skip to content
Commit d90f0d4c authored by Patrick Bruenn's avatar Patrick Bruenn Committed by Tom Rini
Browse files

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: default avatarPatrick Bruenn <p.bruenn@beckhoff.com>
parent 732bc7ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment