As the s35390a does only support per-minute based alarms we have to set the uie_unsupported flag. Otherwise it delays for 10sec and fails afterwards with modern hwclock versions. Furthermore some other minor changes are made. All patches were tested on an i.MX6 platform. Richard Leitner (3): rtc: s35390a: clarify INT2 pin output modes rtc: s35390a: set uie_unsupported rtc: s35390a: introduce struct device in probe drivers/rtc/rtc-s35390a.c | 43 +++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 20 deletions(-) -- 2.20.1