Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1267108imm; Wed, 1 Aug 2018 12:58:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpey9WNprCjpQfT8xQsAc5IJmdhq8DwYniFrYEDWSjsEAVZ2+Yt5xh5RompR7KJLUh3EfPwO X-Received: by 2002:a63:df50:: with SMTP id h16-v6mr638849pgj.300.1533153528086; Wed, 01 Aug 2018 12:58:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533153528; cv=none; d=google.com; s=arc-20160816; b=NdESi9y7p4hGxtXljRLvZlOGSJZr70r5clETpy5AImuNYU4GP+Y5xy5g6Sazr+1kVR dT6wRhNff2d0VJGEf0YvyWhl4bVUxv9/0Uztu16TJR9PR/Z0jpvdTR1ZhdHipm4D+w60 Umf8o/0Eeu+Z9dGTPLetyGYfGNAtGoJ/2S5kXtMcXbX68cY1i6dcab8yVINZ1sHwDL7s XrpCDe/V5UZpS54jUTqKffEO+MS4dYpE/wjWimtTaRjNyaHXg/YaLlY0qYMIX0Qm9xXp xLWhrw4Y2V8+53L1tRLgkfAcJ0Gz6pjvCTOYhIQeqb8rOrg/MXuw2rOUn/O6tVzP6E8D XEnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=4lnz97Xj0G4BFHscYSod+nK+QX4MzslZsVKwf5Ek9Jc=; b=e22cpRhKPn9qTlSo337F0+yzK/1iizGQbxL2dLARwLEIUEdWRtFjyf9gu3zqORrS2w e8dWoXI4nLZxf62lCzx37mpGD1IgBsjyvQB+uh9GJHCpZcCv88ElZrn1ipav3QXCIb9U hfB+oYjRl+/R1BgjpDEplCt7+TEsRFS1ZL8OONdzkc4bdoicqSDHPYqZu51wAtJWzDEs In1sXnpL6uLmQDoMRsVbZjGAI6CYdqj+hsPtBQl12nmk3ZyQGBwPRMS17NE0jAy3nUV+ zBBVKgaBX9JAsIdjK1muoOVH1wjNMku3I5qO0pEItZ012Mp4St959K4rGWx+VIPcXij6 /wgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n2-v6si16329829pgu.103.2018.08.01.12.58.33; Wed, 01 Aug 2018 12:58:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732334AbeHAVpB (ORCPT + 99 others); Wed, 1 Aug 2018 17:45:01 -0400 Received: from mail.bootlin.com ([62.4.15.54]:58001 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729765AbeHAVpB (ORCPT ); Wed, 1 Aug 2018 17:45:01 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 5867520789; Wed, 1 Aug 2018 21:57:34 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from bbrezillon (unknown [91.160.177.164]) by mail.bootlin.com (Postfix) with ESMTPSA id D730720739; Wed, 1 Aug 2018 21:57:33 +0200 (CEST) Date: Wed, 1 Aug 2018 21:57:33 +0200 From: Boris Brezillon To: Mark Brown Cc: Piotr Bugalski , linux-spi@vger.kernel.org, David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Mark Rutland , Nicolas Ferre , Alexandre Belloni , Cyrille Pitchen , Tudor Ambarus , Piotr Bugalski Subject: Re: [RFC PATCH v2 5/6] spi: Add QuadSPI driver for Atmel SAMA5D2 Message-ID: <20180801215733.4dfa3a95@bbrezillon> In-Reply-To: <20180801172747.GJ5509@sirena.org.uk> References: <20180627131609.13681-1-bugalski.piotr@gmail.com> <20180627131609.13681-6-bugalski.piotr@gmail.com> <20180801172747.GJ5509@sirena.org.uk> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mark, On Wed, 1 Aug 2018 18:27:47 +0100 Mark Brown wrote: > On Wed, Jun 27, 2018 at 03:16:08PM +0200, Piotr Bugalski wrote: > > Kernel contains QSPI driver strongly tied to MTD and nor-flash memory. > > New spi-mem interface allows usage also other memory types, especially > > much larger NAND with SPI interface. This driver works as SPI controller > > and is not related to MTD, however can work with NAND-flash or other > > peripherals using spi-mem interface. > > This is fine from a SPI point of view Cool. There are still 2 things I think should be addressed before merging the driver: 1/ Fixing the SoB tag to match the author (problem reported by Alexandre) 2/ Getting this patch [1] merged and implementing the ->get_name() hook in this driver so that SPI NOR devs declared to the MTD layer keep the same name after the transition to spi-mem and mtdparts= passed on the cmdline keep working. Without this in place we're likely to break a few setups :-/. > but I'd like to apply it directly > to the SPI tree rather than ack it for merge via the MTD tree - can we > work something out with a shared branch or something? Sure, I can provide an immutable tag for you to pull and I'll add my acks on those patches once the 2 things I mentioned above are addressed. Regards, Boris [1]https://patchwork.kernel.org/patch/10508693/