Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2697508imm; Tue, 4 Sep 2018 08:35:46 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYsm9YV8hGQO+inZIlhk4qufZs22jIybDZ80pvqJuXxxoZ/RPrFrdrz1GUEJs3y7Ios4AqM X-Received: by 2002:a17:902:d706:: with SMTP id w6-v6mr34373364ply.158.1536075346526; Tue, 04 Sep 2018 08:35:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536075346; cv=none; d=google.com; s=arc-20160816; b=Xh6Qd9tdkZdY5I44i0Ekg7rLxQR2/VXWpW41RgTrgkC28CaQo0qkqWW3AABXAuSGd5 8xyWO0cflzSs2NsvaS9MVhL9+dTc2kWHUZMAWKxDELoxV8YtoUwGQSpm0xUtOKucIlWx yT8S6sH49V7YIdg4AoOI7PNIm4DB8Uo9+dfIPTtD8Mhc5gvBWuLMM+5zUulunt4xkzaW 2MHBje81offUx4irg57NI1Y7AjNDUc+vXrD5+b1Us8YZEos17wvIhRGdRue56fnYn1M2 Po2uFDlqx7S8EmCeNeRaTGdne+p4HGZUfEvnk242JrzVpadM/Ajb7kmOwk09IWHBigvU MQ+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=R/GngGQYUCxw9i7Pn02QYsM5nkZRkZNAHJic1weVb1E=; b=cH1wrKgjStV6pzXeRDD2Sni2RrkfCr3Q+SyG7JQMjBAmElJrhav4qcVDInujOKVjAs 0vdM6Z2Ds0/9odH2M91R03wQR/8RYmQYoACOXXc47KJAirlyRnN8q9cEepNsmE8cBthU a3SFke4llea9XtREYetUtMfqmAuCDdMg8NE5nrvZq6sW8+lFAAU2eZwfHu3mdF6+dvVw ryI7+pTD6L7Ww4oTr9tMvFCiLvnv86UilrDjQVcz/CWt4EM1rgSwlkmUjIsWGSGuKEFQ S/l3/CxYH0U6krUXmN9m0GMN7Y14N7mX0waHlawa5nHl4eR1ptlTY1VZYBxELv7maVKg IgCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=PU68ggkX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l17-v6si20077397pgu.79.2018.09.04.08.35.31; Tue, 04 Sep 2018 08:35:46 -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; dkim=pass header.i=@synopsys.com header.s=mail header.b=PU68ggkX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727636AbeIDT7o (ORCPT + 99 others); Tue, 4 Sep 2018 15:59:44 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:54972 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726377AbeIDT7n (ORCPT ); Tue, 4 Sep 2018 15:59:43 -0400 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 947D410C16F4; Tue, 4 Sep 2018 08:34:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1536075246; bh=KBZoYz1nqJFhpFbwDAGhiJ0e5SnVmTKMzmwXLLnWOJE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PU68ggkXIULs92FSGQQj9oD/x+meNktMcue87MsQz7og0TDXc3Mc8u18njUPflmuJ XowkeZmClJiddXwawkpFv0tWBE505RtB4v/Pw4Qma2EMuKf40hARferi3OouhQIhbw xRAL1e1nR3rVYGdYU4Ub/0PcImuWGSEN+kwCtdVZT1NKp19HYPTie79h09rZV+r0EH azgvzw5HUpUIgvXxggzSQnuVxY5A2xz1pxiD+iRNHe+1032waoWTr29ohTFxCsTaiz CujCm/oNe5dK/n4LYW3we5V1zH33jKDjDJjykgZ3Dulw8KHe2MOh1ZZxd84tPEETqA bqOkdTLxLVddQ== Received: from paltsev-e7480.internal.synopsys.com (paltsev-e7480.internal.synopsys.com [10.121.3.36]) by mailhost.synopsys.com (Postfix) with ESMTP id 8D14E3D41; Tue, 4 Sep 2018 08:34:02 -0700 (PDT) From: Eugeniy Paltsev To: linux-mtd@lists.infradead.org Cc: linux-snps-arc@lists.infradead.org, linux-kernel@vger.kernel.org, Alexey Brodkin , Vineet Gupta , Marek Vasut , David Woodhouse , Brian Norris , Boris Brezillon , Richard Weinberger , Eugeniy Paltsev Subject: [PATCH 2/2] mtd: spi-nor: add support for sst26wf016, sst26wf032 Date: Tue, 4 Sep 2018 18:33:42 +0300 Message-Id: <20180904153342.16742-3-Eugeniy.Paltsev@synopsys.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180904153342.16742-1-Eugeniy.Paltsev@synopsys.com> References: <20180904153342.16742-1-Eugeniy.Paltsev@synopsys.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit adds support for the SST sst26wf016 and sst26wf032 flash IC. NOTE: this patch is basically following mine u-boot commit port: http://git.denx.de/?p=u-boot.git;a=commitdiff;h=a19e97157c3721ef9c4b15c68c1773467a3b4a98 Signed-off-by: Eugeniy Paltsev --- drivers/mtd/spi-nor/spi-nor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 6f74c75c9ddc..e1562363862a 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1333,6 +1333,8 @@ static const struct flash_info spi_nor_ids[] = { { "sst25wf040b", INFO(0x621613, 0, 64 * 1024, 8, SECT_4K) }, { "sst25wf040", INFO(0xbf2504, 0, 64 * 1024, 8, SECT_4K | SST_WRITE) }, { "sst25wf080", INFO(0xbf2505, 0, 64 * 1024, 16, SECT_4K | SST_WRITE) }, + { "sst26wf016", INFO(0xbf2651, 0, 64 * 1024, 32, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, + { "sst26wf032", INFO(0xbf2622, 0, 64 * 1024, 64, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { "sst26vf064b", INFO(0xbf2643, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, /* ST Microelectronics -- newer production may have feature updates */ -- 2.14.4