When looking for hardware that supports UIE via alarm irqs, I came across the Renesas Genmai board and its rtc-sh driver. The driver basically works but there is still a lot of cruft left which is not needed since the RTC core now uses the timerqueue. Patch 1 is actually a bugfix for DT systems. Without it, alarm interrupts don't work. I suggest backporting it to stable. The other patches are mostly removals. This is why the diffstat looks so nice. More descriptions in the individual patches. Looking forward to comments. Wolfram Sang (8): rtc: sh: assign correct interrupts with DT rtc: sh: remove update interrupt handling rtc: sh: only disable carry interrupts in probe() rtc: sh: remove periodic interrupt handling rtc: sh: simplify irq setup after refactoring rtc: sh: remove useless wrapper function rtc: sh: use local variables in probe() for mapping IO rtc: sh: minor fixes to adhere to coding style drivers/rtc/rtc-sh.c | 285 ++++++++----------------------------------- 1 file changed, 51 insertions(+), 234 deletions(-) -- 2.45.2