[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHCN7x+5bACfYVX49Lib+fmNq-dEOkcyi0gXt7rtYxrGaYbH1Q@mail.gmail.com>
Date: Wed, 12 Feb 2020 07:08:49 -0600
From: Adam Ford <aford173@...il.com>
To: Mark Brown <broonie@...nel.org>
Cc: Fabio Estevam <festevam@...il.com>,
linux-spi <linux-spi@...r.kernel.org>, Han Xu <han.xu@....com>,
Yogesh Gaur <yogeshgaur.83@...il.com>,
Ashish Kumar <ashish.kumar@....com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
NXP Linux Team <linux-imx@....com>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
"moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH V2 2/5] spi: fspi: dynamically alloc AHB memory
On Wed, Feb 12, 2020 at 6:07 AM Mark Brown <broonie@...nel.org> wrote:
>
> On Mon, Feb 03, 2020 at 04:53:34AM -0600, Adam Ford wrote:
>
> > My motivation is to get the flexspi on the i.MX8MM to work, and I did
> > a list of the patches applied on the NXP branch to see what was
> > applied on top of their 4.19 kernel and this patch series generated
> > from that list. Most of the NXP commits are one-line commits, and I
> > don't know the motivation for what's happening. NXP did it, and I
> > know it works on the Flexspi driver.
>
> Adding new compatibles and so on seems fine but the patches making
> random changes without explanation like the one for octal mode I just
> replied to are more worrying, do they work with older versions of the IP
> or in all use cases for example? I'd suggest cutting the initial patch
> series down to the bare minimum needed to get things working and then
> building on top of that if that's not already been done.
The original author was copied on the initial commit. I literally
generated the patch from NXP's branch, added my notes, and pushed
them to the mailing lists after testing them on the the Linux master
branch. I am a bit disappointed that NXP's author hasn't responded
to any of the comments or feedback. NXP knows their hardware and
better understands the details as to what is happening and why. In
any case, I'll try to scale the patch series back to just enough to
get it working on the i.MX8M Mini. I'll expand a bit on the commit
message based on what I've learned about the various in-implemented
quirks and send a V2 series.
adam
Powered by blists - more mailing lists