arm64: dts: qcom: sm6125-seine: Provide regulators to SDHCI 1
authorMarijn Suijten <marijn.suijten@somainline.org>
Thu, 22 Dec 2022 20:36:34 +0000 (21:36 +0100)
committerBjorn Andersson <andersson@kernel.org>
Thu, 29 Dec 2022 16:59:22 +0000 (10:59 -0600)
While SDHCI 1 appears to work out of the box, we cannot rely on the
bootloader-enabled regulators nor expect them to remain enabled (e.g.
when finally dropping pd_ignore_unused).  Provide it the necessary l24
and l11 regulators now that PM6125 regulators have been made available
on this board.

As usual regulator voltages are decreased to the maximum voted by the
downstream driver for safety.  No other hardware feeds off of these
regulators anyway (except UFS, which isn't used on the seine board in
favour of a DV6DMB eMMC card connected to SDHCI 1).

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221222203636.250190-4-marijn.suijten@somainline.org
arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts

index 327e8215929d5b184bf16898a94e150fe12bd21b..4bca74ce2f1467bf90192acbe877d8bd045da4e7 100644 (file)
 
                pm6125_l11: l11 {
                        regulator-min-microvolt = <1800000>;
-                       regulator-max-microvolt = <1952000>;
+                       regulator-max-microvolt = <1800000>;
+                       regulator-allow-set-load;
                };
 
                pm6125_l12: l12 {
 
                pm6125_l24: l24 {
                        regulator-min-microvolt = <2944000>;
-                       regulator-max-microvolt = <3304000>;
+                       regulator-max-microvolt = <2950000>;
+                       regulator-allow-set-load;
                };
        };
 };
 };
 
 &sdhc_1 {
+       vmmc-supply = <&pm6125_l24>;
+       vqmmc-supply = <&pm6125_l11>;
        status = "okay";
 };