b7222631c3
This new implemenatation avoids that two physical pins are claimed by the same driver (also with the the gpr hardware modes). The gpio kernel lib is also called when a capable gpio pin is assigned its gpio function. The mxc_iomux_mode function is still here for backward compatibility but should not be used anymore. V2: In the precendent revision, the iomux code was claiming a pin when its hardware mode was changed. This was uncorrect: when the hardware mode is changed, the pin must still be claimed through the iomux. In order to have a pin working in mode hw2, we must fist issue the mxc_iomux_set_gpr call and then the corresponding mxc_iomux_mode calls with the FUNC mode (usually done with mxc_iomux_setup_multiple_pins). The reverse calls must be done to fee the pins. Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
||
---|---|---|
.. | ||
board-mx27ads.h | ||
board-mx31ads.h | ||
board-mx31lite.h | ||
board-mx31pdk.h | ||
board-pcm037.h | ||
board-pcm038.h | ||
clkdev.h | ||
clock.h | ||
common.h | ||
debug-macro.S | ||
dma-mx1-mx2.h | ||
entry-macro.S | ||
gpio.h | ||
hardware.h | ||
iim.h | ||
imx-uart.h | ||
imxfb.h | ||
io.h | ||
iomux-mx1.h | ||
iomux-mx2x.h | ||
iomux-mx3.h | ||
iomux-mx21.h | ||
iomux-mx27.h | ||
iomux.h | ||
ipu.h | ||
irqs.h | ||
memory.h | ||
mmc.h | ||
mtd-xip.h | ||
mx1.h | ||
mx2x.h | ||
mx3fb.h | ||
mx21.h | ||
mx27.h | ||
mx31.h | ||
mxc_nand.h | ||
mxc_timer.h | ||
mxc.h | ||
system.h | ||
timex.h | ||
uncompress.h | ||
usb.h | ||
vmalloc.h |