[PATCH 0/2] rtc: pch-rtc: add Intel Series PCH built-in read-only RTC

Ivan Mikhaylov
2021-08-10T15:34:58Z

Add RTC driver with dt binding tree document. Also this driver adds one sysfs
attribute for host power control which I think is odd for RTC driver.
Need I cut it off and use I2C_SLAVE_FORCE? I2C_SLAVE_FORCE is not good
way too from my point of view. Is there any better approach?

Ivan Mikhaylov (2):
rtc: pch-rtc: add RTC driver for Intel Series PCH
dt-bindings: rtc: provide RTC PCH device tree binding doc

.../bindings/rtc/intel,pch-rtc.yaml | 39 +++++
drivers/rtc/Kconfig | 10 ++
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-pch.c | 148 ++++++++++++++++++
4 files changed, 198 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rtc/intel,pch-rtc.yaml
create mode 100644 drivers/rtc/rtc-pch.c

--
2.31.1