Re: [PATCH 2/2] leds: Add WM831x status LED driver

From: Pavel Machek
Date: Mon Sep 07 2009 - 09:22:29 EST


On Sat 2009-09-05 14:09:21, Mark Brown wrote:
> The WM831x devices feature two software controlled status LEDs with
> hardware assisted blinking.
>
> The device can also autonomously control the LEDs based on a selection
> of sources. This can be configured at boot time using either platform
> data or the chip OTP. A sysfs file in the style of that for triggers
> allowing the control source to be configured at run time. Triggers
> can't be used here since they can't depend on the implementation details
> of a specific LED type.

I believe people *were* doing that with triggers in other drivers...?

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/