linux/drivers/phy/marvell
Miquel Raynal 0629d57bbd phy: mvebu-cp110-comphy: Add clocks support
There is no public clock tree that implies such dependencies between
the MG/MG-core/AXI clocks and the COMPHY IP but accessing the COMPHY
registers while one of the three clocks are disabled stalls the CPU.

This happens if, for instance, the COMPHY driver probe is deferred
(eg. the USB Vbus regulator driver is not yet visible). The MVPP2
driver which also needs these clocks (among others) will
prepare/enable the clocks, then be deferred, and disable/unprepare
them. Next COMPHY lane to be configured would produce an infinite
stall.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2019-08-27 11:37:09 +05:30
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile USB/PHY patches for 5.1-rc1 2019-03-06 16:48:27 -08:00
phy-armada38x-comphy.c phy: marvell: phy-armada38x-comphy: Add of_node_put() before return 2019-08-23 09:40:52 +05:30
phy-armada375-usb2.c phy: armada375-usb2: switch to SPDX license identifier 2019-02-07 11:10:45 +05:30
phy-berlin-sata.c phy: fix build breakage: add PHY_MODE_SATA 2019-01-16 18:00:54 +05:30
phy-berlin-usb.c phy: berlin: switch to SPDX license identifier 2018-07-10 13:45:12 +05:30
phy-mvebu-a3700-comphy.c phy: mvebu-a3700-comphy: Inform users if their firmware is too old 2019-08-23 09:41:00 +05:30
phy-mvebu-a3700-utmi.c phy: fix platform_no_drv_owner.cocci warnings 2019-04-17 12:06:02 +05:30
phy-mvebu-cp110-comphy.c phy: mvebu-cp110-comphy: Add clocks support 2019-08-27 11:37:09 +05:30
phy-mvebu-sata.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
phy-pxa-28nm-hsic.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
phy-pxa-28nm-usb2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
phy-pxa-usb.c phy: phy-pxa-usb: add a new driver 2018-10-18 19:44:39 +02:00