From 256eb0b553ebc00d73adcb198b5e159078379120 Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Sun, 6 Feb 2022 18:09:43 +0100 Subject: [PATCH] more notes --- doc/rtc.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/rtc.txt b/doc/rtc.txt index f7abfec..d8c8739 100644 --- a/doc/rtc.txt +++ b/doc/rtc.txt @@ -10,3 +10,6 @@ CONFIG_RTC_DRV_APPLE_PMU_SERA=y 01:52 < jeffmiw> Glanzmann: rtc support over spmi is here : https://github.com/jfbortolotti/linux/tree/spmi_rtc , you need the following flags in your kernel config: CONFIG_SPMI_APPLE=y CONFIG_MFD_APPLE_SPMI_SERA_PMU=y CONFIG_RTC_DRV_APPLE_PMU_SERA=y 01:53 < jeffmiw> tested on mba for now, branch only have the changes for t8103 01:58 < jeffmiw> this enables to boot with current time set in rtc, and rtc is updated is system date/time is changed + +18:08 < jeffmiw> mps: do you have the RTC enables in your kernel config ? CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE="rtc0" CONFIG_RTC_SYSTOHC=y CONFIG_RTC_SYSTOHC_DEVICE="rtc0" CONFIG_RTC_INTF_SYSFS=y CONFIG_RTC_INTF_PROC=y + CONFIG_RTC_INTF_DEV=y -- 2.39.2