From patchwork Mon Oct 21 14:05:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13844265 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E7B5AD15D9A for ; Mon, 21 Oct 2024 14:27:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=lVisE+PE807hpO8CSAN7tilp7Z5USiSARLUB5mQ6sGE=; b=gsB9has41JTAwx0+l0r7jfuAu9 hkYTAWljkTon/NzDnlG56RkQG+0vmeT3BPimhhFM+1Jy4kgSH0XNRDq6gq19NkfcR3BUbnqn2DPHp Wsv7zUsJo4zA3MkqwsIhEF2wMMcrQ95Xnn1QrNdsJZydULgxW9VAJphVaxaNClSc+XXz8CDj8K06H KBzsUwj/aABAzbAjziuVoV9WVdLPHmnVQK4305cSa3AKg+0TwyQJuxmQQ4kVZJXDb8DYfCwPZ42fE orZYis4hRQ8tmM4wl2w0ZWLUn9ntEo/ymtqbZaOybQIazae5S/PjptnatQ+kNAC3gDeNGeip36rAQ Q+YBgySA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2tNH-00000007cCu-2MOA; Mon, 21 Oct 2024 14:27:11 +0000 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2t2d-00000007YOP-0YgO for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2024 14:05:53 +0000 Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-7e6cbf6cd1dso2891086a12.3 for ; Mon, 21 Oct 2024 07:05:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1729519550; x=1730124350; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lVisE+PE807hpO8CSAN7tilp7Z5USiSARLUB5mQ6sGE=; b=g4tKVJLSoIUwICvLBcosiw3Jh6hg0/w1ahYplQmdNQGC9pEXcNiCH0vYLrNXI7fAig 4m4tPvR2ZAPQ2ovYkH7ORMHWxfvknFfkPQhVZDC+DIXHAEJ7Jm0ZeN+GCrZ4Ydc877W9 1LLQ8CDI6xxA8Gdir3rVI1dQmEpMSQA9WnpXQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729519550; x=1730124350; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lVisE+PE807hpO8CSAN7tilp7Z5USiSARLUB5mQ6sGE=; b=PdzIh5tFXxU7gZ/Zh+5w09CCdS0+ZhRFbsjVahCiOOUTuMdxXfa2jJmNBWwuboDMC9 EUaAHpPAxF2uadSRkwiD70gQeaihaV3NSiWL+mOBzlO81fBEIsaQonPZo6uh7iILGoOQ EPxIqOKaAyqNQ65JTZNRZvCwjO7Hq67HNdzBEzjsFzROGFp5UPuxs03lm9dVoNfn1sje BLAHM3Z2TLMpVULh0Gdm7VkRbN1DIS8wPh26cE4Z3rfBklbakBEN2s/znCwdLaBmH+Ho M3Uv60j//NSfeKd8pSRbxaVc7ZJ9AO4BQHqqfwC3qB1BnC1RQt9Y0mAyfHhwecxr+Fjs WKHA== X-Forwarded-Encrypted: i=1; AJvYcCUp6X/hkyko+v0VVw21DVlOn/RkBoGxsieD0gzTYAcq9gQjtAgOLGCagAC2G6Rxig/HEV0eBvDzfsa/tPJmW4e2@lists.infradead.org X-Gm-Message-State: AOJu0Yx1xjO7p5X8IpNF0dJXmJ4RsKC0KdRN7mwhjlqvXVKWvs2YUqtO vs2HVbxfiUh2rctwUcJRXY976p2K5LcOZsSQFcBbc9I95Sr89XexQAoZjhWB5aoKSifEkbLrCe4 = X-Google-Smtp-Source: AGHT+IFKl8bzamnuWMLgNJkuqVRi9dnOVZzxVFFalqgJLx3tvd/wT7dAvKU2gZg1sxaZIisSRMrfSg== X-Received: by 2002:a05:6a21:350d:b0:1d9:ea5:19da with SMTP id adf61e73a8af0-1d96b6b6ed5mr25344637.17.1729519549873; Mon, 21 Oct 2024 07:05:49 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:ecc1:dced:8a05:e4d8]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7eaeab57e36sm3133318a12.43.2024.10.21.07.05.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2024 07:05:49 -0700 (PDT) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH] arm64: dts: mediatek: mt8186-corsola: Fix GPU supply coupling max-spread Date: Mon, 21 Oct 2024 22:05:36 +0800 Message-ID: <20241021140537.3049232-1-wenst@chromium.org> X-Mailer: git-send-email 2.47.0.rc1.288.g06298d1525-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241021_070551_219585_5D98956D X-CRM114-Status: GOOD ( 14.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The GPU SRAM supply is supposed to be always at least 0.1V higher than the GPU supply. However when the DT was upstreamed, the spread was incorrectly set to 0.01V. Fixes: 8855d01fb81f ("arm64: dts: mediatek: Add MT8186 Krabby platform based Tentacruel / Tentacool") Cc: Signed-off-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno --- Noticed this while trying to align the downstream Mali driver to the upstream device tree and binding. arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi b/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi index cf288fe7a238..db2aca079349 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi @@ -1352,7 +1352,7 @@ mt6366_vgpu_reg: vgpu { regulator-allowed-modes = ; regulator-coupled-with = <&mt6366_vsram_gpu_reg>; - regulator-coupled-max-spread = <10000>; + regulator-coupled-max-spread = <100000>; }; mt6366_vproc11_reg: vproc11 { @@ -1561,7 +1561,7 @@ mt6366_vsram_gpu_reg: vsram-gpu { regulator-ramp-delay = <6250>; regulator-enable-ramp-delay = <240>; regulator-coupled-with = <&mt6366_vgpu_reg>; - regulator-coupled-max-spread = <10000>; + regulator-coupled-max-spread = <100000>; }; mt6366_vsram_others_reg: vsram-others {