From patchwork Wed Nov 1 15:31:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cyrille Pitchen X-Patchwork-Id: 832989 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Z7D1XYdD"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yRsf43ncRz9sQl for ; Thu, 2 Nov 2017 02:32:12 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Date:Message-ID:Subject: From:To:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Na3idezWDTfHNLUNiHd61Bdswg7saCQHFrjpR4n9qYg=; b=Z7D1XYdDn4VODt uSYT7KICBttMbquVAfvbvikRsa67weGqgAAMZOqa72GKLVemUWin8TG7rXa57+qpHaepda5pU0snt ZrKrHHCi+HGSG5YCGaPqnVDjhr+25FhVij5U8MwF6i+YhXN3yjXfox5XLriueXdsPzGEhoEf0fshl ciHRCVNbnOvjVRU/9nnRvQfkkc3SuwUh5yBW/30Ob3eAa51BIU46zq4LTC0o6IGSSbkc0JDnFROXV 760ccm66epFT7Fb+Gm3wni9wyHMAGGWFpVg0Qj8oyywzTYVab+6np/jaSGedVisMp7va5QaUHJF+y rkx7T08xlFw42pXJXnwg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e9uzp-0000L6-Ly; Wed, 01 Nov 2017 15:32:01 +0000 Received: from smtp3-g21.free.fr ([212.27.42.3]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e9uzh-0000Ag-GA for linux-mtd@lists.infradead.org; Wed, 01 Nov 2017 15:31:58 +0000 Received: from mountainer.wedev4u.int (unknown [82.232.94.13]) by smtp3-g21.free.fr (Postfix) with ESMTP id 2638213F8AC; Wed, 1 Nov 2017 16:31:29 +0100 (CET) To: Richard Weinberger From: Cyrille Pitchen Subject: [GIT PULL] mtd: spi-nor: Changes for 4.15 Message-ID: Date: Wed, 1 Nov 2017 16:31:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171101_083153_839211_350692FD X-CRM114-Status: GOOD ( 14.69 ) X-Spam-Score: -4.7 (----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-4.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.27.42.3 listed in list.dnswl.org] -2.8 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.27.42.3 listed in wl.mailspike.net] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Boris Brezillon , Arnd Bergmann , Shawn Guo , Hou Zhiqiang , Marek Vasut , Mark Brown , Linux MTD Development List , Brian Norris , David Woodhouse Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Hi Richard, this is the spi-nor pull request for 4.15. Please note that a small conflict has been reported by Mark Brown on linux-next between the spi-nor and imx-mxs trees concerning the Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt file. More details can be found here: https://lkml.org/lkml/2017/11/1/255 Best regards, Cyrille The following changes since commit 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f: Linux 4.14-rc4 (2017-10-08 20:53:29 -0700) are available in the git repository at: git://git.infradead.org/l2-mtd.git tags/spi-nor/for-4.15 for you to fetch changes up to ec0a9f62b393ed0c5bb9185a8efebb0ad00b7d0d: mtd: intel-spi: Add Intel Lewisburg PCH SPI super SKU PCI ID (2017-10-30 11:51:18 +0100) ---------------------------------------------------------------- This pull-request contains the following notable changes: Core changes: * Introduce system power management support. * New mechanism to select the proper .quad_enable() hook by JEDEC ID, when needed, instead of only by manufacturer ID. * Add support to new memory parts from Gigadevice, Winbond, Macronix and Everspin. Driver changes: * Maintainance for Cadence, Intel, Mediatek and STM32 drivers. ---------------------------------------------------------------- Andy Yan (2): mtd: spi-nor: add a quad_enable callback in struct flash_info mtd: spi-nor: add support for GD25Q256 Bin Meng (11): spi-nor: intel-spi: Fix number of protected range registers for BYT/LPT spi-nor: intel-spi: Remove useless 'buf' parameter in the HW/SW cycle spi-nor: intel-spi: Fix broken software sequencing codes spi-nor: intel-spi: Check transfer length in the HW/SW cycle spi-nor: intel-spi: Use SW sequencer for BYT/LPT spi-nor: intel-spi: Remove 'Atomic Cycle Sequence' in intel_spi_write() spi-nor: intel-spi: Don't assume OPMENU0/1 to be programmed by BIOS spi-nor: intel-spi: Remove the unnecessary HSFSTS register RW spi-nor: intel-spi: Rename swseq to swseq_reg in 'struct intel_spi' spi-nor: intel-spi: Fall back to use SW sequencer to erase spi-nor: intel-spi: Remove EXPERT dependency Geert Uytterhoeven (1): mtd: spi-nor: stm32-quadspi: Fix uninitialized error return code Guochun Mao (2): dt-bindings: mtd: add new compatible strings and improve description mtd: mtk-nor: add suspend/resume support Kamal Dasu (2): mtd: spi-nor: add spi_nor_init() function mtd: spi-nor: Add spi-nor mtd resume handler Klaus Goger (1): mtd: spi-nor: add support for Gigadevice GD25LQ32 Kuppuswamy Sathyanarayanan (1): mtd: intel-spi: Add Intel Lewisburg PCH SPI super SKU PCI ID Ludovic Barre (2): mtd: spi-nor: stm32-quadspi: change license text mtd: spi-nor: stm32-quadspi: fix prefetching outside fsize Mika Westerberg (2): mtd: spi-nor: intel-spi: Add support for Intel Lewisburg SPI serial flash mtd: spi-nor: intel-spi: Add support for Intel Cedar Fork SPI serial flash Neil Armstrong (1): mtd: spi-nor: Add support for Winbond w25q16dw Philipp Puschmann (1): mtd: spi-nor: Add support for mr25h128 Richard Weinberger (1): mtd: spi-nor: Kill check with no effect Roman Yeryomin (1): mtd: spi-nor: enable 4B opcodes for mx66l51235l Thor Thayer (1): mtd: spi-nor: Allow Cadence QSPI support for ARM64 Vignesh R (6): mtd: spi-nor: cadence-quadspi: Add TI 66AK2G SoC specific compatible mtd: spi-nor: cadence-quadspi: add a delay in write sequence mtd: spi-nor: cadence-quadspi: Add new binding to enable loop-back circuit mtd: spi-nor: cadence-quadspi: Add support to enable loop-back clock circuit mtd: spi-nor: cadence-quadspi: Fix error path in probe mtd: spi-nor: cadence-quadspi: Add runtime PM support Documentation/devicetree/bindings/mtd/cadence-quadspi.txt | 7 ++++- Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt | 1 + Documentation/devicetree/bindings/mtd/mtk-quadspi.txt | 15 ++++++----- drivers/mtd/devices/m25p80.c | 1 + drivers/mtd/spi-nor/Kconfig | 6 ++--- drivers/mtd/spi-nor/cadence-quadspi.c | 55 +++++++++++++++++++++++++++++++++----- drivers/mtd/spi-nor/intel-spi-pci.c | 3 +++ drivers/mtd/spi-nor/intel-spi.c | 209 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------- drivers/mtd/spi-nor/mtk-quadspi.c | 70 ++++++++++++++++++++++++++++++++++++++++--------- drivers/mtd/spi-nor/spi-nor.c | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------- drivers/mtd/spi-nor/stm32-quadspi.c | 35 ++++++++++++++++++++----- include/linux/mtd/spi-nor.h | 10 +++++++ 12 files changed, 404 insertions(+), 113 deletions(-)