arm64: dts: qcom: sm4250-billie2: correct UFS pad supply
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 5 Sep 2023 16:19:20 +0000 (18:19 +0200)
committerBjorn Andersson <andersson@kernel.org>
Wed, 20 Sep 2023 03:58:00 +0000 (20:58 -0700)
commita46e3a82aeb0282f80d6b512f8670da4ed12b973
tree633b824ee5abdfc32ef111c5b95e8d90a773027b
parentc50e34f09a437623fc98b5545b7a097cc9ca53dc
arm64: dts: qcom: sm4250-billie2: correct UFS pad supply

The Qualcomm UFS phy switched from dedicated driver to QMP phy driver.
Eventually the old driver was removed in commit 02dca8c981b5 ("phy:
qcom: remove ufs qmp phy driver").  The original driver and its binding
used vddp-ref-clk regulator supply, but the new one did not and left the
supply unused.

The Qualcomm UFS phy bindings were also migrated to newer ones and
dropped support for vddp-ref-clk regulator in commit dc5cb63592bd
("dt-bindings: phy: migrate QMP UFS PHY bindings to
qcom,sc8280xp-qmp-ufs-phy.yaml").

It turns out that this regulator, although with inaccurate name
vddp-ref-clk, is actually needed to provide supply for VDD_PX10 (or
similar, depending on the SoC) used by UFS controller.

Bring back handling of this supply by using more appropriate regulator -
UFS controller host supply.  This also fixes dtbs_check warning:

  sm4250-oneplus-billie2.dtb: phy@4807000: 'vddp-ref-clk-supply' does not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230905161920.252013-13-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts