From nobody Mon Apr 6 19:45:04 2026 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 AD41139EF02 for ; Wed, 18 Mar 2026 10:51:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773831099; cv=none; b=ElyX2W6e2KWPEcJE09n/Grt3r2OStDoqrCzwP4CnBwJQv1ZHR9jGxhUuwDSxheqwY2Ux95gOg4cOtMoK+fOcapxjaT3mjy4oB6PNJ6p/gNH7uDHUcYyytY+ECGl7oI/93nZHtX3ioMSeClYWyoHdIXsD+CMyn9MLzDOOuCjr/JI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773831099; c=relaxed/simple; bh=fY7ASz0zWeUR8O66cYDJopAwvXuoXz2od4ZmbubNWsE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OcgSXuujBhAVL+7Fitd4f3QguGXCD53kOj2C8JE9aoXnDGVqOypqlU+QoXc8VXvID+DGOKrpfGwVtdthmIbBZe0TqV2mGuBwnmbsX4RXYCSoLIcXxlWitYo8v5cGiFmnVpm13bH54KRkIMIdFJxMQ8IF6syAKa3mCrjoOMz3Cn0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1w2oUn-0001WJ-F0; Wed, 18 Mar 2026 11:51:25 +0100 Received: from dude04.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::ac] helo=dude04) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w2oUn-000tSN-00; Wed, 18 Mar 2026 11:51:25 +0100 Received: from ore by dude04 with local (Exim 4.98.2) (envelope-from ) id 1w2oUm-00000003RII-3uSv; Wed, 18 Mar 2026 11:51:24 +0100 From: Oleksij Rempel To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: David Jander , stable@vger.kernel.org, Oleksij Rempel , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v1 1/7] ARM: dts: stm32: stm32mp15x-mecio1-io: Enable internal ADC reference Date: Wed, 18 Mar 2026 11:51:17 +0100 Message-ID: <20260318105123.819807-2-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260318105123.819807-1-o.rempel@pengutronix.de> References: <20260318105123.819807-1-o.rempel@pengutronix.de> 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 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: David Jander 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= ") Cc: Signed-off-by: David Jander Co-developed-by: Oleksij Rempel Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/st/stm32mp15x-mecio1-io.dtsi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/st/stm32mp15x-mecio1-io.dtsi b/arch/arm/boot= /dts/st/stm32mp15x-mecio1-io.dtsi index 915ba2526f45..1ce01bac9814 100644 --- a/arch/arm/boot/dts/st/stm32mp15x-mecio1-io.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15x-mecio1-io.dtsi @@ -95,7 +95,7 @@ &adc { pinctrl-names =3D "default"; vdd-supply =3D <&v3v3>; vdda-supply =3D <&v3v3>; - vref-supply =3D <&v3v3>; + vref-supply =3D <&vrefbuf>; status =3D "okay"; }; =20 @@ -412,6 +412,13 @@ &usbphyc_port1 { phy-supply =3D <&v3v3>; }; =20 +&vrefbuf { + regulator-min-microvolt =3D <2500000>; + regulator-max-microvolt =3D <2500000>; + vdda-supply =3D <&v3v3>; + status =3D "okay"; +}; + &pinctrl { adc12_pins_mecsbc: adc12-ain-mecsbc-0 { pins { --=20 2.47.3