From nobody Sun Nov 10 05:50:00 2024 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (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 BC4671AADA for ; Fri, 15 Mar 2024 11:16:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710501391; cv=none; b=Vxmcf1iRDKyZPUCKY+eHB+fdnTL3Xb6To0HUi8Fg2A+v89UgE6L/7unfl/kX89E6aj+bvVWqkit/y4IOOkliIkymNCw9DTXDmbI5QU7BekKdU6TXCV6/BcRarKL6mUyaMDA9rhIdX1AE0s73hwnVKIdwBfAXgUt6mhLd3kluiHk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710501391; c=relaxed/simple; bh=KNgckelpASRuDVwM6/F6UstZSiOZfWHRVUIRnQQxR2c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pVMo9KVHnRbyJaEuJ5B9CvOD5v4IN4jTHVlHrVi+i/xWubx+q/LbcPgjhcy9o3Rz8sbngNIKLvpFVWRaForIT7OI+3AOdMl3SS5P0jumZ/W63msrOkpBbRA6VwIFibTvb0y0tRbShapnTCs1vBfImq1KF6vkwr06jhK7yIVzcek= 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=LGopsBlt; arc=none smtp.client-ip=209.85.210.173 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="LGopsBlt" Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6e6f6825102so684164b3a.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=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=T5JNiRjaunQauoZyRAKchrBIX3whGa58HwzCcAYhjAQ=; b=LGopsBlteWxpY8he09Td36l5z3oxXVcT1BRUoulmufOCd6N6ppU85s5xvdYmKUEVFm v2Bnu2x146hUYt61upmo3BbRdfDoFP42wPXZB7ijw2kZaVznNV1jjxWQXtKyvbbhDIgl 7pQ8c1dfdjvJhsp4CFvhpECUhmdNcGRrjsKng= 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=R7hJxynODbL5gnhzUsHjW4/qBXlK1383QCOURYhF8k93YVRybjplT+8SlELKPdT8Bm 7ihR2XFCWLUds2M9kBvGThyJqReCDJ6MTr4Pl3pC1SP0N9Xngk0mxMT4w2k7+oJNxitG F4usYRe+ZGcv7QQM8uCZj5sdIuI+7sf23WJMMga60MWHFBIt1rhkDL1OtHxZXIe9NW7/ KbQIeH2H0swHTn2z2mLWvSmcIoL8280ZArCpu0xTiIR2z+ZBCeEj/w/ApYyYg+X/AJX/ s/ELufEPaET5Y1Nxs0OPnc89EkRRoH2WOEuwZ9jCEAvr0sMD1VfCSSsmEc6KcR3AwZIp /24A== X-Forwarded-Encrypted: i=1; AJvYcCVkgCaMzg6odwSc69I6FtYEIulGhAdKMWNHDrKkIAY+2iwJmqP6aXoD+Eh+dds1sN+BA2XxQQlXWA10uWOnT1SnPauueSeloacEcWF5 X-Gm-Message-State: AOJu0YyTpbkSFw+tRvM4Dy0g2BF9CVyRGJAHxUV9ssaIIqC2E6yme+4u 8S2DIy1TN5SDs+2aykaxcMtljtrsahdw8yTvxuFFXD73BADhknUBvEOvzNoHkA== 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=ADcolas=20F=20=2E=20R=20=2E=20A=20=2E=20Prado?= , 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 =3D "vbuck1"; regulator-name =3D "Vbcpu"; - regulator-min-microvolt =3D <300000>; + regulator-min-microvolt =3D <400000>; regulator-max-microvolt =3D <1193750>; regulator-enable-ramp-delay =3D <256>; regulator-allowed-modes =3D <0 1 2>; @@ -1431,7 +1431,7 @@ mt6315_6_vbuck1: vbuck1 { mt6315_6_vbuck3: vbuck3 { regulator-compatible =3D "vbuck3"; regulator-name =3D "Vlcpu"; - regulator-min-microvolt =3D <300000>; + regulator-min-microvolt =3D <400000>; regulator-max-microvolt =3D <1193750>; regulator-enable-ramp-delay =3D <256>; regulator-allowed-modes =3D <0 1 2>; @@ -1448,7 +1448,7 @@ regulators { mt6315_7_vbuck1: vbuck1 { regulator-compatible =3D "vbuck1"; regulator-name =3D "Vgpu"; - regulator-min-microvolt =3D <606250>; + regulator-min-microvolt =3D <400000>; regulator-max-microvolt =3D <800000>; regulator-enable-ramp-delay =3D <256>; regulator-allowed-modes =3D <0 1 2>; --=20 2.44.0.291.gc1ea87d7ee-goog