Skip to content

twl4030 GPIO updates

David Brownell linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5gpiolib request/free hooksDocumentation/gpio.txt drivers/gpio/gpiolib.c include/asm-generic/gpio.h+91 -130 replies
2/5twl4030-gpio use new gpiolib hooksdrivers/gpio/twl4030-gpio.c+37 -400 replies
3/5hsmmc.c glue uses standard GPIO callsarch/arm/mach-omap2/hsmmc.c drivers/gpio/twl4030-gpio.c include/linux/i2c/twl4030.h+13 -440 replies
4/5twl4030-gpio supports LED signalsdrivers/gpio/twl4030-gpio.c include/linux/i2c/twl4030.h+126 -60 replies
5/5support LED signals on Beaglearch/arm/mach-omap2/board-omap3beagle.c+18 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 2.6.27-omap-git+ 0/5] twl4030 GPIO updates

Following this are several patches making the twl4030 GPIO code fit better into the GPIO framework, updating its only current user (hsmmc glue) and adding one more (Beagle).

- gpio_request()/gpio_free() hook, now in MM for 2.6.28-rc merge
- use that mechanism for twl4040 GPIOs
- remove most twl-specific calls from mach-omap2/hsmmc.c glue
- support LEDA and LEDB as output-only GPIOs
- support those two LED signals on Beagle (one is a real LED!)

This goes on top of the preceding patches to update IRQ handling for the twl core.

Capsule summary: the only remaining twl40-specific GPIO calls are to enable hardware debouncing, with potential upstream generic support soon; and disabled linkages of the MMC power supplies to those card detect lines (best suited IMO to platform_data, once it's tested).

Which makes twl4030-gpio nearly ready to go upstream.