phy: qcom-qmp-ufs: drop legacy DT workaround
authorJohan Hovold <johan+linaro@kernel.org>
Fri, 16 Sep 2022 10:23:39 +0000 (12:23 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 20 Sep 2022 06:01:17 +0000 (11:31 +0530)
commit638255587418a31eadc5b24105c3cee288ae1d0f
tree1c663fee96203cf3e330d7ae4ee14a52eb6541c5
parent064bbdba4f8d30f9ecd0b96c3bcca5535d8811e7
phy: qcom-qmp-ufs: drop legacy DT workaround

Commit 5e17b95d9893 ("phy: qcom-qmp: Utilize fully-specified DT
registers") added a workaround for legacy devicetrees which did not
specify register regions for the second lane of some dual-lane PHYs.

At the time, the only two dual-lane PHYs supported by mainline were
"qcom,sdm845-qmp-usb3-phy" and "qcom,sdm845-qmp-ufs-phy" and they had
been added to the binding less than six months before the binding was
fixed.

Presumably no one is using four-year old SDM845 dtbs with mainline
anymore so drop the workaround for malformed devicetrees. In the
unlikely event that anyone complains, we can consider reverting.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20220916102340.11520-11-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-ufs.c