On 29/09/2017 at 11:21:16 +0100, Russell King - ARM Linux wrote: > There are some boards out there which have a PL031 RTC, but its > interrupt is not wired up. To support these, we need the PL031 > to support the primecell without interrupts. > > When no interrupt is present, there's little point exposing the > RTC's alarm capabilities, so we omit the alarm-related function > calls - the RTC merely becomes a source of time-of-day. > > This patch series cleans up the pl031 driver a little, and adds > support for this configuration. > > drivers/rtc/rtc-pl031.c | 48 +++++++++++++++++++++++++++--------------------- > 1 file changed, 27 insertions(+), 21 deletions(-) > > v2: update patch 2 & 3 for review comment on v1. > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com