/linux/drivers/pci/controller/dwc/ |
H A D | pcie-armada8k.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * PCIe host controller driver for Marvell Armada-8K SoCs 5 * Armada-8K PCIe Glue Layer Source Code 20 #include <linux/phy/phy.h> 25 #include "pcie-designware.h" 33 struct phy *phy[ARMADA8K_PCIE_MAX_LANES]; member 61 * AR/AW Cache defaults: Normal memory, Write-Back, Read / Write 71 #define to_armada8k_pcie(x) dev_get_drvdata((x)->dev) 73 static void armada8k_pcie_disable_phys(struct armada8k_pcie *pcie) in armada8k_pcie_disable_phys() argument 78 phy_power_off(pcie->phy[i]); in armada8k_pcie_disable_phys() [all …]
|
H A D | pcie-uniphier.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * PCIe host controller driver for UniPhier SoCs 19 #include <linux/phy/phy.h> 23 #include "pcie-designware.h" 69 struct phy *phy; member 73 #define to_uniphier_pcie(x) dev_get_drvdata((x)->dev) 75 static void uniphier_pcie_ltssm_enable(struct uniphier_pcie *pcie, in uniphier_pcie_ltssm_enable() argument 80 val = readl(pcie->base + PCL_APP_READY_CTRL); in uniphier_pcie_ltssm_enable() 85 writel(val, pcie->base + PCL_APP_READY_CTRL); in uniphier_pcie_ltssm_enable() 88 static void uniphier_pcie_init_rc(struct uniphier_pcie *pcie) in uniphier_pcie_init_rc() argument [all …]
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | hisilicon,phy-hi3670-pcie.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/hisilicon,phy-hi3670-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: HiSilicon Kirin970 PCIe PHY 10 - Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 13 Bindings for PCIe PHY on HiSilicon Kirin 970. 17 const: hisilicon,hi970-pcie-phy 19 "#phy-cells": 24 description: PHY Control registers [all …]
|
H A D | brcm,cygnus-pcie-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/brcm,cygnus-pcie-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom Cygnus PCIe PHY 10 - Ray Jui <ray.jui@broadcom.com> 11 - Scott Branden <scott.branden@broadcom.com> 15 pattern: "^pcie[-|_]phy(@.*)?$" 19 - const: brcm,cygnus-pcie-phy 24 Base address and length of the PCIe PHY block [all …]
|
H A D | lantiq,vrx200-pcie-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/lantiq,vrx200-pcie-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Lantiq VRX200 and ARX300 PCIe PHY 10 - Martin Blumenstingl <martin.blumenstingl@googlemail.com> 13 "#phy-cells": 15 description: selects the PHY mode as defined in <dt-bindings/phy/phy-lantiq-vrx200-pcie.h> 19 - lantiq,vrx200-pcie-phy 20 - lantiq,arx300-pcie-phy [all …]
|
H A D | airoha,en7581-pcie-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/airoha,en7581-pcie-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Airoha EN7581 PCI-Express PHY 10 - Lorenzo Bianconi <lorenzo@kernel.org> 13 The PCIe PHY supports physical layer functionality for PCIe Gen2/Gen3 port. 17 const: airoha,en7581-pcie-phy 21 - description: PCIE analog base address 22 - description: PCIE lane0 base address [all …]
|
H A 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 …]
|
H A D | qcom,ipq8074-qmp-pcie-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/qcom,ipq8074-qm [all...] |
H A D | socionext,uniphier-pcie-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/socionext,uniphier-pcie-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Socionext UniPhier PCIe PHY 10 This describes the devicetree bindings for PHY interface built into 11 PCIe controller implemented on Socionext UniPhier SoCs. 14 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 19 - socionext,uniphier-pro5-pcie-phy 20 - socionext,uniphier-ld20-pcie-phy [all …]
|
H A D | fsl,imx8-pcie-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/fsl,imx8-pcie-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale i.MX8 SoC series PCIe PHY 10 - Richard Zhu <hongxing.zhu@nxp.com> 13 "#phy-cells": 18 - fsl,imx8mm-pcie-phy 19 - fsl,imx8mp-pcie-phy 27 clock-names: [all …]
|
H A D | brcm,sr-pcie-phy.txt | 1 Broadcom Stingray PCIe PHY 4 - compatible: must be "brcm,sr-pcie-phy" 5 - reg: base address and length of the PCIe SS register space 6 - brcm,sr-cdru: phandle to the CDRU syscon node 7 - brcm,sr-mhb: phandle to the MHB syscon node 8 - #phy-cells: Must be 1, denotes the PHY index 11 PHY index goes from 0 to 7 13 For the internal PAXC based root complex, PHY index is always 8 17 compatible = "brcm,sr-mhb", "syscon"; 22 compatible = "brcm,sr-cdru", "syscon"; [all …]
|
H A 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 …]
|
H A D | samsung,exynos-pcie-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/samsung,exynos-pcie-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung SoC series PCIe PHY 10 - Marek Szyprowski <m.szyprowski@samsung.com> 11 - Jaehoon Chung <jh80.chung@samsung.com> 14 "#phy-cells": 18 const: samsung,exynos5433-pcie-phy 23 samsung,pmu-syscon: [all …]
|
H A D | ti-phy.txt | 1 TI PHY: DT DOCUMENTATION FOR PHYs in TI PLATFORMs 3 OMAP CONTROL PHY 6 - compatible: Should be one of 7 "ti,control-phy-otghs" - if it has otghs_control mailbox register as on OMAP4. 8 "ti,control-phy-usb2" - if it has Power down bit in control_dev_conf register 10 "ti,control-phy-pipe3" - if it has DPLL and individual Rx & Tx power control 11 e.g. USB3 PHY and SATA PHY on OMAP5. 12 "ti,control-phy-pcie" - for pcie to support external clock for pcie and to 14 e.g. PCIE PHY in DRA7x 15 "ti,control-phy-usb2-dra7" - if it has power down register like USB2 PHY on [all …]
|
H A D | phy-miphy365x.txt | 1 STMicroelectronics STi MIPHY365x PHY binding 4 This binding describes a miphy device that is used to control PHY hardware 5 for SATA and PCIe. 8 - compatible : Should be "st,miphy365x-phy" 9 - st,syscfg : Phandle / integer array property. Phandle of sysconfig group 11 an entry for each port sub-node, specifying the control 14 Required nodes : A sub-node is required for each channel the controller 16 'reg' and 'reg-names' properties are used inside these 21 - #phy-cells : Should be 1 (See second example) 23 - PHY_TYPE_SATA [all …]
|
H A D | amlogic,meson-axg-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/amlogic,meson-axg-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic AXG PCIE PHY 10 - Remi Pommarel <repk@triplefau.lt> 14 const: amlogic,axg-pcie-phy 25 phy-names: 28 "#phy-cells": 32 - compatible [all …]
|
H A D | mediatek,pcie-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/mediatek,pcie-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek PCIe PHY 10 - Jianjun Wang <jianjun.wang@mediatek.com> 13 The PCIe PHY supports physical layer functionality for PCIe Gen3 port. 17 const: mediatek,mt8195-pcie-phy 22 reg-names: 24 - const: sif [all …]
|
/linux/drivers/phy/broadcom/ |
H A D | phy-bcm-cygnus-pcie.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/phy/phy.h> 24 * struct cygnus_pcie_phy - Cygnus PCIe PHY device 25 * @core: pointer to the Cygnus PCIe PHY core control 26 * @id: internal ID to identify the Cygnus PCIe PHY 27 * @phy: pointer to the kernel PHY device 32 struct phy *phy; member 36 * struct cygnus_pcie_phy_core - Cygnus PCIe PHY core control 40 * @phys: pointer to Cygnus PHY device 49 static int cygnus_pcie_power_config(struct cygnus_pcie_phy *phy, bool enable) in cygnus_pcie_power_config() argument [all …]
|
H A D | phy-bcm-sr-pcie.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2016-2018 Broadcom 12 #include <linux/phy/phy.h> 18 #define SR_PAXC_PHY_IDX (SR_NR_PCIE_PHYS - 1) 40 * struct sr_pcie_phy - Stingray PCIe PHY 42 * @core: pointer to the Stingray PCIe PHY core control 43 * @index: PHY index 44 * @phy: pointer to the kernel PHY device 49 struct phy *phy; member 53 * struct sr_pcie_phy_core - Stingray PCIe PHY core control [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Phy drivers for Broadcom platforms 5 menu "PHY drivers for Broadcom platforms" 8 tristate "BCM63xx USBH PHY driver" 12 Enable this to support the BCM63xx USBH PHY driver. 16 tristate "Broadcom Cygnus PCIe PHY driver" 21 Enable this to support the Broadcom Cygnus PCIe PHY. 25 tristate "Broadcom Stingray USB PHY driver" 30 Enable this to support the Broadcom Stingray USB PHY 36 tristate "Broadcom Kona USB2 PHY Driver" [all …]
|
/linux/drivers/phy/qualcomm/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Phy drivers for Qualcomm and Atheros platforms 6 tristate "Atheros AR71XX/9XXX USB PHY driver" 12 Enable this to support the USB PHY on Atheros AR71XX/9XXX SoCs. 15 tristate "Qualcomm APQ8064 SATA SerDes/PHY driver" 22 tristate "Qualcomm eDP PHY driver" 28 Enable this driver to support the Qualcomm eDP PHY found in various 32 tristate "Qualcomm IPQ4019 USB PHY driver" 36 Support for the USB PHY-s on Qualcomm IPQ40xx SoC-s. 39 tristate "Qualcomm IPQ806x SATA SerDes/PHY driver" [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | nvidia,tegra124-xusb-padctl.txt | 6 required for PCIe and SATA, it lacks the flexibility to represent the features 7 needed for USB. For the new binding, see ../phy/nvidia,tegra-xusb-padctl.txt. 12 associated PHY that must be powered up before the pad can be used. 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. [all …]
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | rockchip,rk3399-pcie-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/rockchip,rk3399-pcie-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip AXI PCIe Bridge Common Properties 10 - Shawn Lin <shawn.lin@rock-chips.com> 19 clock-names: 21 - const: aclk 22 - const: aclk-perf 23 - const: hclk [all …]
|
/linux/drivers/phy/tegra/ |
H A D | xusb-tegra124.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/phy/phy.h> 229 mutex_lock(&padctl->lock); in tegra124_xusb_padctl_enable() 231 if (padctl->enable++ > 0) in tegra124_xusb_padctl_enable() 251 mutex_unlock(&padctl->lock); in tegra124_xusb_padctl_enable() 259 mutex_lock(&padctl->lock); in tegra124_xusb_padctl_disable() 261 if (WARN_ON(padctl->enable == 0)) in tegra124_xusb_padctl_disable() 264 if (--padctl->enable > 0) in tegra124_xusb_padctl_disable() 284 mutex_unlock(&padctl->lock); in tegra124_xusb_padctl_disable() 297 return -ENODEV; in tegra124_usb3_save_context() [all …]
|
/linux/drivers/phy/st/ |
H A D | phy-spear1340-miphy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ST spear1340-miphy driver 12 #include <linux/dma-mapping.h> 17 #include <linux/phy/phy.h> 33 /* PCIE - SATA configuration registers */ 35 /* PCIE CFG MASks */ 77 PCIE, enumerator 81 /* phy mode: 0 for SATA 1 for PCIe */ 85 /* phy struct pointer */ 86 struct phy *phy; member [all …]
|