kernel-fxtec-pro1x/arch/arm/mach-msm
Gregory Bean 1963a2afc8 msm: add gpiomux api for gpio multiplex & configuration.
Add the 'gpiomux' api, which addresses the following shortcomings
of existing tlmm api:

- gpio power-collapse, which is managed by a peripheral processor on
  other targets, must be managed by the application processor on the 8x60.
- The enable/disable flag of the legacy gpio_tlmm_config api
  is not applicable on the 8x60, and causes confusion.
- The gpio 'direction' bits are meaningless for all func_sel
  configurations except for generic-gpio mode (func_sel 0), in which
  case the gpio_direction_* functions should be used.  Having these
  bits in the tlmm api leads to confusion and misuse of the gpiolib
  api, and they have been removed in gpiomux.
- The functional api of the legacy system ran contrary to the typical
  use-case, which is a single massive configuration at boot.  Rather
  than forcing hundreds of 'config' function calls, the new api
  allows data to be configured with a single table.

gpiomux_get and gpiomux_put are meant to be called automatically
when gpio_request and gpio_free are called, giving automatic
gpiomux/tlmm control to those drivers/lines with simple
power profiles - in the simplest cases, an entry in the gpiomux table
and the correct usage of gpiolib is all that is required to get proper
gpio power control.

Signed-off-by: Gregory Bean <gbean@codeaurora.org>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
2010-10-06 09:01:15 -07:00
..
include/mach msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
acpuclock-arm11.c Merge branch 'msm-core' of git://codeaurora.org/quic/kernel/dwalker/linux-msm 2010-08-12 10:07:32 -07:00
acpuclock.h arm: msm: add cpu frequency controls 2010-05-12 09:14:20 -07:00
board-halibut.c msm: generalize clock support. 2010-05-13 16:08:20 -07:00
board-mahimahi.c arm: msm: add board file for Nexus One (ie. mahimahi) 2010-05-12 09:14:43 -07:00
board-msm7x27.c ARM: Continue removing useless bootmem.h includes 2010-05-23 10:36:15 +01:00
board-msm7x30.c ARM: Continue removing useless bootmem.h includes 2010-05-23 10:36:15 +01:00
board-qsd8x50.c ARM: Continue removing useless bootmem.h includes 2010-05-23 10:36:15 +01:00
board-sapphire.c arm: msm: add board file for the HTC Sapphire device 2010-05-12 09:13:32 -07:00
board-trout-gpio.c arm: msm: trout: add trout specific gpio interrupts 2010-06-17 12:55:41 -07:00
board-trout-mmc.c msm: mmc: Add msm prefix to platform data structure 2010-08-09 15:48:23 -07:00
board-trout.c Merge branch 'msm-core' of git://codeaurora.org/quic/kernel/dwalker/linux-msm 2010-08-12 10:07:32 -07:00
board-trout.h Add GPIO support for HTC Dream. 2010-06-15 13:19:43 -07:00
clock-7x30.h msm: clock support for the MSM7x30 CPU. 2010-05-13 16:08:53 -07:00
clock-pcom.c msm: generalize clock support. 2010-05-13 16:08:20 -07:00
clock-pcom.h msm: generalize clock support. 2010-05-13 16:08:20 -07:00
clock.c arm: msm: remove unused #include <linux/version.h> 2010-06-17 12:52:23 -07:00
clock.h msm: clock support for the MSM7x30 CPU. 2010-05-13 16:08:53 -07:00
devices-msm7x00.c msm: mmc: Add msm prefix to platform data structure 2010-08-09 15:48:23 -07:00
devices-msm7x30.c msm: add devices-msm7x30.c 2010-05-13 16:08:43 -07:00
devices-qsd8x50.c msm: add devices-qsd8x50.c 2010-05-13 16:08:32 -07:00
devices.h msm: Add extern for 7x30 clock list. 2010-05-13 16:08:48 -07:00
dma.c msm: dma: add completion.h header 2010-06-07 16:16:33 -07:00
gpio.c msm: add tlmm support for gpio. 2010-05-13 16:08:22 -07:00
gpiomux-7x30.c msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
gpiomux-8x50.c msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
gpiomux-8x60.c msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
gpiomux-v1.c msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
gpiomux-v1.h msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
gpiomux-v2.c msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
gpiomux-v2.h msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
gpiomux.c msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
gpiomux.h msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
idle.S
io.c msm: io: add io support for 7x30 2010-05-13 16:08:49 -07:00
irq-vic.c msm: add Qualcomm 7x30 interrupt controller driver. 2010-05-13 16:08:24 -07:00
irq.c [ARM] msm: irq: fix lockdep issues 2010-05-12 09:13:56 -07:00
Kconfig msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
last_radio_log.c [ARM] msm: add /proc/last_radio_log when supported by the modem. 2010-05-12 09:15:24 -07:00
Makefile msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
Makefile.boot
proc_comm.c arm: msm: smd: fix SMD modem processor sync condition 2010-05-12 09:19:33 -07:00
proc_comm.h arm: msm: smd: fix SMD modem processor sync condition 2010-05-12 09:19:33 -07:00
sirc.c msm: add sirc interrupt controller driver. 2010-05-13 16:07:56 -07:00
smd.c arm: msm: Fix section mismatch in smd.c. 2010-08-09 15:38:16 -07:00
smd_debug.c arm: msm: smd: fix initcall prototype compiler warning 2010-05-12 09:19:39 -07:00
smd_private.h arm: msm: smd: msm7x30 a2m clean up 2010-05-12 09:19:04 -07:00
timer.c msm: timer: allow MSM_DGT_BASE to be overriden 2010-05-13 16:08:26 -07:00
vreg.c [ARM] msm: add new vreg IDs for MSM7X30 2010-05-12 09:14:41 -07:00