summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-cardhu-pinmux.c
diff options
context:
space:
mode:
authorScottPeterson <speterson@nvidia.com>2011-01-31 14:32:38 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2011-04-26 15:50:50 -0700
commit9e97af61829de9cd7c6b7a2fcb2db214df975fe1 (patch)
tree48926a6df6affe2b98d9b348cda3e44d2998e81b /arch/arm/mach-tegra/board-cardhu-pinmux.c
parent8a99e3032c434eb473ff6e241189b91c2cc42920 (diff)
arm:tegra:i2s Increase I2S pinmux drive strength
Increase the drive strength and enable Schmitt trigger for DAP2 pinmux group which cintrols I2S outputs. Improves audio quality on Verbier systems. bug 785901 Original-Change-Id: Iced3059ab8dd3f5e29cbab64e80cb6d17bbe3943 Reviewed-on: http://git-master/r/17771 Reviewed-by: Scott Peterson <speterson@nvidia.com> Tested-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Change-Id: I20953c9686bdd9bc1a78fb63aca95e34abfccea0
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu-pinmux.c')
-rw-r--r--arch/arm/mach-tegra/board-cardhu-pinmux.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-pinmux.c b/arch/arm/mach-tegra/board-cardhu-pinmux.c
index 0f4d8d7b76bc..6f05469148ee 100644
--- a/arch/arm/mach-tegra/board-cardhu-pinmux.c
+++ b/arch/arm/mach-tegra/board-cardhu-pinmux.c
@@ -46,22 +46,23 @@
* slewing of the signal.
* Value - FASTEST, FAST, SLOW, SLOWEST
*/
-#define SET_DRIVE(_name, hsm, schitt, drive, pulldn_drive, pullup_drive, pulldn_slew, pullup_slew) \
- { \
- .pingroup = TEGRA_DRIVE_PINGROUP_##_name, \
- .hsm = TEGRA_HSM_##hsm, \
- .schmitt = TEGRA_SCHMITT_##scimitt, \
- .drive = TEGRA_DRIVE_##drive, \
- .pull_down = TEGRA_PULL_#pulldn_drive, \
- .pull_up = TEGRA_PULL_pullup_drive, \
- .slew_rising = TEGRA_SLEW_#pulldn_slew, \
- .slew_falling = TEGRA_SLEW_#pullup_slew, \
+#define SET_DRIVE(_name, _hsm, _schmitt, _drive, _pulldn_drive, _pullup_drive, _pulldn_slew, _pullup_slew) \
+ { \
+ .pingroup = TEGRA_DRIVE_PINGROUP_##_name, \
+ .hsm = TEGRA_HSM_##_hsm, \
+ .schmitt = TEGRA_SCHMITT_##_schmitt, \
+ .drive = TEGRA_DRIVE_##_drive, \
+ .pull_down = TEGRA_PULL_##_pulldn_drive, \
+ .pull_up = TEGRA_PULL_##_pullup_drive, \
+ .slew_rising = TEGRA_SLEW_##_pulldn_slew, \
+ .slew_falling = TEGRA_SLEW_##_pullup_slew, \
}
/* !!!FIXME!!!! POPULATE THIS TABLE */
static __initdata struct tegra_drive_pingroup_config cardhu_drive_pinmux[] = {
/* DEFAULT_DRIVE(<pin_group>), */
/* SET_DRIVE(ATA, DISABLE, DISABLE, DIV_1, 31, 31, FAST, FAST) */
+ SET_DRIVE(DAP2, DISABLE, ENABLE, DIV_1, 31, 31, FASTEST, FASTEST),
};
#define DEFAULT_PINMUX(_pingroup, _mux, _pupd, _tri, _io) \