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: 13593312 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 42F18C54E69 for ; Fri, 15 Mar 2024 11:16:57 +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=44O2bGPuu6E+nD2+J8b1ov958jVZVwqbNP9QOb3hQno=; b=t7mUWxfe00VjhF ROAqQkULeqotG9Z6/vy4Zzy3gygpUZ5HDRM7yylsn8zXhF03GtSaW1ATW25uE8Kd+h2LMK8n4Ph+G AfdPtmtXhwOMiz6pdEoTEtDwhRBqg7PglpW0ZkHDcjDzpw1uMKdbJu8k9Nh9ZnRs4rvgF8+XMYXex LzLLjZH8Za55aib9BX5eBe3mfmPmhgYvu2dzIvZM6RQ7mQ+TfFeqMvH5uL3d7ALkGHawD4Agm4DBc zTjy8r2Q4CzAi8qpjcflPwn2ESjzCZ/TjnEW3jOkw1jCFQbkxa+ZvkrlueZh5ZB0DqOccJ+5LA0Nr 2a+IcieRthPYNMPRe2uQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rl5YH-0000000HaSN-1sON; 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-0000000HaLz-33jr for linux-arm-kernel@lists.infradead.org; Fri, 15 Mar 2024 11:16:33 +0000 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-6e6b5831bc8so1964693b3a.0 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=VOFiAIhipcv9Lsshbxn57H3lBhCfey5zmTfJlSgL25nZc9NU311EsmQzBegYhKvtRb vIe+w6tTuNiURDNLcgBkzGmTF14qqlFjU7+LBO1GAp7kuGMzU5ZnzsT2knPcM+cd6wE6 rtEpOzmJVMYOn6kHCt/ieQBoLnJHM8J3pd6Dhlm88stlWDXPN3xApvLbda1yEIqau+t3 3Ewqg5lpPklJEqJabZnCO1Gj1f8QDmcUR87eEqbBzlErbr4NuMoIwV17v9iLLWT9zvrj LnABdoHKgkDHEMpREQD76c28JroGRuUwEqxNu3VjiAhYrEmJ+ASPXucmLY2kCpYb5cZh v4nA== X-Gm-Message-State: AOJu0Yxzp9OEndY/8fWq+mBhwdx1OU7glIibN9hkH9jfPQhaCfTPNuE1 uyKvuWmm0yuoH8WjfkCTvLURFBqTPT8FmI+3jo2GlMnR3impYC9hPnbqzcI3Ng== 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_894791_1FA25264 X-CRM114-Status: GOOD ( 13.18 ) 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 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>;