#asahi-dev · 2022-02-13 11:30
kettenisThis should help making things future-proof#asahi-dev · 2022-02-13 11:22
kettenispowerdown/shutdown could be done in the same way#asahi-dev · 2022-02-13 11:18
kettenisthe sole reason for having alarm support is to be able to schedule a wakeup from suspend isn't it?#asahi-dev · 2022-02-13 11:16
kettenisyes, you'd have to have a separate RTC driver that handles the alarams#asahi-dev · 2022-02-13 11:14
kettenisso maybe the way to solve this is to make the RTC a subnode of the SMC and reference the offset in the pmu through an nvmem-cells property#asahi-dev · 2022-02-13 11:00
kettenishmm#asahi-dev · 2022-02-13 11:00
kettenisI'm starting to suspect it is a different clock altogether#asahi-dev · 2022-02-13 10:57
ketteniss/PMC/PMU/#asahi-dev · 2022-02-13 10:57
kettenisso they use the running clock in the SMC now, but stull use the offset in the PMC#asahi-dev · 2022-02-13 10:45
kettenisand it still pokes the PMU for that?#asahi-dev · 2022-02-13 10:45
kettenisI suppose you ran macOS under the hypervisor to see what it does to set the clock?#asahi-dev · 2022-02-13 10:44
kettenisbut that doesn't really need to be very accurate#asahi-dev · 2022-02-13 10:44
kettenisthese days having the correct time is important such that you can do DNSSEC to lookup the ntp server#asahi-dev · 2022-02-13 10:43
kettenisntp will fix it quickly enough#asahi-dev · 2022-02-13 10:39
kettenismost RTCs only provide second resolution so I suppose we can live with that#asahi-dev · 2022-02-13 10:38
kettenisso the maverick PMU doesn't provide the sub-second resolution the sera pmu does#asahi-dev · 2022-02-13 10:33
kettenisregarding the shifts, I did quite a bit of experimentation and convinced myself the shifts in the OpenBSD driver are correct#asahi-dev · 2022-02-13 10:31
ketteniswhich fits in with your theory that they're moving towards an SMC-based solution#asahi-dev · 2022-02-13 10:31
kettenismarcan: so what I found out is that the CLKM SMC key is present on the mini that I upgraded to 12.x but not there on the macbook pro that is still on 11.x#asahi-dev · 2022-02-12 13:26
kettenisso now sven ahs abandoned nvme because atc is more interesting ;)#asahi-dev · 2022-02-12 13:14
kettenisalyssa: you stopped kicking sven ;)#asahi-dev · 2022-02-11 20:03
kettenisunfortunately your diff and mine are going to conflict now unless they're applied in the right order#asahi-dev · 2022-02-11 19:57
kettenisand I didn't send that one upstream yet#asahi-dev · 2022-02-11 19:53
kettenisah, right, without that it'll probably crash in pro/max#asahi-dev · 2022-02-10 15:40
kettenismarcan: btw, I have a draft ready for a status report on u-boot and openbsd#asahi-dev · 2022-02-10 10:29
kettenisas far as I can tell nothing behind the spi keyboard/touchpad controller is connected to the keyboard backlight stuff#asahi-dev · 2022-02-10 10:10
kettenispretty sure it isn't#asahi-dev · 2022-02-10 10:07
kettenisI also think we should somehow reference this from the spi-hid-keyboard node#asahi-dev · 2022-02-10 10:06
kettenisand that label doesn't make sense to me#asahi-dev · 2022-02-10 10:05
kettenisfor one thing, it probably needs a "function = LED_FUNCTION_KBD_BACKLIGHT"#asahi-dev · 2022-02-10 10:04
kettenisah-[m]: also I don't think the way you describe the backlight in the device tree is right#asahi-dev · 2022-02-09 16:14
kettenismarcan: looks like the "CLKM" SMC key was introduced by Apple with some 12.x firmware#asahi-dev · 2022-02-09 11:48
kettenisalmost asks for implementing the RTC alarm stuff as a separate subnode#asahi-dev · 2022-02-09 11:47
kettenisI agree that having the basic RTC and shutdown support generic would be nice to have#asahi-dev · 2022-02-09 11:26
kettenisif it is the latter, the firmware team didn't get the memo ;)#asahi-dev · 2022-02-09 11:23
ketteniswonder if these registers are real hardware registers or just SRAM that's updated by the firmware#asahi-dev · 2022-02-09 10:54
kettenisand you need at least n=3 for proper statistics ;)#asahi-dev · 2022-02-09 10:39
kettenisyup#asahi-dev · 2022-02-09 10:00
kettenisbut proper RE is always welcome ;)#asahi-dev · 2022-02-09 09:59
kettenismy OpenBSD is based on what I learned from the corellium code, but for the functionality I implemented it made enough sense for me to not explore things much further#asahi-dev · 2022-02-08 21:17
kettenis(and yes, friendly)#asahi-dev · 2022-02-08 21:17
kettenistpw_rules: just reply; sending a new one without changes tends to be frowned upon#asahi-dev · 2022-02-08 21:07
kettenistwp_rules: a fiendly ping is probably overdue#asahi-dev · 2022-02-08 20:48
kettenisfeel free to add my reviewed-by for both patches#asahi-dev · 2022-02-08 20:47
kettenisok, go ahead#asahi-dev · 2022-02-08 20:41
kettenisshall I pull those into my tree and submit them upstream as a series?#asahi-dev · 2022-02-08 20:37
kettenisso the only thing I need to do is add the compatible for the DART isn't it?#asahi-dev · 2022-02-08 20:36
kettenisjannau: thanks, I'll drop that bit for now then#asahi-dev · 2022-02-08 20:15
kettenisor does it work without?#asahi-dev · 2022-02-08 20:15
kettenisdoes it need that patch I pushed yesterday?