Closed imax9000 closed 1 month ago
FWIW, I believe that you would need to work on the PD controllers and not necessarily the EC.
This repository contains up-to-date source for each program, yes.
Here are the branches:
fwk-marigold-22606
- Intel Core Ultra 1 13lotus-zephyr
- AMD 7xxx, both sizeshx20-hx30
- Intel 11th, 12th and 13th GenWDYM by "PD controller" specifically?
There are two Cypress/Infineon CCG5 chips in each laptop[^1] in charge of USB C PD negotiation. They have their own independent firmware. I do not know if they are also the type-c port controllers or managers.
It is my understanding that the EC is not in charge of type-C negotiation in these devices.
[^1]: Well, I can't speak to the Laptop 16, but I can for the 13
Do you have any details on how does EC interact with them?
(also, can you please follow @bsky.brid.gy@bsky.brid.gy
from your mastodon account, so I can follow you from Bluesky?)
https://github.com/FrameworkComputer/EmbeddedController/blob/lotus-zephyr/zephyr/program/lotus/src/cypress_pd_common.c looks like a good starting point. Sadly, public documentation on CYPD8225 leaves a lot to be desired, and it'll take a while for me to figure out if it runs SinkPPSPeriodicTimer
on its own and if it does - how to configure it
Looks like there almost no activity here, and no clear instructions on how to build an image for each of released mainboard models.
The reason I'm curious is that supporting MagSafe3 cables requires a slightly modified USB PD negotiation protocol (thread), meaning that one of the options is to patch EC firmware.