linux/drivers/phy/qualcomm
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
..
Kconfig phy: qcom-ufs: Declare 20nm qcom ufs qmp phy as Broken 2018-09-26 13:09:38 +05:30
Makefile phy: qcom-ufs: Declare 20nm qcom ufs qmp phy as Broken 2018-09-26 13:09:38 +05:30
phy-ath79-usb.c phy: Add a driver for the ATH79 USB phy 2018-04-25 10:53:00 +05:30
phy-qcom-apq8064-sata.c
phy-qcom-ipq806x-sata.c
phy-qcom-qmp.c phy: qcom-qmp: Utilize fully-specified DT registers 2018-12-12 10:02:11 +05:30
phy-qcom-qmp.h phy: Add QMP phy based UFS phy support for sdm845 2018-09-25 16:10:14 +05:30
phy-qcom-qusb2.c phy: core: rework phy_set_mode to accept phy mode and submode 2018-12-12 10:01:33 +05:30
phy-qcom-ufs-i.h scsi/ufs: qcom: Remove ufs_qcom_phy_*() calls from host 2018-09-26 13:09:37 +05:30
phy-qcom-ufs-qmp-14nm.c phy: core: rework phy_set_mode to accept phy mode and submode 2018-12-12 10:01:33 +05:30
phy-qcom-ufs-qmp-14nm.h
phy-qcom-ufs-qmp-20nm.c phy: core: rework phy_set_mode to accept phy mode and submode 2018-12-12 10:01:33 +05:30
phy-qcom-ufs-qmp-20nm.h
phy-qcom-ufs.c phy: qcom-ufs: Remove stale methods that handle ref clk 2018-09-26 13:09:36 +05:30
phy-qcom-usb-hs.c phy: core: rework phy_set_mode to accept phy mode and submode 2018-12-12 10:01:33 +05:30
phy-qcom-usb-hsic.c