android_kernel_xiaomi_sm8350/arch/arm/plat-mxc/include/mach
Valentin Longchamp b7222631c3 mx31: rework of iomux support
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>
2009-03-13 10:34:00 +01:00
..
board-mx27ads.h arm/imx2x: removes a bunch of sparse-warnings 2009-03-13 10:33:52 +01:00
board-mx31ads.h mx31ads: Fix build for missing mx31.h 2009-03-13 10:33:57 +01:00
board-mx31lite.h
board-mx31pdk.h Add basic support for MX31PDK board. 2008-12-16 14:57:57 +01:00
board-pcm037.h
board-pcm038.h
clkdev.h [ARM] MXC: add clkdev support 2009-03-13 10:33:50 +01:00
clock.h [ARM] MXC: add clkdev support 2009-03-13 10:33:50 +01:00
common.h arm/imx21: clock support for i.MX21 2009-03-13 10:33:54 +01:00
debug-macro.S Add basic support for MX31PDK board. 2008-12-16 14:57:57 +01:00
dma-mx1-mx2.h [ARM] MX2: DMA updates 2008-12-16 12:17:47 +01:00
entry-macro.S [ARM] MXC: do not include mach/hardware.h from mach/memory.h 2008-12-18 16:40:14 +01:00
gpio.h [ARM] MXC: remove dependency to other include files from irqs.h 2008-12-18 16:40:11 +01:00
hardware.h arm/imx2x: split i.MX21/i.MX27 register definitions 2009-03-13 10:33:53 +01:00
iim.h
imx-uart.h
imxfb.h arm/imx21: Framebuffer support for i.MX21 2009-03-13 10:33:55 +01:00
io.h [ARM] MXC: do not include mach/hardware.h from mach/memory.h 2008-12-18 16:40:14 +01:00
iomux-mx1.h arm/imx2x: new IOMUX definitions 2009-03-13 10:33:44 +01:00
iomux-mx2x.h arm/imx2x: new IOMUX definitions 2009-03-13 10:33:44 +01:00
iomux-mx3.h mx31: rework of iomux support 2009-03-13 10:34:00 +01:00
iomux-mx21.h arm/imx2x: new IOMUX definitions 2009-03-13 10:33:44 +01:00
iomux-mx27.h arm/imx2x: new IOMUX definitions 2009-03-13 10:33:44 +01:00
iomux.h arm/imx2x: new IOMUX definitions 2009-03-13 10:33:44 +01:00
ipu.h i.MX31: Image Processing Unit DMA and IRQ drivers 2009-01-19 15:36:21 -07:00
irqs.h i.MX31: Image Processing Unit DMA and IRQ drivers 2009-01-19 15:36:21 -07:00
memory.h arm/imx21: add kbuild support for the Freescale i.MX21 2009-03-13 10:33:45 +01:00
mmc.h mmc: Add a MX2/MX3 specific SDHC driver 2009-02-02 20:57:05 +01:00
mtd-xip.h patch-mx1-mtd-xip 2008-12-16 14:58:42 +01:00
mx1.h [ARM] MXC: do not include mach/hardware.h from mach/memory.h 2008-12-18 16:40:14 +01:00
mx2x.h arm/imx2x: split i.MX21/i.MX27 register definitions 2009-03-13 10:33:53 +01:00
mx3fb.h i.MX31: framebuffer driver 2009-01-21 10:32:34 -07:00
mx21.h arm/imx2x: split i.MX21/i.MX27 register definitions 2009-03-13 10:33:53 +01:00
mx27.h arm/imx2x: split i.MX21/i.MX27 register definitions 2009-03-13 10:33:53 +01:00
mx31.h [ARM] MXC: do not include mach/hardware.h from mach/memory.h 2008-12-18 16:40:14 +01:00
mxc_nand.h
mxc_timer.h patch-mxc-add-ARCH_MX1 2008-12-16 14:58:40 +01:00
mxc.h arm/imx2x: split i.MX21/i.MX27 register definitions 2009-03-13 10:33:53 +01:00
system.h
timex.h [ARM] MXC: do not include mach/hardware.h from mach/timex.h 2008-12-18 16:40:12 +01:00
uncompress.h
usb.h USB: add imx udc gadget driver 2009-01-07 10:00:11 -08:00
vmalloc.h