From patchwork Mon May 20 06:02:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 13668051 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 197BDC04FFE for ; Mon, 20 May 2024 06:02:56 +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:MIME-Version:Message-Id:Date:Subject: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=S1QHIxIoYrZBjM4wmq8cFIf5eHLHfho8GA/qN858Pr4=; b=X1+MRQYXA1V0zC 4ep7Sh/nxsxO31hbdt6KKftdLItVVBtZnDhb5/HRcvRI3A8vqq3NwDaD0k2QNHT9AzFhiBPdLAfuD rNQmunIoR/5UhlJqmN90vFPeGWqSsKhOyKwHGAsrkljdn1l+54MoDAI5YrcF9XP4NcSCHsChS5Lo/ wer2qsB9gndhjahaC7RSlki02EnbzzaH0+nNF3lAXsmyOohV/8ttoF2WKxVKeSf6WSyazGc5ZCxEA 2OInQslkc0nPMGdVX1IIIH8lN09waoxe1jYQL5y0d+alEhRPY98wgP3ToPagHRzxRt8+xaxGg7ERT JembXjbUe6nbNdgkVhOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8w6b-0000000Dc4S-1Kqp; Mon, 20 May 2024 06:02:41 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8w6Y-0000000Dc3I-0eTF for linux-arm-kernel@lists.infradead.org; Mon, 20 May 2024 06:02:39 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-51f3a49ff7dso5125383e87.2 for ; Sun, 19 May 2024 23:02:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716184951; x=1716789751; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=1LQlzhEzOG8t8n4JgFMN8rtNdoenYFCDtUlbUryUBdc=; b=bbf0IMXsXz8JgAai1Tx+jEPGAunELOBVaCf8IvUAk310o/lFCgzr9gQG5J+efJj9YJ Q8bOEggT4HGImycgUsLmTrYAlYzDij/7DLHqjcfknhj6DTPxobj4EbTsND1CiR+S6i3x 3h9PdfvmXp/+l4v8KyLwcaXjOZP3KdN0Cm0mtKtf2QlohHsWGAemOCva5ngX5Ljsy8i9 RhtjGoSxL/ad6tVzvttBnbWU5pn1HXMEP221XDxtx4bII0oeIdqraXUaVQ9+LRfjOUBi +1TjN75sArRoFBL5UMKGsvKWiVHuyjJLZjCdOmDO8J+L6Yo8FtYp9EgdG3T59mWZtuyL HLWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716184951; x=1716789751; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1LQlzhEzOG8t8n4JgFMN8rtNdoenYFCDtUlbUryUBdc=; b=vYqYmDTQtNcWfjMzFxgefirKkGAzew9inrzLZMVy+XaOKDMCLujEmKoWaddMb3OmYf kz5M8dENoXGfJl6bIu0QUXJMCDguwN7aA94H6atVe1OY2SfEbj43uHuMboK9PzVACaae Np849AwjnhIJbGhwKkDw9avPOC5ypGy8791QYkNwvQxx0EbwYsksU+vzfWzzll8Oxsg3 YusWHN0t6mZZN4BfzD2MJWWf2P5zzB14m36Tmd4XMiTngS4bz3WCgFoIcEaK/E50NhnY FsMZp4jO2iyFTNUrHlltOJBVNt2B+sZw2ZtF2Ca5MjE5gl2xay2KsxHVzSTAi4PtH2YQ XyxA== X-Forwarded-Encrypted: i=1; AJvYcCVNs96XwgZ9nv4u+DUkTNa8r3kc1zRXes7C5MmuO7pF0bh1lLS3dRIZnN2PVUJhstywqlnxKnk+jyzSqDVz6my0bsP/XaEYyxLyXdQdh/NxeU087IE= X-Gm-Message-State: AOJu0Yy0gaBvJCH8QusmxKwAAI2ADyT+kVv8fkTpIGowQRrEdixXupq5 NwIFFLgYxFSOgp7nQDKkhuQNQ4sE7Rrc6+Ad9ndHfFS4YT7e43ZL X-Google-Smtp-Source: AGHT+IEUMxwsdn95GJ80iOIBJ473ZyoaAkcwkF09a1jEP5o+o5PJFPWaXYkUTeHTv6cakuKO48xQ/A== X-Received: by 2002:ac2:5f89:0:b0:51f:6a38:be0c with SMTP id 2adb3069b0e04-5220fc7d370mr17303695e87.22.1716184951262; Sun, 19 May 2024 23:02:31 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5733c323887sm14759024a12.89.2024.05.19.23.02.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 23:02:30 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Shawn Guo , Sascha Hauer , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, =?utf-8?b?UmFm?= =?utf-8?b?YcWCIE1pxYJlY2tp?= Subject: [PATCH] ARM: dts: nxp: imx6: convert NVMEM content to layout syntax Date: Mon, 20 May 2024 08:02:22 +0200 Message-Id: <20240520060222.2980-1-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240519_230238_251912_E8CCA9B7 X-CRM114-Status: GOOD ( 11.72 ) 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: Rafał Miłecki Use cleaner (and non-deprecated) bindings syntax. See commit bd912c991d2e ("dt-bindings: nvmem: layouts: add fixed-layout") for details. Signed-off-by: Rafał Miłecki Reviewed-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx6qdl-mba6a.dtsi | 12 ++++++++---- arch/arm/boot/dts/nxp/imx/imx6qdl-mba6b.dtsi | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6a.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6a.dtsi index 238f3af42822..807f3c95e3ce 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6a.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6a.dtsi @@ -22,12 +22,16 @@ m24c64_57: eeprom@57 { compatible = "atmel,24c64"; reg = <0x57>; pagesize = <32>; - #address-cells = <1>; - #size-cells = <1>; vcc-supply = <®_mba6_3p3v>; - mba_mac_address: mac-address@20 { - reg = <0x20 0x6>; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + mba_mac_address: mac-address@20 { + reg = <0x20 0x6>; + }; }; }; diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6b.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6b.dtsi index a587bc88f76f..789733a45b95 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6b.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6b.dtsi @@ -32,12 +32,16 @@ m24c64_57: eeprom@57 { compatible = "atmel,24c64"; reg = <0x57>; pagesize = <32>; - #address-cells = <1>; - #size-cells = <1>; vcc-supply = <®_mba6_3p3v>; - mba_mac_address: mac-address@20 { - reg = <0x20 0x6>; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + mba_mac_address: mac-address@20 { + reg = <0x20 0x6>; + }; }; };