Lines Matching full:comphy
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()
692 * 8. Set COMPHY register REFCLK_SEL to select the correct REFCLK in mvebu_a3700_comphy_ethernet_power_on()
700 * 9. Set correct reference clock frequency in COMPHY register in mvebu_a3700_comphy_ethernet_power_on()
712 * 10. Program COMPHY register PHY_GEN_MAX[1:0] in mvebu_a3700_comphy_ethernet_power_on()
720 * 11. Program COMPHY register SEL_BITS to set correct parallel data in mvebu_a3700_comphy_ethernet_power_on()
729 * COMPHY register DFE_UPDATE_EN[5:0] shall be programmed to 0x3F in mvebu_a3700_comphy_ethernet_power_on()
730 * for real chip during COMPHY power on. in mvebu_a3700_comphy_ethernet_power_on()
736 * 13. Program COMPHY GEN registers. in mvebu_a3700_comphy_ethernet_power_on()
786 * 17. Set COMPHY input port PIN_TX_IDLE=0 in mvebu_a3700_comphy_ethernet_power_on()
794 * 1 by COMPHY Set PIN_RX_INIT=0 after PIN_RX_INIT_DONE= 1. Please in mvebu_a3700_comphy_ethernet_power_on()
831 /* COMPHY register reset (cleared automatically) */ in mvebu_a3700_comphy_usb3_power_on()
1141 dev_err(lane->dev, "invalid COMPHY mode\n"); in mvebu_a3700_comphy_set_mode()
1163 dev_err(lane->dev, "invalid COMPHY mode\n"); in mvebu_a3700_comphy_power_on()
1204 dev_err(lane->dev, "invalid COMPHY mode\n"); in mvebu_a3700_comphy_power_off()
1256 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "comphy"); in mvebu_a3700_comphy_probe()
1359 { .compatible = "marvell,comphy-a3700" },
1367 .name = "mvebu-a3700-comphy",