From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 75C6C472533; Tue, 21 Jul 2026 19:50:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784663436; cv=none; b=eZ1eJ2I0gciIAcyypsCsdubgKfZqE+QEhV7YiD3Iu4p1f22bLZhRuYtsPPJ84/9DQ5F5G6ku0JlERmeOqMOtCHqu6u7sNInXK1EfYmtvg4vli2d12y9BRxUiS4fI+jJFbx4jyVmVHAZnIMUsha7OekQBduSTUiyYAWFc6ZSVe5Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784663436; c=relaxed/simple; bh=LWub3RFU4kOGjAfe3l13BHBgVG5iUHML0vo0i3FQEj0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=a26NTfD58A2m+MXeuXuIcxcVVF9lgikyI7c2PlLvFrMthBF19RCwEa3+1kpGctbiRzlrCgbh0OS6mUz9Xl5tu9lfLrL2+lDiCzD6mbTc8ProFfZo02FfGUKQaKVBhqDK5J+plFpe1XmW9RT3QzyXr3pY3qsY0sF11pCizDI4Q9o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=swYN5XpW; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="swYN5XpW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB2021F000E9; Tue, 21 Jul 2026 19:50:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784663435; bh=ynpFT1Cd0Gs2P+o7VKa4Kn0NeglWXwEmq+LKLtaKbfE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=swYN5XpWE+rHtRWRHiragLF2YqI6rmv5m3nEDKOICxzM72BWlz+7sFfaBQmj7+lmG s/IFDQWb4s1szmZSyJlS1Yo5lLVhlWAW4PnkTZJtim4Xngr0zKIY4f5xHq0ehmUd7C cl8Wgwwj9wEO4jgXHks+55SolExct7Rgpt4CYOYw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, David Jander , Oleksij Rempel , Alexandre Torgue Subject: [PATCH 6.12 0821/1276] ARM: dts: stm32: stm32mp15x-mecio1-io: Enable internal ADC reference Date: Tue, 21 Jul 2026 17:21:04 +0200 Message-ID: <20260721152504.437044173@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260721152446.065700225@linuxfoundation.org> References: <20260721152446.065700225@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: David Jander commit c84f22405085d91cd5f0c5b967318371c07904ba upstream. Switch the ADC reference supply from the general 3.3V rail to the internal 2.5V VREFBUF regulator. The ADC circuits on this board are designed for the internal 2.5V reference. Without this change, all ADC measurement values are incorrect. Fixes: 8267753c891c ("ARM: dts: stm32: Add MECIO1 and MECT1S board variants") Co-developed-by: Oleksij Rempel Signed-off-by: David Jander Signed-off-by: Oleksij Rempel Cc: Link: https://lore.kernel.org/r/20260318105123.819807-2-o.rempel@pengutronix.de Signed-off-by: Alexandre Torgue Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/st/stm32mp15x-mecio1-io.dtsi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) --- a/arch/arm/boot/dts/st/stm32mp15x-mecio1-io.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15x-mecio1-io.dtsi @@ -95,7 +95,7 @@ pinctrl-names = "default"; vdd-supply = <&v3v3>; vdda-supply = <&v3v3>; - vref-supply = <&v3v3>; + vref-supply = <&vrefbuf>; status = "okay"; }; @@ -362,6 +362,13 @@ phy-supply = <&v3v3>; }; +&vrefbuf { + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + vdda-supply = <&v3v3>; + status = "okay"; +}; + &pinctrl { adc12_pins_mecsbc: adc12-ain-mecsbc-0 { pins {