Skip to content

Commit b7b9a6a

Browse files
konradybcioandersson
authored andcommitted
arm64: dts: qcom: sc8180x-primus: Allow UFS regulators load/mode setting
The UFS driver expects to be able to set load (and by extension, mode) on the supplied regulators. Add the necessary properties to make that possible. Fixes: 2ce38cc ("arm64: dts: qcom: sc8180x: Introduce Primus") Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20231214-topic-sc8180_fixes-v1-6-421904863006@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent c879ee1 commit b7b9a6a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/sc8180x-primus.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,12 +386,18 @@
386386
regulator-min-microvolt = <1800000>;
387387
regulator-max-microvolt = <1800000>;
388388
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
389+
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
390+
RPMH_REGULATOR_MODE_HPM>;
391+
regulator-allow-set-load;
389392
};
390393

391394
vreg_l10e_2p9: ldo10 {
392395
regulator-min-microvolt = <2904000>;
393396
regulator-max-microvolt = <2904000>;
394397
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
398+
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
399+
RPMH_REGULATOR_MODE_HPM>;
400+
regulator-allow-set-load;
395401
};
396402

397403
vreg_l12e: ldo12 {

0 commit comments

Comments
 (0)