#
✕ nick:sven
#asahi-dev · 2025-09-25 18:44
svenessentially yes, you need a mfd cell entry and it’s gonna probe the sub driver then no matter what
#asahi-dev · 2025-09-25 18:32
svenpresumably the probe path is different on x86, so just use your hardcoded key table there
#asahi-dev · 2025-09-25 15:20
svenprobably best to wait until that’s upstream and then send follow up patches
#asahi-dev · 2025-09-24 21:32
svenI just don’t remember which gadgets I tested in Linux
#asahi-dev · 2025-09-24 21:31
svenI’m aware
#asahi-dev · 2025-09-24 21:29
svenno idea but I don’t think so
#asahi-dev · 2025-09-24 21:25
svenah nice, I only saw strings in the updater that heavily suggested swd was accessible via the gpio controller
#asahi-dev · 2025-09-24 21:23
sven*its
#asahi-dev · 2025-09-24 21:23
svenbut more importantly I’m pretty sure it’s SWD is hooked up to some gpio
#asahi-dev · 2025-09-24 21:23
svencd321x doesn’t even check the signature at boot time
#asahi-dev · 2025-09-24 21:21
svenbut no other way I could find
#asahi-dev · 2025-09-24 21:21
svenwell, I could patch the firmware with software only probably
#asahi-dev · 2025-09-24 21:19
svenwould be very nice to force that cd321x to never negotiate tbt for now
#asahi-dev · 2025-09-24 21:19
svenit‘s why I can’t e.g. make most tbt docks work without adding full tbt support
#asahi-dev · 2025-09-24 21:18
sveni.e. you can’t tell it to switch to usb3 if it decided for thunderbolt
#asahi-dev · 2025-09-24 21:17
svenI only know that telling it to negotiate a separate mode doesn’t work. Can’t remember if forcing role switch does
#asahi-dev · 2025-09-24 21:16
svenideally create a new entry for your acpi backend though
#asahi-dev · 2025-09-24 21:16
svensure, just keep it under the section where the current smc is also listed
#asahi-dev · 2025-09-23 11:10
svenyes, but the more important part is to re-introduce the backend ops such that sub drivers can be shared
#asahi-dev · 2025-09-22 17:53
svenessentially re-introduce that rtkit_backend_ops struct or however it was called and move the implementation for that structure into platform and/or soc
#asahi-dev · 2025-09-22 17:50
svenyou might have to move the rtkit backend to drivers/soc/apple as well
#asahi-dev · 2025-09-21 19:46
svenwe're close now
#asahi-dev · 2025-09-21 19:46
sventhat's what i assumed :D
#asahi-dev · 2025-09-21 18:04
svenand openbsd doesn't even support atcphy yet afaik
#asahi-dev · 2025-09-21 15:04
svenso probably nothing to worry about if you're using this tool anyway
#asahi-dev · 2025-09-21 15:04
svenand that can only happen through user interaction via typec_ops i think
#asahi-dev · 2025-09-21 15:03
sveni think the only possible race is when we try to send a command and the kernel driver also sends one concurrently
#asahi-dev · 2025-09-21 14:46
svenjust reading the i2c-dev.c code and it looks like it should work at least
#asahi-dev · 2025-09-21 14:46
sven*adjusting
#asahi-dev · 2025-09-21 14:46
svenhm.. maybe it was added without adjust the documentation?
#asahi-dev · 2025-09-21 14:30
svenlol, i wasn't aware that essentially also does raw i2c
#asahi-dev · 2025-09-21 14:28
svenwhat could go wrong :>
#asahi-dev · 2025-09-21 14:21
svenno idea if it would work, but there's not much activity on that bus usually
#asahi-dev · 2025-09-21 14:20
sven*mode
#asahi-dev · 2025-09-21 14:20
sveni2ctransfer has a -f mdoe that comes with a bunch of warnings but "Force access to the device even if it is already busy"
#asahi-dev · 2025-09-21 14:17
svenalso, at this point it may make sense to split stuff into cd321x.c since core.c is getting quite huge
#asahi-dev · 2025-09-21 14:17
svenhm, i guess we can't do userspace i2c if there's already a driver probed?
#asahi-dev · 2025-09-20 17:58
svenworks for me
#asahi-dev · 2025-09-20 12:31
svenjannau: just send the PRs, we can still send a second one if some of those driver changes come in last minute
#asahi-dev · 2025-09-18 20:04
svenah yeah, then it doesn’t matter either way
#asahi-dev · 2025-09-18 19:51
svenif it’s small enough we can also send a follow up PR and/or if it really counts as a fix send it after -rc1
#asahi-dev · 2025-09-18 19:35
sven*send out
#asahi-dev · 2025-09-18 19:35
svenalright, i think that's it for this cycle then. i'll wait for -rc7 and send our the PRs then on monday or tuesday
#asahi-dev · 2025-09-18 19:33
svenyeah, just grabbed it
#asahi-dev · 2025-09-18 19:30
svenb4 am -s -P 3 20250914152518.GB1645557@robin.jannau.net and it just grabs that one with all tags :)
#asahi-dev · 2025-09-18 19:30
sven<3 b4
#asahi-dev · 2025-09-18 19:30
svenyeah
#asahi-dev · 2025-09-18 19:30
sven[PATCH 3/37] pmdomain: apple: Add "apple,t8103-pmgr-pwrstate"
#asahi-dev · 2025-09-18 19:23
svenjannau: ^--
#asahi-dev · 2025-09-18 19:23
svenanything else we need to pick up for the next cycle? i wanna prepare the PRs early next week

plus ›