summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJay Agarwal <jagarwal@nvidia.com>2012-07-13 18:20:18 +0530
committerSimone Willett <swillett@nvidia.com>2012-07-17 15:00:59 -0700
commit944f3f892662eba946d4ff18bf0d575754b3e2b5 (patch)
tree530f60b4622ffadb370176c1b60ef149e0ce0a58 /arch
parent7358a92910a207e264e818ceac178d1fd049bdc7 (diff)
arm: tegra: pcie: Enable cardhu a02+ Dock detect GPIO
Set E_INPUT and PUPD bit of GPIO_PU4 used for dock detect event for cardhu a02+ board versions and hence enable pcie hotplug for them. Bug 955043 Bug 1009086 Bug 1016722 Change-Id: Ibb66e5bc6fd9cf5333a81988b975b611fe9c5312 Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/115692 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Thota <kthota@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/board-cardhu-pinmux.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-pinmux.c b/arch/arm/mach-tegra/board-cardhu-pinmux.c
index 7b98af0f167c..9ecb2f2d80e5 100644
--- a/arch/arm/mach-tegra/board-cardhu-pinmux.c
+++ b/arch/arm/mach-tegra/board-cardhu-pinmux.c
@@ -482,6 +482,9 @@ static __initdata struct tegra_pingroup_config cardhu_pinmux_cardhu_a03[] = {
DEFAULT_PINMUX(PEX_L0_CLKREQ_N, PCIE, NORMAL, NORMAL, INPUT),
DEFAULT_PINMUX(PEX_L1_CLKREQ_N, RSVD3, PULL_UP, NORMAL, INPUT),
DEFAULT_PINMUX(PEX_L1_PRSNT_N, RSVD3, PULL_UP, NORMAL, INPUT),
+
+ /*PCIE dock detect*/
+ DEFAULT_PINMUX(GPIO_PU4, RSVD1, PULL_UP, NORMAL, INPUT),
};
static __initdata struct tegra_pingroup_config cardhu_pinmux_e1291_a04[] = {
@@ -489,6 +492,9 @@ static __initdata struct tegra_pingroup_config cardhu_pinmux_e1291_a04[] = {
DEFAULT_PINMUX(ULPI_DATA6, UARTA, NORMAL, NORMAL, OUTPUT),
DEFAULT_PINMUX(SPI2_MOSI, SPI6, NORMAL, NORMAL, INPUT),
DEFAULT_PINMUX(DAP3_SCLK, RSVD1, NORMAL, NORMAL, OUTPUT),
+
+ /*PCIE dock detect*/
+ DEFAULT_PINMUX(GPIO_PU4, RSVD1, PULL_UP, NORMAL, INPUT),
};
static __initdata struct tegra_pingroup_config cardhu_pinmux_e1198[] = {