]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
tegra2: Add more pinmux functions
authorSimon Glass <sjg@chromium.org>
Wed, 21 Sep 2011 12:40:06 +0000 (12:40 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 27 Oct 2011 19:56:29 +0000 (21:56 +0200)
commit20e18e051fc42774c27f07200a389edfd4606c67
tree9b958dccd5fc38aa24e5ce4f21a5a87728829034
parentc3cf49d247d6749bdb65d9538ecd2738195e6a21
tegra2: Add more pinmux functions

This adds support for changing pinmux functions of pin groups. This is done
by defining a PMUX_FUNC_... enum which can be used to select the function for
each group using pinmux_set_func(). It is also possible to enable
pullup/pulldown, and the existing tristate functionality is retained.

Also provided is a means of configuring a list of pingroups by providing a
configuration table to pinmux_config_table().

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/tegra2/pinmux.c
arch/arm/include/asm/arch-tegra2/pinmux.h
board/nvidia/common/board.c