1. 27 Aug, 2013 5 commits
    • Jingoo Han's avatar
      leds: leds-ss4200: Staticize nasgpio_led_get_attr() · 2e87c092
      Jingoo Han authored
      nasgpio_led_get_attr() is used only in this file.
      Fix the following sparse warning:
      
      drivers/leds/leds-ss4200.c:200:5: warning: symbol 'nasgpio_led_get_attr' was not declared. Should it be static?
      Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
      Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
      2e87c092
    • Jingoo Han's avatar
      leds: use dev_get_platdata() · 87aae1ea
      Jingoo Han authored
      Use the wrapper function for retrieving the platform data instead of
      accessing dev->platform_data directly.
      Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
      Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
      87aae1ea
    • Mark A. Greer's avatar
      leds: pca9633: Add hardware blink support · 8465b018
      Mark A. Greer authored
      Add hardware blinking support to the pca9633 driver.
      
      NOTE: Hardware blinking violates the leds infrastructure
      driver interface since the hardware only supports
      blinking all LEDs with the same delay_on/delay_off
      rates.  That is, only the LEDs that are set to blink
      will actually blink but all LEDs that are set to blink
      will blink in identical fashion.  The delay_on/delay_off
      values of the last LED that is set to blink will be used
      for all of the blinking LEDs.  If the hardware doesn't
      support the requested blinking pattern, a default of
      500ms on and off will be used.
      
      Hardware blinking is disabled by default but can be enabled
      by setting the 'blink_type' member in the platform_data
      struct to 'PCA9633_HW_BLINK' or by adding the 'nxp,hw-blink'
      property to the DTS.
      
      (fengguang.wu@intel.com: Removes unneeded semicolon.)
      Signed-off-by: default avatarMark A. Greer <mgreer@animalcreek.com>
      Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
      8465b018
    • Kim, Milo's avatar
      leds: support new LP8501 device - another LP55xx common · 33b3a561
      Kim, Milo authored
      LP8501 can drive up to 9 channels like LP5523.
      LEDs can be controlled directly via the I2C and programmable engines are
      supported.
      
      LP55xx common driver
       LP8501 is one of LP55xx family device, so LP55xx common code are used.
       Chip specific data is defined in the structure, 'lp55xx_device_config'.
      
      Differences between LP8501 and LP5523
       Different register layout for LED output control and others.
       LP8501 specific feature for separate output power selection.
       LP8501 doesn't support external clock detection.
       Different programming engine data.
      
      LP8501 specific feature - output power selection
       Output channels are selected by power selection - Vout or Vdd.
       Separate power for VDD1-6 and VDD7-9 are available.
       It is configurable in the platform data.
       To support this feature, LP55xx DT structure and header are changed.
       Device tree binding is updated as well.
      
      LED pattern data
       Example pattern data is updated in the driver documentation.
      Signed-off-by: default avatarMilo Kim <milo.kim@ti.com>
      Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
      33b3a561
    • Tony Lindgren's avatar
      leds: Add device tree binding for pca9633 · 81d22878
      Tony Lindgren authored
      Similar to tca6507, we can just parse the standard LED
      properties for pca9633.
      
      Tested on a pca9632, which is compatible with pca9633.
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
      81d22878
  2. 26 Aug, 2013 1 commit
  3. 25 Aug, 2013 4 commits
  4. 24 Aug, 2013 8 commits
  5. 23 Aug, 2013 17 commits
  6. 22 Aug, 2013 5 commits