Commit 4c821bd4 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Bjorn Andersson

arm64: dts: qcom: msm8996-sony-xperia-tone: fix SPMI regulators declaration

Device tree for the Sony Xperia tone family of devices specifies
S9+S10+S11 SAW regulator as a part of the pmi8994_spmi_regulators device
tree node. However PMI8994 does not have these regulators, they are part
of the PM8994 device. All other MSM8996-based devices list them in the
pm8994_spmi_regulators device tree node. Move them accordingly.

Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211104002949.2204727-5-dmitry.baryshkov@linaro.org
parent 227ee158
...@@ -589,34 +589,37 @@ pmi-gpio10-nc { ...@@ -589,34 +589,37 @@ pmi-gpio10-nc {
}; };
}; };
&pmi8994_spmi_regulators { &pm8994_spmi_regulators {
qcom,saw-reg = <&saw3>; qcom,saw-reg = <&saw3>;
vdd_gfx: pm8994_s9: s9 {
pmi8994_s2: s2 {
/* Pinned to a high value for now to avoid random crashes. */
regulator-min-microvolt = <1015000>;
regulator-max-microvolt = <1015000>;
regulator-name = "vdd_gfx";
regulator-always-on;
};
pmi8994_s9: s9 {
qcom,saw-slave; qcom,saw-slave;
}; };
pmi8994_s10: s10 { pm8994_s10: s10 {
qcom,saw-slave; qcom,saw-slave;
}; };
pmi8994_s11: s11 { pm8994_s11: s11 {
qcom,saw-leader; qcom,saw-leader;
regulator-name = "vdd_apcc";
regulator-always-on; regulator-always-on;
regulator-min-microvolt = <470000>; regulator-min-microvolt = <470000>;
regulator-max-microvolt = <1140000>; regulator-max-microvolt = <1140000>;
}; };
}; };
&pmi8994_spmi_regulators {
vdd_gfx:
pmi8994_s2: s2 {
/* Pinned to a high value for now to avoid random crashes. */
regulator-min-microvolt = <1015000>;
regulator-max-microvolt = <1015000>;
regulator-name = "vdd_gfx";
regulator-always-on;
};
};
&pmi8994_wled { &pmi8994_wled {
status = "okay"; status = "okay";
default-brightness = <512>; default-brightness = <512>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment