On-chip RTC support for ExynosAutov9
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 2 repliesIn review
- v23 patches 11 repliesSuperseded
- v13 patches 5 repliesSuperseded
Changes in v3 from the cover letter
- 1/3 : Added Tag 'Reviewed-by'
- 2/3 : Fixed the review comment of v2 to re-use the existing disable()
instead of adding new one.
: Not adding Tag 'Reviewed-by' from V2 since the patch has been
changed
- 3/3 : Added Tag 'Reviewed-by'
link for v2 : https://lore.kernel.org/linux-rtc/[email protected]/
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dt-bindings: rtc: s3c-rtc: add compatible for exynosautov9Documentation/ | +1 | 0 replies | |
| 2/3 | rtc: s3c: support for exynosautov9 on-chip RTCdrivers/ | +18 | 1 reply | |
| 3/3 | arm64: dts: exynosautov9: add RTC DT nodearch/ arch/ | +14 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski | Alim Akhtar | Henrik Grimler |
|---|---|---|---|
| 1/3 | R-b | ||
| 2/3 | R-b | ||
| 3/3 | R-b |
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/3] On-chip RTC support for ExynosAutov9
Enable on-chip RTC support. The on-chip RTC of this SoC is similar to the previous version of Samsung SoCs except for TICNT tick time counter. So re-use the existing RTC driver with applicable call-backs for initialization and IRQ handling without accessing TICNT counter.
As suggested in review comment, instead of adding separate disable() call-back, re-used the existing s3c24xx_rtc_disable() by adding a new bool 'use_s3c2410_ticnt' in rtc_data to avoid accessing TICNT counter which is not valid for RTC of ExynosAutov9.
Setting and getting hardware clock has been tested using 'hwclock' and 'date' utilities.
Alarm interrupt has been checked with incrementing interrupt count via "cat /proc/interrupts | grep rtc" for 10sec wakeup time via "echo +10 > /sys/class/rtc/rtc0/wakealarm"
changelog
---
Changes in v3:
- 1/3 : Added Tag 'Reviewed-by'
- 2/3 : Fixed the review comment of v2 to re-use the existing disable()
instead of adding new one.
: Not adding Tag 'Reviewed-by' from V2 since the patch has been
changed
- 3/3 : Added Tag 'Reviewed-by'
link for v2 : https://lore.kernel.org/linux-rtc/[email protected]/
Changes in v2:
- Fixed the review comment of v1 for mis-aligmnent & asymmetry bit logic.
- link for v1 : https://lore.kernel.org/linux-rtc/[email protected]/
Devang Tailor (3):
dt-bindings: rtc: s3c-rtc: add compatible for exynosautov9
rtc: s3c: support for exynosautov9 on-chip RTC
arm64: dts: exynosautov9: add RTC DT node
.../devicetree/bindings/rtc/s3c-rtc.yaml | 1 + .../boot/dts/exynos/exynosautov9-sadk.dts | 4 ++++ arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 10 +++++++++ drivers/rtc/rtc-s3c.c | 21 ++++++++++++++++--- 4 files changed, 33 insertions(+), 3 deletions(-)
base-commit: 4ac65880ebca1b68495bd8704263b26c050ac010
Signature · 1 line
2.34.1