1. 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
  2. 27 5月, 2011 1 次提交
  3. 25 5月, 2011 2 次提交
  4. 23 3月, 2011 1 次提交
  5. 12 11月, 2010 1 次提交
  6. 08 10月, 2010 1 次提交
  7. 17 7月, 2010 1 次提交
  8. 26 5月, 2010 2 次提交
  9. 17 3月, 2010 1 次提交
  10. 08 3月, 2010 1 次提交
  11. 17 12月, 2009 1 次提交
  12. 16 12月, 2009 3 次提交
  13. 07 9月, 2009 1 次提交
    • M
      leds: Add WM831x status LED driver · c746b551
      Mark Brown 提交于
      The WM831x devices feature two software controlled status LEDs with
      hardware assisted blinking.
      
      The device can also autonomously control the LEDs based on a selection
      of sources.  This can be configured at boot time using either platform
      data or the chip OTP.  A sysfs file in the style of that for triggers
      allowing the control source to be configured at run time.  Triggers
      can't be used here since they can't depend on the implementation details
      of a specific LED type.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NRichard Purdie <rpurdie@linux.intel.com>
      c746b551
  14. 24 6月, 2009 1 次提交
  15. 06 4月, 2009 5 次提交
  16. 16 1月, 2009 1 次提交
  17. 08 1月, 2009 2 次提交
  18. 21 10月, 2008 4 次提交
  19. 24 9月, 2008 2 次提交
  20. 01 9月, 2008 1 次提交
  21. 23 7月, 2008 2 次提交
  22. 25 4月, 2008 2 次提交
  23. 19 4月, 2008 1 次提交
  24. 09 2月, 2008 1 次提交
    • D
      PWM LED driver · de5c9ede
      David Brownell 提交于
      This is a LED driver using the PWM on newer SOCs from Atmel; brightness is
      controlled by changing the PWM duty cycle.  So for example if you've set up
      two leds labeled "pwm0" and "pwm1":
      
      	echo 0 > /sys/class/leds/pwm2/brightness	# off (0%)
      	echo 80 > /sys/class/leds/pwm2/brightness
      	echo 255 > /sys/class/leds/pwm2/brightness	# on (100%)
      
      Note that "brightness" here isn't linear; maybe that should change.  Going
      from 4 to 8 probably doubles perceived brightness, while 244 to 248 is
      imperceptible.
      
      This is mostly intended to be a simple example of PWM, although it's
      realistic since LCD backlights are often driven with PWM to conserve
      battery power (and offer brightness options).
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Andrew Victor <linux@maxim.org.za>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      de5c9ede
  25. 07 2月, 2008 1 次提交