13 Jan, 2012

1 commit


11 Jan, 2012

2 commits

  • Recent conversion to module_platform_driver() went a bit too far and
    converted not only drivers that used platform_driver_register() but
    also ones using platform_driver_probe(), breaking them in process.

    Reported-by: Geert Uytterhoeven
    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (64 commits)
    Input: tc3589x-keypad - add missing kerneldoc
    Input: ucb1400-ts - switch to using dev_xxx() for diagnostic messages
    Input: ucb1400_ts - convert to threaded IRQ
    Input: ucb1400_ts - drop inline annotations
    Input: usb1400_ts - add __devinit/__devexit section annotations
    Input: ucb1400_ts - set driver owner
    Input: ucb1400_ts - convert to use dev_pm_ops
    Input: psmouse - make sure we do not use stale methods
    Input: evdev - do not block waiting for an event if fd is nonblock
    Input: evdev - if no events and non-block, return EAGAIN not 0
    Input: evdev - only allow reading events if a full packet is present
    Input: add driver for pixcir i2c touchscreens
    Input: samsung-keypad - implement runtime power management support
    Input: tegra-kbc - report wakeup key for some platforms
    Input: tegra-kbc - add device tree bindings
    Input: add driver for AUO In-Cell touchscreens using pixcir ICs
    Input: mpu3050 - configure the sampling method
    Input: mpu3050 - ensure we enable interrupts
    Input: mpu3050 - add of_match table for device-tree probing
    Input: sentelic - document the latest hardware
    ...

    Fix up fairly trivial conflicts (device tree matching conflicting with
    some independent cleanups) in drivers/input/keyboard/samsung-keypad.c

    Linus Torvalds
     

05 Jan, 2012

1 commit


30 Dec, 2011

3 commits

  • When runtime power management is enabled put the Samsung keypad driver
    into suspend mode with wakeups disabled whenever the device is open but
    a key is not actually been pressed. As well as saving a trivial amount of
    power this will support the use of SoC wide idle modes which put the entire
    device into a retention mode and use explicit wakeup sources to exit.

    Since not all of the interrupt controllers used with the driver support
    set_irq_wake() (though they all do the right thing) and there's a nasty
    WARN() when we disable wake after failing to enable it keep track of the
    current wake status from runtime PM and only disable wake if we managed
    to enable it; I'm not entirely sure why this doesn't affect the existing
    uses of the API in the driver.

    System suspend is unaffected as the driver core will runtime resume any
    suspended devices prior to system suspend.

    Signed-off-by: Mark Brown
    Signed-off-by: Dmitry Torokhov

    Conflicts:

    drivers/input/keyboard/samsung-keypad.c

    Mark Brown
     
  • Tegra kbc cannot detect exact keypress causing wakeup in interrupt mode.
    Allow wakeup keypress to be reported for certain platforms.

    Signed-off-by: Rakesh Iyer
    Acked-by: Stephen Warren
    Signed-off-by: Dmitry Torokhov

    Rakesh Iyer
     
  • This adds a simple device tree binding to the tegra keyboard controller.

    Also, mark the default keymap as __devinitdata since it is not referenced
    after boot.

    Signed-off-by: Olof Johansson
    Signed-off-by: Dmitry Torokhov

    Olof Johansson
     

23 Dec, 2011

1 commit


12 Dec, 2011

1 commit


01 Dec, 2011

1 commit


29 Nov, 2011

2 commits


16 Nov, 2011

1 commit


10 Nov, 2011

2 commits


01 Nov, 2011

1 commit


30 Oct, 2011

1 commit


27 Oct, 2011

3 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (68 commits)
    Input: adp5589-keys - add support for the ADP5585 derivatives
    Input: imx_keypad - add pm suspend and resume support
    Input: force feedback - potential integer wrap in input_ff_create()
    Input: tsc2007 - make sure that X plate resistance is specified
    Input: serio_raw - fix memory leak when closing char device
    Input: serio_raw - kick clients when disconnecting port
    Input: serio_raw - explicitly mark disconnected ports as dead
    Input: serio_raw - fix coding style issues
    Input: serio_raw - use dev_*() for messages
    Input: serio_raw - use bool for boolean data
    Input: serio_raw - perform proper locking when adding clients to list
    Input: serio_raw - rename serio_raw_list to serio_raw_client
    Input: serio_raw - use kref instead of rolling out its own refcounting
    Input: psmouse - switch to using dev_*() for messages
    Input: wacom - correct max Y value on medium bamboos
    Input: wacom - add ABS_DISTANCE to Bamboo Pen reports
    Input: wacom - remove unneeded touch pressure initialization
    Input: lm8323 - wrap suspend and resume in CONFIG_PM_SLEEP
    Input: ad7879-i2c - wrap suspend and resume in CONFIG_PM_SLEEP
    Input: synaptics_i2c - wrap suspend and resume in CONFIG_PM_SLEEP
    ...

    Linus Torvalds
     
  • * 'gpio' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm: (43 commits)
    ARM: 7135/1: ep93xx: bring back missing
    ARM: 7104/1: plat-pxa: break out GPIO driver specifics
    ARM: 7103/1: plat-pxa: move PXA GPIO driver to GPIO subsystem
    ARM: 7042/3: mach-ep93xx: break out GPIO driver specifics
    ARM: 7101/1: arm/tegra: Replace with
    ARM: 7094/1: arm/tegra: Move EN_VDD_1V05_GPIO to board-harmony.h
    ARM: 7083/1: rewrite U300 GPIO to use gpiolib
    ARM: 7074/1: gpio: davinci: eliminate unused variable warnings
    ARM: 7063/1: Orion: gpio: add missing include of linux/types.h
    ARM: 7055/1: arm/tegra: mach/gpio.h: include linux/types.h to fix build
    ARM: 7054/1: arm/tegra: Delete custom gpio_to_irq, and irq_to_gpio
    ARM: 7053/1: gpio/tegra: Implement gpio_chip.to_irq
    ARM: 7052/1: gpio/tegra: Remove use of irq_to_gpio
    ARM: 7057/1: mach-pnx4008: rename GPIO header
    ARM: 7056/1: plat-nomadik: kill off
    ARM: 7050/1: mach-sa1100: delete irq_to_gpio() function
    ARM: 7049/1: mach-sa1100: move SA1100 GPIO driver to GPIO subsystem
    ARM: 7045/1: mach-lpc32xx: break out GPIO driver specifics
    ARM: 7044/1: mach-lpc32xx: move LPC32XX GPIO driver to GPIO subsystem
    ARM: 7043/1: mach-ixp2000: rename GPIO header
    ...

    Fix up trivial conflicts in arch/arm/mach-u300/Kconfig manually

    Linus Torvalds
     
  • Dmitry Torokhov
     

19 Oct, 2011

1 commit

  • The ADP5585 family keypad decoder and IO expander is similar to the ADP5589,
    however it features less IO pins, and lacks hardware assisted key-lock
    functionality. Unfortunately the register addresses are different, as well as
    the event codes and bit organization within the port related registers.

    Move ADP5589 Register defines from the header file into the main source file.
    Add new defines while making sure we don't break existing platform_data.
    Add register address translation, and turn device specific defines into variables.
    Introduce some helper functions and disable functions that doesn't
    exist on the added devices.

    Signed-off-by: Michael Hennerich
    Signed-off-by: Dmitry Torokhov

    Michael Hennerich
     

13 Oct, 2011

1 commit

  • The imx_keypad driver was indicating that it was wakeup capable in
    imx_keypad_probe(), but it didn't implement suspend or resume methods.

    According to the i.MX series MCU Reference Manual, the kpp (keypad
    port) is a major wake up source which can detect any key press even
    in low power mode and even when there is no clock.

    Signed-off-by: Hui Wang
    Reviewed-by: Wanlong Gao
    Signed-off-by: Dmitry Torokhov

    Hui Wang
     

07 Oct, 2011

1 commit

  • CONFIG_PM is defined when CONFIG_PM_SLEEP or CONFIG_PM_RUNTIME is defined,
    however suspend and resume methods are only valid in the context of
    CONFIG_PM_SLEEP. If only CONFIG_PM_RUNTIME is defined we get the following
    warning (courtesy of Geerts randconfig builds):

    lm8323.c: warning: 'lm8323_resume' defined but not used

    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     

21 Sep, 2011

1 commit


17 Sep, 2011

1 commit

  • * 'for-linus' of git://github.com/dtor/input:
    Input: wacom - fix touch parsing on newer Bamboos
    Input: bcm5974 - add MacBookAir4,1 trackpad support
    Input: wacom - add POINTER and DIRECT device properties
    Input: adp5588-keys - remove incorrect modalias
    Input: cm109 - fix checking return value of usb_control_msg
    Input: wacom - advertise BTN_TOOL_PEN and BTN_STYLUS for PenPartner
    Input: wacom - remove pressure for touch devices

    Linus Torvalds
     

10 Sep, 2011

2 commits

  • Take spinlock when entering ISR and timer routine to ensure that we do not
    race while enabling/disabling FIFO interrupts.

    Also we do not need to take teh spinlock in tegra_kbc_startremove() since
    interrupt is completely disabled.

    Tested-by: Rakesh Iyer
    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     
  • For wakeup to be reliable, kbc needs to be in interrupt mode before suspend.
    Created common routine to control the FIFO interrupt.
    Added synchronization to ensure orderly suspend.

    Signed-off-by: Rakesh Iyer
    Signed-off-by: Dmitry Torokhov

    Rakesh Iyer
     

09 Sep, 2011

1 commit

  • WARNING: drivers/input/keyboard/built-in.o(.text+0xb55b): Section mismatch in reference from the function tc3589x_keypad_open() to the function .devinit.text:tc3589x_keypad_init_key_hardware()
    The function tc3589x_keypad_open() references
    the function __devinit tc3589x_keypad_init_key_hardware().
    This is often because tc3589x_keypad_open lacks a __devinit
    annotation or the annotation of tc3589x_keypad_init_key_hardware is wrong.

    Signed-off-by: Harvey Yang
    Signed-off-by: Dmitry Torokhov

    Harvey Yang
     

08 Sep, 2011

1 commit


27 Aug, 2011

1 commit

  • For i2c drivers, we should use "i2c:" prefix for modalias.

    MODULE_DEVICE_TABLE will setup the modulalias for us, thus adding
    a MODULE_ALIAS is redundant (in addition to being incorrect).

    Signed-off-by: Axel Lin
    Acked-by: Michael Hennerich
    Signed-off-by: Dmitry Torokhov

    Axel Lin
     

25 Aug, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: ad714x - read the interrupt status registers in a row
    Input: ad714x - use DMA-safe buffers for spi_write()
    Input: ad714x - fix endianness issues
    Input: ad714xx-spi - force SPI bus into the default 8-bit mode
    Input: ep93xx_keypad - add missing include of linux/module.h
    Input: tnetv107x-ts - add missing include of linux/module.h
    Input: max11801_ts - correct license statement
    Input: atmel_mxt_ts - report pressure information from the driver
    Input: bcm5974 - Add support for newer MacBookPro8,2
    Input: wacom - report id 3 returns 4 bytes of data
    Input: wacom - add WAC_MSG_RETRIES define
    Input: wacom - add support for the Wacom Bamboo Pen (CTL-660/K)
    Input: tegra-kbc - correct call to input_free_device
    Input: mpu3050 - correct call to input_free_device
    Input: bcm5974 - add support for touchpads found in MacBookAir4,2
    Input: mma8450 - fix module device table type
    Input: remove CLOCK_TICK_RATE from analog joystick driver

    Linus Torvalds
     

22 Aug, 2011

1 commit


12 Aug, 2011

1 commit


08 Aug, 2011

1 commit


04 Aug, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: ad7879 - fix deficient device disable
    Input: gpio_keys - fix two typos in devicetree documentation
    Input: mma8450 - add device tree probe support
    Input: gpio_keys - return proper error code if memory allocation fails
    Input: lm8323 - add missing device_remove_file for dev_attr_time
    Input: tegra-kbc - fix computation of polling time
    Input: kxtj9 - explicitly include module.h
    Input: psmouse - hgpk.c needs module.h

    Linus Torvalds
     

31 Jul, 2011

3 commits


28 Jul, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (53 commits)
    Input: synaptics - fix reporting of min coordinates
    Input: tegra-kbc - enable key autorepeat
    Input: kxtj9 - fix locking typo in kxtj9_set_poll()
    Input: kxtj9 - fix bug in probe()
    Input: intel-mid-touch - remove pointless checking for variable 'found'
    Input: hp_sdc - staticize hp_sdc_kicker()
    Input: pmic8xxx-keypad - fix a leak of the IRQ during init failure
    Input: cy8ctmg110_ts - set reset_pin and irq_pin from platform data
    Input: cy8ctmg110_ts - constify i2c_device_id table
    Input: cy8ctmg110_ts - fix checking return value of i2c_master_send
    Input: lifebook - make dmi callback functions return 1
    Input: atkbd - make dmi callback functions return 1
    Input: gpio_keys - switch to using SIMPLE_DEV_PM_OPS
    Input: gpio_keys - add support for device-tree platform data
    Input: aiptek - remove double define
    Input: synaptics - set minimum coordinates as reported by firmware
    Input: synaptics - process button bits in AGM packets
    Input: synaptics - rename set_slot to be more descriptive
    Input: synaptics - fuzz position for touchpad with reduced filtering
    Input: synaptics - set resolution for MT_POSITION_X/Y axes
    ...

    Linus Torvalds
     

27 Jul, 2011

1 commit