From patchwork Mon Oct 30 15:19:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugo Villeneuve X-Patchwork-Id: 13440682 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 86EABC4332F for ; Mon, 30 Oct 2023 15:20:19 +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:Subject:MIME-Version:Message-Id:Date:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=g6kvoP2Z4pob3K8rbpuOlpUukHh79j5nrqQ6Eg6jOfk=; b=L/2Lm6Gwq6bj/J XQWIXkrv6wvf/JvTidKu/D9lshKBjNI/seII9CXroaFlYJTY5eqEZJMGqNUoVT8G6tuk8ewqfUBMU VJWS8wCAixv//kRrX6z0/dOWEIft0Y2ImSss5+Hyxb2K9RPhqvZAzTVTkNTzgM92qxM/HXyOwaRB+ 3BG8nF0ID9p0UlqyKOtZ1HsRsvdsOWy1PSDmABMXKurDBxUg9zhJ0usV6I9DyGi4GIqkPt8jEErC7 bICdSd4vXC2v07ctihIDiObpvzOQDkSXUBWmNcya7U3kT81ElKKu49Gz2R9NQpI2sQRaYtbwdOfhD aFgSJbNzrWYfPgkyuP9Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qxU3Q-003Y9v-0i; Mon, 30 Oct 2023 15:19:48 +0000 Received: from mail.hugovil.com ([162.243.120.170]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qxU3N-003Y9H-0n for linux-arm-kernel@lists.infradead.org; Mon, 30 Oct 2023 15:19:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Cc:To :From:subject:date:message-id:reply-to; bh=fPyX2xKi9wt+BUqj5PbupzF9CM3Fnmi9BbXwUcuJzyo=; b=lEaVq8PeaPkG2b9GStNvHqktUr 99Z0nGcBG33VlSSNmN5QaoHzpZfAB0LuYFTbOMPffCajJ/1lR2G1t1LbuxA54XDzRSyHW5l0CpcMj 0jnyBdF7uwCyNmHWSx4Ea9GgzgG7gPrQ7nMZx/RU/a+AzduGHS3DJk67YmkGplxY/7AE=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:47382 helo=pettiford.lan) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1qxU31-0008V7-4j; Mon, 30 Oct 2023 11:19:24 -0400 From: Hugo Villeneuve To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: hugo@hugovil.com, Hugo Villeneuve , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Date: Mon, 30 Oct 2023 11:19:20 -0400 Message-Id: <20231030151920.191018-1-hugo@hugovil.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com Subject: [PATCH] arm64: dts: imx8mn-var-som: add fixed 3.3V regulator for EEPROM X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231030_081945_402995_83F57275 X-CRM114-Status: GOOD ( 10.32 ) 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 From: Hugo Villeneuve When the EEPROM is probed, we have this warning: at24 0-0052: supply vcc not found, using dummy regulator Add fixed 3.3v regulator to silence the warning. Signed-off-by: Hugo Villeneuve --- arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) base-commit: ffc253263a1375a65fa6c9f62a893e9767fbebfa diff --git a/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi index b8946edf317b..b364307868f2 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi @@ -31,6 +31,14 @@ reg_eth_phy: regulator-eth-phy { gpio = <&gpio2 9 GPIO_ACTIVE_HIGH>; enable-active-high; }; + + reg_3v3_fixed: regulator-3v3-fixed { + compatible = "regulator-fixed"; + regulator-name = "fixed_3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; }; &A53_0 { @@ -234,6 +242,7 @@ eeprom_som: eeprom@52 { compatible = "atmel,24c04"; reg = <0x52>; pagesize = <16>; + vcc-supply = <®_3v3_fixed>; }; };