Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1108366ybg; Tue, 2 Jun 2020 01:20:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGV47QTxEPiNIRbaNl2g4lX5p5ko+zj2xAVgDtcgupJEOfMzkQhbR+F0XejOzKxiroi8BL X-Received: by 2002:a17:906:28da:: with SMTP id p26mr21651097ejd.551.1591086043165; Tue, 02 Jun 2020 01:20:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591086043; cv=none; d=google.com; s=arc-20160816; b=0nexfq0/QvNsllJz8osX83nsLApBFrFfGj4d0UUHBJJ8dfk5esKpZEF88zIIYGE27b nAxK4XCQS6YzWHp5a+Pr0A321KQSlbmW+scy6U9moQ28jzj+OTBuQohibbpsgt4z5k9m PTM6glWQDAZp8V8v0uOzWVioSExhixTxr9RQeEH1orYuSEGWEYtP8IWNhGJo/cQ9UKFr /UWN0DACQYfh+cGDq4uwQRYX1xsGex+NDHNtULYs4XUibh5x91ORABXyvEmFLzLRfJfV V+gzWmFZuNh5m0M5SaKCzY1dCwEQzfCseJwLpLeZ0NehQLD5vFNX6YEvuefWwnwlU7fJ Xj8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:references:ironport-sdr:dkim-signature; bh=9Pe65DWa62L3bCEinUIi7GkiYJGcf3nNhkZTNwfB1zg=; b=oY8UTObbXONC8HOL94XxX1ODnAYZa8Nwaxb2d2Lvdo3uWVmDHpe596RQ8q1sRQxSEb /OeSheQkdOAUq1LgtiohVGmj8YLrn4Y9QHcLoG8VO5li9+hMM6mzGkSeDdBsukUw9JHn muwShtFr+/+cDdye8slDpiBJsMGomLhHN3FrpHhglO1YzEzW5McFEL5ngfC7xGzks3CG AaoH8ALnZNUEeTkzLpKPEV4LJTHqv5YvmYoiCUg2WHoZRGNHL90HtkMlRQZO7Ga83yaN Y8TXISp7doC2RfOZNsSFcN/WT61IzCa+C1Zq5/L00WyFUvt88ZKilGVqtBktUt+mxj7l TVpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=O8RnlUql; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t4si1223577edt.541.2020.06.02.01.20.20; Tue, 02 Jun 2020 01:20:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=O8RnlUql; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726160AbgFBISe (ORCPT + 99 others); Tue, 2 Jun 2020 04:18:34 -0400 Received: from esa5.microchip.iphmx.com ([216.71.150.166]:4398 "EHLO esa5.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725811AbgFBISd (ORCPT ); Tue, 2 Jun 2020 04:18:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1591085914; x=1622621914; h=references:from:to:cc:subject:in-reply-to:date: message-id:mime-version; bh=3qntvJu5hZf6NiiWOF/rC2X4oeQHa+Lu7499eTjv9dQ=; b=O8RnlUql8MHu4ivlcaz3fSTq/OC+JBAwmp89yUeCM1cLXYvzaWwCqwtG b6iBEavwOFDOKc85BQ2cL/CAaDQmxheKBJbK3RO3cHIi4YDvfUr+1pqDu e7lQuFcUnpXMZHa3/EVawlyaQr6bJoMQiHJ86jrJb1GiGsSPGiB9AZZCo 4XKTHw4ZIK6b9OPdYoxhWSVawZvOQNZaDKI53uA/1UQt6OpPuXmzHPmzb PTRgx7/2CslEGlEmJc4iF1BTCHySAns6HD1pp60Ok7u85ZSArzVgWJkkh fNN567VvoIykUr2k67kGZcUWpLn8bYlMD1UnppKKNhiZEnCYgckLCKDVh Q==; IronPort-SDR: s5o+IBS6/JNEQ7wKvOXOhREeKVcIIXGYbDHcjkfYBX+4Md5mh2V0jTi/yJ4zR4C2bigz2aXE7v bQ/zdJb9USgfM3zycHBzgTSHso5olRyqpbKltfn1KjWvu0ioDCQYa4Lha3ZrX/8zJf8Yof60Jg v2TJrOvldDzsRi1wLnDaELNo/BL8Qu+Rps1l8Z7SkV1R/rlQj+sgCIysZn7EPkcS1XZGEKusKC RX7TMKlCMA19r11DALUQaakzlb5IbjVNp4DJGLmeaVuTO//xrQJNxiICDqOnH6g12EmMaWycAj jyE= X-IronPort-AV: E=Sophos;i="5.73,463,1583218800"; d="scan'208";a="77876474" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 02 Jun 2020 01:18:33 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 2 Jun 2020 01:18:32 -0700 Received: from soft-dev15.microsemi.net.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 2 Jun 2020 01:18:30 -0700 References: <20200513140031.25633-1-lars.povlsen@microchip.com> <20200529162130.hsjcde27xhohl6jl@mobilestation> From: Lars Povlsen To: Serge Semin CC: Lars Povlsen , Serge Semin , Mark Brown , SoC Team , , , , "Microchip Linux Driver Support" , Subject: Re: [PATCH 00/10] spi: Adding support for Microchip Sparx5 SoC In-Reply-To: <20200529162130.hsjcde27xhohl6jl@mobilestation> Date: Tue, 2 Jun 2020 10:18:28 +0200 Message-ID: <87img9q3sb.fsf@soft-dev15.microsemi.net> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Serge Semin writes: > Hello Lars, > > On Wed, May 13, 2020 at 04:00:21PM +0200, Lars Povlsen wrote: >> This is an add-on series to the main SoC Sparx5 series >> (Message-ID: <20200513125532.24585-1-lars.povlsen@microchip.com>). >> >> The series add support for Sparx5 on top of the existing >> ocelot/jaguar2 spi driver. >> >> It spins off the existing support for the MSCC platforms into a >> separate driver, as adding new platforms from the MSCC/Microchip >> product lines will further complicate (clutter) the original driver. >> >> New YAML dt-bindings are provided for the resulting driver. >> >> It is expected that the DT patches are to be taken directly by the arm-soc >> maintainers. > > Regarding our cooperation. It can be implemented as follows. Since your patchset > is less cumbersome than mine and is more ready to be integrated into the generic DW > APB SSI code, it would be better to first make it through Mark', Andy' and my reviews > to be further merged into the kernel version of the driver. After that I'll have > my code altered so it could be applied on top of your patches. When everything > is done we'll have a more comprehensive DW APB SSI driver with poll-based > PIO operations support, new features like rx-delay, etc. > Hi Serge! I think I would be able to work on the SPI patches this week. Should I base it on the current spi-next or 5.7? Then address the comments and send out a new revision? Thanks for reaching out. ---Lars > Thank you one more time for the series you've shared with us. Let's see what can > be done to improve it... > > -Sergey > >> >> Lars Povlsen (10): >> spi: dw: Add support for polled operation via no IRQ specified in DT >> spi: dw: Add support for RX sample delay register >> spi: dw: Add support for client driver memory operations >> dt-bindings: spi: Add bindings for spi-dw-mchp >> spi: spi-dw-mmio: Spin off MSCC platforms into spi-dw-mchp >> dt-bindings: spi: spi-dw-mchp: Add Sparx5 support >> spi: spi-dw-mchp: Add Sparx5 support >> arm64: dts: sparx5: Add SPI controller >> arm64: dts: sparx5: Add spi-nor support >> arm64: dts: sparx5: Add spi-nand devices >> >> .../bindings/spi/mscc,ocelot-spi.yaml | 89 ++++ >> .../bindings/spi/snps,dw-apb-ssi.txt | 7 +- >> MAINTAINERS | 2 + >> arch/arm64/boot/dts/microchip/sparx5.dtsi | 37 ++ >> .../boot/dts/microchip/sparx5_pcb125.dts | 16 + >> .../boot/dts/microchip/sparx5_pcb134.dts | 22 + >> .../dts/microchip/sparx5_pcb134_board.dtsi | 9 + >> .../boot/dts/microchip/sparx5_pcb135.dts | 23 + >> .../dts/microchip/sparx5_pcb135_board.dtsi | 9 + >> arch/mips/configs/generic/board-ocelot.config | 2 +- >> drivers/spi/Kconfig | 7 + >> drivers/spi/Makefile | 1 + >> drivers/spi/spi-dw-mchp.c | 399 ++++++++++++++++++ >> drivers/spi/spi-dw-mmio.c | 93 ---- >> drivers/spi/spi-dw.c | 31 +- >> drivers/spi/spi-dw.h | 4 + >> 16 files changed, 644 insertions(+), 107 deletions(-) >> create mode 100644 Documentation/devicetree/bindings/spi/mscc,ocelot-spi.yaml >> create mode 100644 drivers/spi/spi-dw-mchp.c >> >> -- >> 2.26.2 >> >> _______________________________________________ >> linux-arm-kernel mailing list >> linux-arm-kernel@lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Lars Povlsen, Microchip