31 Jul, 2010

1 commit


25 Jun, 2010

2 commits


11 Jun, 2010

1 commit

  • This one adds support of a combined irq source for the whole matrix keypad.
    This can be useful if all rows and columns of the keypad are e.g. connected
    to a GPIO expander, which only has one interrupt line for all events on
    every single GPIO.

    Signed-off-by: Luotao Fu
    Acked-by: Eric Miao
    Signed-off-by: Dmitry Torokhov

    Luotao Fu
     

28 May, 2010

1 commit


14 Apr, 2010

1 commit

  • AD7142 and AD7147 are integrated capacitance-to-digital converters
    (CDCs) with on-chip environmental calibration for use in systems
    requiring a novel user input method. The AD7142 and AD7147 can interface
    to external capacitance sensors implementing functions such as buttons,
    scrollwheels, sliders, touchpads and so on.

    The chips don't restrict the specific usage. Depending on the hardware
    connection, one special target board can include one or several these
    components. The platform_data for the device's "struct device" holds
    these information. The data-struct defined in head file descript the
    hardware feature of button/scrollwheel/slider/touchpad components on
    target boards, which need be filled in the arch/mach-/.

    As the result, the driver is independent of boards. It gets the
    components layout from the platform_data, registers related devices,
    fullfills the algorithms and state machines for these components and
    report related input events to up level.

    Signed-off-by: Bryan Wu
    Signed-off-by: Michael Hennerich
    Signed-off-by: Barry Song
    Signed-off-by: Mike Frysinger
    Signed-off-by: Dmitry Torokhov

    Bryan Wu
     

06 Apr, 2010

1 commit

  • In an embedded system the matrix_keypad driver might be used to
    interface with an external control panel and not an actual keyboard.
    On the control panel some of the keys could be used to turn on/off
    various functions. If key autorepeat is enabled this causes the
    function to quickly toggle between the on and off states and makes
    operation difficult.

    Add an option in the platform-specific data to disable the key
    autorepeat.

    Signed-off-by: H Hartley Sweeten
    Signed-off-by: Dmitry Torokhov

    H Hartley Sweeten
     

11 Feb, 2010

1 commit


21 Jan, 2010

1 commit


10 Dec, 2009

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (51 commits)
    Input: appletouch - give up maintainership
    Input: dm355evm_kbd - switch to using sparse keymap library
    Input: wistron_btns - switch to using sparse keymap library
    Input: add generic support for sparse keymaps
    Input: fix memory leak in force feedback core
    Input: wistron - remove identification strings from DMI table
    Input: psmouse - remove identification strings from DMI tables
    Input: atkbd - remove identification strings from DMI table
    Input: i8042 - remove identification strings from DMI tables
    DMI: allow omitting ident strings in DMI tables
    Input: psmouse - do not carry DMI data around
    Input: matrix-keypad - switch to using dev_pm_ops
    Input: keyboard - fix lack of locking when traversing handler->h_list
    Input: gpio_keys - scan gpio state at probe and resume time
    Input: keyboard - add locking around event handling
    Input: usbtouchscreen - add support for ET&T TC5UH touchscreen controller
    Input: xpad - add two new Xbox 360 devices
    Input: polled device - do not start polling if interval is zero
    Input: polled device - schedule first poll immediately
    Input: add S3C24XX touchscreen driver
    ...

    Linus Torvalds
     

08 Dec, 2009

1 commit


30 Nov, 2009

1 commit

  • This patch moves the KEYSC header file from the
    SuperH specific asm directory to a place where
    it can be shared by multiple architectures.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     

20 Nov, 2009

1 commit


28 Aug, 2009

2 commits


12 Aug, 2009

1 commit

  • This adds a struct eeti_ts_platform_data which currently holds only one
    value to specify the interrupt polarity.

    The driver has a fallback if no platform data is passed in via the
    i2c_board_info, so no regression is caused.

    Signed-off-by: Daniel Mack
    Signed-off-by: Dmitry Torokhov

    Daniel Mack
     

06 Aug, 2009

1 commit


29 Jun, 2009

1 commit

  • Original patch by Marek Vasut, modified by Eric in:

    1. use delayed work to simplify the debouncing
    2. combine col_polarity/row_polarity into a single active_low field
    3. use a generic bit array based XOR algorithm to detect key
    press/release, which should make the column assertion time
    shorter and code a bit cleaner
    4. remove the ALT_FN handling, which is no way generic, the ALT_FN
    key should be treated as no different from other keys, and
    translation will be done by user space by commands like 'loadkeys'.
    5. explicitly disable row IRQs and flush potential pending work,
    and schedule an immediate scan after resuming as suggested
    by Uli Luckas
    6. incorporate review comments from many others

    Patch tested on Littleton/PXA310 (though PXA310 has a dedicate keypad
    controller, I have to configure those pins as generic GPIO to use this
    driver, works quite well, though), and Sharp Zaurus model SL-C7x0
    and SL-C1000.

    [dtor@mail.ru: fix error unwinding path, support changing keymap
    from userspace]
    Signed-off-by: Marek Vasut
    Reviewed-by: Trilok Soni
    Reviewed-by: Uli Luckas
    Reviewed-by: Russell King
    Reviewed-by: Robert Jarzmik
    Signed-off-by: Eric Miao
    Signed-off-by: Dmitry Torokhov

    Eric Miao