summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-ventana.c
diff options
context:
space:
mode:
authorAnantha Idapalapati <aidapalapati@nvidia.com>2010-12-29 16:21:36 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:46:10 -0800
commit2b1c5d3938000ecd261bca77af4715d53c7d60bc (patch)
tree8c33bd3e506f1e92a2765346229078b83500ddf6 /arch/arm/mach-tegra/board-ventana.c
parentee9f7e4f43feddb9b2b7615fa2a06b901a2909a0 (diff)
ARM: tegra: bt-rfkill: remove usage of reset GPIO.
The current BCM4329 rfkill driver assumes usage of 2 GPIOs known as RST and SHUTDOWN. Some of the platforms do not define both GPIOs, instead a single SHUTDOWN GPIO is used to setup the chip. This change makes driver to consider the RST GPIO as optional and use the RST GPIO only when it is defined as a platform resource. As ventana doesn't use RST GPIO, removing its definition. Original-Change-Id: Iae87d2d5093ff0390c7e7ddca5b95b1b44afd55d Reviewed-on: http://git-master/r/14535 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R4b2ea71ea05d829d54a78058e1c1aed170cfd9a1
Diffstat (limited to 'arch/arm/mach-tegra/board-ventana.c')
-rw-r--r--arch/arm/mach-tegra/board-ventana.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-tegra/board-ventana.c b/arch/arm/mach-tegra/board-ventana.c
index 54e2047e24a5..0e5e7b40e3e9 100644
--- a/arch/arm/mach-tegra/board-ventana.c
+++ b/arch/arm/mach-tegra/board-ventana.c
@@ -105,17 +105,11 @@ static struct tegra_ulpi_config ulpi_phy_config = {
static struct resource ventana_bcm4329_rfkill_resources[] = {
{
- .name = "bcm4329_nreset_gpio",
+ .name = "bcm4329_nshutdown_gpio",
.start = TEGRA_GPIO_PU0,
.end = TEGRA_GPIO_PU0,
.flags = IORESOURCE_IO,
},
- {
- .name = "bcm4329_nshutdown_gpio",
- .start = TEGRA_GPIO_PK2,
- .end = TEGRA_GPIO_PK2,
- .flags = IORESOURCE_IO,
- },
};
static struct platform_device ventana_bcm4329_rfkill_device = {