/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | omap-usb-host.txt | 5 - compatible: should be "ti,usbhs-host" 6 - reg: should contain one register range i.e. start and length 7 - ti,hwmods: must contain "usb_host_hs" 11 - num-ports: number of USB ports. Usually this is automatically detected 15 - portN-mode: String specifying the port mode for port N, where N can be 16 from 1 to 3. If the port mode is not specified, that port is treated 18 "ehci-phy", 19 "ehci-tll", 20 "ehci-hsic", 21 "ohci-phy-6pin-datse0", [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/phy/ |
D | nvidia,tegra186-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra186-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22 super-speed USB. Other lanes are for various types of low-speed, full-speed 23 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller 24 contains a software-configurable mux that sits between the I/O controller [all …]
|
D | nvidia,tegra124-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra124-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22 super-speed USB. Other lanes are for various types of low-speed, full-speed 23 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller 24 contains a software-configurable mux that sits between the I/O controller [all …]
|
D | nvidia,tegra210-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra210-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22 super-speed USB. Other lanes are for various types of low-speed, full-speed 23 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller 24 contains a software-configurable mux that sits between the I/O controller [all …]
|
/linux-6.12.1/drivers/phy/tegra/ |
D | xusb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2022, 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 …]
|
D | xusb-tegra210.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved. 27 ((x) ? (11 + ((x) - 1) * 6) : 0) 451 for (map = tegra210_usb3_map; map->type; map++) { in tegra210_usb3_lane_map() 452 if (map->index == lane->index && in tegra210_usb3_lane_map() 453 strcmp(map->type, lane->pad->soc->name) == 0) { in tegra210_usb3_lane_map() 454 dev_dbg(lane->pad->padctl->dev, "lane = %s map to port = usb3-%d\n", in tegra210_usb3_lane_map() 455 lane->pad->soc->lanes[lane->index].name, map->port); in tegra210_usb3_lane_map() 456 return map->port; in tegra210_usb3_lane_map() 460 return -EINVAL; in tegra210_usb3_lane_map() [all …]
|
/linux-6.12.1/drivers/phy/samsung/ |
D | phy-exynos5250-usb2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Samsung SoC USB 1.1/2.0 PHY driver - Exynos 5250 support 13 #include "phy-samsung-usb2.h" 124 /* Mode switch register */ 168 return -EINVAL; in exynos5250_rate_to_clk() 176 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos5250_isol() 180 if (drv->cfg == &exynos5250_usb2_phy_config && in exynos5250_isol() 181 inst->cfg->id == EXYNOS5250_DEVICE) in exynos5250_isol() 183 else if (drv->cfg == &exynos5250_usb2_phy_config && in exynos5250_isol() 184 inst->cfg->id == EXYNOS5250_HOST) in exynos5250_isol() [all …]
|
/linux-6.12.1/drivers/phy/qualcomm/ |
D | phy-qcom-usb-hsic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/pinctrl/pinctrl-state.h> 29 struct ulpi *ulpi = uphy->ulpi; in qcom_usb_hsic_phy_power_on() 33 ret = clk_prepare_enable(uphy->phy_clk); in qcom_usb_hsic_phy_power_on() 37 ret = clk_prepare_enable(uphy->cal_clk); in qcom_usb_hsic_phy_power_on() 41 ret = clk_prepare_enable(uphy->cal_sleep_clk); in qcom_usb_hsic_phy_power_on() 55 /* Configure pins for HSIC functionality */ in qcom_usb_hsic_phy_power_on() 56 pins_default = pinctrl_lookup_state(uphy->pctl, PINCTRL_STATE_DEFAULT); in qcom_usb_hsic_phy_power_on() 62 ret = pinctrl_select_state(uphy->pctl, pins_default); in qcom_usb_hsic_phy_power_on() 66 /* Enable HSIC mode in HSIC_CFG register */ in qcom_usb_hsic_phy_power_on() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 36 Support for the USB PHY-s on Qualcomm IPQ40xx SoC-s. 111 PHY transceivers working only in USB3 mode on Qualcomm chips. This 124 controllers on Qualcomm chips. This driver supports the high-speed 133 Enable support for the USB high-speed SNPS eUSB2 phy on Qualcomm 142 Enable support for the USB high-speed SNPS eUSB2 repeater on Qualcomm 155 host only mode configurations. 160 depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in 163 Support for the USB high-speed ULPI compliant phy on Qualcomm 171 Enable support for the USB high-speed SNPS Femto phy on Qualcomm [all …]
|
/linux-6.12.1/drivers/usb/misc/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 13 Technologies USS-720 chip. These cables are plugged into your USB 17 The chip has two modes: automatic mode and manual mode. In automatic 18 mode, it looks to the computer like a standard USB printer. Only 19 printers may be connected to the USS-720 in this mode. The generic 21 that mode, and you can say N here if you want to use the chip only 22 in this mode. 24 Manual mode is not limited to printers, any parallel port 25 device should work. This driver utilizes manual mode. 30 Say Y here if you own an USS-720 USB->Parport cable and intend to [all …]
|
D | usb4604.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for SMSC USB4604 USB HSIC 4-port 2.0 hub controller driver 6 * Copyright (c) 2012-2013 Dongjin Kim (tobetter@gmail.com) 23 enum usb4604_mode mode; member 30 gpiod_set_value_cansleep(hub->gpio_reset, state); in usb4604_reset() 39 struct device *dev = hub->dev; in usb4604_connect() 52 hub->mode = USB4604_MODE_HUB; in usb4604_connect() 53 dev_dbg(dev, "switched to HUB mode\n"); in usb4604_connect() 58 static int usb4604_switch_mode(struct usb4604 *hub, enum usb4604_mode mode) in usb4604_switch_mode() argument 60 struct device *dev = hub->dev; in usb4604_switch_mode() [all …]
|
/linux-6.12.1/drivers/usb/chipidea/ |
D | ci_hdrc_imx.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 15 /* true if over-current polarity is active low */ 24 unsigned int hsic:1; /* HSIC controller */ member 28 enum usb_dr_mode available_role; /* runtime usb dr mode */
|
D | usbmisc_imx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 81 /* HSIC enable */ 83 /* Force HSIC module 480M clock on, even when in Host is in suspend mode */ 87 /* For imx6dql, it is host-only controller, for later imx6, it is otg's */ 105 /* The default DM/DP value is pull-down */ 170 struct imx_usbmisc *usbmisc = dev_get_drvdata(data->dev); in usbmisc_imx25_init() 174 if (data->index > 1) in usbmisc_imx25_init() 175 return -EINVAL; in usbmisc_imx25_init() 177 spin_lock_irqsave(&usbmisc->lock, flags); in usbmisc_imx25_init() 178 switch (data->index) { in usbmisc_imx25_init() [all …]
|
D | host.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * host.c - ChipIdea USB host controller driver 40 struct ehci_ci_priv *priv = (struct ehci_ci_priv *)ehci->priv; in ehci_ci_portpower() 41 struct device *dev = hcd->self.controller; in ehci_ci_portpower() 44 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_ci_portpower() 46 if (priv->reg_vbus && enable != priv->enabled) { in ehci_ci_portpower() 49 "Not support multi-port regulator control\n"); in ehci_ci_portpower() 53 ret = regulator_enable(priv->reg_vbus); in ehci_ci_portpower() 55 ret = regulator_disable(priv->reg_vbus); in ehci_ci_portpower() 62 priv->enabled = enable; in ehci_ci_portpower() [all …]
|
D | ci_hdrc_imx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 81 { .compatible = "fsl,imx23-usb", .data = &imx23_usb_data}, 82 { .compatible = "fsl,imx28-usb", .data = &imx28_usb_data}, 83 { .compatible = "fsl,imx27-usb", .data = &imx27_usb_data}, 84 { .compatible = "fsl,imx6q-usb", .data = &imx6q_usb_data}, 85 { .compatible = "fsl,imx6sl-usb", .data = &imx6sl_usb_data}, 86 { .compatible = "fsl,imx6sx-usb", .data = &imx6sx_usb_data}, 87 { .compatible = "fsl,imx6ul-usb", .data = &imx6ul_usb_data}, 88 { .compatible = "fsl,imx7d-usb", .data = &imx7d_usb_data}, 89 { .compatible = "fsl,imx7ulp-usb", .data = &imx7ulp_usb_data}, [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/soc/tegra/ |
D | nvidia,tegra20-pmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/tegra/nvidia,tegra20-pmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jonathan Hunter <jonathanh@nvidia.com> 16 - nvidia,tegra20-pmc 17 - nvidia,tegra30-pmc 18 - nvidia,tegra114-pmc 19 - nvidia,tegra124-pmc [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/ |
D | qcom,msm8974-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,msm8974-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 14 Top Level Mode Multiplexer pin controller in Qualcomm MSM8974 SoC. 18 const: qcom,msm8974-pinctrl 26 gpio-reserved-ranges: 30 gpio-line-names: [all …]
|
D | nvidia,tegra124-xusb-padctl.txt | 7 needed for USB. For the new binding, see ../phy/nvidia,tegra-xusb-padctl.txt. 14 This document defines the device-specific binding for the XUSB pad controller. 16 Refer to pinctrl-bindings.txt in this directory for generic information about 17 pin controller device tree bindings and ../phy/phy-bindings.txt for details on 21 -------------------- 22 - compatible: For Tegra124, must contain "nvidia,tegra124-xusb-padctl". 23 Otherwise, must contain '"nvidia,<chip>-xusb-padctl", 24 "nvidia-tegra124-xusb-padctl"', where <chip> is tegra132 or tegra210. 25 - reg: Physical base address and length of the controller's registers. 26 - resets: Must contain an entry for each entry in reset-names. [all …]
|
/linux-6.12.1/drivers/gpu/drm/bridge/ |
D | sil-sii8620.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * Copyright (C) 2013-2014 Silicon Image, Inc. 82 /* Video Mode, default value: 0x00 */ 86 /* Video Input Mode, default value: 0xc0 */ 323 /* I2C Device Address re-assignment */ 338 /* HSIC RX Control3, default value: 0x07 */ 345 /* HSIC RX INT Registers */ 417 /* HSIC TX CRTL, default value: 0x00 */ 425 /* HSIC TX INT Low, default value: 0x00 */ 428 /* HSIC TX INT High, default value: 0x00 */ [all …]
|
/linux-6.12.1/drivers/usb/phy/ |
D | of.c | 1 // SPDX-License-Identifier: GPL-2.0+ 18 [USBPHY_INTERFACE_MODE_HSIC] = "hsic", 22 * of_usb_get_phy_mode - Get phy mode for given device_node
|
/linux-6.12.1/arch/arm/boot/dts/samsung/ |
D | exynos4412-itop-scp-core.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 17 #include "exynos4412-ppmu-common.dtsi" 18 #include "exynos-mfc-reserved-memory.dtsi" 31 compatible = "samsung,secure-firmware"; 35 fixed-rate-clocks { 37 compatible = "samsung,clock-xxti"; 38 clock-frequency = <0>; [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/freescale/ |
D | imx8-apalis-v1.1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 #include <dt-bindings/pwm/pwm.h> 10 stdout-path = &lpuart1; 15 compatible = "pwm-backlight"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_gpio_bkl_on>; 18 brightness-levels = <0 45 63 88 119 158 203 255>; 19 default-brightness-level = <4>; 20 enable-gpios = <&lsio_gpio1 4 GPIO_ACTIVE_HIGH>; /* Apalis BKL1_ON */ 21 /* TODO: hook-up to Apalis BKL1_PWM */ [all …]
|
/linux-6.12.1/drivers/phy/allwinner/ |
D | phy-sun4i-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 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> 85 /* A83T specific control bits for PHY2 HSIC */ 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() 184 u32 temp, usbc_bit = BIT(phy->index * 2); in sun4i_usb_phy_write() 185 void __iomem *phyctl = phy_data->base + phy_data->cfg->phyctl_offset; in sun4i_usb_phy_write() [all …]
|
/linux-6.12.1/arch/arm/boot/dts/allwinner/ |
D | sun9i-a80-optimus.dts | 2 * Copyright 2014 Chen-Yu Tsai 4 * Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 46 #include "sun9i-a80.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 52 compatible = "merrii,a80-optimus", "allwinner,sun9i-a80"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "gpio-leds"; 83 reg_usb1_vbus: usb1-vbus { [all …]
|
/linux-6.12.1/arch/arm/boot/dts/ti/omap/ |
D | omap5-board-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 stdout-path = &uart3; 18 vmain: fixedregulator-vmain { 19 compatible = "regulator-fixed"; 20 regulator-name = "vmain"; 21 regulator-min-microvolt = <5000000>; 22 regulator-max-microvolt = <5000000>; [all …]
|