diff options
author | Haojian Zhuang <haojian.zhuang@marvell.com> | 2011-05-06 09:21:20 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-05-26 17:45:34 (GMT) |
commit | 008b30408c40ede5985397e7daac45d30b375a01 (patch) | |
tree | 4396b8f96ac1aa480cfdfa61a18a2e10051de93a /include/linux/mfd/88pm860x.h | |
parent | db13c04002e0d896f89657f9b2837a8ecfbb19b6 (diff) | |
download | linux-fsl-qoriq-008b30408c40ede5985397e7daac45d30b375a01.tar.xz |
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 8fba797..63b4fb8 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; |