mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-22 13:54:57 +08:00
85820de1b6
In short, we have three kinds of role switches: - Based on SoC: ID and VBUS - Based on external connnctor, eg, Type-C or GPIO Connector - Based on user choices through sysfs Since HW handling and usb-role-switch handling are at different places, we do not need role_override any more, and this flag could not judge external connector case well. With role_override deleted, We use cdns3_hw_role_switch for the 1st use case, and usb-role-switch for the 2nd and 3rd cases. Signed-off-by: Peter Chen <peter.chen@nxp.com> Reviewed-by: Roger Quadros <rogerq@ti.com> Link: https://lore.kernel.org/r/20200331081005.32752-2-peter.chen@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
cdns3-imx.c | ||
cdns3-pci-wrap.c | ||
cdns3-ti.c | ||
core.c | ||
core.h | ||
debug.h | ||
drd.c | ||
drd.h | ||
ep0.c | ||
gadget-export.h | ||
gadget.c | ||
gadget.h | ||
host-export.h | ||
host.c | ||
Kconfig | ||
Makefile | ||
trace.c | ||
trace.h |