Re: [PATCH RFC leds-next] leds: initial support for Turris Omnia LEDs

Marek Behun
2020-03-21T21:53:45Z

Hmm.

The microcontroller on Turris Omnia supports more settings than just
LEDs (usb3 port power and input button for example).

I am wondering if this approach (registering LED driver to
communicate with the microcontroller) is correct, since the
microcontroller can do other things.

For Turris Mox firmware I created a driver in
drivers/firmware/turris-mox-rwtm.c.

Maybe I should create I driver in drivers/firmware/ for the Omnia
microcontroller, and then the LED driver could use functions exported
by the microcontroller driver to manipulate LEDs.

What do you think?

Marek