arm64: dts: mediatek: mt8183-pumpkin: Override vgpu/vsram_gpu constraints
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 1 Mar 2023 09:55:22 +0000 (10:55 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 30 Mar 2023 07:47:09 +0000 (09:47 +0200)
Override the PMIC-default voltage constraints for VGPU and VSRAM_GPU
with the platform specific vmin/vmax for the highest possible SoC
binning.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Suggested-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20230301095523.428461-19-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts

index c228f04..526bcae 100644 (file)
 };
 
 &mt6358_vgpu_reg {
+       regulator-min-microvolt = <625000>;
+       regulator-max-microvolt = <900000>;
+
        regulator-coupled-with = <&mt6358_vsram_gpu_reg>;
        regulator-coupled-max-spread = <100000>;
 };
 
 &mt6358_vsram_gpu_reg {
+       regulator-min-microvolt = <850000>;
+       regulator-max-microvolt = <1000000>;
+
        regulator-coupled-with = <&mt6358_vgpu_reg>;
        regulator-coupled-max-spread = <100000>;
 };