diff options
author | venu byravarasu <vbyravarasu@nvidia.com> | 2011-06-21 17:15:03 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:47:07 -0800 |
commit | 99e55ed22dfab9ac949b3b90febb5270bcee7822 (patch) | |
tree | 15084613fbc741e140d1134e02028bb51b98cdad /include | |
parent | 72b49d95b83dd82a4ffb1b9a0def7d3501179659 (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
Original-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>
Rebase-Id: R98c49f456537e65d02460e738029673e7eea1bc0
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/tps80031.h | 7 |
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; |