04 Jan, 2016

3 commits

  • Each break out of the for_each_available_child_of_node loop requires
    of_node_put().

    This patch adds missing of_node_put() when loop breaks on conflicting
    values of led-sources DT property.

    Signed-off-by: Jacek Anaszewski
    Cc: Rob Herring
    Cc: Sakari Ailus

    Jacek Anaszewski
     
  • Now the core implements the work queue, remove it from the drivers,
    and switch to using brightness_set_blocking op.

    Signed-off-by: Jacek Anaszewski
    Acked-by: Sakari Ailus
    Acked-by: Pavel Machek

    Jacek Anaszewski
     
  • The initial purpose of brightness_set_sync op, introduced along with
    the LED flash class extension, was to add a means for setting torch LED
    brightness as soon as possible, which couldn't have been guaranteed by
    brightness_set op. This patch renames the op to brightness_set_blocking,
    which describes its purpose in a more generic way. It is beneficial
    in view of the prospective changes in the LED core, aiming at removing
    the need for using work queues in LED class drivers that can sleep
    or use delays while setting brightness.

    Signed-off-by: Jacek Anaszewski
    Acked-by: Andrew Lunn
    Acked-by: Pavel Machek
    Acked-by: Sakari Ailus

    Jacek Anaszewski
     

17 Sep, 2015

1 commit


17 Jul, 2015

1 commit

  • This prepares for merging some of the drivers between max77693 and
    max77843 so the child MFD driver can be attached to any parent MFD main
    driver.

    Move the state container to common header file. Additionally add
    consistent 'i2c' prefixes to its members (of 'struct i2c_client' type).

    Signed-off-by: Krzysztof Kozlowski
    Acked-by: Sebastian Reichel
    Acked-by: Dmitry Torokhov
    Acked-by: Lee Jones
    Acked-by: Chanwoo Choi
    Acked-by: Jacek Anaszewski
    Signed-off-by: Mark Brown

    Krzysztof Kozlowski
     

23 Jun, 2015

1 commit


05 May, 2015

1 commit

  • This patch adds led-flash support to Maxim max77693 chipset.
    A device can be exposed to user space through LED subsystem
    sysfs interface. Device supports up to two leds which can
    work in flash and torch mode. The leds can be triggered
    externally or by software.

    Signed-off-by: Jacek Anaszewski
    Signed-off-by: Andrzej Hajda
    Acked-by: Kyungmin Park
    Cc: Richard Purdie
    Acked-by: Sakari Ailus
    Signed-off-by: Bryan Wu

    Jacek Anaszewski