Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp389932pxb; Wed, 22 Sep 2021 04:41:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhGuyCFzRmZmVcMWUAZAAjJ0NA9moW9gaO310j60BtLQXo+rRHPn7YnnMKk8vVY/Be/8ru X-Received: by 2002:a6b:6114:: with SMTP id v20mr205908iob.161.1632310879275; Wed, 22 Sep 2021 04:41:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632310879; cv=none; d=google.com; s=arc-20160816; b=NjMOKK/CVwCEs79WP056WzEtWDYlim5NkhL4DVwF1Eup5UgVDa+7/LV5Fp7+ZcXmGw I9Gcgnxx32MklscBm7YPMJiWmRxkguJ0lCXN+0JiLWhLyZzCEhcXKaqZrtfjOedycAbP 5zEpwGll891mHbY1R+ZOJz5uuMO/4c1hFeGjcOepbrdozhq4M27vmxIyv+MLOstgVjlp w7IlGNuDpgW7kGfkLzINw31kRhC35oxn2B7zazSDLO+pzDMKTHOpUdo2uA9hAtfly/lj /7CwRNMUrtlbpnOxR1TosWnD5HsGBGC9uLNpLJ2GFeQJOU79xi2rdRalPWHg/k4pLNLb /bGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=C7DCTNlfob2QcJO79VDThFGTJ6npKqDX198b+kOGmuw=; b=i/bCCTqShVRKnKa0d6V1mvRYv1Ebqmdxyzlk495gmNaF1Oq+ja/RQPBy81q054IWWV KG5YPwmRohbfvnVxIx0G4NYsAXzOyVFbfu4iO7ZPIuN3l1rSdRaZeoB/k1JUR92A7pjU G1YMsBe3MGMYMRGJbj3JHb3ZRv0XdD67+WKm7WQQt2zmCHDp4bwItDpBg/FRZg9veJ7p 6svcJ+stKd+dX64d/QIGjnIwoupO3UZGCri4FU8087cglFGLZUkmuxQKl8ti8u33qYkO B08z1BGbLC+rzlKOGCF7bwzuqD4KBJtGALEPPhB7C0s1zz777RlUzW2p7aeyRWoWhQOl M/8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b8si2733966ios.12.2021.09.22.04.41.07; Wed, 22 Sep 2021 04:41:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235778AbhIVLlg (ORCPT + 99 others); Wed, 22 Sep 2021 07:41:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235596AbhIVLlf (ORCPT ); Wed, 22 Sep 2021 07:41:35 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68F2EC061756 for ; Wed, 22 Sep 2021 04:40:05 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[IPv6:::1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mT0bb-0006ak-Qj; Wed, 22 Sep 2021 13:40:03 +0200 Subject: Re: [PATCH 5/6] arm64: dts: imx8mm: add "cell-type" property for mac-address To: Joakim Zhang , srinivas.kandagatla@linaro.org, robh+dt@kernel.org, shawnguo@kernel.org Cc: devicetree@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, linux-kernel@vger.kernel.org References: <20210908100257.17833-1-qiangqing.zhang@nxp.com> <20210908100257.17833-6-qiangqing.zhang@nxp.com> From: Ahmad Fatoum Message-ID: Date: Wed, 22 Sep 2021 13:40:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210908100257.17833-6-qiangqing.zhang@nxp.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: a.fatoum@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08.09.21 12:02, Joakim Zhang wrote: > Add "cell-type" property for mac-address nvmem cell to supporting mac > address reverse byte. s/imx8mm/imx8m/ in commit message title. Do you intend to do this for older i.MX as well? > > Signed-off-by: Joakim Zhang > --- > arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 ++ > arch/arm64/boot/dts/freescale/imx8mn.dtsi | 2 ++ > arch/arm64/boot/dts/freescale/imx8mp.dtsi | 9 +++++++++ > arch/arm64/boot/dts/freescale/imx8mq.dtsi | 2 ++ > 4 files changed, 15 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > index e7648c3b8390..fb14be932386 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > @@ -7,6 +7,7 @@ > #include > #include > #include > +#include > #include > > #include "imx8mm-pinfunc.h" > @@ -539,6 +540,7 @@ > > fec_mac_address: mac-address@90 { > reg = <0x90 6>; > + cell-type = ; > }; > }; > > diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi > index d4231e061403..0a994e6edc0b 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi > @@ -7,6 +7,7 @@ > #include > #include > #include > +#include > #include > > #include "imx8mn-pinfunc.h" > @@ -544,6 +545,7 @@ > > fec_mac_address: mac-address@90 { > reg = <0x90 6>; > + cell-type = ; > }; > }; > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > index 9f7c7f587d38..37188ff07f21 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > @@ -7,6 +7,7 @@ > #include > #include > #include > +#include > #include > > #include "imx8mp-pinfunc.h" > @@ -358,6 +359,12 @@ > > eth_mac1: mac-address@90 { > reg = <0x90 6>; > + cell-type = ; > + }; > + > + eth_mac2: mac-address@96 { > + reg = <0x96 6>; > + cell-type = ; > }; > }; > > @@ -836,6 +843,8 @@ > <&clk IMX8MP_SYS_PLL2_100M>, > <&clk IMX8MP_SYS_PLL2_125M>; > assigned-clock-rates = <0>, <100000000>, <125000000>; > + nvmem-cells = <ð_mac2>; > + nvmem-cell-names = "mac-address"; > intf_mode = <&gpr 0x4>; > status = "disabled"; > }; > diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > index 91df9c5350ae..1cb211e470ae 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > @@ -10,6 +10,7 @@ > #include > #include "dt-bindings/input/input.h" > #include > +#include > #include > #include > #include "imx8mq-pinfunc.h" > @@ -570,6 +571,7 @@ > > fec_mac_address: mac-address@90 { > reg = <0x90 6>; > + cell-type = ; > }; > }; > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |