Re: [PATCH] usb: typec: ucsi: Add support for USB role switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 16, 2020 at 10:20:47PM -0800, Jack Pham wrote:
> From: Mayank Rana <mrana@xxxxxxxxxxxxxx>
> 
> UCSI already conveys the information about a port's connection
> status, whether it is operating in UFP or DFP mode, and whether the
> partner supports USB data or not. This information can be used to
> notify a dual-role controller to start up its host or peripheral
> mode accordingly. Add optional support for this by querying each
> port's fwnode to look for an associated USB role switch device.
> If present, call usb_role_switch_set() with the determined data
> role upon Connect Change or Connector Partner Change updates.
> 
> Signed-off-by: Mayank Rana <mrana@xxxxxxxxxxxxxx>
> Signed-off-by: Jack Pham <jackp@xxxxxxxxxxxxxx>
> ---
>  drivers/usb/typec/ucsi/ucsi.c | 55 +++++++++++++++++++++++++++++++++--
>  drivers/usb/typec/ucsi/ucsi.h |  3 ++
>  2 files changed, 55 insertions(+), 3 deletions(-)

This fails to apply to my usb-next branch of usb.git on git.kernel.org.
Can you rebase and resend, with Heikki's review added?

thanks,

greg k-h



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux