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: 13593271 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 03660C54E67 for ; Fri, 15 Mar 2024 11:16:37 +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:References:In-Reply-To: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:List-Owner; bh=T5JNiRjaunQauoZyRAKchrBIX3whGa58HwzCcAYhjAQ=; b=TX9nck+JcXN7CudF89UzfTxFfx 8AQWcDErawdNq7CRHc5H9UGgMxcILLTwvRlTXLn7C7+4aBTHoGykNfYs1t+V6PM1Il3AHp5A/ll5L YTiaHJKW0TeeeGl+EEOEZJZYO+SoDTNdIKPBunBc23M/Gdy/NBbXCzVBfo2YdaMI58WbrTsyKMNJN wE0vSZolFOh5RRVOOWhx3BQ2ZEK8k6qDZfLb9LlR1NMI6i8WNNri8k7GZXBRJ0G2MPfr05kLDQaez r8zlHSZW5lX93dQ09xcFLVZrcfJSHDemW1LQIgQfbJwB6/9W7p9Uc3xL2VKtcaPRNRkbksp8qqfAC SDg1QsCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rl5YC-0000000HaPK-2Tqk; Fri, 15 Mar 2024 11:16:36 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rl5Y7-0000000HaLS-2Q8b for linux-mediatek@lists.infradead.org; Fri, 15 Mar 2024 11:16:32 +0000 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-6e6b729669bso2079623b3a.3 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=tUaQtbMut7EaCcv92e1AGgU/asKMZ6+Bkjg9HyCcKGHOWSGbzAF/u+29oD2Vcoux8K JBLanFQUXz2Ftf5zyhDLk6AUfiJ9RJWom6U6lwjqY/BESSwmQ80WfGbUqdggQ41ZONI7 zfhLeAj9wgGB8zNEmkP42QV9m4G+V5BgzSDbji93UZ1LmXO0jQevPxkXDHEbd+5Ul6RY TXhn4oFMS73O6oXmSEA09821SEjzqJ4QV4zH63G6cqGG3TLtNE8i3qP2ja+zhFS35x6g ZQx2qofQNKpVB/o/iHvmP9IzClldkN348oe4SU/pulO23LsaTIe4MW8ByXm4wBFHwyHx Ya8A== X-Forwarded-Encrypted: i=1; AJvYcCWJjqyzZJPipvnP0Uc1Ihz0eDg30QJTO70V3O/4jgS93Krm4Vi4/lSyxlFzkANArSghLsRw4YitNb/HPsk9Y/zJIMtpqvlH3EreUnnU1TMqly4G X-Gm-Message-State: AOJu0Ywbp8q6upGnnFgKjKk+QERnxihcdMbRGFlxuJKE+77DuiYhQtrZ iRY+YBPCSKDrqZJ1ONuuK6Ku6y8CB7NEK+HtwHk9XHVG8v0TM1q2T3FpTVWuKA== 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_644129_F86BCCFF X-CRM114-Status: GOOD ( 11.51 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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>; From patchwork Fri Mar 15 11:16:03 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: 13593272 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 5951BC54E58 for ; Fri, 15 Mar 2024 11:16:41 +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:References:In-Reply-To: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:List-Owner; bh=NEdbatcTx+BMxUcwyJodaDR0wXY8zMTqnjTsuA4PhA8=; b=0Ufo/Se7OeYexPmeHzacRdQLGp 5lDBpfXoyJb5qNhMDqIjygTPB0RFeebtsX+C9EVpOSCEOoDYRor7gEj3ajRfYTUPSkQQzKvhXAJDt pU2IF8vU3ORUBSjoAus4/vR1bD0egTWf630LJNyzuDlAzcAmr50GXZauSIz0/egaaotXdn7KalcPe wlwqqJLvYeujHCtHms7l/PMegS8uWosQuxB3Dci0F9S6kuQSg1x/549p+e2vi9xo4SAnHB4iUMCRn mJw2nmKMorg7AsTcgTukFaPdAqGhtB308/ScJPwKd0M2dJafu0r1JKWlAZUnPxsaQhfpZq1EQgjJu DCBs7fpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rl5YH-0000000HaS0-00mR; Fri, 15 Mar 2024 11:16:41 +0000 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rl5Y7-0000000HaM0-34cx for linux-mediatek@lists.infradead.org; Fri, 15 Mar 2024 11:16:33 +0000 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-6e6b3dc3564so1840894b3a.2 for ; Fri, 15 Mar 2024 04:16:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1710501391; x=1711106191; 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=NEdbatcTx+BMxUcwyJodaDR0wXY8zMTqnjTsuA4PhA8=; b=oKq72gHnw/4jOu5reL74rmx6xTW5h795hPJpNRGYX2uGvuOl15X1ha/vBrp/Hc/dDd xktfYCzaCE7e9djh2kJe9sb7ac5eSR4X42/YUfEIblHVD1suDrE9ee9n42FdAMVD0Y2d Ef5CFtaHN54BsHELjZTx1Hf/A8ZpbvtygUsBU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710501391; x=1711106191; 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=NEdbatcTx+BMxUcwyJodaDR0wXY8zMTqnjTsuA4PhA8=; b=JBXRxVH85LecTHYlnbe/j9lixtXYG7duCzZnZvnW3UFYVGc8WBjYIELr1+Miyns4+/ m0F7UQWvYltQCk1zzywNSnURI7nadqX31e05E0zfnitHoR4o2gTrMpZ8eOfGNITsm9Cz KIBCYZd7NB8YkdFhv5BUJgqBxNH+0+fy07Lkc70E8mkeSMN9UcLM0w7jlutPrmKLKmAK p3lVEDsE8fOkZawkQzrk68M4TQuPLtvV26spFUf+8JsW+hhLG8EcpGbLv9R8R8XZQEh4 +QkADAEEyFa+feTc5yiFwQ7/vriJahKH84lxmSX2WWKznPKSGrhSNJ6SoW6zf/GU2/QG ZkSw== X-Forwarded-Encrypted: i=1; AJvYcCWllcDh41RqARU8g7VApwvgnn4zeS1E7HVeA0ru0etL3fo+kpLqU2NRT1lbfZqVGb3PdAKfLfvY4tgX2IqtGsjeTD8wZh+Lz9T5kOdB0vAlKa1o X-Gm-Message-State: AOJu0Yy8KbLkp82RkbHxsuDzP44/totTqPgMncqFgOnoARMxOlUKiUR2 LkTpFRHrinV8snzZZ2gQhgDaBEJKZA07A5CHXqj5KvNlGXpyenXZcJlZ5eabLQ== X-Google-Smtp-Source: AGHT+IHuQe/cYmMUFny33NXapxQXc5X930DvksjS95oNx3L58qkOtWxPwKplUrudaUT4vxUuMbsZMw== X-Received: by 2002:a05:6a20:8f24:b0:1a3:502d:bea with SMTP id b36-20020a056a208f2400b001a3502d0beamr975715pzk.14.1710501391194; Fri, 15 Mar 2024 04:16:31 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 04:16:31 -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 2/4] arm64: dts: mediatek: mt8195-cherry: Update min voltage constraint for MT6315 Date: Fri, 15 Mar 2024 19:16:03 +0800 Message-ID: <20240315111621.2263159-3-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_869771_874FCB11 X-CRM114-Status: GOOD ( 11.76 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 625000 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: 260c04d425eb ("arm64: dts: mediatek: cherry: Enable MT6315 regulators on SPMI bus") Signed-off-by: Pin-yen Lin Reviewed-by: AngeloGioacchino Del Regno --- Changes in v2: - New in v2 arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi index f94c07f8b933..c0223f84b45b 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi @@ -1214,7 +1214,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-ramp-delay = <6250>; @@ -1232,7 +1232,7 @@ regulators { mt6315_7_vbuck1: vbuck1 { regulator-compatible = "vbuck1"; regulator-name = "Vgpu"; - regulator-min-microvolt = <625000>; + regulator-min-microvolt = <400000>; regulator-max-microvolt = <1193750>; regulator-enable-ramp-delay = <256>; regulator-ramp-delay = <6250>; From patchwork Fri Mar 15 11:16:04 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: 13593273 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 94ABCC54E69 for ; Fri, 15 Mar 2024 11:16:42 +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:References:In-Reply-To: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:List-Owner; bh=ViN1BNw9ywWRFA76/0dzsoN+2iKy9AGYS37opt3AHyU=; b=zcJqnH7HV0FGsnjSbK8esXjwfu ze2jITG9CxehSJwhbMf+Ub8zmhZ/+dxfMGeB9tZ0Uo8WRBeCl/K8RvqTNbXdcmx2TcCiGqoNVHvmQ xbDHnmvUpZ/Zxx9AUvW9luLp1XYjpYVeMJ5KncYU+4hPa2+ngSLTpFRdrPkLOXiFCEAEUtl0QZPao U1xO0prRmVL8Mbv3DVbz3Smob5Te8Y1ApYCcD/RwhO7Ak8VpMYsZZNcUYYJORV4ogSLECmRkWDhlM niCGl2apExG90d1+M07k5EE/7iX8n8ihbqtuaSRO1yR4MKO2In9OK8C7nIDfs7ld89hnaYiRVMkzL bPPrLJMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rl5YI-0000000HaSs-0mib; Fri, 15 Mar 2024 11:16:42 +0000 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rl5YB-0000000HaNu-1c3l for linux-mediatek@lists.infradead.org; Fri, 15 Mar 2024 11:16:36 +0000 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-6e622b46f45so1615818b3a.1 for ; Fri, 15 Mar 2024 04:16:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1710501393; x=1711106193; 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=ViN1BNw9ywWRFA76/0dzsoN+2iKy9AGYS37opt3AHyU=; b=CyjkWIx+KWks3OQxj25DQsdQJ+KMEW7+UpRKEjwgSl2YokrFEApIvsLYmpe21CtOr4 t4ufjbTcrDnTgK7pM2pZrcBGSJZ/8HDmyPVr2eLO3UKUgOyOmyKH1gPhUD8YEObs+f04 hsPGvoY0xlAUkYNydbm9OOaCkTpIDCKZ6JVrQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710501393; x=1711106193; 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=ViN1BNw9ywWRFA76/0dzsoN+2iKy9AGYS37opt3AHyU=; b=XrnkZmZC1pgkVHwG32I3QYTt6mD0i/Ol2J93WSM7iXjoabBaYqI0TbSvGAdXAOmXC/ /eH+CTeIxUMSCsjTZ6msy5oojoVCpiEKtpDu0+twU423kE4VJxtixBCGlunFqqByR6r+ d9rKSJMphzB8AcYaqeYNXCf4QzwK87+PgZRChS46NPJrxYCLVMcsU7pUrHM6jBicShJu qSKbqFOPzxo7iCQgRapZb1F4iZq0QZdkcJ7wYFzoa3TvritAp+aQ5jdCN/IahrM+3b+8 ncuc2Ti3Mg1uqRFned5CWA8mRxWQhTpu4HEOtJAYUHADLGkZM3vjaX23Z+PzwMJ1Uns8 8JOA== X-Forwarded-Encrypted: i=1; AJvYcCVpoMYEqz5mQI3VesrG+qbtfO8KnwvsbHLxd6NK/UO2EP6RF23UoU8eYyhvrn/MtyCu23UEh/MZ9KPx9N0xZ0aVtq4sl5/8ODQJuXIWlbCwK/qY X-Gm-Message-State: AOJu0YyUlDtIbThevlev32Om8bxxcQWWwx0vu19p7u6hnEDHUOdZI1cn W6ULFfu1hNp8uO05dm9wI6a/2eKQFYrM65NvV4scuIz+CaF33Xg2ss+VR/ZsYw== X-Google-Smtp-Source: AGHT+IE8Jnmp6iXr1KlhSQhcrwZ95AW4suNiCVQyzgxcTB5US5FAQdRs628m8tj5JI5n2G9MZ0ieiQ== X-Received: by 2002:aa7:88c5:0:b0:6e6:af7e:ccf8 with SMTP id k5-20020aa788c5000000b006e6af7eccf8mr3240803pff.6.1710501393278; Fri, 15 Mar 2024 04:16:33 -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.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 04:16:33 -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 3/4] arm64: dts: mediatek: mt8183-kukui: Use default min voltage for MT6358 Date: Fri, 15 Mar 2024 19:16:04 +0800 Message-ID: <20240315111621.2263159-4-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_041635_458921_6058FA6F X-CRM114-Status: GOOD ( 10.47 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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, so removing the definition in mt8183-kukui to use the default minimum voltage (500000 uV) defined in mt6358.dtsi. Fixes: 31c6732da9d5 ("arm64: dts: mediatek: mt8183-kukui: Override vgpu/vsram_gpu constraints") Signed-off-by: Pin-yen Lin Reviewed-by: AngeloGioacchino Del Regno --- Changes in v2: - New in v2 arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi index 3830daf7ea85..a64d06adf796 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi @@ -433,7 +433,6 @@ &mt6358regulator { }; &mt6358_vgpu_reg { - regulator-min-microvolt = <625000>; regulator-max-microvolt = <900000>; regulator-coupled-with = <&mt6358_vsram_gpu_reg>; From patchwork Fri Mar 15 11:16:05 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: 13593274 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 17579C54E58 for ; Fri, 15 Mar 2024 11:16:47 +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: Content-Type: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=al0RWiU4gJElSS4Z7Unyt/qe+1B4tsgOmYSta+HjBpc=; b=yUZDy8oaJVpgGJyB3/M9U8PC+i RpPERhaa4Mikc8PE7E+TCD/hlfTrZIQEVspXPVgPYZRVJd11OBGiO713/8wGdZu+VsKqCownRxM4O yZl3a9LvRP0Oc75PnfQ22sFGWuvAwIzDxeeb/iAkTFihkLAjUM1GawT0e6WRWKnCap2R1tTEV3yGX uaxDPgOYdzcuql+VK4yJd9Ov9N5jVUnKLZooqACyzo7+9zkE5i5OJ/gJacDzb9uP4CcjA6cYkSIja xx3NwuuNJLnWzn4PV3f0Qy8BNxt1hREY03tpIuFIxrDQc1zjGiGF5UTYI7ZtpX+mhuy+ncDTxS5ba GW3G9YbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rl5YM-0000000HaWo-1ttN; Fri, 15 Mar 2024 11:16:46 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rl5YC-0000000HaPA-2asc for linux-mediatek@lists.infradead.org; Fri, 15 Mar 2024 11:16:38 +0000 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-6e6f4ad4c57so850314b3a.2 for ; Fri, 15 Mar 2024 04:16:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1710501395; x=1711106195; 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=al0RWiU4gJElSS4Z7Unyt/qe+1B4tsgOmYSta+HjBpc=; b=SvnOj6Wvf1yYvJFmCQpugdR3lLiieqWWItK+gye24/Q6Zs16z5Lh4zXuaJ2mm3kj6z 8jGX22N2nNTLafTQkrZ0rNggfssbLx900PTycpr8LvEELohefa/eSxE4oLDcnDsld2jb p4lbL+LjJXknUbIfY/QU/AKJUe9nuLsu81nI8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710501395; x=1711106195; 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=al0RWiU4gJElSS4Z7Unyt/qe+1B4tsgOmYSta+HjBpc=; b=p+sQ0OqW3CfADlufm09MTHGOs2BW5gm/yCGVrdIi+sxo7oKwwBOiKlNALkiv5GZbxa QB4YusuEXmG/XBuWXvtpzLAZqNFzNLEida0uJXefNWVWo6KYBKoeNPlsa67d5HLU8JQs DbHoTjkZxav5jXLXfktEbQruqYFCuoqNE5n+uR+x8yz3WpXq8W1ER0crQl5mUXA16LK1 crymDXAMNs+iImDAM19ns1ou6IcKxUlAa1+3/ru/7P7HjAYHU9kvot0c08RaaDLFqKmd RlMOEvFoJPt1P868FF1O0RdzJlTl78P5CIxaztmRhaLZUJjs7MHIxzl9OhqrZZ0FMQk7 kplw== X-Forwarded-Encrypted: i=1; AJvYcCVg/oFAIuUAijFjln4c7QijjPiakEkVtIaHjyUJ5kRyGxhblTmV1HVwkWM9INpFVnHn4LvIsUjnCVjO9AqfYvFZaz9A3gId6D7Xqm7rMAgXyG0K X-Gm-Message-State: AOJu0YwRJEKLiDWTYwc2MXFUwLAmsjhHu/3nUDOeW4FL+6Y/QXFhcGEH KMkzNmyOmGXPurFzJJxduuW/ipIVudWa75JB5nYy3JrxXAUEALSoTah0M+qXXA== X-Google-Smtp-Source: AGHT+IEAdPZ814mOPF422g9xOunYnTCRZxGPQITS45msqmivfaAABFu1iB7POKJ4pYGf6WbFacC8iQ== X-Received: by 2002:a05:6a00:2389:b0:6e6:5374:411a with SMTP id f9-20020a056a00238900b006e65374411amr4806672pfc.18.1710501395445; Fri, 15 Mar 2024 04:16:35 -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.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 04:16:35 -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 4/4] arm64: dts: mediatek: mt8186-corsola: Update min voltage constraint for Vgpu Date: Fri, 15 Mar 2024 19:16:05 +0800 Message-ID: <20240315111621.2263159-5-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_041636_741781_61309471 X-CRM114-Status: GOOD ( 11.57 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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, so update the minimum voltage constraint from 600000 uV to 500000 uV as listed on the mt6366 datasheet. Fixes: 8855d01fb81f ("arm64: dts: mediatek: Add MT8186 Krabby platform based Tentacruel / Tentacool") Signed-off-by: Pin-yen Lin Reviewed-by: AngeloGioacchino Del Regno --- Changes in v2: - New in v2 arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi b/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi index 3dea28f1d806..1807e9d6cb0e 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi @@ -1296,7 +1296,7 @@ mt6366_vgpu_reg: vgpu { * regulator coupling requirements. */ regulator-name = "ppvar_dvdd_vgpu"; - regulator-min-microvolt = <600000>; + regulator-min-microvolt = <500000>; regulator-max-microvolt = <950000>; regulator-ramp-delay = <6250>; regulator-enable-ramp-delay = <200>;