From patchwork Fri Mar 15 11:16:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pin-yen Lin X-Patchwork-Id: 13593311 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 97FFBC54E67 for ; Fri, 15 Mar 2024 11:16:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FaQRUh4wSS4TEI5MPPi0DMNe/+OK4Q+Tfi30OaeWZsA=; b=IOs+s6ce4TePlu iGvR8KrO0D00NkvsUBG9pVtL4mMQc7hzcnUE82A0y0C2Hs27KEkd6QQ0ZWdfz2tLDqj7ClruSrbTO VCUpCQHJN+3NOaXxAWrYZM21fH1VxJGIt09jpmTW/y4gtTh4eUTbTQPHtWVgPcA3q3CsSPF33oH6E DdwiXp27bLtE1OWSkPtqDlyIn5syYQJir8XQqXUnndg0oCt9+92rj9cZjuSXb0Q/NMw6qglGHf2Ii OWYpQDL6nOVuZy+hB7iWvPm5PnlajIbyj+81hHf8NdOsfRJub+kNfqfJvi3GATo3hq/374M0RMvhp NIaFCWPDaRQuSHGy76AA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rl5YG-0000000HaRa-13VO; Fri, 15 Mar 2024 11:16:40 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rl5Y7-0000000HaLR-2Pwk for linux-arm-kernel@lists.infradead.org; Fri, 15 Mar 2024 11:16:33 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-6e6f6825102so684163b3a.1 for ; Fri, 15 Mar 2024 04:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1710501389; x=1711106189; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=T5JNiRjaunQauoZyRAKchrBIX3whGa58HwzCcAYhjAQ=; b=Xj7SKLoMFd8KB71/NlZaEW32GJpWispb0lM8zFH7yf/x6gYSePccEqG1N0uUaz9eMd VehjIPzXxSu8SLtBkfqJEHQtOCjWnS1BJdz2NOK6qbTRDFKV5bO4F+H46G+tjN8JOZQ6 uTGPHn7LzYrwCNty+Nu4uo9aK3sHSqrijUXAI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710501389; x=1711106189; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T5JNiRjaunQauoZyRAKchrBIX3whGa58HwzCcAYhjAQ=; b=I8twZjrS66ybs4/fE4FqUbbtsMMwV+iDxFVvUhSBUxX0Dmk293Uj40Fl+YmJBGRcop ZrE6AIIbeUJONRWpcdZaZRCmDPpUGIxjAWHSOj5y7tbkSuo9QD/BubCRzMFT4gbHjBvY /5pWuUXbip2wLout/apMqW7L5m3SHY0IHnzG5MzNckIuxtl0g8KhUeWTDgnW9xSpiSQn JkFFfKmxadAKvPvjz2bWGavwIhIywLVgnudEm7QxSsMZHndMkPAzlbY2Qo6ZNT5L5aRi jfu1n6nQlwEACASMKofu15U1utgDwrRw3+4Axs/ergqWDUo3c7CviDQhj617YX/rH4jD 8Efw== X-Gm-Message-State: AOJu0Ywd2pyUkHFYtIg+Qz/LQ7h2bD7RWb1Nx8/K4KKGRioOF4iXO74i 8+lcxPi4eU42IhFLRIjzDhxPlNDalQ71+lOO58End5edulNzpQRx9I8fG7xG2w== X-Google-Smtp-Source: AGHT+IFRpeh/WVEnweWX4MTzDUNDWzLUpB5GIhy5sqcAsiRnOjZL5HQfDQh6rz45tKF+tXg2LIwk0Q== X-Received: by 2002:a05:6a20:2445:b0:1a3:5015:ec93 with SMTP id t5-20020a056a20244500b001a35015ec93mr1101499pzc.26.1710501389194; Fri, 15 Mar 2024 04:16:29 -0700 (PDT) Received: from treapking.tpe.corp.google.com ([2401:fa00:1:10:2f9c:c00a:bf1f:e53c]) by smtp.gmail.com with ESMTPSA id c11-20020a62e80b000000b006e6aee6807dsm3122683pfi.22.2024.03.15.04.16.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 04:16:29 -0700 (PDT) From: Pin-yen Lin To: Matthias Brugger , AngeloGioacchino Del Regno Cc: linux-arm-kernel@lists.infradead.org, Chen-Yu Tsai , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?N=C3=AD?= =?utf-8?q?colas_F_=2E_R_=2E_A_=2E_Prado?= , linux-mediatek@lists.infradead.org, Pin-yen Lin Subject: [PATCH v2 1/4] arm64: dts: mediatek: mt8192-asurada: Update min voltage constraint for MT6315 Date: Fri, 15 Mar 2024 19:16:02 +0800 Message-ID: <20240315111621.2263159-2-treapking@chromium.org> X-Mailer: git-send-email 2.44.0.291.gc1ea87d7ee-goog In-Reply-To: <20240315111621.2263159-1-treapking@chromium.org> References: <20240315111621.2263159-1-treapking@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240315_041631_643159_41A32870 X-CRM114-Status: GOOD ( 12.93 ) 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 Update the minimum voltage from 300000 uV to 400000 uV so it matches the MT6315 datasheet. Also update the minimum voltage for Vgpu regulator from 606250 uV to 400000 uV because the requested voltage could be lower than the minimum voltage on the GPU OPP table when the MTK Smart Voltage Scaling (SVS) driver is enabled. Fixes: 3183cb62b033 ("arm64: dts: mediatek: asurada: Add SPMI regulators") Signed-off-by: Pin-yen Lin Reviewed-by: AngeloGioacchino Del Regno --- Changes in v2: - Change the value to 400000 and update other mt6315 usages arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi b/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi index 43d80334610a..2eafe66fbb8a 100644 --- a/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi @@ -1421,7 +1421,7 @@ regulators { mt6315_6_vbuck1: vbuck1 { regulator-compatible = "vbuck1"; regulator-name = "Vbcpu"; - regulator-min-microvolt = <300000>; + regulator-min-microvolt = <400000>; regulator-max-microvolt = <1193750>; regulator-enable-ramp-delay = <256>; regulator-allowed-modes = <0 1 2>; @@ -1431,7 +1431,7 @@ mt6315_6_vbuck1: vbuck1 { mt6315_6_vbuck3: vbuck3 { regulator-compatible = "vbuck3"; regulator-name = "Vlcpu"; - regulator-min-microvolt = <300000>; + regulator-min-microvolt = <400000>; regulator-max-microvolt = <1193750>; regulator-enable-ramp-delay = <256>; regulator-allowed-modes = <0 1 2>; @@ -1448,7 +1448,7 @@ regulators { mt6315_7_vbuck1: vbuck1 { regulator-compatible = "vbuck1"; regulator-name = "Vgpu"; - regulator-min-microvolt = <606250>; + regulator-min-microvolt = <400000>; regulator-max-microvolt = <800000>; regulator-enable-ramp-delay = <256>; regulator-allowed-modes = <0 1 2>;