Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp48915imu; Thu, 8 Nov 2018 14:33:23 -0800 (PST) X-Google-Smtp-Source: AJdET5euLUOng8qs2JLS0ZHibkFl9Wi13w332/hgoKBs6ziFkSPzT2EXEEUQXaNrE7Da+rDpIFvC X-Received: by 2002:a65:5bc4:: with SMTP id o4mr5384360pgr.426.1541716402476; Thu, 08 Nov 2018 14:33:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541716402; cv=none; d=google.com; s=arc-20160816; b=f2cqEEbSAISnjp2X7j2RxFAVinhkHjAEJ4ZpgqC/yZ6krl3BBrLkOW3bozTD2dlV0w 5f0ZMNXwJOtRpR6prR6nunOvsambZaKdwxrXsd2nQj7LA0B97AG6ZX5pEigZjfJU6hUz N5xQPswE3TA9COrwBhiPVmP2N92oLf1ZZNz0ZZ5u8Bou2RW/nvbRVhyWSI3ktjP6jYtb L1W23XIsQAlq6Mtj1Sqnk1Swo5T7XTgZGzXEcASukl9qNDexb/2j0KSRoGtsda61y9me 3Jm4uAl0KGgOoLq8Lj13TyB6tlZI8AXWfNJ95FMSWrpHmD6LCNAbewoQx6t3cqf81/AH BURQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=DLYlrwOCJqU/Jp0YpI6SVB2GS5m36PPABGYofVBjnoA=; b=TkC9TCbBR2GAXF1gS+sLjeJPNMNngiQFqOkBW0Ces/aODoHSFOuxy/Y6ygg1cR50G6 TuYbG2bzeHBeJTGi5msEUnz+yVtrW2A1ZOa6DqcQZFzZxWyB7so51gtHq0kdae20Y6F8 rVwKnvY87l7XmgQUNDXMZHSGMFo/KdZX1hQHIFW55vA2mOsnhRMuLsrf0Jq8ABRY/wJ2 wMMaZZ43cUTrHTS0c2brggH8R2NL78/gyXVMIwrIyviMGMU0dC31t33ryNz1xmprjcXq GRMHlwA1nEK0gvOfqQ+JnAy3OcdfHf5CTN2YPDLOOAw5zeVd+h5mXpoorm/8Pf2PXh+j A+iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VJILKsyv; 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 186-v6si5495436pfc.95.2018.11.08.14.33.06; Thu, 08 Nov 2018 14:33:22 -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; dkim=pass header.i=@kernel.org header.s=default header.b=VJILKsyv; 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 S1729296AbeKIIIn (ORCPT + 99 others); Fri, 9 Nov 2018 03:08:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:56906 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730524AbeKIHh7 (ORCPT ); Fri, 9 Nov 2018 02:37:59 -0500 Received: from localhost (unknown [208.72.13.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6584020989; Thu, 8 Nov 2018 22:00:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541714430; bh=bFMWE0fkXe9eLtP2K5lVjhvEGJ1M07goUtTz9PAdUoQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VJILKsyva+SjcVsaqb0omJgd8JRTnktiHJJvEpW0Hzr+hyxZ4BxBEAcnlmOsnH5Uv 7j/G5iqhfIq/+gnMGK65U79UFhOtt7VeX9y1RHh2WwMOCjU+Q10JhzPAFih+DCba9v LG7j3SI0jEiO6ObxT11KcuI0Tk12YdxsSK1A8CE0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kimmo Rautkoski , Marek Vasut , Boris Brezillon , Adrian Bunk , Sasha Levin Subject: [PATCH 4.4 086/114] mtd: spi-nor: Add support for is25wp series chips Date: Thu, 8 Nov 2018 13:51:41 -0800 Message-Id: <20181108215108.670873069@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181108215059.051093652@linuxfoundation.org> References: <20181108215059.051093652@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit d616f81cdd2a21edfa90a595a4e9b143f5ba8414 ] Added support for is25wp032, is25wp064 and is25wp128. Signed-off-by: Kimmo Rautkoski Reviewed-by: Marek Vasut Signed-off-by: Boris Brezillon [ Adrian Bunk: Trivial adaption to changed context. ] Signed-off-by: Adrian Bunk Signed-off-by: Sasha Levin --- drivers/mtd/spi-nor/spi-nor.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 64d6f053c2a5..276998ea0267 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -708,6 +708,12 @@ static const struct flash_info spi_nor_ids[] = { /* ISSI */ { "is25cd512", INFO(0x7f9d20, 0, 32 * 1024, 2, SECT_4K) }, + { "is25wp032", INFO(0x9d7016, 0, 64 * 1024, 64, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, + { "is25wp064", INFO(0x9d7017, 0, 64 * 1024, 128, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, + { "is25wp128", INFO(0x9d7018, 0, 64 * 1024, 256, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, /* Macronix */ { "mx25l512e", INFO(0xc22010, 0, 64 * 1024, 1, SECT_4K) }, -- 2.17.1