Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2811392rdh; Mon, 30 Oct 2023 08:19:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFMiqRsXmHH/51dmJGRW/lYIYNA8noXE+PzYAxwICh/Dg4CedawAEM9e5yIS9Xn8soQwQJk X-Received: by 2002:a05:6a21:788b:b0:14c:5dc3:f1c9 with SMTP id bf11-20020a056a21788b00b0014c5dc3f1c9mr8923912pzc.49.1698679187152; Mon, 30 Oct 2023 08:19:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698679187; cv=none; d=google.com; s=arc-20160816; b=gTnTCl6xPyF9axXTQ5tHQXS5s5acXP0hzQAxMn4psEyIuBWKrFRdSl3Sz1o7xDtyxd 1yai8rKmvdnpIZreQyHL5tg3sAOfnH33X9jbB+d/db8G5OhuphXgMQ/517gB9t/OrTjA 4xVVi0dO4HCAdxNstiGh30Gbqc39qNo49FZE/zyn0syo12uEzQ2aJljeVz8VTFpDvzdl 2gPpihpc9w7SxW0iHBq6bApCJTxIXDWsFj1bYNoyqrUiJjYa+shs/NNWaDXWd33W37Xm cXBCjYXE08PUArklkZeWKKX8g/ObAynmMVPMISiF8aLAW91riqpblNVon9MdNmi4msjp eWVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :message-id:date:cc:to:from:dkim-signature; bh=fPyX2xKi9wt+BUqj5PbupzF9CM3Fnmi9BbXwUcuJzyo=; fh=X6r1Bea5hzS19+N13jbqbcZvZbdfvOXu8EPn1uBO7NY=; b=si9U89iiXEBsp1YDBhfQyywU9VTM6F23Hq7M4SRCmofW6DK9qNBeZmaTW0VlBDPmBG i8ixnyIVFI2YyUAzVTSPplrA+7i7AV+KjWCZMbo5xUNxqyZW4fiA0wZ4fPLH9KBYolC/ kKq0UZ6Xq8EXQJiRSNfcd08feQmAojDC3XgncdDSktgL00m3nhw2MUkpwoeSyQIN5gpE w1gVDDew93lpHXGISvuTEl+dmmC61y//QoseKEupZhOpn18d81TXe1tdQWsIBzNzI3Y8 QUSdfnnjvtEWh0ylUYqNihLVRo7nK8p36Ebea0vR4STxC9+f4lvqc2rMZi7zA8Twy4Ge WYDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=lEaVq8Pe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id l64-20020a638843000000b00585a5433e55si5148596pgd.143.2023.10.30.08.19.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 08:19:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=lEaVq8Pe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3B795805F0B3; Mon, 30 Oct 2023 08:19:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233311AbjJ3PTp (ORCPT + 99 others); Mon, 30 Oct 2023 11:19:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232176AbjJ3PTo (ORCPT ); Mon, 30 Oct 2023 11:19:44 -0400 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF228B3; Mon, 30 Oct 2023 08:19:40 -0700 (PDT) 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 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 30 Oct 2023 08:19:46 -0700 (PDT) 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(+) 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>; }; }; base-commit: ffc253263a1375a65fa6c9f62a893e9767fbebfa -- 2.39.2