On 27/03/2019 11:32:15+1030, Joel Stanley wrote: > Read and writes the time to the non-battery backed RTC in the ASPEED BMC > system on chip families. > > Signed-off-by: Joel Stanley <joel@xxxxxxxxx> > --- > v3: > - Use %ptR > - Remove spinlock, as callback happen under the rtc_device.ops_lock > v2: Address review from Alexandre > - Use devm_rtc_allocate_device > - Fill in range_min > - Direcly fill in tm struct > - Return EINVAL when RTC is not enabled > > v1: https://lore.kernel.org/linux-arm-kernel/20181003133155.27494-2-joel@xxxxxxxxx/ > > Update kconfig text > > Signed-off-by: Joel Stanley <joel@xxxxxxxxx> > --- > drivers/rtc/Kconfig | 11 ++++ > drivers/rtc/Makefile | 1 + > drivers/rtc/rtc-aspeed.c | 138 +++++++++++++++++++++++++++++++++++++++ > 3 files changed, 150 insertions(+) > create mode 100644 drivers/rtc/rtc-aspeed.c > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com