/linux/Documentation/devicetree/bindings/phy/ |
H A D | phy-armada38x-comphy.txt | 1 mvebu armada 38x comphy driver 4 This comphy controller can be found on Marvell Armada 38x. It provides a 10 - compatible: should be "marvell,armada-380-comphy" 11 - reg: should contain the comphy register location and length. 17 - reg-names: must be "comphy" as the first name, and "conf". 18 - reg: must contain the comphy register location and length as the first 22 A sub-node is required for each comphy lane provided by the comphy. 26 - reg: comphy lane number. 28 input port to use for a given comphy lane. 32 comphy: phy@18300 { [all …]
|
H A D | phy-mvebu-comphy.txt | 1 MVEBU comphy drivers 4 COMPHY controllers can be found on the following Marvell MVEBU SoCs: 13 * "marvell,comphy-cp110" for Armada 7k/8k 14 * "marvell,comphy-a3700" for Armada 3700 15 - reg: should contain the COMPHY register(s) location(s) and length(s). 19 * Generic COMPHY registers 35 A sub-node is required for each comphy lane provided by the comphy. 39 - reg: COMPHY lane number. 41 input port to use for a given comphy lane. 45 CP11X_LABEL(comphy): phy@120000 { [all …]
|
/linux/drivers/phy/marvell/ |
H A D | Kconfig | 28 tristate "Marvell A3700 comphy driver" 35 This driver allows to control the comphy, a hardware block providing 49 tristate "Marvell Armada 38x comphy driver" 54 This driver allows to control the comphy, an hardware block providing 59 tristate "Marvell CP110 comphy driver" 65 This driver allows to control the comphy, an hardware block providing
|
H A D | phy-mvebu-a3700-comphy.c | 11 * Structure inspired from phy-mvebu-cp110-comphy.c written by Antoine Tenart. 12 * Comphy code from ARM Trusted Firmware ported by Pali Rohár <pali@kernel.org> 32 /* Comphy lane2 indirect access register offset */ 45 /* COMPHY registers */ 521 "COMPHY[%d] mode[%d] changed PHY selector 0x%08x -> 0x%08x\n", in mvebu_a3700_comphy_set_phy_selector() 526 dev_err(lane->dev, "COMPHY[%d] mode[%d] is invalid\n", lane->id, in mvebu_a3700_comphy_set_phy_selector() 579 * not. Now it is done only in U-Boot before this comphy in mvebu_a3700_comphy_sata_power_on() 656 * 5. Set PIN_PHY_GEN_TX[3:0] and PIN_PHY_GEN_RX[3:0] to decide COMPHY in mvebu_a3700_comphy_ethernet_power_on() 672 "unsupported phy speed %d on comphy lane%d\n", in mvebu_a3700_comphy_ethernet_power_on() 686 /* 7. Program COMPHY register PHY_MODE */ in mvebu_a3700_comphy_ethernet_power_on() [all …]
|
H A D | Makefile | 7 obj-$(CONFIG_PHY_MVEBU_A3700_COMPHY) += phy-mvebu-a3700-comphy.o 9 obj-$(CONFIG_PHY_MVEBU_A38X_COMPHY) += phy-armada38x-comphy.o 10 obj-$(CONFIG_PHY_MVEBU_CP110_COMPHY) += phy-mvebu-cp110-comphy.o
|
H A D | phy-armada38x-comphy.c | 5 * Partly derived from CP110 comphy driver by Antoine Tenart 109 "comphy%u: timed out waiting for status\n", lane->n); in a38x_comphy_poll() 188 "comphy%u: not configured for GBE\n", lane->n); in a38x_comphy_xlate() 260 { .compatible = "marvell,armada-380-comphy" }, 268 .name = "armada-38x-comphy",
|
H A D | phy-mvebu-cp110-comphy.c | 130 * [ 1- 0]: COMPHY polarity invertion 131 * [ 2- 7]: COMPHY speed 132 * [ 5-11]: COMPHY port index 133 * [12-16]: COMPHY mode 379 "unsupported comphy submode (%d) on lane %d\n", in mvebu_comphy_ethernet_init_reset() 401 "RXAUI is not supported on comphy lane %d\n", in mvebu_comphy_ethernet_init_reset() 1078 * reasons we cannot de-configure the COMPHY without being sure in mvebu_comphy_probe() 1096 { .compatible = "marvell,comphy-cp110" }, 1104 .name = "mvebu-comphy",
|
/linux/arch/arm64/boot/dts/marvell/ |
H A D | armada-7040-db.dts | 234 phy-names = "cp0-usb3h0-comphy", "utmi"; 248 phy-names = "cp0-usb3h1-comphy", "utmi";
|
H A D | armada-37xx.dtsi | 271 comphy: phy@18300 { label 272 compatible = "marvell,comphy-a3700"; 277 reg-names = "comphy",
|
H A D | cn9130-cf-base.dts | 159 phy-names = "comphy", "utmi";
|
H A D | cn9130-cf.dtsi | 182 phy-names = "comphy", "utmi";
|
H A D | cn9131-cf-solidwan.dts | 407 phy-names = "comphy", "utmi"; 622 phy-names = "comphy", "utmi";
|
H A D | armada-cp11x.dtsi | 135 CP11X_LABEL(comphy): phy@120000 { 136 compatible = "marvell,comphy-cp110";
|
H A D | armada-7040-mochabin.dts | 422 phy-names = "cp0-usb3h0-comphy", "utmi";
|
H A D | armada-8040-mcbin.dtsi | 384 phy-names = "cp1-usb3h0-comphy", "utmi";
|
H A D | armada-8040-puzzle-m801.dts | 500 phy-names = "cp1-usb3h0-comphy";
|
H A D | armada-8040-clearfog-gt-8k.dts | 608 phy-names = "cp1-usb3h0-comphy";
|
H A D | cn9132-sr-cex7.dtsi | 698 phy-names = "utmi", "comphy";
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | marvell-armada-370-neta.txt | 23 - phys: comphy for the ethernet port, see ../phy/phy-bindings.txt
|
H A D | sff,sfp.yaml | 106 phy-names = "comphy";
|
/linux/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_main.c | 1775 /* Sets the PHY mode of the COMPHY (which configures the serdes lanes). 1778 * the one given to the COMPHY comes from the generic PHY subsystem. Hence they 1781 * The COMPHY configures the serdes lanes regardless of the actual use of the 1783 * "PPv2 (2500BaseX) - COMPHY (2500SGMII)" are valid. 1790 if (!port->comphy) in mvpp22_comphy_init() 1793 ret = phy_set_mode_ext(port->comphy, PHY_MODE_ETHERNET, interface); in mvpp22_comphy_init() 1797 return phy_power_on(port->comphy); in mvpp22_comphy_init() 4588 /* comphy reconfiguration */ in mvpp22_mode_reconfigure() 4656 phy_power_off(port->comphy); in mvpp2_stop_dev() 6502 phy_power_off(port->comphy); in mvpp2_mac_prepare() [all …]
|
H A D | mvpp2.h | 1244 struct phy *comphy; member
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-38x.dtsi | 357 comphy: phy@18300 { label 358 compatible = "marvell,armada-380-comphy"; 359 reg-names = "comphy", "conf";
|
/linux/drivers/net/ethernet/marvell/ |
H A D | mvneta.c | 537 struct phy *comphy; member 3701 ret = phy_set_mode_ext(pp->comphy, PHY_MODE_ETHERNET, interface); in mvneta_comphy_init() 3705 return phy_power_on(pp->comphy); in mvneta_comphy_init() 3713 if (pp->comphy) { in mvneta_config_interface() 3826 WARN_ON(phy_power_off(pp->comphy)); in mvneta_stop_dev() 4110 WARN_ON(phy_power_off(pp->comphy)); in mvneta_mac_prepare() 5462 struct phy *comphy; in mvneta_probe() local 5495 comphy = devm_of_phy_get(&pdev->dev, dn, NULL); in mvneta_probe() 5496 if (comphy == ERR_PTR(-EPROBE_DEFER)) in mvneta_probe() 5499 if (IS_ERR(comphy)) in mvneta_probe() [all …]
|
/linux/ |
H A D | MAINTAINERS | 13684 F: Documentation/devicetree/bindings/phy/phy-mvebu-comphy.txt 13685 F: drivers/phy/marvell/phy-mvebu-a3700-comphy.c
|