linux/drivers/phy
Evan Green 5e17b95d98 phy: qcom-qmp: Utilize fully-specified DT registers
Utilize the newly fixed up DT bindings to get the tx2 and rx2 register
regions for the second lane of dual-lane PHYs. Before this change,
the driver was simply using lane one's register region and adding
0x400, which reached well beyond the DT-specified register
allocation. This would have been a crash were it not for the page size
on ARM64. Fix the driver not to rely on the magic of virtual memory by
using the newly specified DT register regions for tx2 and rx2.

In order to support existing device trees, this change also contains a
fallback mode for when those new register regions don't exist, which
reverts to the original behavior of overreaching and prints a complaint.

Signed-off-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2018-12-12 10:02:11 +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: qcom-qmp: Utilize fully-specified DT registers 2018-12-12 10:02:11 +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: fix semicolon.cocci warnings 2018-12-12 10:01:52 +05:30
Kconfig phy: dphy: Add configuration helpers 2018-12-12 10:01:51 +05:30
Makefile phy: dphy: Add configuration helpers 2018-12-12 10:01:51 +05:30
phy-core-mipi-dphy.c phy: dphy: Add configuration helpers 2018-12-12 10:01:51 +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