/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | renesas_usb3.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Renesas USB3.0 Peripheral driver (USB gadget) 5 * Copyright (C) 2015-2017 Renesas Electronics Corporation 11 #include <linux/dma-mapping.h> 13 #include <linux/extcon-provider.h> 33 #define USB3_AXI_INT_STA 0x008 34 #define USB3_AXI_INT_ENA 0x00c 35 #define USB3_DMA_INT_STA 0x010 36 #define USB3_DMA_INT_ENA 0x014 37 #define USB3_DMA_CH0_CON(n) (0x030 + ((n) - 1) * 0x10) /* n = 1 to 4 */ [all …]
|
H A D | rzv2m_usb3drd.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #define USB_PERI_DRD_CON 0x000 21 static void rzv2m_usb3drd_set_bit(struct rzv2m_usb3drd *usb3, u32 bits, in rzv2m_usb3drd_set_bit() argument 24 u32 val = readl(usb3->reg + offs); in rzv2m_usb3drd_set_bit() 27 writel(val, usb3->reg + offs); in rzv2m_usb3drd_set_bit() 30 static void rzv2m_usb3drd_clear_bit(struct rzv2m_usb3drd *usb3, u32 bits, in rzv2m_usb3drd_clear_bit() argument 33 u32 val = readl(usb3->reg + offs); in rzv2m_usb3drd_clear_bit() 36 writel(val, usb3->reg + offs); in rzv2m_usb3drd_clear_bit() 41 struct rzv2m_usb3drd *usb3 = dev_get_drvdata(dev); in rzv2m_usb3drd_reset() local 44 rzv2m_usb3drd_clear_bit(usb3, USB_PERI_DRD_CON_PERI_CON, in rzv2m_usb3drd_reset() [all …]
|
/openbmc/linux/drivers/phy/broadcom/ |
H A D | phy-bcm-ns-usb3.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #define BCM_NS_USB3_PHY_BASE_ADDR_REG 0x1f 26 #define BCM_NS_USB3_PHY_PLL30_BLOCK 0x8000 27 #define BCM_NS_USB3_PHY_TX_PMD_BLOCK 0x8040 28 #define BCM_NS_USB3_PHY_PIPE_BLOCK 0x8060 31 #define BCM_NS_USB3_PLL_CONTROL 0x01 32 #define BCM_NS_USB3_PLLA_CONTROL0 0x0a 33 #define BCM_NS_USB3_PLLA_CONTROL1 0x0b 36 #define BCM_NS_USB3_TX_PMD_CONTROL1 0x01 39 #define BCM_NS_USB3_LFPS_CMP 0x02 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | qcom,msm8996-qmp-usb3-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/qcom,msm8996-qmp-usb3-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vinod Koul <vkoul@kernel.org> 17 qcom,sc8280xp-qmp-usb3-uni-phy.yaml. 22 - qcom,ipq6018-qmp-usb3-phy 23 - qcom,ipq8074-qmp-usb3-phy 24 - qcom,msm8996-qmp-usb3-phy 25 - qcom,msm8998-qmp-usb3-phy [all …]
|
H A D | renesas,usb3-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/renesas,usb3-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car generation 3 USB 3.0 PHY 10 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> 15 - enum: 16 - renesas,r8a774a1-usb3-phy # RZ/G2M 17 - renesas,r8a774b1-usb3-phy # RZ/G2N 18 - renesas,r8a774e1-usb3-phy # RZ/G2H [all …]
|
H A D | socionext,uniphier-usb3ss-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/socionext,uniphier-usb3ss-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Socionext UniPhier USB3 Super-Speed (SS) PHY 11 USB3 controller implemented on Socionext UniPhier SoCs. 12 Although the controller includes High-Speed PHY and Super-Speed PHY, 13 this describes about Super-Speed PHY. 16 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 21 - socionext,uniphier-pro4-usb3-ssphy [all …]
|
H A D | qcom,sc8280xp-qmp-usb43dp-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm QMP USB4-USB3-DP PHY controller (SC8280XP) 10 - Vinod Koul <vkoul@kernel.org> 19 - qcom,sc7180-qmp-usb3-dp-phy 20 - qcom,sc7280-qmp-usb3-dp-phy 21 - qcom,sc8180x-qmp-usb3-dp-phy 22 - qcom,sc8280xp-qmp-usb43dp-phy [all …]
|
H A D | qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vinod Koul <vkoul@kernel.org> 19 - qcom,ipq9574-qmp-usb3-phy 20 - qcom,qcm2290-qmp-usb3-phy 21 - qcom,sa8775p-qmp-usb3-uni-phy 22 - qcom,sc8280xp-qmp-usb3-uni-phy 23 - qcom,sm6115-qmp-usb3-phy [all …]
|
H A D | nvidia,tegra194-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra194-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 …]
|
H A D | socionext,uniphier-usb3hs-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/socionext,uniphier-usb3hs-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Socionext UniPhier USB3 High-Speed (HS) PHY 11 USB3 controller implemented on Socionext UniPhier SoCs. 12 Although the controller includes High-Speed PHY and Super-Speed PHY, 13 this describes about High-Speed PHY. 16 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 21 - socionext,uniphier-pro5-usb3-hsphy [all …]
|
H A D | bcm-ns-usb3-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/bcm-ns-usb3-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 Known A0: BCM4707 rev 0 15 Known C0: BCM47094 rev 0 18 - Rafał Miłecki <rafal@milecki.pl> 23 - brcm,ns-ax-usb3-phy 24 - brcm,ns-bx-usb3-phy 30 usb3-dmp-syscon: [all …]
|
/openbmc/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra234-p3740-0002.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/sound/rt5640.h> 6 compatible = "nvidia,p3740-0002"; 8 bus@0 { 15 dai-format = "i2s"; 16 remote-endpoint = <&rt5640_ep>; 26 bitclock-master; 27 frame-master; 36 rt5640: audio-codec@1c { 38 reg = <0x1c>; [all …]
|
H A D | tegra234-p3768-0000.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 compatible = "nvidia,p3768-0000"; 11 stdout-path = "serial0:115200n8"; 14 bus@0 { 20 reg = <0x57>; 23 vcc-supply = <&vdd_1v8_sys>; 24 address-width = <8>; 27 read-only; 36 assigned-clocks = <&bpmp TEGRA234_CLK_PWM3>; 37 assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>; [all …]
|
H A D | tegra234-p3737-0000+p3701-0000.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/linux-event-codes.h> 5 #include <dt-bindings/input/gpio-keys.h> 7 #include "tegra234-p3701-0000.dtsi" 8 #include "tegra234-p3737-0000.dtsi" 12 compatible = "nvidia,p3737-0000+p3701-0000", "nvidia,p3701-0000", "nvidia,tegra234"; 15 mmc3 = "/bus@0/mmc@3460000"; 22 stdout-path = "serial0:115200n8"; 25 bus@0 { [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | renesas,usb3-peri.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/usb/renesas,usb3-peri.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> 15 - items: 16 - enum: 17 - renesas,r8a774a1-usb3-peri # RZ/G2M 18 - renesas,r8a774b1-usb3-peri # RZ/G2N 19 - renesas,r8a774c0-usb3-peri # RZ/G2E [all …]
|
H A D | nvidia,tegra194-xusb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/nvidia,tegra194-xusb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 13 description: The Tegra xHCI controller supports both USB2 and USB3 interfaces 18 const: nvidia,tegra194-xusb 22 - description: base and length of the xHCI host registers 23 - description: base and length of the XUSB FPCI registers [all …]
|
H A D | fsl,imx8qm-cdns3.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/fsl,imx8qm-cdns3.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Frank Li <Frank.Li@nxp.com> 15 const: fsl,imx8qm-usb3 19 - description: Register set for iMX USB3 Platform Control 21 "#address-cells": 24 "#size-cells": 31 - description: Standby clock. Used during ultra low power states. [all …]
|
H A D | nvidia,tegra210-xusb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/nvidia,tegra210-xusb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 13 description: The Tegra xHCI controller supports both USB2 and USB3 interfaces 18 const: nvidia,tegra210-xusb 22 - description: base and length of the xHCI host registers 23 - description: base and length of the XUSB FPCI registers [all …]
|
H A D | nvidia,tegra186-xusb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/nvidia,tegra186-xusb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 13 description: The Tegra xHCI controller supports both USB2 and USB3 interfaces 18 const: nvidia,tegra186-xusb 22 - description: base and length of the xHCI host registers 23 - description: base and length of the XUSB FPCI registers [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | socionext,uniphier-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/socionext,uniphier-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 This regulator controls VBUS and belongs to USB3 glue layer. Before using 15 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 17 # USB3 Controller 22 - socionext,uniphier-pro4-usb3-regulator 23 - socionext,uniphier-pro5-usb3-regulator 24 - socionext,uniphier-pxs2-usb3-regulator [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/reset/ |
H A D | socionext,uniphier-glue-reset.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reset/socionext,uniphier-glue-reset.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 16 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 21 - socionext,uniphier-pro4-usb3-reset 22 - socionext,uniphier-pro5-usb3-reset 23 - socionext,uniphier-pxs2-usb3-reset 24 - socionext,uniphier-ld20-usb3-reset 25 - socionext,uniphier-pxs3-usb3-reset [all …]
|
/openbmc/linux/fs/ufs/ |
H A D | util.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 return &cpi->c_ubh; in UCPI_UBH() 23 return &spi->s_ubh; in USPI_UBH() 33 struct ufs_super_block_third *usb3) in ufs_get_fs_state() argument 35 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_state() 37 if (fs32_to_cpu(sb, usb3->fs_postblformat) == UFS_42POSTBLFMT) in ufs_get_fs_state() 38 return fs32_to_cpu(sb, usb1->fs_u0.fs_sun.fs_state); in ufs_get_fs_state() 41 return fs32_to_cpu(sb, usb3->fs_un2.fs_sun.fs_state); in ufs_get_fs_state() 43 return fs32_to_cpu(sb, usb1->fs_u1.fs_sunx86.fs_state); in ufs_get_fs_state() 46 return fs32_to_cpu(sb, usb3->fs_un2.fs_44.fs_state); in ufs_get_fs_state() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/soc/socionext/ |
H A D | socionext,uniphier-dwc3-glue.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-dwc3-glue.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Socionext UniPhier SoC DWC3 USB3.0 glue layer 10 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 13 DWC3 USB3.0 glue layer implemented on Socionext UniPhier SoCs is 15 USB3.0 component. 20 - enum: 21 - socionext,uniphier-pro4-dwc3-glue [all …]
|
/openbmc/linux/drivers/phy/tegra/ |
H A 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 …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-rcar.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xHCI host controller driver for R-Car SoCs 16 #include "xhci-plat.h" 17 #include "xhci-rzv2m.h" 23 * - The V3 firmware is for all R-Car Gen3 24 * - The V2 firmware is possible to use on R-Car Gen2. However, the V2 causes 25 * performance degradation. So, this driver continues to use the V1 if R-Car 27 * - The V1 firmware is impossible to use on R-Car Gen3. 33 #define RCAR_USB3_AXH_STA 0x104 /* AXI Host Control Status */ 34 #define RCAR_USB3_INT_ENA 0x224 /* Interrupt Enable */ [all …]
|