Add support for describing the PM8921/PM8058 RTC in device tree.
Additionally:
- drop support for describing the RTC using platform data,
as there are no current in tree users who do so.
- make allow_set_time a device-specific flag, instead of mucking
with the rtc_ops
Signed-off-by: Josh Cartwright <redacted>
---
drivers/rtc/rtc-pm8xxx.c | 54 +++++++++++++++++++++++-------------------
include/linux/mfd/pm8xxx/rtc.h | 25 -------------------
For the MFD changes@:
Acked-by: Lee Jones [off-list ref]
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog