/openbmc/u-boot/include/ |
H A D | phy-sun4i-usb.h | 4 * SPDX-License-Identifier: GPL-2.0+ 11 * sun4i_usb_phy_id_detect - detect ID pin of USB PHY 13 * @phy: USB PHY port to detect ID pin 19 * sun4i_usb_phy_vbus_detect - detect VBUS pin of USB PHY 21 * @phy: USB PHY port to detect VBUS pin 27 * sun4i_usb_phy_set_squelch_detect() - Enable/disable squelch detect 29 * @phy: reference to a sun4i usb phy 30 * @enabled: wether to enable or disable squelch detect
|
/openbmc/linux/drivers/usb/common/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 8 bool "USB LED Triggers" 11 This option adds LED triggers for USB host and/or gadget activity. 13 Say Y here if you are working on a system with led-class supported 14 LEDs and you want to use them as activity indicators for USB host or 18 tristate "USB ULPI PHY interface support" 22 USB 2.0 PHY interface. The ULPI specification defines a standard set 23 of registers that can be used to detect the vendor and product which 27 The ULPI interfaces (the buses) are registered by the drivers for USB 33 protocol) and USB charger detection. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | qcom,pmic-typec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/qcom,pmic-typec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PMIC based USB Type-C block 10 - Bryan O'Donoghue <bryan.odonoghue@linaro.org> 13 Qualcomm PMIC Type-C block 18 - qcom,pm8150b-typec 22 $ref: /schemas/connector/usb-connector.yaml# 26 description: Type-C port and pdphy SPMI register base offsets [all …]
|
H A D | usb-nop-xceiv.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/usb-nop-xceiv.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: USB NOP PHY 10 - Rob Herring <robh@kernel.org> 14 const: usb-nop-xceiv 19 clock-names: 22 clock-frequency: true 24 '#phy-cells': [all …]
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon-max77693.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // extcon-max77693.c - MAX77693 extcon driver to support MAX77693 MUIC 8 #include <linux/devm-helpers.h> 18 #include <linux/mfd/max77693-common.h> 19 #include <linux/mfd/max77693-private.h> 20 #include <linux/extcon-provider.h> 24 #define DEV_NAME "max77693-muic" 30 * extcon-max77693 driver use 'default_init_data' to bring up base operation 35 /* STATUS2 - [3]ChgDetRun */ 39 /* INTMASK1 - Unmask [3]ADC1KM,[0]ADCM */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | allwinner,suniv-f1c100s-usb-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/allwinner,suniv-f1c100s-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner F1C100s USB PHY 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#phy-cells": 18 const: allwinner,suniv-f1c100s-usb-phy 24 reg-names: [all …]
|
H A D | allwinner,sun8i-v3s-usb-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/allwinner,sun8i-v3s-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner V3s USB PHY 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#phy-cells": 18 const: allwinner,sun8i-v3s-usb-phy 22 - description: PHY Control registers [all …]
|
H A D | allwinner,sun8i-a23-usb-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/allwinner,sun8i-a23-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A23 USB PHY 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#phy-cells": 19 - allwinner,sun8i-a23-usb-phy 20 - allwinner,sun8i-a33-usb-phy [all …]
|
H A D | allwinner,sun50i-a64-usb-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/allwinner,sun50i-a64-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A64 USB PHY 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#phy-cells": 19 - allwinner,sun20i-d1-usb-phy 20 - allwinner,sun50i-a64-usb-phy [all …]
|
H A D | allwinner,sun5i-a13-usb-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/allwinner,sun5i-a13-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A13 USB PHY 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#phy-cells": 18 const: allwinner,sun5i-a13-usb-phy 22 - description: PHY Control registers [all …]
|
H A D | allwinner,sun6i-a31-usb-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/allwinner,sun6i-a31-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A31 USB PHY 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#phy-cells": 18 const: allwinner,sun6i-a31-usb-phy 22 - description: PHY Control registers [all …]
|
H A D | allwinner,sun8i-r40-usb-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/allwinner,sun8i-r40-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner R40 USB PHY 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#phy-cells": 18 const: allwinner,sun8i-r40-usb-phy 22 - description: PHY Control registers [all …]
|
H A D | allwinner,sun50i-h6-usb-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/allwinner,sun50i-h6-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner H6 USB PHY 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#phy-cells": 18 const: allwinner,sun50i-h6-usb-phy 22 - description: PHY Control registers [all …]
|
H A D | allwinner,sun4i-a10-usb-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/allwinner,sun4i-a10-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 USB PHY 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#phy-cells": 19 - allwinner,sun4i-a10-usb-phy 20 - allwinner,sun7i-a20-usb-phy [all …]
|
H A D | allwinner,sun8i-a83t-usb-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/allwinner,sun8i-a83t-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A83t USB PHY 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#phy-cells": 18 const: allwinner,sun8i-a83t-usb-phy 22 - description: PHY Control registers [all …]
|
H A D | allwinner,sun8i-h3-usb-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/allwinner,sun8i-h3-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner H3 USB PHY 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#phy-cells": 19 - allwinner,sun8i-h3-usb-phy 20 - allwinner,sun50i-h616-usb-phy [all …]
|
/openbmc/linux/drivers/phy/allwinner/ |
H A D | phy-sun4i-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Allwinner sun4i USB phy driver 5 * Copyright (C) 2014-2015 Hans de Goede <hdegoede@redhat.com> 18 #include <linux/extcon-provider.h> 28 #include <linux/phy/phy-sun4i-usb.h> 34 #include <linux/usb/of.h> 142 struct delayed_work detect; member 146 container_of((phy), struct sun4i_usb_phy_data, phys[(phy)->index]) 154 iscr = readl(data->base + REG_ISCR); in sun4i_usb_phy0_update_iscr() 157 writel(iscr, data->base + REG_ISCR); in sun4i_usb_phy0_update_iscr() [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stih410-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "st-pincfg.h" 10 pin-controller-rear@922f080 { 13 pinctrl_usb0: usb2-0 { 15 usb-oc-detect = <&pio35 0 ALT1 IN>; 16 usb-pwr-enable = <&pio35 1 ALT1 OUT>; 22 pinctrl_usb1: usb2-1 { 24 usb-oc-detect = <&pio35 2 ALT1 IN>; 25 usb-pwr-enable = <&pio35 3 ALT1 OUT>;
|
H A D | ste-nomadik-s8815.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree for the ST-Ericsson Nomadik S8815 board 7 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include "ste-nomadik-stn8815.dtsi" 12 model = "Calao Systems USB-S8815"; 13 compatible = "calaosystems,usb-s8815"; 25 /* This hog will bias the MMC/SD card detect line */ 26 mmcsd-gpio { 27 gpio-hog; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | stih410-pinctrl.dtsi | 9 #include "st-pincfg.h" 13 pin-controller-rear { 16 pinctrl_usb0: usb2-0 { 18 usb-oc-detect = <&pio35 0 ALT1 IN>; 19 usb-pwr-enable = <&pio35 1 ALT1 OUT>; 25 pinctrl_usb1: usb2-1 { 27 usb-oc-detect = <&pio35 2 ALT1 IN>; 28 usb-pwr-enable = <&pio35 3 ALT1 OUT>;
|
/openbmc/linux/Documentation/devicetree/bindings/extcon/ |
H A D | qcom,pm8941-misc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/extcon/qcom,pm8941-misc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Technologies, Inc. PM8941 USB ID Extcon device 10 - Guru Das Srinagesh <quic_gurus@quicinc.com> 13 Some Qualcomm PMICs have a "misc" module that can be used to detect when 14 the USB ID pin has been pulled low or high. 19 - const: qcom,pm8941-misc 28 interrupt-names: [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-power-rt9471 | 1 What: /sys/class/power_supply/rt9471-*/sysoff_enable 16 - 1: enabled 17 - 0: disabled 19 What: /sys/class/power_supply/rt9471-*/port_detect_enable 24 This entry allows enabling the USB BC12 port detect function of rt9471 charger 26 port detect and report the usb port type when port detect is done. See 31 - 1: enabled 32 - 0: disabled
|
/openbmc/linux/drivers/usb/renesas_usbhs/ |
H A D | common.h | 1 /* SPDX-License-Identifier: GPL-1.0+ */ 3 * Renesas USB driver 16 #include <linux/usb/renesas_usbhs.h> 52 #define USBREQ 0x0054 /* USB request type register */ 53 #define USBVAL 0x0056 /* USB request value register */ 54 #define USBINDX 0x0058 /* USB request index register */ 55 #define USBLENG 0x005A /* USB request length register */ 100 #define D2FIFOSEL 0x00F0 /* for R-Car Gen2 */ 101 #define D2FIFOCTR 0x00F2 /* for R-Car Gen2 */ 102 #define D3FIFOSEL 0x00F4 /* for R-Car Gen2 */ [all …]
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | xhci-fsl.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * FSL USB HOST xHCI Controller 11 #include <usb.h> 14 #include <linux/usb/xhci-fsl.h> 15 #include <linux/usb/dwc3.h> 61 clrsetbits_le32(&dwc3_reg->g_sbuscfg0, USB3_ENABLE_BEAT_BURST_MASK, in fsl_xhci_set_beat_burst_length() 63 setbits_le32(&dwc3_reg->g_sbuscfg1, USB3_SET_BEAT_BURST_LIMIT); in fsl_xhci_set_beat_burst_length() 70 ret = dwc3_core_init(fsl_xhci->dwc3_reg); in fsl_xhci_core_init() 76 /* We are hard-coding DWC3 core to Host Mode */ in fsl_xhci_core_init() 77 dwc3_set_mode(fsl_xhci->dwc3_reg, DWC3_GCTL_PRTCAP_HOST); in fsl_xhci_core_init() [all …]
|
/openbmc/linux/arch/arm/mach-pxa/ |
H A D | irqs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/mach-pxa/include/mach/irqs.h 19 #define IRQ_USBH2 PXA_IRQ(2) /* USB Host interrupt 1 (OHCI,PXA27x) */ 20 #define IRQ_USBH1 PXA_IRQ(3) /* USB Host interrupt 2 (non-OHCI,PXA27x) */ 23 #define IRQ_ACIPC0 PXA_IRQ(5) /* AP-CP Communication (PXA930) */ 26 #define IRQ_OST_4_11 PXA_IRQ(7) /* OS timer 4-11 matches (PXA27x) */ 27 #define IRQ_GPIO0 PXA_IRQ(8) /* GPIO0 Edge Detect */ 28 #define IRQ_GPIO1 PXA_IRQ(9) /* GPIO1 Edge Detect */ 29 #define IRQ_GPIO_2_x PXA_IRQ(10) /* GPIO[2-x] Edge Detect */ 30 #define IRQ_USB PXA_IRQ(11) /* USB Service */ [all …]
|