From: Thomas Glanzmann Date: Mon, 21 Feb 2022 13:22:10 +0000 (+0100) Subject: no longer relevant X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/637c50f41485f70d9fbf14bef4e84b222191b6d0?hp=52755fa19b14792de9965a5441f80d4e33146dc8 no longer relevant --- diff --git a/doc/rtc.txt b/doc/rtc.txt deleted file mode 100644 index d8c8739..0000000 --- a/doc/rtc.txt +++ /dev/null @@ -1,15 +0,0 @@ -curl -s https://tg.st/u/114e7b2c8bcbbdd2aade6711169d65fc1cbaafb5.patch | git am - -curl -s https://tg.st/u/1e286fea8f626d571aed6e620f4e166a694317c2.patch | git am - -curl -s https://tg.st/u/888add910ab5dd1b7500fd2583d8ba5aa73538f3.patch | git am - -curl -s https://tg.st/u/d0801e9a20532025b82c06342da068da9aa12967.patch | git am - - -CONFIG_SPMI_APPLE=y -CONFIG_MFD_APPLE_SPMI_SERA_PMU=y -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