Hello Jeff, On Wed, Jan 22, 2020 at 03:56:14AM +0000, Jeff LaBundy wrote: > > > The only problem is that leds-pwm disables the pwm at start-up, so the end > > > result is the same anyway. Regardless of the behavior of any one consumer, > > > however, I'm slightly inclined to go with the second option as it seems to > > > be less restrictive and more maintainable. Let me know if you disagree. > > > > With > > > > default-state = "keep"; > > > > in your dt the LED shouldn't get disabled. > > I see default-state defined as a common LED property, but leds-pwm doesn't > seem to use it unfortunately. Looking through its code, brightness is just > initialized to zero unconditionally. Sounds like a bug. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |