lkml.org 
[lkml]   [2023]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 01/19] arm64: dts: mediatek: mt8183-kukui: Couple VGPU and VSRAM_GPU regulators
    Date
    Add coupling for these regulators, as they have a strict voltage output
    relation to satisfy in order to ensure GPU stable operation.

    Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
    Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
    ---
    arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 11 ++++++++++-
    1 file changed, 10 insertions(+), 1 deletion(-)

    diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
    index fbe14b13051a..de9778c85b94 100644
    --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
    +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
    @@ -294,7 +294,6 @@ dsi_out: endpoint {

    &gpu {
    mali-supply = <&mt6358_vgpu_reg>;
    - sram-supply = <&mt6358_vsram_gpu_reg>;
    };

    &i2c0 {
    @@ -401,6 +400,11 @@ &mt6358codec {
    Avdd-supply = <&mt6358_vaud28_reg>;
    };

    +&mt6358_vgpu_reg {
    + regulator-coupled-with = <&mt6358_vsram_gpu_reg>;
    + regulator-coupled-max-spread = <100000>;
    +};
    +
    &mt6358_vsim1_reg {
    regulator-min-microvolt = <2700000>;
    regulator-max-microvolt = <2700000>;
    @@ -411,6 +415,11 @@ &mt6358_vsim2_reg {
    regulator-max-microvolt = <2700000>;
    };

    +&mt6358_vsram_gpu_reg {
    + regulator-coupled-with = <&mt6358_vgpu_reg>;
    + regulator-coupled-max-spread = <100000>;
    +};
    +
    &pio {
    aud_pins_default: audiopins {
    pins_bus {
    --
    2.39.2
    \
     
     \ /
      Last update: 2023-03-27 00:39    [W:6.725 / U:0.116 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site