1. 17 3月, 2010 7 次提交
  2. 08 3月, 2010 1 次提交
  3. 17 12月, 2009 6 次提交
  4. 16 12月, 2009 6 次提交
  5. 05 12月, 2009 1 次提交
  6. 28 11月, 2009 1 次提交
  7. 16 11月, 2009 1 次提交
  8. 21 10月, 2009 1 次提交
    • T
      omap: headers: Move remaining headers from include/mach to include/plat · ce491cf8
      Tony Lindgren 提交于
      Move the remaining headers under plat-omap/include/mach
      to plat-omap/include/plat. Also search and replace the
      files using these headers to include using the right path.
      
      This was done with:
      
      #!/bin/bash
      mach_dir_old="arch/arm/plat-omap/include/mach"
      plat_dir_new="arch/arm/plat-omap/include/plat"
      headers=$(cd $mach_dir_old && ls *.h)
      omap_dirs="arch/arm/*omap*/ \
      drivers/video/omap \
      sound/soc/omap"
      other_files="drivers/leds/leds-ams-delta.c \
      drivers/mfd/menelaus.c \
      drivers/mfd/twl4030-core.c \
      drivers/mtd/nand/ams-delta.c"
      
      for header in $headers; do
      	old="#include <mach\/$header"
      	new="#include <plat\/$header"
      	for dir in $omap_dirs; do
      		find $dir -type f -name \*.[chS] | \
      			xargs sed -i "s/$old/$new/"
      	done
      	find drivers/ -type f -name \*omap*.[chS] | \
      		xargs sed -i "s/$old/$new/"
      	for file in $other_files; do
      		sed -i "s/$old/$new/" $file
      	done
      done
      
      for header in $(ls $mach_dir_old/*.h); do
      	git mv $header $plat_dir_new/
      done
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ce491cf8
  9. 05 10月, 2009 1 次提交
  10. 23 9月, 2009 1 次提交
  11. 18 9月, 2009 1 次提交
    • D
      Input: libps2 - additional locking for i8042 ports · 181d683d
      Dmitry Torokhov 提交于
      The serio ports on i8042 are not completely isolated; while we provide
      enough locking to ensure proper serialization when accessing control
      and data registers AUX and KBD ports can still have an effect on each
      other on PS/2 protocol level. The most prominent effect is that
      issuing a command for the device connected to one port may cause
      abort of the command currently executing by the device connected to
      another port.
      
      Since i8042 nor serio subsystem are not aware of the details of the
      PS/2 protocol (length of the commands and their replies and so on) the
      locking should be done on libps2 level by adding special handling when
      we see that we are dealing with serio port on i8042.
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      181d683d
  12. 07 9月, 2009 7 次提交
  13. 27 8月, 2009 2 次提交
  14. 03 7月, 2009 1 次提交
  15. 24 6月, 2009 3 次提交
    • T
      leds: Add options to have GPIO LEDs start on or keep their state · ed88bae6
      Trent Piepho 提交于
      There already is a "default-on" trigger but there are problems with it.
      
      For one, it's a inefficient way to do it and requires led trigger support
      to be compiled in.
      
      But the real reason is that is produces a glitch on the LED.  The GPIO is
      allocate with the LED *off*, then *later* when the trigger runs it is
      turned back on.  If the LED was already on via the GPIO's reset default or
      action of the firmware, this produces a glitch where the LED goes from on
      to off to on.  While normally this is fast enough that it wouldn't be
      noticeable to a human observer, there are still serious problems.
      
      One is that there may be something else on the GPIO line, like a hardware
      alarm or watchdog, that is fast enough to notice the glitch.
      
      Another is that the kernel may panic before the LED is turned back on, thus
      hanging with the LED in the wrong state.  This is not just speculation, but
      actually happened to me with an embedded system that has an LED which
      should turn off when the kernel finishes booting, which was left in the
      incorrect state due to a bug in the OF LED binding code.
      
      We also let GPIO LEDs get their initial value from whatever the current
      state of the GPIO line is.  On some systems the LEDs are put into some
      state by the firmware or hardware before Linux boots, and it is desired to
      have them keep this state which is otherwise unknown to Linux.
      
      This requires that the underlying GPIO driver support reading the value of
      output GPIOs.  Some drivers support this and some do not.
      
      The platform device binding gains a field in the platform data
      "default_state" that controls this.  There are three constants defined to
      select from on, off, or keeping the current state.  The OpenFirmware
      binding uses a property named "default-state" that can be set to "on",
      "off", or "keep".  The default if the property isn't present is off.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Acked-by: NGrant Likely <grant.likely@secretlab.ca>
      Acked-by: NWolfram Sang <w.sang@pengutronix.de>
      Acked-by: NSean MacLennan <smaclennan@pikatech.com>
      Signed-off-by: NRichard Purdie <rpurdie@linux.intel.com>
      ed88bae6
    • A
      leds: LED driver for National Semiconductor LP3944 Funlight Chip · 5054d39e
      Antonio Ospite 提交于
      LEDs driver for National Semiconductor LP3944 Funlight Chip
      http://www.national.com/pf/LP/LP3944.html
      
      This helper chip can drive up to 8 leds, with two programmable DIM
      modes; it could even be used as a gpio expander but this driver assumes
      it is used as a led controller.
      
      The DIM modes are used to set _blink_ patterns for leds, the pattern is
      specified supplying two parameters:
        - period: from 0s to 1.6s
        - duty cycle: percentage of the period the led is on, from 0 to 100
      
      LP3944 can be found on Motorola A910 smartphone, where it drives the rgb
      leds, the camera flash light and the displays backlights.
      Signed-off-by: NAntonio Ospite <ospite@studenti.unina.it>
      Signed-off-by: NRichard Purdie <rpurdie@linux.intel.com>
      5054d39e
    • A
      leds: pca9532 - Indent using tabs, not spaces. · 07172d2b
      Antonio Ospite 提交于
      Indent using tabs, not spaces.
      Signed-off-by: NAntonio Ospite <ospite@studenti.unina.it>
      Acked-by: NRiku Voipio <riku.voipio@iki.fi>
      Signed-off-by: NRichard Purdie <rpurdie@linux.intel.com>
      07172d2b