arm64: dts: mediatek: mt8195-cherry: Update min voltage constraint for MT6315

[ Upstream commit e9a6b8b5c6 ]

Update the minimum voltage from 300000 uV to 400000 uV so it matches
the MT6315 datasheet.

Also update the minimum voltage for Vgpu regulator from 625000 uV to
400000 uV because the requested voltage could be lower than the minimum
voltage on the GPU OPP table when the MTK Smart Voltage Scaling (SVS)
driver is enabled.

Fixes: 260c04d425 ("arm64: dts: mediatek: cherry: Enable MT6315 regulators on SPMI bus")
Signed-off-by: Pin-yen Lin <treapking@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240315111621.2263159-3-treapking@chromium.org
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Pin-yen Lin 2024-03-15 19:16:03 +08:00 committed by Greg Kroah-Hartman
parent 942debbea5
commit 818f56a8b3

View file

@ -845,7 +845,7 @@ regulators {
mt6315_6_vbuck1: vbuck1 { mt6315_6_vbuck1: vbuck1 {
regulator-compatible = "vbuck1"; regulator-compatible = "vbuck1";
regulator-name = "Vbcpu"; regulator-name = "Vbcpu";
regulator-min-microvolt = <300000>; regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1193750>; regulator-max-microvolt = <1193750>;
regulator-enable-ramp-delay = <256>; regulator-enable-ramp-delay = <256>;
regulator-ramp-delay = <6250>; regulator-ramp-delay = <6250>;
@ -863,7 +863,7 @@ regulators {
mt6315_7_vbuck1: vbuck1 { mt6315_7_vbuck1: vbuck1 {
regulator-compatible = "vbuck1"; regulator-compatible = "vbuck1";
regulator-name = "Vgpu"; regulator-name = "Vgpu";
regulator-min-microvolt = <625000>; regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1193750>; regulator-max-microvolt = <1193750>;
regulator-enable-ramp-delay = <256>; regulator-enable-ramp-delay = <256>;
regulator-ramp-delay = <6250>; regulator-ramp-delay = <6250>;