| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/connector/ |
| H A D | usb-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 20 - enum: 21 - usb-a-connector 22 - usb-b-connector 23 - usb-c-connector 25 - items: [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/dwc2/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 10 Say Y here if your system has a Dual Role Hi-Speed USB 18 dwc2_platform.ko. For all modes(host, gadget and dual-role), there 33 The Designware USB2.0 high-speed host controller 35 driver to operate in Host-only mode. 37 comment "Gadget/Dual-role mode requires USB Gadget support to be enabled" 43 The Designware USB2.0 high-speed gadget controller 45 driver to operate in Peripheral-only mode. This option requires 49 bool "Dual Role mode" 52 Select this option if you want the driver to work in a dual-role [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/musb/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # USB Dual Role (OTG-ready) Controller Drivers 7 # (M)HDRC = (Multipoint) Highspeed Dual-Role Controller 9 tristate 'Inventra Highspeed Dual Role Controller' 13 Say Y here if your system has a dual role high speed USB 16 it's being used with, including the USB peripheral role, 17 or the USB host role, or both. 27 module will be called "musb-hdrc". 53 bool "Dual Role mode" 80 tristate "DA8xx/OMAP-L1x" [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/ |
| H A D | mediatek,mtu3.txt | 4 - compatible : should be "mediatek,<soc-model>-mtu3", "mediatek,mtu3", 5 soc-model is the name of SoC, such as mt8173, mt2712 etc, 8 - "mediatek,mt8173-mtu3" 9 - reg : specifies physical base address and size of the registers 10 - reg-names: should be "mac" for device IP and "ippc" for IP port control 11 - interrupts : interrupt used by the device IP 12 - power-domains : a phandle to USB power domain node to control USB's 14 - vusb33-supply : regulator of USB avdd3.3v 15 - clocks : a list of phandle + clock-specifier pairs, one for each 16 entry in clock-names [all …]
|
| H A D | fsl-usb.txt | 9 - compatible : Should be "fsl-usb2-mph" for multi port host USB 10 controllers, or "fsl-usb2-dr" for dual role USB controllers 11 or "fsl,mpc5121-usb2-dr" for dual role USB controllers of MPC5121. 13 also be mentioned (for eg. fsl-usb2-dr-v2.2 for bsc9132). 14 - phy_type : For multi port host USB controllers, should be one of 15 "ulpi", or "serial". For dual role USB controllers, should be 17 - reg : Offset and length of the register set for the device 18 - port0 : boolean; if defined, indicates port0 is connected for 19 fsl-usb2-mph compatible controllers. Either this property or 20 "port1" (or both) must be defined for "fsl-usb2-mph" compatible [all …]
|
| H A D | etek,et7303.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 title: Etek ET7303 Type-C Port controller DT bindings 10 - Wang Jie <dave.wang@rock-chips.com> 27 description: TCPC connected to USB controller to support dual-role switch. 30 - port@0 34 $ref: ../connector/usb-connector.yaml# 39 - compatible 40 - reg [all …]
|
| H A D | hynetek,husb311.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 title: Hynetek HUSB311 Type-C Port controller DT bindings 10 - Guenter Roeck <linux@roeck-us.net> 11 - Heikki Krogerus <heikki.krogerus@linux.intel.com> 28 description: TCPC connected to USB controller to support dual-role switch. 31 - port@0 35 $ref: ../connector/usb-connector.yaml# 40 - compatible [all …]
|
| H A D | mediatek,musb.txt | 2 ------------------------------------------- 5 - compatible : should be one of: 6 "mediatek,mt2701-musb" 8 followed by "mediatek,mtk-musb" 9 - reg : specifies physical base address and size of 11 - interrupts : interrupt used by musb controller 12 - interrupt-names : must be "mc" 13 - phys : PHY specifier for the OTG phy 14 - dr_mode : should be one of "host", "peripheral" or "otg", 16 - clocks : a list of phandle + clock-specifier pairs, one for [all …]
|
| H A D | richtek,rt1711h.txt | 4 - compatible : Must be "richtek,rt1711h". 5 - reg : Must be 0x4e, it's slave address of RT1711H. 6 - interrupts : <a b> where a is the interrupt number and b represents an 9 Required sub-node: 10 - connector: The "usb-c-connector" attached to the tcpci chip, the bindings 12 Documentation/devicetree/bindings/connector/usb-connector.yaml 18 interrupt-parent = <&gpio26>; 22 compatible = "usb-c-connector"; 23 label = "USB-C"; 24 data-role = "dual"; [all …]
|
| H A D | typec-tcpci.txt | 2 --------------------------------------------- 5 - compatible: should be set one of following: 6 - "nxp,ptn5110" for NXP USB PD TCPC PHY IC ptn5110. 8 - reg: the i2c slave address of typec port controller device. 9 - interrupt-parent: the phandle to the interrupt controller which provides 11 - interrupts: interrupt specification for tcpci alert. 13 Required sub-node: 14 - connector: The "usb-c-connector" attached to the tcpci chip, the bindings 16 Documentation/devicetree/bindings/connector/usb-connector.yaml 23 interrupt-parent = <&gpio3>; [all …]
|
| H A D | maxim,max33359.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 title: Maxim TCPCI Type-C PD controller DT bindings 10 - Badhri Jagan Sridharan <badhri@google.com> 12 description: Maxim TCPCI Type-C PD controller 17 - maxim,max33359 27 $ref: ../connector/usb-connector.yaml# 32 - compatible 33 - reg [all …]
|
| H A D | mediatek,mt6360-tcpc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/usb/mediatek,mt6360-tcpc.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 title: Mediatek MT6360 Type-C Port Switch and Power Delivery controller DT bindings 10 - ChiYuan Huang <cy_huang@richtek.com> 13 Mediatek MT6360 is a multi-functional device. It integrates charger, ADC, flash, RGB indicators, 15 This document only describes MT6360 Type-C Port Switch and Power Delivery controller. 20 - mediatek,mt6360-tcpc 25 interrupt-names: [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/usb/musb-new/ |
| H A D | Kconfig | 11 Enables the MUSB USB dual-role controller in host mode. 19 Enables the MUSB USB dual-role controller in gadget mode. 25 Say y here to enable support for the dual role high 34 Say y here to enable support for the dual role high 51 ---help---
|
| /OK3568_Linux_fs/kernel/drivers/usb/mtu3/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 6 tristate "MediaTek USB3 Dual Role controller" 13 Dual Role SuperSpeed USB controller. You can select usb 14 mode as peripheral role or host role, or both. 44 bool "Dual Role mode"
|
| H A D | mtu3_dr.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mtu3_dr.c - dual role switch and host glue layer 10 #include <linux/usb/role.h> 44 mtu3_setbits(ssusb->mac_base, U3D_DEVICE_CONTROL, DC_SESSION); in toggle_opstate() 45 mtu3_setbits(ssusb->mac_base, U3D_POWER_MANAGEMENT, SOFT_CONN); in toggle_opstate() 48 /* only port0 supports dual-role mode */ 52 void __iomem *ibase = ssusb->ippc_base; in ssusb_port0_switch() 55 dev_dbg(ssusb->dev, "%s (switch u%d port0 to %s)\n", __func__, in ssusb_port0_switch() 91 dev_dbg(ssusb->dev, "%s\n", __func__); in switch_port_to_host() 95 if (ssusb->otg_switch.is_u3_drd) { in switch_port_to_host() [all …]
|
| H A D | mtu3.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * mtu3.h - MediaTek USB3 DRD header 32 #define MU3D_EP_TXCR0(epnum) (U3D_TX1CSR0 + (((epnum) - 1) * 0x10)) 33 #define MU3D_EP_TXCR1(epnum) (U3D_TX1CSR1 + (((epnum) - 1) * 0x10)) 34 #define MU3D_EP_TXCR2(epnum) (U3D_TX1CSR2 + (((epnum) - 1) * 0x10)) 36 #define MU3D_EP_RXCR0(epnum) (U3D_RX1CSR0 + (((epnum) - 1) * 0x10)) 37 #define MU3D_EP_RXCR1(epnum) (U3D_RX1CSR1 + (((epnum) - 1) * 0x10)) 38 #define MU3D_EP_RXCR2(epnum) (U3D_RX1CSR2 + (((epnum) - 1) * 0x10)) 40 #define USB_QMU_TQHIAR(epnum) (U3D_TXQHIAR1 + (((epnum) - 1) * 0x4)) 41 #define USB_QMU_RQHIAR(epnum) (U3D_RXQHIAR1 + (((epnum) - 1) * 0x4)) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/chipidea/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 tristate "ChipIdea Highspeed Dual Role Controller" 12 Say Y here if your system has a dual role high speed USB 14 Dual-role switch (ID, OTG FSM, sysfs), Host-only, and 15 Peripheral-only.
|
| /OK3568_Linux_fs/kernel/drivers/usb/cdns3/ |
| H A D | Kconfig | 2 tristate "Cadence USB3 Dual-Role Controller" 7 Say Y here if your system has a Cadence USB3 dual-role controller. 8 It supports: dual-role switch, Host-only, and Peripheral-only. 20 Cadence USBSS-DEV driver. 36 tristate "Cadence USB3 support on PCIe-based platforms" 44 be dynamically linked and module will be called cdns3-pci.ko
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A D | sysfs-class-typec | 1 USB Type-C port devices (eg. /sys/class/typec/port0/) 8 requesting data role swapping on the port. Swapping is supported 11 notified about role changes so that poll(2) on the attribute 12 wakes up. Change on the role will also generate uevent 13 KOBJ_CHANGE on the port. The current role is show in brackets, 23 power role swap on the port. Swapping is supported as 26 notified about role changes so that poll(2) on the attribute 27 wakes up. Change on the role will also generate uevent 28 KOBJ_CHANGE. The current role is show in brackets, for example 47 dual (The port will behave as dual-role-data and [all …]
|
| H A D | sysfs-platform-chipidea-usb2 | 1 What: /sys/bus/platform/devices/ci_hdrc.0/role 6 current controller role. 8 It will do role switch when write "gadget" or "host" to it. 9 Only controller at dual-role configuration supports writing.
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/chrome/ |
| H A D | google,cros-ec-typec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/chrome/google,cros-ec-typec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Benson Leung <bleung@chromium.org> 11 - Prashant Malani <pmalani@chromium.org> 17 cros-ec node like google,cros-ec-spi. 21 const: google,cros-ec-typec 24 $ref: /schemas/connector/usb-connector.yaml# 27 - compatible [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/roles/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 tristate "USB Role Switch Support" 6 USB Role Switch is a device that can select the USB role - host or 7 device - for a USB port (connector). In most cases dual-role capable 19 tristate "Intel XHCI USB Role Switch" 22 Driver for the internal USB role switch for switching the USB data 27 be called intel-xhci-usb-role-switch.
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/extcon/ |
| H A D | extcon-max3355.txt | 2 ------------------------------------- 5 integrated USB OTG dual-role transceiver to function as a USB OTG dual-role 9 - compatible: should be "maxim,max3355"; 10 - maxim,shdn-gpios: should contain a phandle and GPIO specifier for the GPIO pin 12 - id-gpios: should contain a phandle and GPIO specifier for the GPIO pin 17 usb-otg { 19 maxim,shdn-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; 20 id-gpios = <&gpio5 31 GPIO_ACTIVE_HIGH>;
|
| /OK3568_Linux_fs/u-boot/drivers/usb/cdns3/ |
| H A D | Kconfig | 2 tristate "Cadence USB3 Dual-Role Controller" 5 Say Y here if your system has a Cadence USB3 dual-role controller. 6 It supports: Host-only, and Peripheral-only. 16 Cadence USBSS-DEV driver. 37 Cadence USBSS-DEV driver in SPL.
|
| /OK3568_Linux_fs/kernel/drivers/usb/isp1760/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 8 or an ISP1761 USB dual-role controller. 11 This USB controller is usually attached to a non-DMA-Master 50 bool "Dual Role mode"
|