summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyed rafiuddin <srafiuddin@nvidia.com>2011-09-27 14:45:58 +0530
committerVarun Colbert <vcolbert@nvidia.com>2011-10-10 16:53:45 -0700
commit95f9948f31f1ce0862821830bb348cbe027cfcaf (patch)
tree3115d0fd06426f8dc26d46d8e39c3171692170a2
parenta8b917ba96b4dd03f05be5bde4a261e329f274fa (diff)
arm: tegra: enterprise: Register gpadc driver for tps8003x.
Registering gpadc driver through tps80031. bug 872697 Reviewed-on: http://git-master/r/52636 (cherry picked from commit 90f2718b9a6f0c368daa37c5acd4256ead1c51cc) Change-Id: I7763fa8b31a1392a16298e319a9742f5cc7a9e03 Reviewed-on: http://git-master/r/56986 Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com> Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/board-enterprise-power.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-power.c b/arch/arm/mach-tegra/board-enterprise-power.c
index e6467c9ba2e0..9a837b2f6805 100644
--- a/arch/arm/mach-tegra/board-enterprise-power.c
+++ b/arch/arm/mach-tegra/board-enterprise-power.c
@@ -265,6 +265,10 @@ static struct tps80031_bg_platform_data battery_gauge_data = {
.name = "tps80031-battery-gauge", \
.platform_data = &battery_gauge_data, \
}
+#define TPS_GPADC() \
+ { \
+ .name = "tps80031-gpadc", \
+ }
static struct tps80031_subdev_info tps80031_devs[] = {
TPS_REG(VIO, vio),
@@ -286,6 +290,7 @@ static struct tps80031_subdev_info tps80031_devs[] = {
TPS_RTC(),
TPS_BATTERY(),
TPS_BATTERY_GAUGE(),
+ TPS_GPADC(),
};
struct tps80031_32kclock_plat_data clk32k_pdata = {