Closed catmengi closed 3 months ago
tcpm.c should control PD protocol, ln8000 chip doesn't know anything about PD and it is only connected to usb vbus, PD protocol uses CC line of Type-C to do PD negotiation with charger. Voltage is also selected by tcpm.c, it should use best available PD profile that charger sent using PD protocol. PD capabilities and voltage limits specified in sink-pdos.
tcpm.c should control PD protocol, ln8000 chip doesn't know anything about PD and it is only connected to usb vbus, PD protocol uses CC line of Type-C to do PD negotiation with charger. Voltage is also selected by tcpm.c, it should use best available PD profile that charger sent using PD protocol. PD capabilities and voltage limits specified in sink-pdos.
Where sink-pdos is specified?
I already found sink-pdos, should it be 5v-12v 3a?
Which driver control charging voltage, tcpm.c (saw things about PD and PPS) or ln8000_charger.c or ln8000_charger.c configure ln8000 and it automatically control PD VBUS? Which voltage is standart 5v, 9v or even 12v?