Home
last modified time | relevance | path

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

12345678910>>...13

/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 …]
Dphy-stm32-usbphyc.txt3 The STM32 USBPHYC block contains a dual port High Speed UTMI+ PHY and a UTMI
5 selects either OTG or HOST controller for the second PHY port. It also sets
11 |_ PHY port#1 _________________ HOST controller
14 |_ PHY port#2 ----| |________________
16 |_ UTMI switch_______| OTG controller
23 - compatible: must be "st,stm32mp1-usbphyc"
24 - reg: address and length of the usb phy control register set
25 - clocks: phandle + clock specifier for the PLL phy clock
26 - #address-cells: number of address cells for phys sub-nodes, must be <1>
27 - #size-cells: number of size cells for phys sub-nodes, must be <0>
[all …]
Dnvidia,tegra124-xusb-padctl.txt11 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or
12 super-speed USB. Other lanes are for various types of low-speed, full-speed
13 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller
14 contains a software-configurable mux that sits between the I/O controller
17 In addition to per-lane configuration, USB 3.0 ports may require additional
18 settings on a per-board basis.
20 Pads will be represented as children of the top-level XUSB pad controller
23 PHY bindings, as described by the phy-bindings.txt file in this directory.
27 "port" is typically used to denote the physical USB receptacle. The device
28 tree binding in this document uses the term "port" to refer to the logical
[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-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-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-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-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 */
Dusb-omap1.h15 * - "A" connector (rectagular)
17 * - "B" connector (squarish) or "Mini-B"
19 * - "Mini-AB" connector (very similar to Mini-B)
20 * ... for OTG use as device OR host, initialize "otg"
24 u8 otg; /* port number, 1-based: usb1 == 2 */ member
26 const char *extcon; /* extcon device for OTG */
30 /* implicitly true if otg: host supports remote wakeup? */
35 * 2 == usb0-only, using internal transceiver
/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-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-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-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
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dbq24190.txt1 TI BQ24190 Li-Ion Battery Charger
4 - compatible: contains one of the following:
9 - reg: integer, I2C address of the charger.
10 - interrupts[-extended]: configuration for charger INT pin.
13 - monitored-battery: phandle of battery characteristics devicetree node
15 + precharge-current-microamp: maximum charge current during precharge
17 + charge-term-current-microamp: a charge cycle terminates when the
21 - ti,system-minimum-microvolt: when power is connected and the battery is below
25 - usb-otg-vbus:
28 either USB host mode or for charging on the OTG port.
[all …]
/kernel/linux/linux-5.10/Documentation/usb/
Dchipidea.rst5 1. How to test OTG FSM(HNP and SRP)
6 -----------------------------------
8 To show how to demo OTG HNP and SRP functions via sys input files
11 1.1 How to enable OTG FSM
12 -------------------------
18 variables for otg fsm, mount debugfs, there are 2 files
19 which can show otg fsm variables and some controller registers value::
21 cat /sys/kernel/debug/ci_hdrc.0/otg
29 otg-rev = <0x0200>;
30 adp-disable;
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/renesas/
Dr8a77951-salvator-xs.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the Salvator-X 2nd version board with R-Car H3 ES2.0+
5 * Copyright (C) 2015-2017 Renesas Electronics Corp.
8 /dts-v1/;
10 #include "salvator-xs.dtsi"
13 model = "Renesas Salvator-X 2nd version board based on r8a77951";
14 compatible = "renesas,salvator-xs", "renesas,r8a7795";
47 clock-names = "du.0", "du.1", "du.2", "du.3",
56 dr_mode = "otg";
64 port@1 {
[all …]
Dulcb-kf.dtsi1 // SPDX-License-Identifier: GPL-2.0
10 * SSI-PCM3168A
11 * aplay -D plughw:0,2 xxx.wav
12 * arecord -D plughw:0,3 xxx.wav
23 #clock-cells = <0>;
24 compatible = "gpio-mux-clock";
26 select-gpios = <&gpio_exp_75 13 GPIO_ACTIVE_HIGH>;
29 snd_3p3v: regulator-snd_3p3v {
30 compatible = "regulator-fixed";
31 regulator-name = "snd-3.3v";
[all …]
/kernel/linux/linux-5.10/drivers/phy/tegra/
Dxusb.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved.
31 if (args->args_count != 0) in tegra_xusb_pad_of_xlate()
32 return ERR_PTR(-EINVAL); in tegra_xusb_pad_of_xlate()
34 for (i = 0; i < pad->soc->num_lanes; i++) { in tegra_xusb_pad_of_xlate()
35 if (!pad->lanes[i]) in tegra_xusb_pad_of_xlate()
38 if (pad->lanes[i]->dev.of_node == args->np) { in tegra_xusb_pad_of_xlate()
39 phy = pad->lanes[i]; in tegra_xusb_pad_of_xlate()
45 phy = ERR_PTR(-ENODEV); in tegra_xusb_pad_of_xlate()
53 .compatible = "nvidia,tegra124-xusb-padctl",
[all …]
/kernel/linux/linux-5.10/drivers/usb/phy/
Dphy-fsl-usb.h1 /* SPDX-License-Identifier: GPL-2.0+ */
4 #include <linux/usb/otg-fsm.h>
5 #include <linux/usb/otg.h>
30 /* bit 9-8 are async schedule park mode count */
37 /* bit 23-16 are interrupt threshold control */
77 /* PORTSC Register Bit Masks,Only one PORT in OTG mode*/
99 /* bit 11-10 are line status */
106 /* bit 15-14 are port indicator control */
113 /* bit 19-16 are port test control */
122 /* bit 27-26 are port speed */
[all …]
Dphy-fsl-usb.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Jerry Huang <Chang-Ming.Huang@freescale.com>
32 #include "phy-fsl-usb.h"
43 #define DRIVER_DESC "Freescale USB OTG Transceiver Driver"
46 static const char driver_name[] = "fsl-usb2-otg";
109 fsl_writel(temp, &usb_dr_regs->ulpiview); in write_ulpi()
113 /* -------------------------------------------------------------*/
114 /* Operations that will be called from OTG Finite State Machine */
121 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_chrg_vbus()
131 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_chrg_vbus()
[all …]
/kernel/linux/linux-5.10/drivers/usb/core/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
30 Documentation/driver-api/usb/persist.rst for more info.
43 no more than 30 seconds (as required by the USB OTG spec).
45 Say N here unless you require new-device enumeration failure to
60 bool "OTG support"
63 The most notable feature of USB OTG is support for a
64 "Dual-Role" device, which can act as either a device
69 Select this only if your board has Mini-AB/Micro-AB
73 bool "Rely on OTG and EH Targeted Peripherals List"
79 USB OTG and EH specification for all devices not on your product's
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Dehci-tegra.c1 // SPDX-License-Identifier: GPL-2.0+
3 * EHCI-compliant USB host controller driver for NVIDIA Tegra SoCs
6 * Copyright (C) 2009 - 2013 NVIDIA Corporation
10 #include <linux/dma-mapping.h>
27 #include <linux/usb/otg.h>
36 #define DRV_NAME "tegra-ehci"
56 (struct tegra_ehci_hcd *)hcd_to_ehci(hcd)->priv; in tegra_reset_usb_controller()
60 phy_np = of_parse_phandle(pdev->dev.of_node, "nvidia,phy", 0); in tegra_reset_usb_controller()
62 return -ENOENT; in tegra_reset_usb_controller()
69 rst = of_reset_control_get_shared(phy_np, "utmi-pads"); in tegra_reset_usb_controller()
[all …]

12345678910>>...13