• Mark Brown's avatar
    leds: Add WM831x status LED driver · c746b551
    Mark Brown authored
    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.
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    Signed-off-by: default avatarRichard Purdie <rpurdie@linux.intel.com>
    c746b551
leds-wm831x-status.c 7.75 KB