lkml.org 
[lkml]   [2023]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 04/18] arm64: dts: mt8183-pumpkin: 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>
    ---
    arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 11 ++++++++++-
    1 file changed, 10 insertions(+), 1 deletion(-)

    diff --git a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts
    index a1d01639df30..c228f04d086b 100644
    --- a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts
    +++ b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts
    @@ -71,7 +71,6 @@ &auxadc {

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

    &i2c0 {
    @@ -176,6 +175,16 @@ &mmc1 {
    non-removable;
    };

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