Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp701641lqb; Fri, 15 Mar 2024 04:17:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUxdlWnslTq2hoAG7J5Tn5ZZHsoAG/qAsZIe/nUW46cJSAylw5YPgBxxjvKoe9VIWTlVWNhv+/3HbvhE9f8iIFnxVIFPaXTjYysFiAbKQ== X-Google-Smtp-Source: AGHT+IFwu88M4ZH4Zb5c06jBjK1CFJMycwftY0BXtrkBDFejBP5yuQx87dsQB9tUJut5X6j2mcad X-Received: by 2002:a05:6870:e251:b0:221:8149:519a with SMTP id d17-20020a056870e25100b002218149519amr4885665oac.19.1710501432481; Fri, 15 Mar 2024 04:17:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710501432; cv=pass; d=google.com; s=arc-20160816; b=Z/8897t6eQNIMP0RkcpeCKWcRK+dtvX8X2VvWqykoD9z+9eFhiAyzvlWe5aKfqHdX5 LJOH27sQTxFfAE+X7w6sl7kw/TettCH4KVuNRCtvPIzIcaLveIZXG3KmnTPfJPhY2698 nhEx4pmbC/EEzOckvc1aaTTKeUHXEregIMiFB+aoerrMu5cKqWXe4tNDP20hQ60G0rj9 qY/q7jy/3U5ekeiMO6iOZT3vPGjSoA8IVLAsloUWf+PT7gLAGjRK9O83SqrmTFJNw/Iz IljOtKtHryLpTa0ZQqgRlChcE9iOu8q7Vl/1bBCsyfRFFRB+Wesm34grcdKyNuLggi2l flnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=NEdbatcTx+BMxUcwyJodaDR0wXY8zMTqnjTsuA4PhA8=; fh=veIfIqJGFaiL0MgH+tbQysEpHUEm3mzQA1F6HiBluB8=; b=xDRHbA0BwwiyHYtmD67k9+x3HSKobVH4bGn4fkn0cyZ/WOolizsOEYdHEwainkWbNX 9XkoEn4TW3oUDqQjkG84+QZoF92s+R0J54Xo0Epj8Ou9ASOZqoGSApo5g34Kvm641kmC nyVApErYcrgw/Gz/Jq7zJqjBZdOIDRVNvCPhszEbBeBfmBaTgyiqoUcNkvm5SO1wn8FO 7i/6VB22vCJY+IdgDQSEpDb/EvZ/guKTNrllEjtj5oaWEQ8A8xRVYsoPFDgtVSHzWg+Q Hl2Xgm3iI4WrRGiZ6q7UfSU8fVo7d/gNIuVc7OP5a6LkMtLkUif7nraWnuC2NxgvLeLQ oXaQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="M/U4GsmF"; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-104319-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104319-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f14-20020a63de0e000000b005b96d038729si2417477pgg.728.2024.03.15.04.17.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 04:17:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104319-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="M/U4GsmF"; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-104319-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104319-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 25955281768 for ; Fri, 15 Mar 2024 11:17:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 218B01BC43; Fri, 15 Mar 2024 11:16:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="M/U4GsmF" Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D65751B809 for ; Fri, 15 Mar 2024 11:16:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710501393; cv=none; b=ZC0HpSanxMOo1Ez3K0WUT6IFCBqvzpZiwzxFsVk8R0T/0Q9HpBZUTwNLRKFMNTEgT8gXMLpCHT9jXri5+PXiiqj9AlA2cITl47KYSj0aBr0prIr5BzlRMlkqAx4TRiybFrwnLFRFmLexXqQnkm5ifowtMhDbP98ZFlD2FfQm4PY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710501393; c=relaxed/simple; bh=gWbyXJV1WU2fllqx2n7uBZgIHfZzTQJ1nDc/naFaxpw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LojbaAsv+6PqdBcmPofSBi70tgz0kXBugmVZX9MTQ6bcU3jRLKeXzRZ+WBFvCVgK9/xRipVVcf2lQ/8QjtcQWM13qVi7ZlEXya4Zm7ObTpd/N4a2QRbEqmggbxRucMbEpSGtsVzgBDZD4jtzQ6sJbNncCHMCFGmq+QT7xdf738Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=M/U4GsmF; arc=none smtp.client-ip=209.85.210.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-6e6b5831bc8so1964694b3a.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=vger.kernel.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=M/U4GsmF9y2oYkkVCC3tk2D9iT7DqzkK0gQ/Bubm8JNXxIBOZRYrZhrVNUGrAI1/cb 09AOrCAaYUZtWg8Jg4N0j+YrhXbE13dnaieOJLO9kPZT6JvDLinKpKbTm+7IvKWDB7Kp x0yqxXTPpeAhB51NKhB7jP1JklA1BbBERRyH8= 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=dxonyZSjNmcrMPToG3QhpEKfg7pejgT+xj2b0VkLlR+dTV7UxOXipdYgneZW8tliiR 4kE292uwzr3yj1DvyiukZciYetuvjr1u75UOpau+1vi8JxAAW95y/BBJfoO8dZsr3bHU 1tdvI1rfOvurH0qzYFW518I+CXIpclF3+YE00anGpiNoEGipjTPhZRw92iif/tIRN6f3 4lVGAQt7+e2dS3XdiwbgTcMWfttN8RmuHuuzcWAUvCCMqR1/E7b4sK+pMqmGVfSwjERF g+nyXjmunazStJInM+I3tH0agygrCXGmhxPg2pqS5Lu0rdxp8nv3744f/LRTvNEkyrGN 2kuw== X-Forwarded-Encrypted: i=1; AJvYcCXIlXNMGyI8krG17sqaGLuWZfhMpOtx8sv+wdxnt5yuspiEgZfWHrUMK1Nrx2Rpo359wmwngeJJPXwpQp0RUIRkNDB/orXyw4hn04IT X-Gm-Message-State: AOJu0YyiaeFmP67FTRrQg2SFJ1eIsT+GrsHSjHY9gwD5cG0kwAPVM86M pcLCoElhNjPnPc9yDBBLLxu7SPHTv4ZQkkcu31WYzaLwGT17sO/lhQuB7zJrhV6S6POhlBjTpJw = 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=ADcolas=20F=20=2E=20R=20=2E=20A=20=2E=20Prado?= , 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- 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>; -- 2.44.0.291.gc1ea87d7ee-goog