linux-stable/drivers/phy
Maxime Ripard aeaac93ddb phy: Add configuration interface
The phy framework is only allowing to configure the power state of the PHY
using the init and power_on hooks, and their power_off and exit
counterparts.

While it works for most, simple, PHYs supported so far, some more advanced
PHYs need some configuration depending on runtime parameters. These PHYs
have been supported by a number of means already, often by using ad-hoc
drivers in their consumer drivers.

That doesn't work too well however, when a consumer device needs to deal
with multiple PHYs, or when multiple consumers need to deal with the same
PHY (a DSI driver and a CSI driver for example).

So we'll add a new interface, through two funtions, phy_validate and
phy_configure. The first one will allow to check that a current
configuration, for a given mode, is applicable. It will also allow the PHY
driver to tune the settings given as parameters as it sees fit.

phy_configure will actually apply that configuration in the phy itself.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2018-12-12 10:01:50 +05:30
..
allwinner phy: core: rework phy_set_mode to accept phy mode and submode 2018-12-12 10:01:33 +05:30
amlogic phy: core: rework phy_set_mode to accept phy mode and submode 2018-12-12 10:01:33 +05:30
broadcom phy: brcm-sata: Add BCM63138 (DSL) PHY init sequence 2018-09-25 16:10:08 +05:30
cadence phy: cadence: Add driver for Sierra PHY 2018-12-12 10:01:38 +05:30
freescale phy: add driver for Freescale i.MX8MQ USB3 PHY 2018-12-12 10:01:46 +05:30
hisilicon phy: add inno-usb2-phy driver for hi3798cv200 SoC 2018-03-16 16:55:29 +05:30
lantiq phy: lantiq: Fix compile warning 2018-09-26 13:09:39 +05:30
marvell phy: mvebu-cp110-comphy: fix spelling in structure name 2018-12-12 10:01:39 +05:30
mediatek phy: core: rework phy_set_mode to accept phy mode and submode 2018-12-12 10:01:33 +05:30
motorola phy: mapphone-mdm6600: Improve phy related runtime PM calls 2018-12-12 10:01:39 +05:30
mscc phy: ocelot-serdes: convert to use eth phy mode and submode 2018-12-12 10:01:35 +05:30
qualcomm phy: core: rework phy_set_mode to accept phy mode and submode 2018-12-12 10:01:33 +05:30
ralink phy: add 'depends on HAS_IOMEM' to fix unmet dependency 2018-03-16 13:40:45 +05:30
renesas phy: renesas: rcar-gen3-usb2: follow the hardware manual procedure 2018-12-12 10:01:38 +05:30
rockchip phy: Use of_node_name_eq for node name comparisons 2018-12-12 10:01:44 +05:30
samsung phy: exynos-mipi-video: Simplify code by using regmap_update_bits() 2018-04-25 10:52:59 +05:30
socionext phy: uniphier-pcie: Depend on HAS_IOMEM 2018-11-12 16:19:06 +05:30
st phy: stm32: fix usbphyc static checker and checkpatch warnings 2018-05-20 21:51:25 +05:30
tegra phy: Convert to using %pOFn instead of device_node.name 2018-09-25 16:10:07 +05:30
ti phy: ti: introduce phy-gmii-sel driver 2018-12-12 10:01:40 +05:30
Kconfig phy: add driver for Freescale i.MX8MQ USB3 PHY 2018-12-12 10:01:46 +05:30
Makefile phy: add driver for Freescale i.MX8MQ USB3 PHY 2018-12-12 10:01:46 +05:30
phy-core.c phy: Add configuration interface 2018-12-12 10:01:50 +05:30
phy-lpc18xx-usb-otg.c phy: lpc18xx-usb-otg: error handling in lpc18xx_usb_otg_phy_power_on() 2018-03-16 13:40:42 +05:30
phy-pistachio-usb.c PHY: Add driver for Pistachio USB2.0 PHY 2015-06-21 21:53:38 +02:00
phy-xgene.c phy: xgene: rename "enum phy_mode" to "enum xgene_phy_mode" 2016-07-04 17:19:21 +05:30