summaryrefslogtreecommitdiff
path: root/include/linux/mfd/tps80031.h
diff options
context:
space:
mode:
authorsyed rafiuddin <srafiuddin@nvidia.com>2011-09-27 14:33:29 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 01:05:58 -0700
commita193b98e7abfb731e9966b3c4e33b55e38c083ba (patch)
tree6d12290489966a7ac173e31a539d1dfbcff4fd86 /include/linux/mfd/tps80031.h
parentddcbc67fc25b7ef2850385fddf649aaabb19ac33 (diff)
mfd: tps80031-gpadc: Add gpadc driver
Adding gpadc driver for TPS8003x controller bug 872697 Reviewed-on: http://git-master/r/56987 (cherry picked from commit 9e0a4ef0f800d40d04587538f47ff656fab70971) Change-Id: I8687d18023f174324d8bb818d73a9bdf8b7ac8f0 Reviewed-on: http://git-master/r/61858 Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com> Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: R984a39824def8aa26b21a6baff86c638a2a75b28
Diffstat (limited to 'include/linux/mfd/tps80031.h')
-rw-r--r--include/linux/mfd/tps80031.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/tps80031.h b/include/linux/mfd/tps80031.h
index 72ae3016a01a..8883fbef1faa 100644
--- a/include/linux/mfd/tps80031.h
+++ b/include/linux/mfd/tps80031.h
@@ -643,4 +643,7 @@ static inline int tps80031_irq_get_virq(struct device *dev, int irq)
extern int tps80031_ext_power_req_config(struct device *dev,
unsigned long ext_ctrl_flag, int preq_bit,
int state_reg_add, int trans_reg_add);
+
+extern int tps80031_gpadc_conversion(int channle_no);
+
#endif /*__LINUX_MFD_TPS80031_H */