On Fri, Feb 26, 2016 at 11:03 AM, Jacek Anaszewski <j.anaszewski@xxxxxxxxxxx> wrote: > Hi Heiner, > > I don't see [PATCH v4 2/4]. Have you sent it? > Patch 2 of series wasn't changed since v3. Therefore I didn't resend it. Do you prefer to always get the full series even if particular patches weren't changed? > On 02/25/2016 11:11 PM, Heiner Kallweit wrote: >> >> Add generic support for RGB Color LED's. >> >> Basic idea is to use enum led_brightness also for the hue and saturation >> color components.This allows to implement the color extension w/o >> changes to struct led_classdev. >> >> Select LEDS_RGB to enable building drivers using the RGB extension. >> >> Flag LED_SET_HUE_SAT allows to specify that hue / saturation >> should be overridden even if the provided values are zero. >> >> Some examples for writing values to /sys/class/leds/<xx>/brightness: >> (now also hex notation can be used) >> >> 255 -> set full brightness and keep existing color if set >> 0 -> switch LED off but keep existing color so that it can be restored >> if the LED is switched on again later >> 0x1000000 -> switch LED off and set also hue and saturation to 0 >> 0x00ffff -> set full brightness, full saturation and set hue to 0 (red) >> >> Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx> > > [...] > > -- > Best regards, > Jacek Anaszewski -- To unsubscribe from this list: send the line "unsubscribe linux-leds" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html