Received: from eu-smtp-delivery-143.mimecast.com ([207.82.80.143]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZRby1-0006Xj-Gf for linux-mtd@lists.infradead.org; Tue, 18 Aug 2015 08:09:58 +0000 Date: Tue, 18 Aug 2015 16:09:27 +0800 From: Huang Shijie To: Han Xu Cc: Brian Norris , Michal Suchanek , Marek Vasut , Joachim Eastwood , Rafa?? Mi??ecki , MTD Maling List , Ezequiel Garcia , Huang Shijie , Han Xu Subject: Re: [RFT PATCH 1/4] mtd: fsl-quadspi: use automatic spi-nor detection Message-ID: <20150818080927.GE10641@free64-pc.asiapac.arm.com> References: <1439505965-134748-1-git-send-email-computersforpeace@gmail.com> <1439505965-134748-2-git-send-email-computersforpeace@gmail.com> <201508140109.14149.marex@denx.de> <20150813232447.GJ60523@google.com> <20150818025639.GB15907@localhost> MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Aug 17, 2015 at 10:15:50PM -0500, Han Xu wrote: Hi Brian & Han, > Seems Huang has changed the e-mail address. >=20 > On Mon, Aug 17, 2015 at 9:56 PM, Brian Norris > wrote: > > On Fri, Aug 14, 2015 at 07:40:27AM +0200, Michal Suchanek wrote: > >> On 14 August 2015 at 01:24, Brian Norris = wrote: > >> > Now, each flash connected to the controller has its own device_node.= All > >> > this patch is saying is that we don't need to know much about that n= ode; > >> > as long as it responds to the READ ID command properly, spi_nor_scan= () > >> > can autodetect it. > >> > > >> > >> And if there was suppor for a flash chip that does not respond to READ > >> ID (or uses a different opcode for it) this patch would break it, > >> right? Do not worry about the quadspi controller :) The controller only uses the best NOR flash (or maybe the best NOR flash), = I remember that the NOR flash can support the QUAD DDR read which is not supported not= . So it will not break the driver.=20 Btw: @Han Xu : I think you can test this patch. > > > > For the latter: this already doesn't support chips that use different > > opcodes. > > > > For the former: we're only talking about the "*-nonjedec" and similar, > > right? I'm not confident those were supported well by this driver in th= e > > first place. (And "*-nonjedec" should really die; if it's needed, > > support should be added by design, not by accident.) > > > > Perhaps Huang can comment. I think this patch is okay. But please wait for Han's test result. thanks Huang Shijie