1. 03 Sep, 2015 10 commits
  2. 02 Sep, 2015 11 commits
  3. 01 Sep, 2015 3 commits
  4. 18 Aug, 2015 15 commits
  5. 14 Aug, 2015 1 commit
    • Rui Miguel Silva's avatar
      greybus: lights: add lights implementation · 2870b52b
      Rui Miguel Silva authored
      This patch adds lights implementation for Greybus Lights class, it
      allows multiplexing of lights devices using the same connection. Also
      adds two sysfs entries to led class (color, fade) which are commonly
      used in several existing LED devices.
      
      It support 2 major class of devices (normal LED and flash type), for
      the first it registers to led_classdev, for the latest it registers in
      the led_classdev_flash and v4l2_flash, depending on the support of the
      kernel version.
      
      Each Module can have N light devices attach and each light can have
      multiple channel associated:
      glights
         |->light0
         |     |->channel0
         |     |->channel1
         |     | ....
         |     |->channeln
         |->...
         |->lightn
               |->channel0
               |->channel1
               | ....
               |->channeln
      Signed-off-by: default avatarRui Miguel Silva <rui.silva@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      2870b52b