We have been using imx8qxp processors which has support for USB Power delivery.
In imx8x-mek.dtsi , I can see that there is a node for ptn5110 device. We would want the device to be able to provide 5V, 12V and 15V with 3A current.
I have changed the source pdos to the values that I have mentioned above in this way, is this a correct implementation? How does the voltage switching in kernel happen? Do I have to write down some properties for the vbus-supply to switch the voltage?
Hello, thank you for your response and also sorry for the late reply as I am only working as a part time.
We found out, where in the kernel we have to supply the regulator voltage, here
https://elixir.bootlin.com/linux/latest/source/drivers/usb/typec/tcpm/tcpm.c#L3861,
so we got some idea to move ahead, we will seek your help, if there is any confusions ahead..