From: Thomas Glanzmann Date: Sun, 6 Feb 2022 17:09:43 +0000 (+0100) Subject: more notes X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/256eb0b553ebc00d73adcb198b5e159078379120?hp=9eeb02dd580466c7ef171202192f1f0cc2beccd0 more notes --- 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