1. 24 11月, 2011 1 次提交
  2. 01 11月, 2011 1 次提交
    • M
      leds: Renesas TPU LED driver · f59b6f9f
      Magnus Damm 提交于
      Add V2 of the LED driver for a single timer channel for the TPU hardware
      block commonly found in Renesas SoCs.
      
      The driver has been written with optimal Power Management in mind, so to
      save power the LED is driven as a regular GPIO pin in case of maximum
      brightness and power off which allows the TPU hardware to be idle and
      which in turn allows the clocks to be stopped and the power domain to be
      turned off transparently.
      
      Any other brightness level requires use of the TPU hardware in PWM mode.
      TPU hardware device clocks and power are managed through Runtime PM.
      System suspend and resume is known to be working - during suspend the LED
      is set to off by the generic LED code.
      
      The TPU hardware timer is equipeed with a 16-bit counter together with an
      up-to-divide-by-64 prescaler which makes the hardware suitable for
      brightness control.  Hardware blink is unsupported.
      
      The LED PWM waveform has been verified with a Fluke 123 Scope meter on a
      sh7372 Mackerel board.  Tested with experimental sh7372 A3SP power domain
      patches.  Platform device bind/unbind tested ok.
      
      V2 has been tested on the DS2 LED of the sh73a0-based AG5EVM.
      
      [axel.lin@gmail.com: include linux/module.h]
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f59b6f9f
  3. 28 9月, 2011 1 次提交
    • P
      doc: fix broken references · 395cf969
      Paul Bolle 提交于
      There are numerous broken references to Documentation files (in other
      Documentation files, in comments, etc.). These broken references are
      caused by typo's in the references, and by renames or removals of the
      Documentation files. Some broken references are simply odd.
      
      Fix these broken references, sometimes by dropping the irrelevant text
      they were part of.
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      395cf969
  4. 21 9月, 2011 1 次提交
    • E
      x86: geode: New PCEngines Alix system driver · d4f3e350
      Ed Wildgoose 提交于
      This new driver replaces the old PCEngines Alix 2/3 LED driver with a
      new driver that controls the LEDs through the leds-gpio driver. The
      old driver accessed GPIOs directly, which created a conflict and
      prevented also loading the cs5535-gpio driver to read other GPIOs on
      the Alix board. With this new driver, we hook into leds-gpio which in
      turn uses GPIO to control the LEDs and therefore it's possible to
      control both the LEDs and access onboard GPIOs
      
      Driver is moved to platform/geode as requested by Grant and any other
      geode initialisation modules should move here also
      
      This driver is inspired by leds-net5501.c by Alessandro Zummo.
      
      Ideally, leds-net5501.c should also be moved to platform/geode. 
      Additionally the driver relies on parts of the patch: 7f131cf3 ("leds:
      leds-alix2c - take port address from MSR) by Daniel Mack to perform
      detection of the Alix board.
      
      [akpm@linux-foundation.org: include module.h]
      Signed-off-by: NEd Wildgoose <kernel@wildgooses.com>
      Cc: git@wildgooses.com
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: Daniel Mack <daniel@caiaq.de>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Reviewed-by: NGrant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      d4f3e350
  5. 26 7月, 2011 1 次提交
  6. 16 6月, 2011 3 次提交
  7. 04 6月, 2011 1 次提交
  8. 27 5月, 2011 1 次提交
  9. 25 5月, 2011 3 次提交
  10. 23 3月, 2011 1 次提交
  11. 03 12月, 2010 1 次提交
  12. 12 11月, 2010 2 次提交
  13. 08 10月, 2010 1 次提交
  14. 20 9月, 2010 1 次提交
  15. 17 7月, 2010 1 次提交
  16. 28 5月, 2010 1 次提交
  17. 26 5月, 2010 2 次提交
  18. 17 3月, 2010 3 次提交
  19. 08 3月, 2010 1 次提交
  20. 17 12月, 2009 1 次提交
  21. 16 12月, 2009 3 次提交
  22. 07 9月, 2009 2 次提交
  23. 24 6月, 2009 3 次提交
  24. 06 4月, 2009 4 次提交
    • F
      leds: introduce lp5521 led driver · 67a32ec7
      Felipe Balbi 提交于
      LP5521 is a three channel led driver with support
      for hardware accelerated patterns (currently used
      via lp5521-only sysfs interface).
      
      Currently, it's used on n810 device.
      Signed-off-by: NFelipe Balbi <felipe.balbi@nokia.com>
      Signed-off-by: NRichard Purdie <rpurdie@linux.intel.com>
      67a32ec7
    • K
      leds: add BD2802GU LED driver · 0b56129b
      Kim Kyuwon 提交于
      ROHM BD2802GU is a RGB LED controller attached to i2c bus and specifically
      engineered for decoration purposes.  This RGB controller incorporates
      lighting patterns and illuminates.
      
      This driver is designed to minimize power consumption, so when there is no
      emitting LED, it enters to reset state.  And because the BD2802GU has lots
      of features that can't be covered by the current LED framework, it
      provides Advanced Configuration Function(ADF) mode, so that user
      applications can set registers of BD2802GU directly.
      
      Here are basic usage examples :
      ; to turn on LED (not blink)
      $ echo 1 > /sys/class/leds/led1_R/brightness
      ; to blink LED
      $ echo timer > /sys/class/leds/led1_R/trigger
      $ echo 1 > /sys/class/leds/led1_R/delay_on
      $ echo 1 > /sys/class/leds/led1_R/delay_off
      ; to turn off LED
      $ echo 0 > /sys/class/leds/led1_R/brightness
      
      [akpm@linux-foundation.org: coding-style fixes]
      Signed-off-by: NKim Kyuwon <chammoru@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NRichard Purdie <rpurdie@linux.intel.com>
      0b56129b
    • N
      leds: remove experimental flag from leds-clevo-mail · 95dc5768
      Németh Márton 提交于
      The leds-clevo-mail driver is in the mainline kernel since 2.6.25 and works
      without severe problems. Make this driver available for a larger audience.
      Signed-off-by: NMárton Németh <nm127@freemail.hu>
      Signed-off-by: NRichard Purdie <rpurdie@linux.intel.com>
      95dc5768
    • F
      leds: Add gpio-led trigger · 17354bfe
      Felipe Balbi 提交于
      The gpio led trigger will allow leds to be triggered by
      gpio events.
      
      When we give the led a gpio number, the trigger will
      request_irq() on that so we don't have to keep polling
      for gpio state.
      
      It's useful for usecases as n810's keypad leds that could
      be triggered by the gpio event generated when user slides
      up to show the keypad.
      
      We also provide means for userland to tell us what is the
      desired brightness for that special led when it goes on
      so userland could use information from ambient light sensors
      and not set led brightness too high if it's not necessary.
      Signed-off-by: NFelipe Balbi <me@felipebalbi.com>
      Signed-off-by: NRichard Purdie <rpurdie@linux.intel.com>
      17354bfe