[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJsYDVL03KJv7eewGekBPCfpbOuTX0tJ6qZaydvJnBDzZ5vEwg@mail.gmail.com>
Date: Thu, 20 Feb 2020 07:58:06 +0800
From: Chuanhong Guo <gch981213@...il.com>
To: Mark Brown <broonie@...nel.org>
Cc: linux-mediatek@...ts.infradead.org, linux-spi@...r.kernel.org,
linux-mtd@...ts.infradead.org,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Matthias Brugger <matthias.bgg@...il.com>,
linux-arm-kernel@...ts.infradead.org,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/2] rewrite mtk-quadspi spi-nor driver with spi-mem
Hi!
On Tue, Feb 18, 2020 at 8:55 PM Mark Brown <broonie@...nel.org> wrote:
> This is an ABI break so you shouldn't be doing this, if the existing
> binding works it should continue to work.
The missing spi-max-frequency is the only part preventing old
device tree to work with this driver.
If the goal is to make existing dt binding work, I could patch dt using
of_add_property in v2. I saw similar device tree patching for legacy
bindings in pinctrl-single driver.
>
> > 3. removing the old driver. I'll create this commit after 1 and 2 are
> > applied to avoid possible rebasing due to any changes in the old
> > driver.
>
> This isn't great as it means we have a period with two drivers for the
> same thing in tree which is at best going to be confusing. There's no
> advantage to splitting this out.
Got it. I'll add this patch in v2.
--
Regards,
Chuanhong Guo
Powered by blists - more mailing lists