Message ID | 20200419154850.25868-1-marek.behun@nic.cz |
---|---|
Headers | show |
Series | Armada 37xx: port comphy to generic-phys (PLEASE TEST) | expand |
W dniu 19.04.2020 o?17:48, Marek Beh?n pisze: > Hi, > > I have ported the COMPHY and UTMI PHY drivers from Linux to U-Boot. > With this we are able to abandon the current comphy_a3700 driver, which > is incompatible with Linux' device trees. So if we want to have DTS > files for A3720 boards identical to Linux', we have to do this. > > This series adds the set_mode functionality to generic-phy, > then adds the ports of UTMI PHY and COMPHY drivers from Linux, > then makes some drivers use the generic-phy API on device probe > (these drivers are mvneta, ahci_mvebu, pci-aardvark, xhci-mvebu and > ehci-marvell), > then converts defconfigs and device trees to use the new bindings and > drivers, and the last patch removes the comphy_a3700 driver. > > I have successfully compiled U-Boot without errors for all these boards > (their defconigs) and also for Armada 8k boards, but am unable to test > on anything else but Turris MOX. > > Please note that in order for the COMPHY driver to work, you have to use > current ARM Trusted Firmware (such that it supports PHY powering on/off > via SMC calls). > > It would be nice if people tested this series. > > Marek > > Marek Beh?n (11): > phy: add support for setting phy mode > phy: port Armada 37xx UTMI PHY from Linux > phy: port Armada 37xx COMPHY from Linux > usb: host: make PHY handling more generic > usb: ehci-marvell: call generic-phy initialization > usb: xhci-mvebu: call generic-phy initialization > pci: aardvark: add PHY support > ata: ahci_mvebu: add PHY support > net: mvneta: add PHY support > arm64: mvebu: armada-37xx: convert to use new generic-phy drivers > phy: marvell: remove comphy_a3700 driver Hi Marek. Tests done on ESPRESSObin. I only tested USB ports and the files are loading fine to memory. Also the pci command lists connected card, so Tested-by: Tomasz Maciej Nowak <tmn505 at gmail.com>