/linux-6.14.4/drivers/usb/phy/ |
D | phy-gpio-vbus-usb.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * gpio-vbus.c - simple GPIO VBUS sensing driver for B peripheral devices 10 #include <linux/gpio/consumer.h> 20 #include <linux/usb/otg.h> 24 * A simple GPIO VBUS sensing driver for B peripheral only devices 25 * with internal transceivers. It can control a D+ pullup GPIO and 60 struct regulator *vbus_draw = gpio_vbus->vbus_draw; in set_vbus_draw() 67 enabled = gpio_vbus->vbus_draw_enabled; in set_vbus_draw() 74 gpio_vbus->vbus_draw_enabled = 1; in set_vbus_draw() 81 gpio_vbus->vbus_draw_enabled = 0; in set_vbus_draw() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 19 Enable this to support the USB OTG transceiver in AB8500 chip. 24 tristate "Freescale USB OTG Transceiver Driver" 29 Enable this to support Freescale USB OTG transceiver. 42 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, NOP can't be built-in 46 built-in with usb ip or which are autonomous and doesn't require any 68 Enable this to support the USB OTG transceiver on TWL6030 70 and OTG SRP events capabilities. For all other transceiver functionality 73 The definition of internal PHY APIs are in the mach-omap2 layer. 76 tristate "GPIO based peripheral-only VBUS sensing 'transceiver'" [all …]
|
D | phy-generic.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * NOP USB transceiver for all USB transceiver which are either built-in 16 #include <linux/dma-mapping.h> 18 #include <linux/usb/otg.h> 24 #include <linux/gpio/consumer.h> 27 #include "phy-generic.h" 48 struct usb_phy_generic *nop = dev_get_drvdata(x->dev); in nop_set_suspend() 52 if (!IS_ERR(nop->clk)) in nop_set_suspend() 53 clk_disable_unprepare(nop->clk); in nop_set_suspend() 54 if (!IS_ERR(nop->vcc) && !device_may_wakeup(x->dev)) in nop_set_suspend() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/phy/ |
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# 10 - Chen-Yu Tsai <[email protected]> 11 - Maxime Ripard <[email protected]> 14 "#phy-cells": 18 const: allwinner,suniv-f1c100s-usb-phy 24 reg-names: 29 description: USB OTG PHY bus clock [all …]
|
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# 10 - Chen-Yu Tsai <[email protected]> 11 - Maxime Ripard <[email protected]> 14 "#phy-cells": 18 const: allwinner,sun8i-v3s-usb-phy 22 - description: PHY Control registers 23 - description: PHY PMU0 registers [all …]
|
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# 10 - Chen-Yu Tsai <[email protected]> 11 - Maxime Ripard <[email protected]> 14 "#phy-cells": 18 const: allwinner,sun5i-a13-usb-phy 22 - description: PHY Control registers 23 - description: PHY PMU1 registers [all …]
|
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# 10 - Chen-Yu Tsai <[email protected]> 11 - Maxime Ripard <[email protected]> 14 "#phy-cells": 19 - allwinner,sun8i-a23-usb-phy 20 - allwinner,sun8i-a33-usb-phy 24 - description: PHY Control registers [all …]
|
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# 10 - Chen-Yu Tsai <[email protected]> 11 - Maxime Ripard <[email protected]> 14 "#phy-cells": 18 const: allwinner,sun50i-h6-usb-phy 22 - description: PHY Control registers 23 - description: PHY PMU0 registers [all …]
|
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# 10 - Chen-Yu Tsai <[email protected]> 11 - Maxime Ripard <[email protected]> 14 "#phy-cells": 19 - enum: 20 - allwinner,sun20i-d1-usb-phy 21 - allwinner,sun50i-a64-usb-phy [all …]
|
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# 10 - Chen-Yu Tsai <[email protected]> 11 - Maxime Ripard <[email protected]> 14 "#phy-cells": 18 const: allwinner,sun6i-a31-usb-phy 22 - description: PHY Control registers 23 - description: PHY PMU1 registers [all …]
|
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# 10 - Chen-Yu Tsai <[email protected]> 11 - Maxime Ripard <[email protected]> 14 "#phy-cells": 18 const: allwinner,sun8i-r40-usb-phy 22 - description: PHY Control registers 23 - description: PHY PMU0 registers [all …]
|
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# 10 - Chen-Yu Tsai <[email protected]> 11 - Maxime Ripard <[email protected]> 14 "#phy-cells": 18 const: allwinner,sun8i-a83t-usb-phy 22 - description: PHY Control registers 23 - description: PHY PMU1 registers [all …]
|
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# 10 - Chen-Yu Tsai <[email protected]> 11 - Maxime Ripard <[email protected]> 14 "#phy-cells": 19 - allwinner,sun4i-a10-usb-phy 20 - allwinner,sun7i-a20-usb-phy 24 - description: PHY Control registers [all …]
|
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# 10 - Chen-Yu Tsai <[email protected]> 11 - Maxime Ripard <[email protected]> 14 "#phy-cells": 19 - allwinner,sun8i-h3-usb-phy 20 - allwinner,sun50i-h616-usb-phy 24 - description: PHY Control registers [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/extcon/ |
D | extcon-max3355.txt | 1 Maxim Integrated MAX3355 USB OTG chip 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>;
|
/linux-6.14.4/drivers/phy/motorola/ |
D | phy-cpcap-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * board-mapphone-usb.c and cpcap-usb-det.c: 8 * Copyright (C) 2007 - 2011 Motorola, Inc. 24 #include <linux/gpio/consumer.h> 25 #include <linux/mfd/motorola-cpcap.h> 122 struct gpio_desc *gpio[2]; member 135 error = iio_read_channel_processed(ddata->vbus, &value); in cpcap_usb_vbus_valid() 139 dev_err(ddata->dev, "error reading VBUS: %i\n", error); in cpcap_usb_vbus_valid() 144 static int cpcap_usb_phy_set_host(struct usb_otg *otg, struct usb_bus *host) in cpcap_usb_phy_set_host() argument 146 otg->host = host; in cpcap_usb_phy_set_host() [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/renesas/ |
D | ulcb-kf.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 13 * // if you use xxxx-mix+split.dtsi 14 * > amixer -D hw:1 set "pcm3168a DAC1" 50% 15 * > amixer -D hw:1 set "pcm3168a DAC2" 50% 16 * > amixer -D hw:1 set "pcm3168a DAC3" 50% 17 * > amixer -D hw:1 set "pcm3168a DAC4" 50% 20 * > amixer -D hw:1 set "DAC1" 50% 21 * > amixer -D hw:1 set "DAC2" 50% 22 * > amixer -D hw:1 set "DAC3" 50% 23 * > amixer -D hw:1 set "DAC4" 50% [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/power/supply/ |
D | richtek,rt9467.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <[email protected]> 11 - ChiaEn Wu <[email protected]> 14 RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger for 16 MOSFETs, input current sensing and regulation, high-accuracy voltage 20 The RT9467 also features USB On-The-Go (OTG) support. It also integrates 21 D+/D- pin for USB host/charging port detection. 24 https://www.richtek.com/assets/product_file/RT9467/DS9467-01.pdf [all …]
|
D | richtek,rt9471.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alina Yu <[email protected]> 11 - ChiYuan Huang <[email protected]> 14 RT9471 is a switch-mode single cell Li-Ion/Li-Polymer battery charger for 19 https://www.richtek.com/assets/product_file/RT9471=RT9471D/DS9471D-02.pdf 28 charge-enable-gpios: 29 description: GPIO used to turn on and off charging. 32 wakeup-source: true [all …]
|
/linux-6.14.4/Documentation/firmware-guide/acpi/ |
D | extcon-intel-int3496.rst | 6 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 15 to 3 gpio descriptors from its ACPI _CRS (Current Resource Settings) call: 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 22 Index 2 The output gpio for muxing of the data pins between the USB host and 27 There is a mapping between indices and GPIO connection IDs as follows
|
/linux-6.14.4/drivers/extcon/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 host USB ports. Many of 30-pin connectors including PDMI are 25 tristate "X-Power AXP288 EXTCON support" 30 and USB MUX switching by X-Power AXP288 PMIC. 45 tristate "GPIO extcon support" 48 Say Y here to enable GPIO based extcon support. Note that GPIO 55 Say Y here to enable extcon support for USB OTG ports controlled by 100 tristate "Maxim MAX3355 USB OTG EXTCON Support" 103 If you say yes here you get support for the USB OTG role detection by 105 enable a system with an integrated USB OTG dual-role transceiver to [all …]
|
/linux-6.14.4/arch/mips/boot/dts/ingenic/ |
D | gcw0.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 #include <dt-bindings/clock/ingenic,tcu.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/iio/adc/ingenic,adc.h> 9 #include <dt-bindings/input/input.h> 29 stdout-path = "serial2:57600n8"; 33 compatible = "regulator-fixed"; 34 regulator-name = "vcc"; 36 regulator-min-microvolt = <3300000>; [all …]
|
/linux-6.14.4/drivers/usb/musb/ |
D | tusb6010.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * TUSB6010 USB 2.0 OTG Dual Role controller 9 * - Driver assumes that interface to external host (main CPU) is 14 #include <linux/gpio/consumer.h> 27 #include <linux/dma-mapping.h> 51 void __iomem *tbase = musb->ctrl_base; in tusb_get_revision() 68 void __iomem *tbase = musb->ctrl_base; in tusb_print_revision() 71 rev = musb->tusb_revision; in tusb_print_revision() 80 "gpio", in tusb_print_revision() 96 * Workaround for spontaneous WBUS wake-up issue #2 for tusb3.0. [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/freescale/ |
D | imx8mq-tqma8mq-mba8mx.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright 2019-2021 TQ-Systems GmbH 6 /dts-v1/; 8 #include "imx8mq-tqma8mq.dtsi" 12 model = "TQ-Systems GmbH i.MX8MQ TQMa8MQ on MBa8Mx"; 13 compatible = "tq,imx8mq-tqma8mq-mba8mx", "tq,imx8mq-tqma8mq", "fsl,imx8mq"; 14 chassis-type = "embedded"; 24 extcon_usbotg: extcon-usbotg0 { 25 compatible = "linux,extcon-usb-gpio"; 26 pinctrl-names = "default"; [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/usb/ |
D | mediatek,musb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: MediaTek MUSB DRD/OTG Controller 11 - Min Guo <[email protected]> 15 pattern: '^usb@[0-9a-f]+$' 19 - enum: 20 - mediatek,mt8516-musb 21 - mediatek,mt2701-musb 22 - mediatek,mt7623-musb [all …]
|