USB-C charging

@Patrick_Shannon
I see a potential issue with this. The 60 W adapter only supplies 16.5 VDC, so it would only work with the 15 V PD level. But as it was discovered in this thread, some Framwork laptops cannot be powered from 15 V. According to Wikipedia, only the very newest 85 W MBP Retina adapters support 20 V. Assuming you want to support the earlier adapters, you might be able to stuff a very efficient buck converter into an expansion card and use the 12 V PD level. That would limit you to 60 W (12 V @ 5 A).

The 1-wire protocol to query the adapter type and set the LED shouldn’t be too difficult. There seem to be some details here.

Your circuit would also need to present the 5 V rail to the USB port during the negotiation, though the magsafe adapters supply a ~6.8 V standby rail, so that should be easy enough.

And finally, you’ll need a microcontroller to manage polling the magsafe parameters and converting them into USB-PD negotiations with the computer.

It seems doable, though definitely an intermediate to advanced-level project.