]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
usb: chipidea: add role switch class support
authorLi Jun <jun.li@nxp.com>
Mon, 26 Aug 2019 10:25:12 +0000 (18:25 +0800)
committerPeter Chen <peter.chen@nxp.com>
Wed, 28 Aug 2019 02:39:53 +0000 (10:39 +0800)
commit05559f10ed797b79f7fa47313682c48919a2b111
treeff421785ada548d4a18c2254a22665e539307680
parent71fcb8bdf5ab68e91c05b69e80c2d0ab4c51d78b
usb: chipidea: add role switch class support

USB role is fully controlled by usb role switch consumer(e.g. typec),
usb port can be at host mode(USB_ROLE_HOST), device mode connected to
host(USB_ROLE_DEVICE), or not connecting any partner(USB_ROLE_NONE).

Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/Kconfig
drivers/usb/chipidea/ci.h
drivers/usb/chipidea/core.c
drivers/usb/chipidea/otg.c