09 Jan, 2012

6 commits

  • This fixes:

    WARNING: drivers/built-in.o(.text+0xf368f): Section mismatch in reference from
    the function stmpe_probe() to the function .devinit.text:stmpe_chip_init()
    The function stmpe_probe() references the function __devinit stmpe_chip_init().

    Signed-off-by: Samuel Ortiz

    Samuel Ortiz
     
  • This fixes:

    drivers/mfd/stmpe.c:114:1: warning: data definition has no type or storage
    class [enabled by default]
    drivers/mfd/stmpe.c:114:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' [-Wimplicit-int]

    Signed-off-by: Samuel Ortiz

    Samuel Ortiz
     
  • 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
     
  • STMPE610 is very much like STMPE811, except the number of gpio pins, which is 8
    in 811 and 6 in 610. This patch adds support for variant 610. STMPE610 will
    share most of the code with STMPE811.

    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 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
     
  • On many boards, stmpe is present as an separate device (not as part of SoC).
    Here gpio lines are mostly used for getting interrupts. This patch adds in
    support to handle irq over gpio pin.

    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
     

27 Mar, 2011

1 commit


14 Jan, 2011

1 commit


29 Oct, 2010

1 commit


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