summaryrefslogtreecommitdiff
path: root/drivers/rtc/mvrtc.h
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2018-05-28 23:39:58 +1200
committerTom Rini <trini@konsulko.com>2018-06-05 20:19:09 -0400
commitd3671dfcdb6724989d4eb91be5e97d40614b7145 (patch)
treea57d713b4dd12a2d03dfeecccf7a90788fcccd45 /drivers/rtc/mvrtc.h
parent942bb6e2ad05a027b62f47ab0305026a96a74815 (diff)
drivers/rtc: convert mvrtc to DM
Add DM support for the Marvell RTC driver. Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/rtc/mvrtc.h')
-rw-r--r--drivers/rtc/mvrtc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/rtc/mvrtc.h b/drivers/rtc/mvrtc.h
index dc470a9b73..87ff43299c 100644
--- a/drivers/rtc/mvrtc.h
+++ b/drivers/rtc/mvrtc.h
@@ -20,6 +20,11 @@ struct mvrtc_registers {
u32 date;
};
+/* Platform data */
+struct mvrtc_pdata {
+ phys_addr_t iobase;
+};
+
/* time register */
#define MVRTC_SEC_SFT 0
#define MVRTC_SEC_MSK 0x7f