29 Mar, 2012

1 commit

  • Pull GPIO changes for v3.4 from Grant Likely:
    "Primarily gpio device driver changes with some minor side effects
    under arch/arm and arch/x86. Also includes a few core changes such as
    explicitly supporting (electrical) open source and open drain outputs
    and some help for parsing gpio devicetree properties."

    Fix up context conflict due to Laxman Dewangan adding sleep control for
    the tps65910 driver separately for gpio's and regulators.

    * tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux-2.6: (34 commits)
    gpio/ep93xx: Remove unused inline function and useless pr_err message
    gpio/sodaville: Mark broken due to core irqdomain migration
    gpio/omap: fix redundant decoding of gpio offset
    gpio/omap: fix incorrect update to context.irqenable1
    gpio/omap: fix incorrect context restore logic in omap_gpio_runtime_*
    gpio/omap: fix missing dataout context save in _set_gpio_dataout_reg
    gpio/omap: fix _set_gpio_irqenable implementation
    gpio/omap: fix trigger type to unsigned
    gpio/omap: fix wakeup_en register update in _set_gpio_wakeup()
    gpio: tegra: tegra_gpio_config shouldn't be __init
    gpio/davinci: fix enabling unbanked GPIO IRQs
    gpio/davinci: fix oops on unbanked gpio irq request
    gpio/omap: Fix section warning for omap_mpuio_alloc_gc()
    ARM: tegra: export tegra_gpio_{en,dis}able
    gpio/gpio-stmpe: Fix the value returned by _get_value routine
    Documentation/gpio.txt: Explain expected pinctrl interaction
    GPIO: LPC32xx: Add output reading to GPO P3
    GPIO: LPC32xx: Fix missing bit selection mask
    gpio/omap: fix wakeups on level-triggered GPIOs
    gpio/omap: Fix IRQ handling for SPARSE_IRQ
    ...

    Linus Torvalds
     

13 Mar, 2012

1 commit

  • The present _get_value routine returns the contents of the GPIO Monitor Pin
    Status Register(GPMR) starting from the bit whose value is requested to BIT 0
    (irrelevant bits are replace by 0).

    For e.g. if we request the value of GPIO 6 in the earlier implementation the
    value returned is:

    BIT6 followed by 6 0's

    whereas it should just return BIT6.

    This patch addresses the same.

    Signed-off-by: Bhupesh Sharma
    Reviewed-by: Viresh Kumar
    Signed-off-by: Grant Likely

    Bhupesh Sharma
     

07 Mar, 2012

1 commit

  • Adds support for boards which have an STMPE GPIO device without the
    interrupt pin connected. This means that no interrupt can be received
    but the GPIO pins can still be driven and read.

    Cc: Grant Likely
    Acked-by: Viresh Kumar
    Tested-by: Michel Jaouen
    Signed-off-by: Chris Blair
    Acked-by: Viresh Kumar
    Signed-off-by: Samuel Ortiz

    Chris Blair
     

09 Jan, 2012

1 commit

  • STMPE801 is a GPIO expander. GPIO registers for 801 are slightly different from other
    variants. This patch adds support for STMPE801 in stmpe gpio driver.

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

    Viresh Kumar
     

07 Jun, 2011

1 commit

  • Sort the gpio makefile and enforce the naming convention gpio-*.c for
    gpio drivers.

    v2: cleaned up filenames in Kconfig and comment blocks
    v3: fixup use of BASIC_MMIO to GENERIC_GPIO for mxc

    Signed-off-by: Grant Likely

    Grant Likely