We are using PTN5110 in sink mode which can accept 15V input. What should be the kernel changes to support 15V 3.0A in sink mode?
In dts file snk-pdos configurations are not clear,
src-pdos = <0x380190c8>;
snk-pdos = <0x380190c8 0x3802d0c8>; For 15V@3A value???
max-snk-mv = <9000>; For 15V <15000>
max-snk-ma = <2000>; For 3.0A <3000>
op-snk-mw = <9000>;
max-snk-mw = <18000>;
port-type = "drp";
default-role = "sink";
iMX8 Kernel Version:4_14_98
Rp value bits [5:4], should be 10b (Rp 3.0A) on Role Control Register (1Ah) to support 3.0A.
And you must send command 0101 0101b : SinkVbus. Which enable sinking power over Vbus and enable Vbus present detection.
For Type C PD applications where more than 15W is needed, you would need a complete Type-C Power Delivery (PD) System, so you would need a NX5P3090 (current-limited power switch for USB PD), a NX20P5090 (as a Sink Path), a NX5P3190 (as a DFP Controller), a PTN5110 (as a PD PHY) and other components depending on the application.
As an example, please check the USB Type-C and Power Delivery Evaluation Kits from the link below so you can see all the requirements for using USB Type-C for PD applications: https://www.nxp.com/products/analog/interfaces/usb-interfaces/usb-type-c-true-plugn-play/usb-type-c-...
Unfortunately, due to the complex of the circuitry needed for design application which required power above 15W, we cannot provide support at the Online technical support team, so you would need to contact an NXP sales team & Regional Marketing or Field applications engineers to support you for this kind of application. Please contact your local NXP Authorized Distributor.
I apologize for the problems this may cause.
There is a 42-minute video from a class about USB Type-C in case you are interested. You can see this video in the following link: https://www.nxp.com/video/are-you-ready-for-usb-type-c:USB-TYPE-C-VIDEO