Message ID | 20230905161920.252013-5-krzysztof.kozlowski@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Commit | a1b0bdc02eb2a753edda96238654bc876499ce8e |
Headers | show |
Series | arm64: dts: qcom: correct UFS pad supply | expand |
On 5.09.2023 18:19, Krzysztof Kozlowski wrote: > 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: > > sm6115p-lenovo-j606f.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> Konrad
diff --git a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts index c2d15fc6c96b..54da053a8042 100644 --- a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts +++ b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts @@ -344,13 +344,13 @@ &ufs_mem_hc { vcc-max-microamp = <600000>; vccq2-supply = <&pm6125_l11>; vccq2-max-microamp = <600000>; + vdd-hba-supply = <&pm6125_l18>; status = "okay"; }; &ufs_mem_phy { vdda-phy-supply = <&pm6125_l4>; vdda-pll-supply = <&pm6125_l12>; - vddp-ref-clk-supply = <&pm6125_l18>; status = "okay"; };
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: sm6115p-lenovo-j606f.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> --- arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)