Messages in this thread | | | From | Chanwoo Choi <> | Date | Tue, 21 Mar 2023 05:58:45 +0900 | Subject | Re: [PATCH v3 1/2] extcon: usbc-tusb320: add accessory detection support |
| |
On Sun, Mar 19, 2023 at 12:19 AM Alvin Šipraga <alvin@pqrs.dk> wrote: > > From: Alvin Šipraga <alsi@bang-olufsen.dk> > > The TUSB320 can detect the following types of accessory: > > - Audio Accessory > - Audio Accessory with charge-thru > - Debug Accessory (DFP) > - Debug Accessory (UFP) > > Moreover, the typec subsystem can be informed of this through the > typec_set_mode() function. The information will be propagated to any > linked typec muxes. Add the necessary support to the driver. > > Note that for the Debug Accessory modes, an educated guess was made that > for the USB data role, DFP implies HOST and UFP implies DEVICE. But this > might want to be made configurable at a later date. > > Signed-off-by: Alvin Šipraga <alsi@bang-olufsen.dk> > Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> > --- > v3: add Heikki's Acked-by > v2: no change > --- > drivers/extcon/extcon-usbc-tusb320.c | 90 +++++++++++++++++++++------- > 1 file changed, 68 insertions(+), 22 deletions(-) >
(snip)
Applied them. Thanks.
Best Regards, Chanwoo Choi
| |