| /OK3568_Linux_fs/kernel/drivers/phy/hisilicon/ |
| H A D | phy-histb-combphy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2016-2017 HiSilicon Co., Ltd. http://www.hisilicon.com 14 #include <linux/mfd/syscon.h> 17 #include <linux/phy/phy.h> 20 #include <dt-bindings/phy/phy.h> 45 struct regmap *syscon; member 48 struct phy *phy; member 49 struct histb_combphy_mode mode; member 55 void __iomem *reg = priv->mmio + COMBPHY_CFG_REG; in nano_register_write() 73 static int is_mode_fixed(struct histb_combphy_mode *mode) in is_mode_fixed() argument [all …]
|
| H A D | phy-hi3660-usb3.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Phy provider for USB 3.0 controller on HiSilicon 3660 platform 5 * Copyright (C) 2017-2018 Hilisicon Electronics Co., Ltd. 12 #include <linux/mfd/syscon.h> 14 #include <linux/phy/phy.h> 54 /* This value config the default txtune parameter of the usb 2.0 phy */ 65 static int hi3660_phy_init(struct phy *phy) in hi3660_phy_init() argument 67 struct hi3660_priv *priv = phy_get_drvdata(phy); in hi3660_phy_init() 72 ret = regmap_write(priv->peri_crg, PERI_CRG_ISODIS, USB_REFCLK_ISO_EN); in hi3660_phy_init() 78 ret = regmap_write(priv->pctrl, PCTRL_PERI_CTRL3, val); in hi3660_phy_init() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | hisilicon-hns-dsaf.txt | 4 - compatible: should be "hisilicon,hns-dsaf-v1" or "hisilicon,hns-dsaf-v2". 5 "hisilicon,hns-dsaf-v1" is for hip05. 6 "hisilicon,hns-dsaf-v2" is for Hi1610 and Hi1612. 7 - mode: dsa fabric mode string. only support one of dsaf modes like these: 8 "2port-64vf", 9 "6port-16rss", 10 "6port-16vf", 11 "single-port". 12 - interrupts: should contain the DSA Fabric and rcb interrupt. 13 - reg: specifies base physical address(es) and size of the device registers. [all …]
|
| H A D | cortina,gemini-ethernet.txt | 9 - compatible: must be "cortina,gemini-ethernet" 10 - reg: must contain the global registers and the V-bit and A-bit 12 - syscon: a phandle to the system controller 13 - #address-cells: must be specified, must be <1> 14 - #size-cells: must be specified, must be <1> 15 - ranges: should be state like this giving a 1:1 address translation 23 - port0: contains the resources for ethernet port 0 24 - port1: contains the resources for ethernet port 1 27 - compatible: must be "cortina,gemini-ethernet-port" 28 - reg: must contain two register areas: the DMA/TOE memory and [all …]
|
| H A D | allwinner,sun8i-a83t-emac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/allwinner,sun8i-a83t-emac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 16 - const: allwinner,sun8i-a83t-emac 17 - const: allwinner,sun8i-h3-emac 18 - const: allwinner,sun8i-r40-emac 19 - const: allwinner,sun8i-v3s-emac [all …]
|
| H A D | socionext,uniphier-ave4.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/socionext,uniphier-ave4.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 17 - $ref: ethernet-controller.yaml# 22 - socionext,uniphier-pro4-ave4 23 - socionext,uniphier-pxs2-ave4 24 - socionext,uniphier-ld11-ave4 25 - socionext,uniphier-ld20-ave4 [all …]
|
| H A D | stm32-dwmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: "http://devicetree.org/schemas/net/stm32-dwmac.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Alexandre Torgue <alexandre.torgue@st.com> 12 - Christophe Roullier <christophe.roullier@st.com> 23 - st,stm32-dwmac 24 - st,stm32mp1-dwmac 26 - compatible 29 - $ref: "snps,dwmac.yaml#" [all …]
|
| H A D | hisilicon-hip04-net.txt | 6 - compatible: should be "hisilicon,hip04-mac". 7 - reg: address and length of the register set for the device. 8 - interrupts: interrupt for the device. 9 - port-handle: <phandle port channel> 10 phandle, specifies a reference to the syscon ppe node 14 - phy-mode: see ethernet.txt [1]. 17 - phy-handle: see ethernet.txt [1]. 28 - compatible: "hisilicon,hip04-ppe", "syscon". 29 - reg: address and length of the register set for the device. 36 - compatible: should be "hisilicon,mdio". [all …]
|
| H A D | mediatek-net.txt | 10 - compatible: Should be 11 "mediatek,mt2701-eth": for MT2701 SoC 12 "mediatek,mt7623-eth", "mediatek,mt2701-eth": for MT7623 SoC 13 "mediatek,mt7622-eth": for MT7622 SoC 14 "mediatek,mt7629-eth": for MT7629 SoC 15 "ralink,rt5350-eth": for Ralink Rt5350F and MT7628/88 SoC 16 - reg: Address and length of the register set for the device 17 - interrupts: Should contain the three frame engines interrupts in numeric 19 - clocks: the clock used by the core 20 - clock-names: the names of the clock listed in the clocks property. These are [all …]
|
| H A D | cpsw.txt | 2 ------------------------------------------------------ 5 - compatible : Should be one of the below:- 7 "ti,am335x-cpsw" for AM335x controllers 8 "ti,am4372-cpsw" for AM437x controllers 9 "ti,dra7-cpsw" for DRA7x controllers 10 - reg : physical base address and size of the cpsw 12 - interrupts : property with a value describing the interrupt 14 - cpdma_channels : Specifies number of channels in CPDMA 15 - ale_entries : Specifies No of entries ALE can hold 16 - bd_ram_size : Specifies internal descriptor RAM size [all …]
|
| /OK3568_Linux_fs/kernel/drivers/phy/ti/ |
| H A D | phy-ti-pipe3.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * phy-ti-pipe3 - PIPE3 PHY driver. 5 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com 12 #include <linux/phy/phy.h> 19 #include <linux/phy/omap_control_phy.h> 21 #include <linux/mfd/syscon.h> 177 unsigned int dpll_reset_reg; /* reg. index within syscon */ 178 unsigned int power_reg; /* power reg. index within syscon */ 179 unsigned int pcie_pcs_reg; /* pcs reg. index in syscon */ 181 enum pipe3_mode mode; member [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pci/ |
| H A D | ti-pci.txt | 4 - compatible: Should be "ti,dra7-pcie" for RC (deprecated) 5 Should be "ti,dra7-pcie-ep" for EP (deprecated) 6 Should be "ti,dra746-pcie-rc" for dra74x/dra76 in RC mode 7 Should be "ti,dra746-pcie-ep" for dra74x/dra76 in EP mode 8 Should be "ti,dra726-pcie-rc" for dra72x in RC mode 9 Should be "ti,dra726-pcie-ep" for dra72x in EP mode 10 - phys : list of PHY specifiers (used by generic PHY framework) 11 - phy-names : must be "pcie-phy0", "pcie-phy1", "pcie-phyN".. based on the 13 - ti,hwmods : Name of the hwmod associated to the pcie, "pcie<X>", 15 - num-lanes as specified in ../designware-pcie.txt [all …]
|
| H A D | pci-keystone.txt | 6 Documentation/devicetree/bindings/pci/designware-pcie.txt 8 Please refer to Documentation/devicetree/bindings/pci/designware-pcie.txt 12 Required Properties:- 14 compatibility: Should be "ti,keystone-pcie" for RC on Keystone2 SoC 15 Should be "ti,am654-pcie-rc" for RC on AM654x SoC 16 reg: Three register ranges as listed in the reg-names property 17 reg-names: "dbics" for the DesignWare PCIe registers, "app" for the 22 interrupt-cells: should be set to 1 24 (required if the compatible is "ti,keystone-pcie") 25 msi-map: As specified in Documentation/devicetree/bindings/pci/pci-msi.txt [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/ |
| H A D | samsung-phy.txt | 2 ------------------------------------------------- 5 - compatible : should be one of the listed compatibles: 6 - "samsung,s5pv210-mipi-video-phy" 7 - "samsung,exynos5420-mipi-video-phy" 8 - "samsung,exynos5433-mipi-video-phy" 9 - #phy-cells : from the generic phy bindings, must be 1; 12 - syscon - phandle to the PMU system controller 14 In case of exynos5433 compatible PHY: 15 - samsung,pmu-syscon - phandle to the PMU system controller 16 - samsung,disp-sysreg - phandle to the DISP system registers controller [all …]
|
| H A D | brcm,brcmstb-usb-phy.txt | 1 Broadcom STB USB PHY 4 - compatible: should be one of 5 "brcm,brcmstb-usb-phy" 6 "brcm,bcm7216-usb-phy" 7 "brcm,bcm7211-usb-phy" 9 - reg and reg-names properties requirements are specific to the 11 "brcm,brcmstb-usb-phy": 12 - reg: 1 or 2 offset and length pairs. One for the base CTRL registers 14 - reg-names: not specified 15 "brcm,bcm7216-usb-phy": [all …]
|
| H A D | rockchip-pcie-phy.txt | 1 Rockchip PCIE PHY 2 ----------------------- 5 - compatible: rockchip,rk3399-pcie-phy 6 - clocks: Must contain an entry in clock-names. 7 See ../clocks/clock-bindings.txt for details. 8 - clock-names: Must be "refclk" 9 - resets: Must contain an entry in reset-names. 11 - reset-names: Must be "phy" 13 Required properties for legacy PHY mode (deprecated): 14 - #phy-cells: must be 0 [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/phy/ |
| H A D | phy-rockchip-snps-pcie3.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Rockchip PCIE3.0 phy driver 12 #include <generic-phy.h> 13 #include <syscon.h> 17 #include <reset-uclass.h> 51 int mode; member 65 #include "phy-rockchip-snps-pcie3.fw" 73 /* Deassert PCIe PMA output clamp mode */ in rockchip_p3phy_rk3568_init() 74 regmap_write(priv->phy_grf, GRF_PCIE30PHY_RK3568_CON9, in rockchip_p3phy_rk3568_init() 78 if (priv->is_bifurcation) { in rockchip_p3phy_rk3568_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/omap3isp/ |
| H A D | ispcsiphy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TI OMAP3 ISP - CSI PHY module 23 static void csiphy_routing_cfg_3630(struct isp_csiphy *phy, in csiphy_routing_cfg_3630() argument 28 u32 shift, mode; in csiphy_routing_cfg_3630() local 30 regmap_read(phy->isp->syscon, phy->isp->syscon_offset, ®); in csiphy_routing_cfg_3630() 41 mode = OMAP3630_CONTROL_CAMERA_PHY_CTRL_CAMMODE_DPHY; in csiphy_routing_cfg_3630() 49 mode = OMAP3630_CONTROL_CAMERA_PHY_CTRL_CAMMODE_DPHY; in csiphy_routing_cfg_3630() 53 /* Select data/clock or data/strobe mode for CCP2 */ in csiphy_routing_cfg_3630() 57 mode = OMAP3630_CONTROL_CAMERA_PHY_CTRL_CAMMODE_CCP2_DATA_STROBE; in csiphy_routing_cfg_3630() 59 mode = OMAP3630_CONTROL_CAMERA_PHY_CTRL_CAMMODE_CCP2_DATA_CLOCK; in csiphy_routing_cfg_3630() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | dwmac-socfpga.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Adopted from dwmac-sti.c 7 #include <linux/mfd/altera-sysmgr.h> 11 #include <linux/phy.h> 61 void __iomem *splitter_base = dwmac->splitter_base; in socfpga_dwmac_fix_mac_speed() 62 void __iomem *sgmii_adapter_base = dwmac->pcs.sgmii_adapter_base; in socfpga_dwmac_fix_mac_speed() 63 struct device *dev = dwmac->dev; in socfpga_dwmac_fix_mac_speed() 65 struct phy_device *phy_dev = ndev->phydev; in socfpga_dwmac_fix_mac_speed() 95 tse_pcs_fix_mac_speed(&dwmac->pcs, phy_dev, speed); in socfpga_dwmac_fix_mac_speed() 101 struct device_node *np = dev->of_node; in socfpga_dwmac_parse_data() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pci/controller/dwc/ |
| H A D | pci-dra7xx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * pcie-dra7xx - PCIe controller driver for TI DRA7xx SoCs 5 * Copyright (C) 2013-2014 Texas Instruments Incorporated - https://www.ti.com 22 #include <linux/phy/phy.h> 27 #include <linux/mfd/syscon.h> 32 #include "pcie-designware.h" 90 int phy_count; /* DT phy-names count */ 91 struct phy **phy; member 93 enum dw_pcie_device_mode mode; member 97 enum dw_pcie_device_mode mode; member [all …]
|
| H A D | pci-keystone.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2013-2014 Texas Instruments., Ltd. 8 * Author: Murali Karicheri <m-karicheri2@ti.com> 9 * Implementation based on pci-exynos.c and pcie-designware.c 19 #include <linux/mfd/syscon.h> 25 #include <linux/phy/phy.h> 32 #include "pcie-designware.h" 55 #define PCIE_LEGACY_IRQ_ENABLE_SET(n) (0x188 + (0x10 * ((n) - 1))) 56 #define PCIE_LEGACY_IRQ_ENABLE_CLR(n) (0x18c + (0x10 * ((n) - 1))) 80 #define ERR_NONFATAL BIT(2) /* Non-fatal error */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3568.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rk3568-cru.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/soc/rockchip,boot-mode.h> 11 #include <dt-bindings/phy/phy.h> 12 #include <dt-bindings/power/rk3568-power.h> 13 #include <dt-bindings/soc/rockchip-system-status.h> 14 #include <dt-bindings/suspend/rockchip-rk3568.h> [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | rk3562.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rk3562-cru.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/phy/phy.h> 10 #include <dt-bindings/power/rk3562-power.h> 11 #include <dt-bindings/pinctrl/rockchip.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #include <dt-bindings/soc/rockchip-system-status.h> 14 #include <dt-bindings/thermal/thermal.h> [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pci/controller/cadence/ |
| H A D | pci-j721e.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * pci-j721e - PCIe controller driver for TI's J721E SoCs 5 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com 14 #include <linux/mfd/syscon.h> 22 #include "pcie-cadence.h" 53 u32 mode; member 67 enum j721e_pcie_mode mode; member 76 return readl(pcie->user_cfg_base + offset); in j721e_pcie_user_readl() 82 writel(value, pcie->user_cfg_base + offset); in j721e_pcie_user_writel() 87 return readl(pcie->intd_cfg_base + offset); in j721e_pcie_intd_readl() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns/ |
| H A D | hns_dsaf_mac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2014-2015 Hisilicon Limited. 10 #include <linux/mfd/syscon.h> 16 #include <linux/phy.h> 57 switch (mac_cb->max_speed) { in hns_get_enet_interface() 59 return g_mac_mode_100[mac_cb->phy_if]; in hns_get_enet_interface() 61 return g_mac_mode_1000[mac_cb->phy_if]; in hns_get_enet_interface() 76 if (mac_ctrl_drv->get_link_status) in hns_mac_get_link_status() 77 mac_ctrl_drv->get_link_status(mac_ctrl_drv, link_status); in hns_mac_get_link_status() 81 if (mac_cb->media_type == HNAE_MEDIA_TYPE_FIBER) { in hns_mac_get_link_status() [all …]
|