summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorvenu byravarasu <vbyravarasu@nvidia.com>2011-06-21 17:15:03 +0530
committerNiket Sirsi <nsirsi@nvidia.com>2011-06-23 23:17:08 -0700
commit8b4e1b88b908fcfcfd6cbfeda6b2dffd84a49885 (patch)
tree1165452994663025a68f295aae7df2cd47e91d2d /include
parent03bd2760d2ee22b8905f929630e9aaa41018594a (diff)
rtc: tps80031: Adding driver for TI PMU RTC 80031
With this change, RTC driver for TI PMU 80031 is being checked in. bug 833336 Change-Id: If4789a5dd49163d2391ab016845ff5807c061f12 Reviewed-on: http://git-master/r/34453 Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/tps80031.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mfd/tps80031.h b/include/linux/mfd/tps80031.h
index 9438b4602acb..9de0875a9c38 100644
--- a/include/linux/mfd/tps80031.h
+++ b/include/linux/mfd/tps80031.h
@@ -24,6 +24,8 @@
#ifndef __LINUX_MFD_TPS80031_H
#define __LINUX_MFD_TPS80031_H
+#include <linux/rtc.h>
+
#define tps80031_rails(_name) "tps80031_"#_name
enum {
@@ -91,6 +93,11 @@ struct tps80031_subdev_info {
void *platform_data;
};
+struct tps80031_rtc_platform_data {
+ int irq;
+ struct rtc_time time;
+};
+
struct tps80031_32kclock_plat_data {
unsigned en_clk32kao:1;
unsigned en_clk32kg:1;