[PATCH v3 0/4] rtc: mediatek: add support for SoC based RTC on MT7622

Alexandre Belloni alexandre.belloni at free-electrons.com
Thu Oct 26 02:34:30 PDT 2017


Hi,

On 23/10/2017 at 15:16:43 +0800, sean.wang at mediatek.com wrote:
> From: Sean Wang <sean.wang at mediatek.com>
> 
> Changes since v2:
> - Remove time extension with yr_base 
> - Add fixup that ensures all time fields in hardware keeping consistency
> inside the mtk_rtc_get_alarm_or_time call
> - Add validity for time range should be between 2001 to 2099
> - Enhance comments with aligned style and explanation for certain limiation in
> hardware
> - Rename dt-binding naming from rtc-mediatek.txt to rtc-mt7622.txt
> - Rename config naming from RTC_DRV_MEDIATEK to RTC_DRV_MT7622
> 
> Changes since v1:
> - Rename to rtc-mt7622.c from rtc-mediatek.c
> - Use [readl,writel]_relaxed instead of __raw_* version
> - Remove redundant register reading in mtk_rtc_get_alarm_or_time()
> - Stop alarm when alarm is really expired in mtk_rtc_alarmirq()
> - Extend the maximum year the RTC/Alarm can count/support using year rebasing
> - Remove unnesscary log which is already done in core layer
> 
> This patchset introduces support for MediaTek SoC based real time clock
> (RTC) Currently, the driver is already tested successfully with hwclock
> and wakealarm on MT7622 SoC. And it should also be workable on other
> similar MediaTek SoCs. And patch 3 is a distinct patch used to distinguish
> between either SoC based or PMIC based RTC to avoid confusion for the RTC
> selection for the target SoC.
> 
> Sean Wang (4):
>   dt-bindings: rtc: mediatek: add bindings for MediaTek SoC based RTC
>   rtc: mediatek: add driver for RTC on MT7622 SoC
>   rtc: mediatek: enhance the description for MediaTek PMIC based RTC
>   rtc: mediatek: update MAINTAINERS entry with MediaTek RTC driver
> 

All applied, thanks. (I've alphabetically ordered Kconfig and Makefile
entries in patch 2)

-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the Linux-mediatek mailing list