Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp918642imu; Wed, 9 Jan 2019 08:30:48 -0800 (PST) X-Google-Smtp-Source: ALg8bN479RVPB0qDPB5bQPjuwXg69NCxyStSqsr3QyfY8cEy3qGol7532RWAT+XV0CBM5xxZHeDH X-Received: by 2002:a63:2d82:: with SMTP id t124mr5968208pgt.260.1547051448028; Wed, 09 Jan 2019 08:30:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547051447; cv=none; d=google.com; s=arc-20160816; b=G/RFbixMjlZNHhJbrCL/Jg9PzjNKbvyUvzOMNr9+VYcJICxBwjAKoDCesnu4qZALhV ObGXM+f64Vg+I8JwVrukrTzqoHyCFERpJogo34Ih0mC64qzr5+Vwo9AHDKZKS/J0b5Qx VC+2LRUTNpmdEl+bm3VgHouYvEvHyRCQC6Mvq9wYtgaI5k2Pw+MTqziPlWzAnGI77s0U rTBNitaHSpuJQfcCPtQMEiL6Wq4br0HKohG+eKieAzeTfWVps6FLBM5WJr/2nXkAV2vW cA28wmUXQOUYP23JGCofB0MqNUOpVJKEljPXeoUiuohmR2UuLzNhTPNI6mI0S5A9T7P+ j8Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=KnpX64iTfbxUJp+zf3JCDAjaRGX6AtfKojJvVNIahgo=; b=TPpgMCokQoDZNMCbFQ0Co2VB6Mqsq2rWjK/42XnyUvhyu5pZijPE+mNNV4pLxwlce0 8CbNm21a7F1V+RWKvsPsI0r9XDrW/qnvFfXqqg1UlTAlLK6FYe00WDeAkVO9jd0gbrVM 1f7qavnrdI/9MlRuozhMtelo2luGjOy9bx2gsgiL2il/LD8aMq41WyF6vgsbccuXEWvP TkGLECJG+mb1svpkTUbfzl+1GdejhyEPH6AelV8cAQu7UNuK7D66Qgy6uY6QDgoDG6lU 2xiSL1VeEhvcGhriYXEpKYOnyKhwOerCzNWHH9uC51v0Istb770jTmQz0roFz8Q74LKK lB3w== 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 f35si69007521pgf.449.2019.01.09.08.30.32; Wed, 09 Jan 2019 08:30:47 -0800 (PST) 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 S1732164AbfAIO4p (ORCPT + 99 others); Wed, 9 Jan 2019 09:56:45 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:51912 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731694AbfAIO4o (ORCPT ); Wed, 9 Jan 2019 09:56:44 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 43ZXJm4gXsz1qxJt; Wed, 9 Jan 2019 15:56:40 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 43ZXJm3BYVz1qsnX; Wed, 9 Jan 2019 15:56:40 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 7sIPBn9zPRHf; Wed, 9 Jan 2019 15:56:37 +0100 (CET) X-Auth-Info: bhdoaYGhXoKse58XiQTPGzwcJ1Q1gpbVktPB3rBiP4E= Received: from jawa (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 9 Jan 2019 15:56:37 +0100 (CET) Date: Wed, 9 Jan 2019 15:56:30 +0100 From: Lukasz Majewski To: Schrempf Frieder Cc: Yogesh Narayan Gaur , "linux-mtd@lists.infradead.org" , "boris.brezillon@bootlin.com" , "marek.vasut@gmail.com" , "broonie@kernel.org" , "linux-spi@vger.kernel.org" , "devicetree@vger.kernel.org" , "mark.rutland@arm.com" , "robh@kernel.org" , "linux-kernel@vger.kernel.org" , "computersforpeace@gmail.com" , "shawnguo@kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v6 0/5] spi: spi-mem: Add driver for NXP FlexSPI controller Message-ID: <20190109155630.3ec34c60@jawa> In-Reply-To: <7188c406-3dd2-88a6-b6ed-d5e8bf678df8@kontron.de> References: <1546939346-20181-1-git-send-email-yogeshnarayan.gaur@nxp.com> <7188c406-3dd2-88a6-b6ed-d5e8bf678df8@kontron.de> Organization: denx.de X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/qfV7IP6UbfJ_zClhLB+efu+"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/qfV7IP6UbfJ_zClhLB+efu+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Schrempf, > On 08.01.19 10:24, Yogesh Narayan Gaur wrote: > > - Add driver for NXP FlexSPI host controller > >=20 > > FlexSPI is a flexsible SPI host controller [1], Chapter 30 page > > 1475, which supports two SPI channels and up to 4 external devices. > > Each channel supports Single/Dual/Quad/Octal mode data transfer > > (1/2/4/8 bidirectional data lines) i.e. FlexSPI acts as an > > interface to external devices, maximum 4, each with up to 8 > > bidirectional data lines. > >=20 > > - Tested this driver with mtd_debug(Erase/Write/Read) utility and > > JFFS2 filesystem mounting and booting on NXP LX2160ARDB[2] and > > LX2160AQDS targets. LX2160ARDB is having two NOR slave device > > connected on single bus A i.e. A0 and A1 (CS0 and CS1). > > LX2160AQDS is having two NOR slave device connected on separate > > buses one flash on A0 and second on B1 i.e. (CS0 and CS3). > > Verified this driver on following SPI NOR flashes: > > Micron, mt35xu512aba, [Read - 1 bit mode] > > Cypress, s25fl512s, [Read - 1/2/4 bit mode] > >=20 > > [1] https://www.nxp.com/docs/en/reference-manual/IMXRT1050RM.pdf > > [2] > > https://patchwork.kernel.org/project/linux-arm-kernel/list/?submitter= =3D182097 > >=20 > > Yogesh Narayan Gaur (5): > > spi: spi-mem: Add driver for NXP FlexSPI controller > > dt-bindings: spi: add binding file for NXP FlexSPI controller > > arm64: dts: lx2160a: add FlexSPI node property > > arm64: defconfig: enable NXP FlexSPI driver > > MAINTAINERS: add maintainers for the NXP FlexSPI driver > >=20 > > Changes for v6: > > - Rebase on top of v5.0-rc1. =20 >=20 > Your patches don't apply to v5.0-rc1. It seems like you have instead=20 > rebased onto the for-5.1 or for-next branch of the SPI tree. I guess=20 > this is okay, but you should have pointed that out correctly here. If I may ask for a few (1-2) days, so I can test this code on vf610 NXP SoC. As fair as I remember there were some issues when I tested it a few months back. >=20 > > - Incorporated review comments for > > patch 'spi: spi-mem: Add driver for NXP FlexSPI controller'. > > - Updated s-b tag in all patches. > > Changes for v5: > > - Rebase on top of v4.20-rc2 > > - Incorporated review comments for > > patch 'spi: spi-mem: Add driver for NXP FlexSPI controller'. > > Changes for v4: > > - Incorporated review comments for > > patch 'spi: spi-mem: Add driver for NXP FlexSPI controller'. > > - Incorporated binding file review comments. > > Changes for v3: > > - Incorporated review comments for > > patch 'spi: spi-mem: Add driver for NXP FlexSPI controller'. > > Changes for v2: > > - Incorporated Boris review comments and drop below patches as per > > the comments. > > - Patch 'spi: add slave device size in spi_device struct' > > - Patch 'spi: add flags for octal I/O data transfer' > > - Incorporated DTS and Binding file review comments of Shawn Guo > > and Rob Herring. > >=20 > > .../devicetree/bindings/spi/spi-nxp-fspi.txt | 39 + > > MAINTAINERS | 7 + > > .../boot/dts/freescale/fsl-lx2160a-rdb.dts | 22 + > > .../arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 13 + > > arch/arm64/configs/defconfig | 1 + > > drivers/spi/Kconfig | 10 + > > drivers/spi/Makefile | 1 + > > drivers/spi/spi-nxp-fspi.c | 1095 > > +++++++++++++++++ 8 files changed, 1188 insertions(+) > > create mode 100644 > > Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt create mode > > 100644 drivers/spi/spi-nxp-fspi.c=20 > ______________________________________________________ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/ Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de --Sig_/qfV7IP6UbfJ_zClhLB+efu+ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEgAyFJ+N6uu6+XupJAR8vZIA0zr0FAlw2C54ACgkQAR8vZIA0 zr0Bygf8CIJkJt1rC2YiQntRmvFJk7rlDUHSGzV+pRjNWOGCzkv9Q8wBs7GUjXeC XcOe+RXQgzwhAH3ByyxMBmtdC55PqceJDb30NQyExXCVhMpuqdmU2G0R7l9g6H8D odGNDv6IC47oMzaq8zT6dC2f1iddFpfuQ4qvyDjBmEpyqTKPFFSH8KNTRa6Kjoph Opg8/CjSvxaPQMtBQkl0MqKI5lr9iSAMPrL6Gk3FnU0hqMtEZmgbBflieJoIZo77 5mvs1nWSWAs8yEvVqH1VN9HqBLvZSi8RvMgCzvQB4kt/gh3ehGPN9hLbELeMDp24 xasMUxYP8WrDjPZtm5kwEWX9gcvbxQ== =S3Bd -----END PGP SIGNATURE----- --Sig_/qfV7IP6UbfJ_zClhLB+efu+--