]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Tegra30: Cardhu: Add pad config tables/code based on pinmux code
authorTom Warren <twarren@nvidia.com>
Wed, 6 Mar 2013 23:16:22 +0000 (16:16 -0700)
committerTom Warren <twarren@nvidia.com>
Thu, 14 Mar 2013 18:06:43 +0000 (11:06 -0700)
commit8ca79b2ff467bda3bc1cfe7fe566f0c1189881dc
tree7cc9230b3f5f27c89df60bcb20c41c24bcbbb160
parent8b7776b9f95d542d0e81357c4f8aa32f7bf466e5
Tegra30: Cardhu: Add pad config tables/code based on pinmux code

Pad config registers exist in APB_MISC_GP space, and control slew
rate, drive strengh, schmidt, high-speed, and low-power modes for
all of the pingroups in Tegra30. This builds off of the pinmux
way of constructing init tables to configure select pads (SDIOCFG,
for instance) during pinmux_init().

Currently, only SDIO1CFG is changed as per the TRM to work with
the SD-card slot on Cardhu.

Thanks to StephenW for the suggestion/original idea.

Signed-off-by: Tom Warren <twarren@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
arch/arm/cpu/tegra30-common/pinmux.c
arch/arm/include/asm/arch-tegra30/gp_padctrl.h
arch/arm/include/asm/arch-tegra30/pinmux.h
board/nvidia/cardhu/cardhu.c
board/nvidia/cardhu/pinmux-config-cardhu.h