Browse files

ARM: tegra: pinmux: correct pullup drive strength for DAP1

Hack to add DAP1 pinmux drive group to the hack that properly sets
the pull up drive strength for certain groups, for use on Stingray.
This sets the pull up drive strength to TEGRA_PULL_0 (was
TEGRA_PULL_31) for tegra-i2c.0 and the DAP1 pins
(MMSAP_RX/CLK/FS/TX, connected to CPCAP
RX1/BITCLK1/FSYNC1/TX1).

Change-Id: Iaa29b2b965e0ca4b07d2361271c9bc864945b6d1
Signed-off-by: Todd Poynor <toddpoynor@google.com>
  • Loading branch information...
1 parent b9a9421 commit f03a679a98035e0545bc78a61d7c775616441aa5 @toddpoynor toddpoynor committed Apr 20, 2011
Showing with 7 additions and 5 deletions.
  1. +7 −5 arch/arm/mach-tegra/pinmux.c
View
12 arch/arm/mach-tegra/pinmux.c
@@ -462,13 +462,15 @@ static int tegra_drive_pinmux_set_pull_up(enum tegra_drive_pingroup pg,
/*
* 12 is the wrong offset for pull_up drive strength. This is
- * a hack for stingray to only use the correct offset for the DDC and
- * external SD card lines to avoid changing drive strengths across the
- * board before cutting a release kernel. This should be updated to
- * use the correct offset on the release is cut.
+ * a hack for stingray to only use the correct offset for the DDC,
+ * DAP1, and external SD card lines to avoid changing drive strengths
+ * across the board before cutting a release kernel. This should be
+ * updated to use the correct offset once the release is cut.
*/
- if (pg == TEGRA_DRIVE_PINGROUP_DDC || pg == TEGRA_DRIVE_PINGROUP_SDMMC3) {
+ if (pg == TEGRA_DRIVE_PINGROUP_DDC ||
+ pg == TEGRA_DRIVE_PINGROUP_SDMMC3 ||
+ pg == TEGRA_DRIVE_PINGROUP_DAP1) {
reg &= ~(0x1f << 20);
reg |= pull_up << 20;
} else {

0 comments on commit f03a679

Please sign in to comment.