mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
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>
This commit is contained in:
parent
db13c04002
commit
008b30408c
5 changed files with 473 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue