linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] rtc: mediatek: add support for SoC based RTC on MT7622
@ 2017-10-17  9:40 sean.wang
  2017-10-17  9:40 ` [PATCH v2 1/4] dt-bindings: rtc: mediatek: add bindings for MediaTek SoC based RTC sean.wang
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: sean.wang @ 2017-10-17  9:40 UTC (permalink / raw)
  To: a.zummo, alexandre.belloni, robh+dt, mark.rutland
  Cc: linux-rtc, devicetree, linux-mediatek, linux-kernel, Sean Wang

From: Sean Wang <sean.wang@mediatek.com>

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-mediatek.txt       |  21 ++
 MAINTAINERS                                        |   3 +
 drivers/rtc/Kconfig                                |  18 +-
 drivers/rtc/Makefile                               |   1 +
 drivers/rtc/rtc-mt7622.c                           | 418 +++++++++++++++++++++
 5 files changed, 457 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mediatek.txt
 create mode 100644 drivers/rtc/rtc-mt7622.c

-- 
2.7.4

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-10-19 10:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-17  9:40 [PATCH v2 0/4] rtc: mediatek: add support for SoC based RTC on MT7622 sean.wang
2017-10-17  9:40 ` [PATCH v2 1/4] dt-bindings: rtc: mediatek: add bindings for MediaTek SoC based RTC sean.wang
2017-10-18 13:32   ` Yingjoe Chen
2017-10-19  3:00     ` Sean Wang
2017-10-17  9:40 ` [PATCH v2 2/4] rtc: mediatek: add driver for RTC on MT7622 SoC sean.wang
2017-10-18  9:52   ` Yingjoe Chen
2017-10-19  2:18     ` Sean Wang
2017-10-18 11:12   ` Yingjoe Chen
2017-10-18 12:57     ` Alexandre Belloni
2017-10-19  2:55       ` Sean Wang
2017-10-19  9:02         ` Alexandre Belloni
2017-10-19 10:04           ` Sean Wang
2017-10-19 10:13             ` Alexandre Belloni
2017-10-17  9:40 ` [PATCH v2 3/4] rtc: mediatek: enhance the description for MediaTek PMIC based RTC sean.wang
2017-10-17  9:40 ` [PATCH v2 4/4] rtc: mediatek: update MAINTAINERS entry with MediaTek RTC driver sean.wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).