linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Add Support for MediaTek MT2712 RTC
@ 2020-02-26  5:12 Ran Bi
  2020-02-26  5:13 ` [PATCH v3 1/4] bindings: rtc: add bindings for " Ran Bi
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Ran Bi @ 2020-02-26  5:12 UTC (permalink / raw)
  To: Alexandre Belloni, Rob Herring, Matthias Brugger
  Cc: Alessandro Zummo, Mark Rutland, Mauro Carvalho Chehab,
	David S . Miller, Greg Kroah-Hartman, Jonathan Cameron,
	Linus Walleij, Nicolas Ferre, linux-rtc, devicetree,
	linux-kernel, linux-arm-kernel, linux-mediatek, srv_heupstream,
	YT Shen, Eddie Huang, Yingjoe Chen, Flora Fu, Sean Wang, Ran Bi

This patchset add support to MT2712 RTC. MT2712 RTC is a SoC based RTC
with different architecture compared to MT7622 RTC.

Changes in V3:
1. change struct mt2712_rtc
2. use 100 as year offset
3. change irq handle thread
4. remove useless rtc time check
5. not modify struct rtc_time in set_time/set_alarm functions
6. modify rtc init function
7. add power lost flag for get_time/set_time functions
8. add .alarm_irq_enable callback
9. set rtc->range_min and rtc->range_max to do range checking
10. use fixed driver name

Changes in V2:
1. change minimum year from 1968 to 2000
2. fix lock usage
3. stop to calculate useless day of week
4. stop to set default date after init
5. change the prefix of functions
6. use devm_request_threaded_irq() to replace request_threaded_irq()
7. add mt2712 rtc related files into MAINTAINERS

Ran Bi (4):
  bindings: rtc: add bindings for MT2712 RTC
  rtc: add support for the MediaTek MT2712 RTC
  arm64: dts: add RTC nodes for MT2712
  MAINTAINERS: add MT2712 RTC files

 .../devicetree/bindings/rtc/rtc-mt2712.txt    |  14 +
 MAINTAINERS                                   |   2 +
 arch/arm64/boot/dts/mediatek/mt2712e.dtsi     |   6 +
 drivers/rtc/Kconfig                           |  10 +
 drivers/rtc/Makefile                          |   1 +
 drivers/rtc/rtc-mt2712.c                      | 422 ++++++++++++++++++
 6 files changed, 455 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mt2712.txt
 create mode 100644 drivers/rtc/rtc-mt2712.c

-- 
2.25.0

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

end of thread, other threads:[~2020-03-15 18:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-26  5:12 [PATCH v3 0/4] Add Support for MediaTek MT2712 RTC Ran Bi
2020-02-26  5:13 ` [PATCH v3 1/4] bindings: rtc: add bindings for " Ran Bi
2020-02-26  5:13 ` [PATCH v3 2/4] rtc: add support for the MediaTek " Ran Bi
2020-02-26  5:13 ` [PATCH v3 3/4] arm64: dts: add RTC nodes for MT2712 Ran Bi
2020-03-15 18:48   ` Matthias Brugger
2020-02-26  5:13 ` [PATCH v3 4/4] MAINTAINERS: add MT2712 RTC files Ran Bi
2020-03-14 12:24 ` [PATCH v3 0/4] Add Support for MediaTek MT2712 RTC Alexandre Belloni

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).