diff options
author | Haojian Zhuang <haojian.zhuang@marvell.com> | 2011-05-06 17:21:20 +0800 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-05-26 19:45:34 +0200 |
commit | 008b30408c40ede5985397e7daac45d30b375a01 (patch) | |
tree | 4396b8f96ac1aa480cfdfa61a18a2e10051de93a /include/linux/mfd/88pm860x.h | |
parent | db13c04002e0d896f89657f9b2837a8ecfbb19b6 (diff) | |
download | talos-op-linux-008b30408c40ede5985397e7daac45d30b375a01.tar.gz talos-op-linux-008b30408c40ede5985397e7daac45d30b375a01.zip |
mfd: Add rtc support to 88pm860x
Enable rtc function in 88pm860x PMIC.
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/88pm860x.h')
-rw-r--r-- | include/linux/mfd/88pm860x.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mfd/88pm860x.h b/include/linux/mfd/88pm860x.h index 8fba7972ff5f..63b4fb8e3b6f 100644 --- a/include/linux/mfd/88pm860x.h +++ b/include/linux/mfd/88pm860x.h @@ -330,6 +330,11 @@ struct pm860x_led_pdata { unsigned long flags; }; +struct pm860x_rtc_pdata { + int (*sync)(unsigned int ticks); + int vrtc; +}; + struct pm860x_touch_pdata { int gpadc_prebias; int slot_cycle; @@ -349,6 +354,7 @@ struct pm860x_power_pdata { struct pm860x_platform_data { struct pm860x_backlight_pdata *backlight; struct pm860x_led_pdata *led; + struct pm860x_rtc_pdata *rtc; struct pm860x_touch_pdata *touch; struct pm860x_power_pdata *power; struct regulator_init_data *regulator; |