[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200318113820.GA27205@lunn.ch>
Date: Wed, 18 Mar 2020 12:38:20 +0100
From: Andrew Lunn <andrew@...n.ch>
To: "Fuzzey, Martin" <martin.fuzzey@...wbird.group>
Cc: Fugang Duan <fugang.duan@....com>,
Rob Herring <robh+dt@...nel.org>,
Shawn Guo <shawnguo@...nel.org>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Fabio Estevam <festevam@...il.com>,
"Linux-Kernel@...r. Kernel. Org" <linux-kernel@...r.kernel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
NXP Linux Team <linux-imx@....com>,
devicetree@...r.kernel.org
Subject: Re: [PATCH 3/4] dt-bindings: fec: document the new fsl,stop-mode
property
On Wed, Mar 18, 2020 at 10:28:48AM +0100, Fuzzey, Martin wrote:
> Hi Andrew,
>
> On Wed, 18 Mar 2020 at 10:17, Andrew Lunn <andrew@...n.ch> wrote:
> >
> > You should not be putting registers and values into device tree.
> >
> > The regmap is fine. But could you add the register and the bit to
> > fec_devtype[IMX6SX_FEC], fec_devtype[IMX6UL_FEC], etc.
> >
>
> If that's the consensus I can do it that way.
>
> But I should point out that there is already a precedent in mainline for this:
>
> Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
Hi Martin
And there are probably hundreds of emails saying don't do this.
Andrew
Powered by blists - more mailing lists