#asahi-dev · 2022-11-30 19:34
ChaosPrincesswinders support#asahi-dev · 2022-11-30 19:12
dottedmagWhat's the motivation to make the system ACPI-compatible? Easier installation (probably not), anything else?#asahi-dev · 2022-11-30 18:51
ChaosPrincessi also was interested in maybe making those systems acpi compatible, and when i reached the interrupt controllers enum, i stopped reading, so there may be more problems#asahi-dev · 2022-11-30 18:36
sveniirc acpi just assumes SMMU #asahi-dev · 2022-11-30 18:36
sventhat one of the problems. same thing with DART#asahi-dev · 2022-11-30 18:35
ChaosPrincessThe main problem with acpi is aic, acpi standard has a enum of possible interrupt controllers and aic isnt one. #asahi-dev · 2022-11-30 18:25
povikthat's nightmare material :D#asahi-dev · 2022-11-30 18:24
svenuh, why would we consider moving to acpi? that just makes no sense#asahi-dev · 2022-11-30 18:01
amarioguy2i just thought that for now the "DT vs ACPI" talk would probably be best saved until after the asahi DTs approach anything resembling the term stable, don't want the project to suddenly run into issues with booting because of this kind of change or anything#asahi-dev · 2022-11-30 18:01
amarioguy2i need acpi or at least some semblance of it for trying to boot [proprietary os] anyways lol#asahi-dev · 2022-11-30 18:00
amarioguy2(in seriousness - if ACPI support ever becomes/became a seriously considered thing, i'd be more than willing to work on it)#asahi-dev · 2022-11-30 17:56
amarioguy2when SBSA compliance/ACPI transition /s#asahi-dev · 2022-11-30 17:56
amarioguy2saw the cpufreq news \o/#asahi-dev · 2022-11-30 14:41
cyrozapdocumentation from the manufacturer, I'd be really wary of making any extra optimizations.#asahi-dev · 2022-11-30 14:41
cyrozapmarcan: No, you should definitely also add the checks for the SRAM address, both before and after writing the SRAM data. Otherwise, data might get written to the wrong address, or the write rate will otherwise just be too fast for the chip to handle. If it works without those checks, then I guess you can skip them, but I'd be worried about the process failing randomly for users. Without proper #asahi-dev · 2022-11-30 11:01
mazkettenis: no worries. for the few (and hopefully rare) cases where DT becomes a burden, we should consider alternatives...#asahi-dev · 2022-11-30 11:01
chadmed_the alsa-lib rust bindings dont have the methods to change or get current values out of mixer controls hooked up though :/ #asahi-dev · 2022-11-30 11:00
chadmed_progress! #asahi-dev · 2022-11-30 11:00
chadmed_Right Tweeter Speaker Volume range: (MilliBel(-9999999), MilliBel(0))#asahi-dev · 2022-11-30 10:25
sventhere was e.g. some question about how interrupts were missing/wrong on the DK. that sounds like they moved them around just like on the CD321x#asahi-dev · 2022-11-30 10:24
svenand any questions relating to USB4 and/or the DK variant are stonewalled in that public forum with "just use the reference design or go to the secure site after signing some NDA"#asahi-dev · 2022-11-30 10:24
svenbut it's still missing USB4 support#asahi-dev · 2022-11-30 10:24
svenyeah, that one is already a bit newer/closer to the cd321x#asahi-dev · 2022-11-30 10:23
_jannau_Technical Reference Manual#asahi-dev · 2022-11-30 10:23
_jannau_I see TPS65987DDH and TPS65988DH Host Interface#asahi-dev · 2022-11-30 10:23
svenbut that one already has longer registers that do match up#asahi-dev · 2022-11-30 10:23
_jannau_ah, ok#asahi-dev · 2022-11-30 10:23
sventhere's also a different host interface datasheet for TPS65987DDH but that also doesn't match up#asahi-dev · 2022-11-30 10:22
svenyeah, but if you read the problems people have with the DK variant specifically it very much sounds like the host interface changed#asahi-dev · 2022-11-30 10:22
_jannau_sven: I see the same data sheet / host interface TRM for tps65988 on https://www.ti.com/product/TPS65988 as for the other variants#asahi-dev · 2022-11-30 10:16
svenin usb news, i'm also reasonably sure that cd321x is actually more similar to TPS65988DK which also supports USB4 and, according to some public replies by TI employees, is not entirely compatible with the previous tps6598x chips. unfortunately the docs for that one are hidden behind NDAs :(#asahi-dev · 2022-11-30 10:15
sveni still expect openbsd to support that upstream before linux does ;)#asahi-dev · 2022-11-30 10:15
kettenisI suddenly have a lot of catching up to do...#asahi-dev · 2022-11-30 10:15
kettenishey, you guys have proper USB and DCP support now!#asahi-dev · 2022-11-30 10:12
povikor we can all switch to develop openbsd instead!#asahi-dev · 2022-11-30 10:06
svenmaybe we should start sabotaging openbsd efforts instead so that you don't keep beating us with support for almost everything :p#asahi-dev · 2022-11-30 10:05
kettenisyou folks thinking about OpenBSD is very much appreciated#asahi-dev · 2022-11-30 09:54
kettenis_marcan maz: thanks#asahi-dev · 2022-11-30 09:16
j`eymarcan: \m/ re: cpufreq#asahi-dev · 2022-11-30 08:16
svenI don’t have any t600x, I’ll happily review patches but I probably won’t write any :D#asahi-dev · 2022-11-30 05:57
marcansven: I'll write and send you the t600x DT patch for review if you don't beat me to it :)#asahi-dev · 2022-11-30 05:56
marcanI'll send out the DT changes tonight#asahi-dev · 2022-11-30 05:56
marcanlooks like cpufreq made it in \o/#asahi-dev · 2022-11-30 04:47
marcanmaybe we should too#asahi-dev · 2022-11-30 04:47
marcanbut yeah, the Apple driver does a readback check I think#asahi-dev · 2022-11-30 04:46
marcancyrozap: The failures I saw were all in the reset step, so maybe just skipping that (and possibly adding the MMIO poke readback/check) is all we need?#asahi-dev · 2022-11-30 02:17
cyrozapLike, you just can't assume this part of the hardware will always work properly. Since as you've already noted, it was probably originally intended as a debug interface.#asahi-dev · 2022-11-30 02:13
cyrozapbut regardless of that I think it serves as a good example of how incredibly janky this process is and why it's absolutely necessary to do so many checks at each step.#asahi-dev · 2022-11-30 02:13
cyrozapcorrupted. More specifically, the highest bit of the highest byte in each affected 16-bit word would be flipped from either 0 to 1 or 1 to 0--all other bits were unaffected. I'm not sure if this is an issue with only this specific chip, and other ASM1142's are fine, or if it's a more widespread issue with this series of controllers (and maybe the ASM1042A as well, since it also supports the feature), #asahi-dev · 2022-11-30 02:13
cyrozapAlso, a small note about the reliability of this process: I was also experimenting with the firmware loading process for an earlier host controller, the ASM1142, and as part of that wrote a small firmware that would simply read itself back to the host. I was very surprised to find that pretty much every time I uploaded firmware to that chip, about 50-60 bytes between 0x0E40 and 0x1090 would get