#asahi-dev · 2021-12-09 13:17
marcanalternatively you can drive it as a GPIO#asahi-dev · 2021-12-09 13:17
marcanwhich I do now in the DT#asahi-dev · 2021-12-09 13:17
marcanpinctrl needs to set the pin to peripheral 1 for the internal controller CS to work#asahi-dev · 2021-12-09 13:16
marcanfirefox317: that's probably for defining flash partitions, which we will want to later#asahi-dev · 2021-12-09 13:16
marcanapple uses pinctrl#asahi-dev · 2021-12-09 13:16
marcanboth should work ~identically#asahi-dev · 2021-12-09 13:16
marcankettenis: indeed#asahi-dev · 2021-12-09 13:08
marcanoh, I didn't even notice, but the genpd stuff works fine too, it's clockgating it properly#asahi-dev · 2021-12-09 13:03
marcanI tested it with the NOR flash#asahi-dev · 2021-12-09 13:03
marcanHope it works with the keyboard. We aren't implementing any of the delays yet, but the spi core might take care of that? Turns out we can't use hardware CS anyway so...#asahi-dev · 2021-12-09 13:03
marcancc jannau, j_ey_, sven#asahi-dev · 2021-12-09 13:02
marcanthere's your SPI driver :)#asahi-dev · 2021-12-09 13:02
marcanhttps://github.com/AsahiLinux/linux/commit/0058b3377882b80df30d9490c4653bca12423ff2#asahi-dev · 2021-12-07 16:23
marcanok, off to sleep. Finally managed to catch up on a bunch of kernel stuff today... I believe tomorrow I have a SPI reversing stream to do, and a couple more kernel mails to read/send out.#asahi-dev · 2021-12-07 16:22
marcanwill be convenient once I actually move to these laptops though, since those definitely don't have a Print Screen key#asahi-dev · 2021-12-07 16:21
marcanthough... I have to shamefully admit I've gotten too used to the macOS command-shift-{3,4} thing, and I've started to replicate it on my Linux installs...#asahi-dev · 2021-12-07 16:20
marcanPrint screen does trigger screen capture#asahi-dev · 2021-12-07 16:20
marcanI use Pause to trigger krunner (i.e. quick run app/command)#asahi-dev · 2021-12-07 16:20
marcanheh :)#asahi-dev · 2021-12-07 16:18
marcan;)#asahi-dev · 2021-12-07 16:18
marcanscroll lock, screen lock, close enough right?#asahi-dev · 2021-12-07 16:18
marcanhey, I use it to trigger my screen lock!#asahi-dev · 2021-12-07 16:17
marcan... and apparently Intel's official workaround is a BIOS hack to use the scroll lock key to disable half the cores. yes, really.#asahi-dev · 2021-12-07 16:17
marcanit's so amazing it broke some game DRM because it thought you were randomly swapping out your CPU#asahi-dev · 2021-12-07 16:15
marcanha#asahi-dev · 2021-12-07 16:12
marcanheh :)#asahi-dev · 2021-12-07 16:11
marcanso I'm okay with going with that#asahi-dev · 2021-12-07 16:11
marcanbut anyway, I think Apple are probably going to stick with that Aff2 thing for quite a while, they use it all over the place (and so does m1n1)#asahi-dev · 2021-12-07 16:10
marcanmaz: using IRQ affinity just seems like such a hack for this...#asahi-dev · 2021-12-07 16:09
marcanaside: just pushed a bunch of DT schema changes to asahi, enough to keep the checker happy about all the t6k stuff except NVMe/SART. cc kettenis in case you want to take a look; I'll probably fire off all the easy ones (everything but AIC2) as a series tomorrow#asahi-dev · 2021-12-07 16:08
marcanugh.#asahi-dev · 2021-12-07 14:50
marcangood to hear that#asahi-dev · 2021-12-07 14:41
marcanalso, looks like the PERST changes haven't been merged yet? is anything holding that up?#asahi-dev · 2021-12-07 14:05
marcanmaz: I was going to ask about that; isn't it the same IRQ anyway? why does the PMU driver need separate IRQs for E/P if they're percpu anyway?#asahi-dev · 2021-12-07 12:13
marcan(that's the only register which would have to be computed based on max dies; its location seems to be after all the IRQ control registers, rounded to page size)#asahi-dev · 2021-12-07 12:12
marcanwhich I think I like even less#asahi-dev · 2021-12-07 12:12
marcanwhat apple do instead is... specify the event register offset in the DT#asahi-dev · 2021-12-07 12:12
marcanmaz: yeah, heh#asahi-dev · 2021-12-07 12:12
marcanah yeah, that gets used in the next commit#asahi-dev · 2021-12-07 11:58
marcanI have a guess but I'm not sure if it's right...#asahi-dev · 2021-12-07 11:58
marcanjust pushed aic2 with a cleaned up take on the AICv2 support. There's one thing missing: I'm not sure how to get the true supported die count from the hardware :/ (to compute all the register offsets properly)#asahi-dev · 2021-12-07 08:54
marcansure :)#asahi-dev · 2021-12-07 07:15
marcanjannau: thanks#asahi-dev · 2021-12-07 07:15
marcan... I'm an idiot. sigh.#asahi-dev · 2021-12-07 03:54
marcanactually, I'll go ahead and merge in the binding already#asahi-dev · 2021-12-07 03:50
marcansven: if you have a chance, can you send out the watchdog patch with the MAINTAINERS split? I think it's ready for Guenter to merge otherwise#asahi-dev · 2021-12-07 01:16
marcansorry about that :(#asahi-dev · 2021-12-07 01:14
marcanjannau: the t6000 support was added later and not everywhere yet#asahi-dev · 2021-12-05 08:15
marcanI mean after a subsequent reset#asahi-dev · 2021-12-05 08:15
marcanseems to be kind of random