Closed dberlin closed 10 months ago
Ugh. Well that's going to be fun.
It's actually not too bad - turning on HPM debugging in macos shows the actual commands that get issued are identical (IE the fourcc and all), it's just the transport that's different. So we just have to figure out the command execution protocol and the rest of the code from the existing i2c driver should work.
I've been working it out in a python experiment, but it's not quite there yet.
On Sun, Dec 3, 2023 at 3:36 AM Hector Martin @.***> wrote:
Ugh. Well that's going to be fun.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
This patch is a workaround for the lack of SPMI support in usb.c
Newer machines use SPMI and a different type C power controller.
This patch still lets us make the USB ports work by skipping power-on and just enabling the phys