#asahi-dev · 2021-10-08 17:11
sven"NO TTBR FOR IOVA" is a dead giveaway. for some reason the DART isn't able to read the base pagetable#asahi-dev · 2021-10-08 17:11
sventhat was the same issue i had with the aes engine fwiw#asahi-dev · 2021-10-08 17:10
sveni have some old notes but i think marcan looked into that one a bit during one of his streams#asahi-dev · 2021-10-08 17:10
svenit sits 0x4000 bytes after the DART and is some kind of additional address filter#asahi-dev · 2021-10-08 17:10
svenyup, welcome to the DAPF!#asahi-dev · 2021-10-03 13:38
sveni'd expect that to be the same as well but that one's easier to change#asahi-dev · 2021-10-03 13:37
svenyes, i know. i'm talking about the wifi chipset though#asahi-dev · 2021-10-03 13:35
sven*need to#asahi-dev · 2021-10-03 13:35
sventhe t2 people probably need support a few generations of macbooks#asahi-dev · 2021-10-03 13:35
svendon't all m1 machines just have the same chipset?#asahi-dev · 2021-09-28 13:15
svenyeah. or m1linux <-> m1n1/uboot/whatever-else#asahi-dev · 2021-09-28 13:14
svenhrm, i guess i should also look into exposing that USB PD chip to linux userspace so that we can eventually also use linux running on the m1 for this#asahi-dev · 2021-09-28 12:26
sveni don't think that was ever finished (or, well, i guess it wasn't even started). most of us just use another m1 machine and the few who have a real serial interface built something themselves#asahi-dev · 2021-09-28 12:05
svenyeah, it uses the SBU1/2 pins for the UART signal#asahi-dev · 2021-09-28 11:55
svenlast time i had to look at the uart i used "picocom -b 115200 /dev/cu.debug-console" fwiw#asahi-dev · 2021-09-28 11:54
sveni think the UART goes up to 1500000 or so#asahi-dev · 2021-09-28 11:43
svenno idea what uboot uses by default. i think the default in m1n1 is 115200#asahi-dev · 2021-09-28 11:41
svenis the baudrate setup correctly? can't think of any other issue right now#asahi-dev · 2021-09-28 11:41
svenhm.. so that looks like it successfully talked to the other side and if the cable supports usb 3.0 that should also be enough#asahi-dev · 2021-09-28 11:37
svenwhat cable are you using?#asahi-dev · 2021-09-24 13:42
svenoh, that explains why it just worked here :D#asahi-dev · 2021-09-24 11:46
sveni'm also still one some old mac os version#asahi-dev · 2021-09-24 11:39
sveni got a different exception at first but that was just because i forgot to chainload fwiw#asahi-dev · 2021-09-24 05:59
svenalyssa: works for me#asahi-dev · 2021-09-22 18:31
svenweird#asahi-dev · 2021-09-22 18:22
svenoh, so you have time to work on the usb phy next? :>#asahi-dev · 2021-09-19 18:13
svenalright, will probably submit https://github.com/AsahiLinux/linux/commits/i2c/v1 tomorrow then#asahi-dev · 2021-09-19 18:08
sven-MUX actually#asahi-dev · 2021-09-19 18:07
svendunno why you can't read that :-P#asahi-dev · 2021-09-19 18:07
svenGlobal Debug LSP MUX Register#asahi-dev · 2021-09-19 18:06
svenugh. looks like vscode messed up the indentation again *sigh*#asahi-dev · 2021-09-19 18:05
sven*readable#asahi-dev · 2021-09-19 18:05
svenessentially only makes the register names readbale#asahi-dev · 2021-09-19 18:05
sventhere https://github.com/AsahiLinux/m1n1/pull/108#asahi-dev · 2021-09-19 18:03
svenmight be useful once you start looking at those usb pd lines#asahi-dev · 2021-09-19 18:03
svenoh, let me also push my dwc3/xhci/phy tracer#asahi-dev · 2021-09-19 18:02
svensounds good#asahi-dev · 2021-09-19 17:49
svenso i2c divides the clock by 16 before the clock div. i can either add a fixed-factor clock to the DT that does that or just do that statically in the driver#asahi-dev · 2021-09-19 17:40
sven(to calculate the i2c clock div)#asahi-dev · 2021-09-19 17:40
svenso just a single clock for the i2c driver that's essentially clk24 will be fine#asahi-dev · 2021-09-19 17:40
svenyeah, that sounds good#asahi-dev · 2021-09-19 17:37
svensounds great#asahi-dev · 2021-09-19 17:36
svenyeah. guess i can also submit i2c in the next days then :)#asahi-dev · 2021-09-19 17:35
svenalright. sounds great#asahi-dev · 2021-09-19 17:35
svenso what happens if a driver doesn't have runtime pm support? will it still get enabled if you just add that power-domains property?#asahi-dev · 2021-09-19 17:35
svennice!#asahi-dev · 2021-09-19 12:48
sven(note that it needs a slightly changed dt instantiation than the code in the tipd-i2c-WIP branch)#asahi-dev · 2021-09-19 12:48
svenhttps://github.com/AsahiLinux/linux/commits/i2c/v1 - that hack commit to verify the pci driver still builds + marcan's genpd code if required should be good enough for the first i2c submission#asahi-dev · 2021-09-19 09:32
svenmakes sense#asahi-dev · 2021-09-19 09:31
svenso clocks = <&clk24>; or however it's called just in case they ever connect that to another clock