rtc: mediatek: add support for SoC based RTC on MT7622
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 2 repliesIn review
- v24 patches 10 repliesSuperseded
- v14 patches 5 repliesSuperseded
Changes in v3 from the cover letter
- 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
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | dt-bindings: rtc: mediatek: add bindings for MediaTek SoC based RTCDocumentation/ | +21 | 0 replies | |
| 2/4 | rtc: mediatek: add driver for RTC on MT7622 SoCdrivers/ drivers/ drivers/ | +433 | 1 reply | |
| 3/4 | rtc: mediatek: enhance the description for MediaTek PMIC based RTCdrivers/ | +4 | 0 replies | |
| 4/4 | rtc: mediatek: update MAINTAINERS entry with MediaTek RTC driverMAINTAINERS | +3 | 0 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Rob Herring | Eddie Huang | Yingjoe Chen |
|---|---|---|---|
| 1/4 | A-b | ||
| 2/4 | R-b | ||
| 3/4 | A-b | ||
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 0/4] rtc: mediatek: add support for SoC based RTC on MT7622
From: Sean Wang <sean.wang-NuS5LvNUpcJWk0Htik3J/[email protected]>
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
.../devicetree/bindings/rtc/rtc-mt7622.txt | 21 + MAINTAINERS | 3 + drivers/rtc/Kconfig | 18 +- drivers/rtc/Makefile | 1 + drivers/rtc/rtc-mt7622.c | 422 +++++++++++++++++++++ 5 files changed, 461 insertions(+), 4 deletions(-) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mt7622.txt create mode 100644 drivers/rtc/rtc-mt7622.c
Signature · 6 lines
2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html