[PATCH v3 2/2] rtc: Add ASPEED RTC driver
Alexandre Belloni
alexandre.belloni at bootlin.com
Wed Mar 27 21:37:34 AEDT 2019
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 at jms.id.au>
> ---
> 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@jms.id.au/
>
> Update kconfig text
>
> Signed-off-by: Joel Stanley <joel at jms.id.au>
> ---
> 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
More information about the Linux-aspeed
mailing list