diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-12-13 12:02:40 +0530 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2011-03-14 14:05:15 +0100 |
commit | 01727e61f0967dd18fadd9dfcee5cf1246e6d8a6 (patch) | |
tree | 710acb7f8eacaa4d11dfbc8bf584226680ce6513 /arch/arm/mach-s3c24a0/include | |
parent | 3546d15c5c3f923f7925f92bfe0f8e1cf8bccc1c (diff) |
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>
Diffstat (limited to 'arch/arm/mach-s3c24a0/include')
0 files changed, 0 insertions, 0 deletions