31 Dec, 2014

1 commit

  • Pull input layer fixes from Dmitry Torokhov:
    "Fixes for v7 protocol for ALPS devices and few other driver fixes.

    Also users can request input events to be stamped with boot time
    timestamps, in addition to real and monotonic timestamps"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: hil_kbd - fix incorrect use of init_completion
    Input: alps - v7: document the v7 touchpad packet protocol
    Input: alps - v7: fix finger counting for > 2 fingers on clickpads
    Input: alps - v7: sometimes a single touch is reported in mt[1]
    Input: alps - v7: ignore new packets
    Input: evdev - add CLOCK_BOOTTIME support
    Input: psmouse - expose drift duration for IBM trackpoints
    Input: stmpe - bias keypad columns properly
    Input: stmpe - enforce device tree only mode
    mfd: stmpe: add pull up/down register offsets for STMPE
    Input: optimize events_per_packet count calculation
    Input: edt-ft5x06 - fixed a macro coding style issue
    Input: gpio_keys - replace timer and workqueue with delayed workqueue
    Input: gpio_keys - allow separating gpio and irq in device tree

    Linus Torvalds
     

16 Dec, 2014

1 commit


10 Nov, 2014

1 commit

  • The least significat byte of the GPIO value read register
    on the STMPE24xx series is on addres 0xA4 not 0xA5. Correct
    against datasheet and tested on the STMPE2401 hardware.

    Signed-off-by: Linus Walleij
    Signed-off-by: Lee Jones

    Linus Walleij
     

09 Jul, 2014

1 commit


09 May, 2014

1 commit

  • The STMPE driver would just read/modify/write the system control
    register on the STMPE1601, meaning it would not properly mask off
    the PWM block, which remained active if it was on at boot time.
    This makes sure the blocks are always masked off if they were
    active on boot, saving some power. Also rename the inconsistenty
    named STMPE1601 define for the PWM block activation.

    Signed-off-by: Linus Walleij

    Linus Walleij
     

06 Jan, 2014

1 commit

  • As of commit 03e361b25ee8dfb1fd9b890072c23c4aae01c6c7 ("mfd: Stop setting
    refcounting pointers in original mfd_cell arrays"), the "cell" parameter of
    mfd_add_devices() is "const" again. Hence make all cell data passed to
    mfd_add_devices() const where possible.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Lee Jones

    Geert Uytterhoeven
     

09 Apr, 2013

1 commit


09 Jan, 2012

3 commits

  • STMPE801 is a GPIO expander. Registers for 801 are much different from other
    variants. This patch adds support for STMPE801 in stmpe mfd driver.

    Signed-off-by: Bhupesh Sharma
    Signed-off-by: Pratyush Anand
    Signed-off-by: Viresh Kumar
    Signed-off-by: Samuel Ortiz

    Viresh Kumar
     
  • Few STMPE controller can have register interface over SPI or I2C. Current
    implementation only supports I2C.

    This patch adds support for SPI interface for accessing STMPE's address space.

    Signed-off-by: Viresh Kumar
    Acked-by: Linus Walleij
    Signed-off-by: Samuel Ortiz

    Viresh Kumar
     
  • Few STMPE controller can have register interface over SPI or I2C. Current
    implementation only supports I2C and all code is present in a single file
    stmpe.c. It would be better to separate out I2C interface specific code from
    controller specific code. Later SPI specific code can be added in a separate
    file.

    This patch separates out I2C and controller specific code into separate files,
    making stmpe.c independent of I2C.

    Signed-off-by: Viresh Kumar
    Acked-by: Linus Walleij
    Signed-off-by: Samuel Ortiz

    Viresh Kumar
     

01 Aug, 2011

1 commit

  • Generating kerneldoc for STMPE result in warnings, so fix this by
    adding missing documentation.

    Signed-off-by: Om Prakash
    Reviewed-by: Rabin Vincent
    Reviewed-by: Jonas Aberg
    Reviewed-by: Srinidhi Kasagar
    Signed-off-by: Linus Walleij
    Signed-off-by: Samuel Ortiz

    Om Prakash
     

12 Aug, 2010

2 commits

  • Some STMPE devices support entering sleep mode automatically on a
    specified timeout of inactivity on the I2C bus with the host system.

    Acked-by: Linus Walleij
    Acked-by: Rabin Vincent
    Signed-off-by: Sundar R Iyer
    Signed-off-by: Samuel Ortiz

    Sundar R Iyer
     
  • Add support for the STMPE family of I/O Expanders from
    STMicroelectronics. These devices include upto 24 gpios and a varying
    selection of blocks, including PWM, keypad, and touchscreen controllers.
    This patch adds the MFD core.

    [l.fu@pengutronix.de: fix stmpe811 enable hook]
    [l.fu@pengutronix.de: add touchscreen platform data]
    Acked-by: Luotao Fu
    Acked-by: Linus Walleij
    Signed-off-by: Rabin Vincent
    Signed-off-by: Samuel Ortiz

    Rabin Vincent