Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754452AbbGXUIg (ORCPT ); Fri, 24 Jul 2015 16:08:36 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:44278 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754336AbbGXUIf (ORCPT ); Fri, 24 Jul 2015 16:08:35 -0400 X-Auth-Info: o+b2/FyH6fj68kdPy3bOO4HlFbNVR3YItxNZ9NRcGm4= From: Marek Vasut To: Graham Moore Subject: Re: [PATCH V4 1/2] mtd: spi-nor: Bindings for Cadence Quad SPI Flash Controller driver. Date: Fri, 24 Jul 2015 21:57:05 +0200 User-Agent: KMail/1.13.7 (Linux/3.14-2-amd64; KDE/4.13.1; x86_64; ; ) Cc: linux-mtd@lists.infradead.org, Alan Tull , Yves Vandervennet , linux-kernel@vger.kernel.org, Dinh Nguyen , Brian Norris , David Woodhouse References: <1427117782-14764-1-git-send-email-grmoore@opensource.altera.com> <201507241825.00826.marex@denx.de> <55B27300.80801@opensource.altera.com> In-Reply-To: <55B27300.80801@opensource.altera.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201507242157.05840.marex@denx.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2735 Lines: 66 On Friday, July 24, 2015 at 07:16:48 PM, Graham Moore wrote: > On 07/24/2015 11:25 AM, Marek Vasut wrote: > > On Friday, July 24, 2015 at 06:12:01 PM, Graham Moore wrote: > >> On 07/24/2015 07:45 AM, Marek Vasut wrote: > >>> On Monday, March 23, 2015 at 02:36:21 PM, Graham Moore wrote: > >>>> Signed-off-by: Graham Moore > >>>> --- > >>>> V2: Add cdns prefix to driver-specific bindings. > >>>> V3: Use existing property "is-decoded-cs" instead of creating a > >>>> duplicate, "ext-decoder". Timing parameters are in nanoseconds, not > >>>> master reference clocks. Remove bus-num completely. > >>> > >>> Hi! > >>> > >>> do you plan to continue on this driver any soon? If not, I'd like to > >>> take over the mainlining if you're not opposed. I'd like to see this > >>> in mainline soon. > >> > >> I don't have a problem with you taking over the mainlining. I've been > >> stalled on the micron quad protocol issue that Cyrille Pitchen has > >> solved. > > > > Do you mean the protocol change notification please? > > Yes, that's what I mean, the protocol change notification. OK > >>> btw you'll need some kind of a variation on the attached two patches in > >>> the next iteration. > >> > >> I have a V5 with fixes for sparse and smatch issues. Do you want me to > >> post it and you add those two patches? Alternatively I can incorporate > >> them into my V5. > > > > Please post those patches, yup, that'd be nice :) > > > > Also, just squash those two micropatches into yours, no problem. > > > > Be careful about the 0002 patch, see the commit message. I do NOT think > > it is correct to pass the pdev->dev which represents the controller, not > > the subnode, into spi_nor_scan() in cqspi_probe() . I might be wrong here > > though, I am not sure. I think Brian or David would be much better people > > to comment on this part. > > I'm doing it the way fsl_quadspi.c does it. It works on my Cyclone5 > test system with and without that 0002 patch. So maybe I'll leave it > out for now. It indeed works, but that doesn't mean it is correct. The most simple test to show you why I needed that 0002 patch would be for you to check if the m25p,fast-read prop, which you are actually adding in this patchset to the QSPI flash device, is set from within the spi-nor driver. It will never be set because you're not passing the DT of_node pointer into the spi-nor driver. > V5 patches on the way... Thanks! Best regards, Marek Vasut -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/