Home
last modified time | relevance | path

Searched +full:otg +full:- +full:port (Results 1 – 25 of 515) sorted by relevance

12345678910>>...21

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/phy/
Dphy-rockchip-inno-usb2.txt4 - compatible : should be one of the listed compatibles:
5 * "rockchip,rk3228-usb2phy"
6 * "rockchip,rk3328-usb2phy"
7 * "rockchip,rk3366-usb2phy"
8 * "rockchip,rk3399-usb2phy"
9 * "rockchip,rv1108-usb2phy"
10 - reg : the address offset of grf for usb-phy configuration.
11 - #clock-cells : should be 0.
12 - clock-output-names : specify the 480m output clock name.
15 - clocks : phandle + phy specifier pair, for the input clock of phy.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Dphy-rockchip-inno-usb2.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/phy/phy-rockchip-inno-usb2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Heiko Stuebner <heiko@sntech.de>
15 - rockchip,px30-usb2phy
16 - rockchip,rk3228-usb2phy
17 - rockchip,rk3328-usb2phy
18 - rockchip,rk3366-usb2phy
19 - rockchip,rk3399-usb2phy
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/
Dste-dma40.txt4 - compatible: "stericsson,dma40"
5 - reg: Address range of the DMAC registers
6 - reg-names: Names of the above areas to use during resource look-up
7 - interrupt: Should contain the DMAC interrupt number
8 - #dma-cells: must be <3>
9 - memcpy-channels: Channels to be used for memcpy
12 - dma-channels: Number of channels supported by hardware - if not present
14 - disabled-channels: Channels which can not be used
18 dma: dma-controller@801c0000 {
19 compatible = "stericsson,db8500-dma40", "stericsson,dma40";
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/dma/
Dste-dma40.txt4 - compatible: "stericsson,dma40"
5 - reg: Address range of the DMAC registers
6 - reg-names: Names of the above areas to use during resource look-up
7 - interrupt: Should contain the DMAC interrupt number
8 - #dma-cells: must be <3>
9 - memcpy-channels: Channels to be used for memcpy
12 - dma-channels: Number of channels supported by hardware - if not present
14 - disabled-channels: Channels which can not be used
18 dma: dma-controller@801c0000 {
19 compatible = "stericsson,db8500-dma40", "stericsson,dma40";
[all …]
/kernel/linux/linux-4.19/drivers/usb/musb/
Dmusb_virthub.c1 // SPDX-License-Identifier: GPL-2.0
3 * MUSB OTG driver virtual root hub support
6 * Copyright (C) 2005-2006 by Texas Instruments
7 * Copyright (C) 2006-2007 Nokia Corporation
29 spin_lock_irqsave(&musb->lock, flags); in musb_host_finish_resume()
31 power = musb_readb(musb->mregs, MUSB_POWER); in musb_host_finish_resume()
33 musb_dbg(musb, "root port resume stopped, power %02x", power); in musb_host_finish_resume()
34 musb_writeb(musb->mregs, MUSB_POWER, power); in musb_host_finish_resume()
41 musb->is_active = 1; in musb_host_finish_resume()
42 musb->port1_status &= ~(USB_PORT_STAT_SUSPEND | MUSB_PORT_STAT_RESUME); in musb_host_finish_resume()
[all …]
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmusb_virthub.c1 // SPDX-License-Identifier: GPL-2.0
3 * MUSB OTG driver virtual root hub support
6 * Copyright (C) 2005-2006 by Texas Instruments
7 * Copyright (C) 2006-2007 Nokia Corporation
29 spin_lock_irqsave(&musb->lock, flags); in musb_host_finish_resume()
31 power = musb_readb(musb->mregs, MUSB_POWER); in musb_host_finish_resume()
33 musb_dbg(musb, "root port resume stopped, power %02x", power); in musb_host_finish_resume()
34 musb_writeb(musb->mregs, MUSB_POWER, power); in musb_host_finish_resume()
41 musb->is_active = 1; in musb_host_finish_resume()
42 musb->port1_status &= ~(USB_PORT_STAT_SUSPEND | MUSB_PORT_STAT_RESUME); in musb_host_finish_resume()
[all …]
/kernel/linux/linux-4.19/Documentation/ABI/stable/
Dsysfs-class-udc6 Indicates if an OTG A-Host supports HNP at an alternate port.
14 Indicates if an OTG A-Host supports HNP at this port.
22 Indicates if an OTG A-Host enabled HNP support.
30 Indicates the current negotiated speed at this port.
38 Indicates that this port is the default Host on an OTG session
47 Indicates that this port support OTG.
55 Indicates the maximum USB speed supported by this port.
81 states are: 'not-attached', 'attached', 'powered',
/kernel/linux/linux-5.10/Documentation/ABI/stable/
Dsysfs-class-udc6 Indicates if an OTG A-Host supports HNP at an alternate port.
14 Indicates if an OTG A-Host supports HNP at this port.
22 Indicates if an OTG A-Host enabled HNP support.
30 Indicates the current negotiated speed at this port.
38 Indicates that this port is the default Host on an OTG session
47 Indicates that this port support OTG.
55 Indicates the maximum USB speed supported by this port.
81 states are: 'not-attached', 'attached', 'powered',
/kernel/linux/linux-4.19/arch/arm/mach-pxa/
Dregs-u2d.h1 /* SPDX-License-Identifier: GPL-2.0 */
21 #define U2DCR_DWRE (1 << 16) /* Device Remote Wake-up Feature */
32 #define U2DINT_CC (1 << 31) /* Interrupt - Configuration Change */
33 #define U2DINT_SOF (1 << 30) /* Interrupt - SOF */
34 #define U2DINT_USOF (1 << 29) /* Interrupt - micro SOF */
35 #define U2DINT_RU (1 << 28) /* Interrupt - Resume */
36 #define U2DINT_SU (1 << 27) /* Interrupt - Suspend */
37 #define U2DINT_RS (1 << 26) /* Interrupt - Reset */
38 #define U2DINT_DPE (1 << 25) /* Interrupt - Data Packet Error */
39 #define U2DINT_FIFOERR (0x4) /* Interrupt - endpoint FIFO error */
[all …]
Dpxa27x-udc.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #define UDCCR_OEN (1 << 31) /* On-the-Go Enable */
11 #define UDCCR_AALTHNP (1 << 30) /* A-device Alternate Host Negotiation
12 Protocol Port Support */
13 #define UDCCR_AHNP (1 << 29) /* A-device Host Negotiation Protocol
15 #define UDCCR_BHNP (1 << 28) /* B-device Host Negotiation Protocol
17 #define UDCCR_DWRE (1 << 16) /* Device Remote Wake-up Enable */
42 #define UDCICR1_IECC (1 << 31) /* IntEn - Configuration Change */
43 #define UDCICR1_IESOF (1 << 30) /* IntEn - Start of Frame */
44 #define UDCICR1_IERU (1 << 29) /* IntEn - Resume */
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dregs-u2d.h1 /* SPDX-License-Identifier: GPL-2.0 */
21 #define U2DCR_DWRE (1 << 16) /* Device Remote Wake-up Feature */
32 #define U2DINT_CC (1 << 31) /* Interrupt - Configuration Change */
33 #define U2DINT_SOF (1 << 30) /* Interrupt - SOF */
34 #define U2DINT_USOF (1 << 29) /* Interrupt - micro SOF */
35 #define U2DINT_RU (1 << 28) /* Interrupt - Resume */
36 #define U2DINT_SU (1 << 27) /* Interrupt - Suspend */
37 #define U2DINT_RS (1 << 26) /* Interrupt - Reset */
38 #define U2DINT_DPE (1 << 25) /* Interrupt - Data Packet Error */
39 #define U2DINT_FIFOERR (0x4) /* Interrupt - endpoint FIFO error */
[all …]
Dpxa27x-udc.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #define UDCCR_OEN (1 << 31) /* On-the-Go Enable */
11 #define UDCCR_AALTHNP (1 << 30) /* A-device Alternate Host Negotiation
12 Protocol Port Support */
13 #define UDCCR_AHNP (1 << 29) /* A-device Host Negotiation Protocol
15 #define UDCCR_BHNP (1 << 28) /* B-device Host Negotiation Protocol
17 #define UDCCR_DWRE (1 << 16) /* Device Remote Wake-up Enable */
42 #define UDCICR1_IECC (1 << 31) /* IntEn - Configuration Change */
43 #define UDCICR1_IESOF (1 << 30) /* IntEn - Start of Frame */
44 #define UDCICR1_IERU (1 << 29) /* IntEn - Resume */
[all …]
/kernel/linux/linux-4.19/drivers/extcon/
DKconfig10 host USB ports. Many of 30-pin connectors including PDMI are
32 tristate "X-Power AXP288 EXTCON support"
37 and USB MUX switching by X-Power AXP288 PMIC.
50 Say Y here to enable extcon support for USB OTG ports controlled by
70 Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory
74 tristate "Maxim MAX3355 USB OTG EXTCON Support"
77 If you say yes here you get support for the USB OTG role detection by
79 enable a system with an integrated USB OTG dual-role transceiver to
80 function as an USB OTG dual-role device.
89 Maxim MAX77693 PMIC. The MAX77693 MUIC is a USB port accessory
[all …]
/kernel/linux/linux-5.10/include/linux/platform_data/
Dusb-mx2.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
19 enum mx21_usbh_xcvr otg_xcvr; /* tranceiver mode otg (as host) port */
22 enable_otg_host:1, /* enable "OTG" port (as host) */
23 host1_xcverless:1, /* traceiverless host1 port */
25 otg_ext_xcvr:1, /* external tranceiver for OTG port */
/kernel/linux/linux-5.10/drivers/extcon/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
11 host USB ports. Many of 30-pin connectors including PDMI are
33 tristate "X-Power AXP288 EXTCON support"
38 and USB MUX switching by X-Power AXP288 PMIC.
48 port accessory detector and switch. The FSA9480 is fully controlled using
50 and UART data to use a common connector port.
63 Say Y here to enable extcon support for USB OTG ports controlled by
90 Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory
94 tristate "Maxim MAX3355 USB OTG EXTCON Support"
97 If you say yes here you get support for the USB OTG role detection by
[all …]
/kernel/linux/linux-4.19/Documentation/extcon/
Dintel-int3496.txt2 -----------------------------------------------------
5 devices with an acpi-id of INT3496, such as found for example on
8 This ACPI device describes how the OS can read the id-pin of the devices'
9 USB-otg port, as well as how it optionally can enable Vbus output on the
10 otg port and how it can optionally control the muxing of the data pins
16 Index 0: The input gpio for the id-pin, this is always present and valid
17 Index 1: The output gpio for enabling Vbus output from the device to the otg
18 port, write 1 to enable the Vbus output (this gpio descriptor may
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Damlogic,meson-g12a-usb-ctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: "http://devicetree.org/schemas/usb/amlogic,meson-g12a-usb-ctrl.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Neil Armstrong <narmstrong@baylibre.com>
15 in host-only mode, and a DWC2 IP Core configured for USB2 peripheral mode
20 One of the USB2 PHYs can be re-routed in peripheral mode to a DWC2 USB IP.
23 connected to the Glue to serve as OTG ID change detection.
26 host-only mode.
33 - amlogic,meson-gxl-usb-ctrl
[all …]
Dfsl-usb.txt9 - 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
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
22 - port1 : boolean; if defined, indicates port1 is connected for
[all …]
/kernel/linux/linux-4.19/Documentation/driver-api/usb/
Dgadget.rst11 This document presents a Linux-USB "Gadget" kernel mode API, for use
17 - Supports USB 2.0, for high speed devices which can stream data at
20 - Handles devices with dozens of endpoints just as well as ones with
21 just two fixed-function ones. Gadget drivers can be written so
22 they're easy to port to new hardware.
24 - Flexible enough to expose more complex USB device capabilities such
28 - USB "On-The-Go" (OTG) support, in conjunction with updates to the
29 Linux-USB host side.
31 - Sharing data structures and API models with the Linux-USB host side
32 API. This helps the OTG support, and looks forward to more-symmetric
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/usb/
Dgadget.rst11 This document presents a Linux-USB "Gadget" kernel mode API, for use
17 - Supports USB 2.0, for high speed devices which can stream data at
20 - Handles devices with dozens of endpoints just as well as ones with
21 just two fixed-function ones. Gadget drivers can be written so
22 they're easy to port to new hardware.
24 - Flexible enough to expose more complex USB device capabilities such
28 - USB "On-The-Go" (OTG) support, in conjunction with updates to the
29 Linux-USB host side.
31 - Sharing data structures and API models with the Linux-USB host side
32 API. This helps the OTG support, and looks forward to more-symmetric
[all …]
/kernel/linux/linux-5.10/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include <linux/clk-provider.h>
11 #include <linux/extcon-provider.h>
29 #include <linux/usb/otg.h>
49 * enum usb_chg_state - Different states involved in USB charger detection.
88 * struct rockchip_chg_det_reg - usb charger detect registers
89 * @cp_det: charging port detected successfully.
90 * @dcp_det: dedicated charging port detected successfully.
114 * struct rockchip_usb2phy_port_cfg - usb-phy port configuration.
142 * struct rockchip_usb2phy_cfg - usb-phy configuration.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/usb/
Dfsl-usb.txt9 - 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
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
22 - port1 : boolean; if defined, indicates port1 is connected for
[all …]
/kernel/linux/linux-4.19/Documentation/usb/
Dchipidea.txt1 1. How to test OTG FSM(HNP and SRP)
2 -----------------------------------
3 To show how to demo OTG HNP and SRP functions via sys input files
6 1.1 How to enable OTG FSM
7 ---------------------------------------
10 variables for otg fsm, mount debugfs, there are 2 files
11 which can show otg fsm variables and some controller registers value:
12 cat /sys/kernel/debug/ci_hdrc.0/otg
15 otg-rev = <0x0200>;
16 adp-disable;
[all …]
/kernel/linux/linux-4.19/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c18 #include <linux/clk-provider.h>
20 #include <linux/extcon-provider.h>
38 #include <linux/usb/otg.h>
98 * @cp_det: charging port detected successfully.
99 * @dcp_det: dedicated charging port detected successfully.
123 * struct rockchip_usb2phy_port_cfg: usb-phy port configuration.
151 * struct rockchip_usb2phy_cfg: usb-phy configuration.
152 * @reg: the address offset of grf for usb-phy config.
166 * struct rockchip_usb2phy_port: usb-phy port data.
167 * @port_id: flag for otg port or host port.
[all …]
/kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/
Dextcon-intel-int3496.rst6 devices with an acpi-id of INT3496, such as found for example on
9 This ACPI device describes how the OS can read the id-pin of the devices'
10 USB-otg port, as well as how it optionally can enable Vbus output on the
11 otg port and how it can optionally control the muxing of the data pins
18 Index 0 The input gpio for the id-pin, this is always present and valid
19 Index 1 The output gpio for enabling Vbus output from the device to the otg
20 port, write 1 to enable the Vbus output (this gpio descriptor may

12345678910>>...21