android_kernel_xiaomi_sm8350/arch/arm/mach-mx3
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
..
clock.c [ARM] MXC: remove _clk suffix from clock names 2009-03-13 10:33:48 +01:00
crm_regs.h
devices.c mx31: Add device definitions for the i.MX3x I2C controllers 2009-03-13 10:33:56 +01:00
devices.h mx31: Add device definitions for the i.MX3x I2C controllers 2009-03-13 10:33:56 +01:00
iomux.c mx31: rework of iomux support 2009-03-13 10:34:00 +01:00
Kconfig [ARM] MX31: basic support for mx31moboard platform 2008-12-16 14:58:19 +01:00
Makefile [ARM] MX31: basic support for mx31moboard platform 2008-12-16 14:58:19 +01:00
Makefile.boot
mm.c [ARM] Remove MT_NONSHARED_DEVICE alias 2008-10-01 16:41:07 +01:00
mx31ads.c mx31ads: Make unexported data static 2009-03-13 10:33:57 +01:00
mx31lite.c [ARM] MXC: rework timer/clock initialisation 2009-03-13 10:33:47 +01:00
mx31moboard.c [ARM] MXC: rework timer/clock initialisation 2009-03-13 10:33:47 +01:00
mx31pdk.c [ARM] MXC: rework timer/clock initialisation 2009-03-13 10:33:47 +01:00
pcm037.c [ARM] MXC: rework timer/clock initialisation 2009-03-13 10:33:47 +01:00