Re: [PATCH] usb: typec: tcpm: Create legacy PDOs for PD2 connection

2021-01-26 Thread Heikki Krogerus
Hi, On Thu, Jan 21, 2021 at 05:48:46PM +0800, Kyle Tso wrote: > On Thu, Jan 21, 2021 at 4:41 PM Heikki Krogerus > wrote: > > > > Hi Kyle, > > > > On Sat, Jan 16, 2021 at 12:33:11AM +0800, Kyle Tso wrote: > > > If the port partner is PD2, the PDOs of the local port should follow the > > > format d

Re: [PATCH] usb: typec: tcpm: Create legacy PDOs for PD2 connection

2021-01-23 Thread Guenter Roeck
On 1/15/21 8:33 AM, Kyle Tso wrote: > If the port partner is PD2, the PDOs of the local port should follow the > format defined in PD2 Spec. Dynamically modify the pre-defined PD3 PDOs > and transform them into PD2 format before sending them to the PD2 port > partner. > > Signed-off-by: Kyle Tso

Re: [PATCH] usb: typec: tcpm: Create legacy PDOs for PD2 connection

2021-01-21 Thread Kyle Tso
On Thu, Jan 21, 2021 at 4:41 PM Heikki Krogerus wrote: > > Hi Kyle, > > On Sat, Jan 16, 2021 at 12:33:11AM +0800, Kyle Tso wrote: > > If the port partner is PD2, the PDOs of the local port should follow the > > format defined in PD2 Spec. Dynamically modify the pre-defined PD3 PDOs > > and transfo

Re: [PATCH] usb: typec: tcpm: Create legacy PDOs for PD2 connection

2021-01-21 Thread Heikki Krogerus
Hi Kyle, On Sat, Jan 16, 2021 at 12:33:11AM +0800, Kyle Tso wrote: > If the port partner is PD2, the PDOs of the local port should follow the > format defined in PD2 Spec. Dynamically modify the pre-defined PD3 PDOs > and transform them into PD2 format before sending them to the PD2 port > partner

[PATCH] usb: typec: tcpm: Create legacy PDOs for PD2 connection

2021-01-15 Thread Kyle Tso
If the port partner is PD2, the PDOs of the local port should follow the format defined in PD2 Spec. Dynamically modify the pre-defined PD3 PDOs and transform them into PD2 format before sending them to the PD2 port partner. Signed-off-by: Kyle Tso --- drivers/usb/typec/tcpm/tcpm.c | 62