arm64: dts: mediatek: mt8183-kukui: Override vgpu/vsram_gpu constraints
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 1 Mar 2023 09:55:06 +0000 (10:55 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 30 Mar 2023 07:47:07 +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>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20230301095523.428461-3-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi

index de9778c..63952c1 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>;
 };