linux/arch/arm/plat-nomadik
Rabin Vincent 01727e61f0 plat-nomadik: implement safe switch sequence for Alt-C
Setting pinmux alternative C for a GPIO pin is actually not
so easy since it ivolves setting value "1" in two registers,
and since the combined result will take effect for intermediate
values (01 or 10) this will cause glitches while you wrote one
register but have not yet written the other.

This patch implements a series of kludges including an optional
machine-specific callback to avoid glitches when changing pin
mux mode to alternative C.

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2011-03-14 14:05:15 +01:00
..
include/plat plat-nomadik: implement safe switch sequence for Alt-C 2011-03-14 14:05:15 +01:00
gpio.c plat-nomadik: implement safe switch sequence for Alt-C 2011-03-14 14:05:15 +01:00
Kconfig plat-nomadik: pull-up/down settings for GPIO resume 2011-03-14 14:05:15 +01:00
Makefile ARM: 5969/1: nomadik: move gpio to plat-nomadik 2010-03-19 18:29:31 +00:00
timer.c ARM: nomadik: convert sched_clock() to use new infrastructure 2010-12-22 22:44:48 +00:00