lkml.org 
[lkml]   [2023]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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

\
 
 \ /
  Last update: 2023-03-27 01:09    [W:0.043 / U:1.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site