1. 30 1月, 2014 2 次提交
  2. 28 1月, 2014 2 次提交
    • M
      leds: lp5523: Support LED MUX configuration on running a pattern · 93ad8a1d
      Milo Kim 提交于
      There are two ways to run a pattern in LP5523.
      One is using legacy sysfs files such as 'enginex_mode','enginex_load' and
      'enginex_leds'. ('x' is from 1 to 3).
      Among them, 'enginex_leds' are used for selecting specific LED channel MUX.
      (MUX means which LEDs are used for running a pattern from LED 1 to 9.)
      
      The other way is using the firmware interface.
      In this mode, the default LED MUX strings are used.
      In other words, LED MUX is not configurable on the fly.
      
      This patch enables dynamic LED MUX configuration when the firmware is loaded.
      By accessing the sysfs file 'enginex_leds', the LED channels can be configured.
      To synchronize the operation mode, each engine mode should be set to 'LOAD'.
      
      The documentation is updated as well.
      
      Cc: Pali Rohár <pali.rohar@gmail.com>
      Signed-off-by: NMilo Kim <milo.kim@ti.com>
      Signed-off-by: NBryan Wu <cooloney@gmail.com>
      93ad8a1d
    • N
      LEDS: tca6507: add device-tree support for GPIO configuration. · 10ead6e5
      NeilBrown 提交于
      The 7 lines driven by the TCA6507 can either drive LEDs or act as output-only
      GPIOs.
      
      To make this distinction in devicetree we use the "compatible" property.
      
      If the device attached to a line is "compatible" with "gpio", we treat it
      like a GPIO.  If it is "compatible" with "led" (or if no "compatible" value
      is set) we treat it like an LED.
      
      (cooloney@gmail.com: fix typo in the subject)
      Signed-off-by: NNeilBrown <neilb@suse.de>
      Signed-off-by: NBryan Wu <cooloney@gmail.com>
      10ead6e5
  3. 25 1月, 2014 1 次提交
  4. 24 1月, 2014 16 次提交
  5. 23 1月, 2014 3 次提交
  6. 22 1月, 2014 5 次提交
  7. 21 1月, 2014 4 次提交
  8. 20 1月, 2014 7 次提交