
1 Apr
2018
1 Apr
'18
4:19 p.m.
Hi Patrick,
On 7 March 2018 at 17:48, linux-kernel-dev@beckhoff.com wrote:
From: Patrick Bruenn p.bruenn@beckhoff.com
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.
This looks OK, but please add a test to test/dm/led.c as well.
Signed-off-by: Patrick Bruenn p.bruenn@beckhoff.com
drivers/led/led_gpio.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-)
Regards, Simon