11 Apr, 2007

1 commit


08 Mar, 2007

2 commits


05 Mar, 2007

2 commits

  • The gpio_keys driver is wrongly ARM-specific; it can't build on
    other platforms with GPIO suport. This fixes that problem.

    Signed-off-by: David Brownell
    Cc: Dmitry Torokhov
    Cc: pHilipp Zabel
    Cc: Haavard Skinnemoen
    Cc: Russell King
    Cc: Richard Purdie
    Cc: Ben Nizette
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Brownell
     
  • Most drivers using GPIOs already know they are running on a system that
    supports the generic GPIO calls, because of other platform dependencies.
    But the generic GPIO-based LED and input button drivers can't know that.

    So this patch adds a Kconfig hook, GENERIC_GPIO, to mark the platforms
    where will do the right thing. Currently that's a bunch of
    ARMs, and AVR32; more are on the way.

    It also fixes a dependency bug for the gpio button input driver; it was
    wrong to start with, now it covers all platforms with GENERIC_GPIO.

    Signed-off-by: David Brownell
    Acked-by: Richard Purdie
    Cc: Arnaud Patard
    Cc:
    Cc:
    Cc: pHilipp Zabel
    Cc: Haavard Skinnemoen
    Cc: Dmitry Torokhov
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Brownell
     

20 Feb, 2007

1 commit

  • * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/dtor/input:
    Input: remove obsolete setup parameters from input drivers
    Input: HIL - fix improper call to release_region()
    Input: hid-lgff - treat devices as joysticks unless told otherwise
    Input: HID - add support for Logitech Formula Force EX
    Input: gpio-keys - switch to common GPIO API
    Input: do not lock device when showing name, phys and uniq
    Input: i8042 - let serio bus suspend ports
    Input: psmouse - properly reset mouse on shutdown/suspend

    Linus Torvalds
     

18 Feb, 2007

7 commits


17 Feb, 2007

1 commit

  • - hrtimers did not use the hrtimer_restart enum and relied on the implict
    int representation. Fix the prototypes and the functions using the enums.
    - Use seperate name spaces for the enumerations
    - Convert hrtimer_restart macro to inline function
    - Add comments

    No functional changes.

    [akpm@osdl.org: fix input driver]
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Ingo Molnar
    Cc: john stultz
    Cc: Roman Zippel
    Cc: Dmitry Torokhov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Gleixner
     

15 Feb, 2007

2 commits

  • The obsolete SA_xxx interrupt flags have been used despite the scheduled
    removal. Fixup the remaining users in -mm.

    Signed-off-by: Thomas Gleixner
    Acked-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Gleixner
     
  • After Al Viro (finally) succeeded in removing the sched.h #include in module.h
    recently, it makes sense again to remove other superfluous sched.h includes.
    There are quite a lot of files which include it but don't actually need
    anything defined in there. Presumably these includes were once needed for
    macros that used to live in sched.h, but moved to other header files in the
    course of cleaning it up.

    To ease the pain, this time I did not fiddle with any header files and only
    removed #includes from .c-files, which tend to cause less trouble.

    Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
    arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
    allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
    configs in arch/arm/configs on arm. I also checked that no new warnings were
    introduced by the patch (actually, some warnings are removed that were emitted
    by unnecessarily included header files).

    Signed-off-by: Tim Schmielau
    Acked-by: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tim Schmielau
     

13 Feb, 2007

1 commit

  • Many struct file_operations in the kernel can be "const". Marking them const
    moves these to the .rodata section, which avoids false sharing with potential
    dirty data. In addition it'll catch accidental writes at compile time to
    these shared resources.

    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arjan van de Ven
     

12 Feb, 2007

2 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: remove scan_keyb driver
    Input: i8042 - fix AUX IRQ delivery check
    Input: wistron - add support for Fujitsu-Siemens Amilo D88x0
    Input: inport - use correct config option for ATIXL
    Input: HIL - handle erros from input_register_device()
    Input: tsdev - schedule removal
    Input: add Atlas button driver
    Input: ads7846 - be more compatible with the hwmon framework
    Input: ads7846 - detect pen up from GPIO state
    Input: ads7846 - select correct SPI mode
    Input: ads7846 - switch to using hrtimer
    Input: ads7846 - optionally leave Vref on during differential measurements
    Input: ads7846 - pluggable filtering logic
    Input: gpio-keys - keyboard driver for GPIO buttons
    Input: hid-ff - add support for Logitech Momo racing wheel
    Input: i8042 - really suppress ACK/NAK during panic blink
    Input: pc110pad - return proper error

    Linus Torvalds
     
  • Delete the few remaining unnecessary calls to memset(0) after a call to
    kzalloc().

    Signed-off-by: Robert P. J. Day
    Cc: Andi Kleen
    Cc: Dmitry Torokhov
    Cc: Adam Belay
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Robert P. J. Day
     

10 Feb, 2007

7 commits


09 Feb, 2007

1 commit


08 Feb, 2007

1 commit


18 Jan, 2007

8 commits

  • - Hook up to hwmon
    * show sensor attributes only if hwmon is present
    * ... and the board's reference voltage is known
    * otherwise be just a touchscreen
    - Report voltages per hwmon convention
    * measure in millivolts
    * voltages are named in[0-8]_input (ugh)
    * for 7846 chips, properly range-adjust vBATT/in1_input

    Battery measurements help during recharge monitoring. On OSK/Mistral,
    the measured voltage agreed with a multimeter to several decimal places.

    Signed-off-by: David Brownell
    Signed-off-by: Dmitry Torokhov

    David Brownell
     
  • We can't depend on the pressure value to determine when the pen was
    lifted, so use the GPIO line state instead. This also helps with
    chips (like ads7843) that don't have pressure sensors.

    Signed-off-by: Imre Deak
    Signed-off-by: Juha Yrjola
    Signed-off-by: David Brownell
    Signed-off-by: Dmitry Torokhov

    Imre Deak
     
  • Talk to ADS7846 chip using SPI mode 1, which is what the chip
    supports: writes on falling clock edge, reads on rising.

    Signed-off-by: Imre Deak
    Signed-off-by: Tony Lindgren
    Signed-off-by: David Brownell
    Signed-off-by: Dmitry Torokhov

    Imre Deak
     
  • Use hrtimer instead of the normal timer, since it provides better
    sampling resolution. This will:

    - avoid a problem where we have a 1 jiffy poll period and
    dynamic tick on
    - utilize high resolution HW clocks when they are added to
    the hrtimer framework

    Signed-off-by: Imre Deak
    Signed-off-by: Juha Yrjola
    Signed-off-by: David Brownell
    Signed-off-by: Dmitry Torokhov

    Imre Deak
     
  • On some LCDs leaving the Vref on provides much better readings.

    Signed-off-by: Jarkko Oikarinen
    Signed-off-by: Imre Deak
    Signed-off-by: Juha Yrjola
    Signed-off-by: David Brownell
    Signed-off-by: Dmitry Torokhov

    Imre Deak
     
  • Some LCDs like the LS041Y3 require a customized filtering
    logic for reliable readings, so make the filtering function
    replacable through platform specific hooks.

    Signed-off-by: Imre Deak
    Signed-off-by: Juha Yrjola
    Signed-off-by: David Brownell
    Signed-off-by: Dmitry Torokhov

    Imre Deak
     
  • This is an interrupt-driven keyboard driver for simple buttons
    connected directly to CPU GPIO lines of embedded ARM systems.
    It supports pxa architectures and is used by a number of PDAs
    and PocketPC phones in the handhelds.org kernel. Support for
    other architectures, such as sa11xx and sc2410, will be added
    once generic GPIO API is available.

    Signed-off-by: Paul Sokolovsky
    Signed-off-by: Philipp Zabel
    Signed-off-by: Dmitry Torokhov

    Phil Blundell
     
  • On some boxes panic blink procedure manages to send both bytes
    to keyboard contoller before getting first ACK so we need to
    make i8042_suppress_kbd_ack a counter instead of boolean.

    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     

01 Jan, 2007

1 commit


21 Dec, 2006

1 commit


18 Dec, 2006

2 commits