Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2663726imm; Mon, 10 Sep 2018 04:48:32 -0700 (PDT) X-Google-Smtp-Source: ANB0VdayiUCYaXZEox3fl+6TRXqNaJsvO5POoHsrvTRuATa2l+1OEAAfi53LvklXhmk+E1JTg2BB X-Received: by 2002:a62:a6cc:: with SMTP id r73-v6mr23268728pfl.60.1536580112806; Mon, 10 Sep 2018 04:48:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536580112; cv=none; d=google.com; s=arc-20160816; b=QZSVhLYI4TC8Rh4MOYyMZFO0uEXJiRAdosFLKT1E40fkFGhdlZVCRFl8b/AWm0+ZK8 4nKCCk6/MtidpDyQyrbK4iESjdIQxCaXwg1yb/kzclFh5Rkv9THgt7DD31Q/C61gpoe9 UFswPn6w0fuPAqBLnulmuRC87y732jr6klSG6zYMfgzLntK+1juYdjZXwLE2cYqq4CJQ 4zi3OMcr4HU1LlJoPy0flQdwE0IYLpPooVzQslMSM0cqj1FEYlOOAH7rJe8I5URFPgTh 1jJcq0MHqOorTQLMsoPkRkrOKc6Pz7pxdxa4r3mVsZox8O4rdbAw9gSZpgdgPS7q6txs huUw== 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; bh=fU4330Z8JMw5Qm6St26+5uzL2J8Tesralyj9nxJf5LE=; b=cIfJOewCzJK7UFK41LierQ//cj4Z1V5AI1PhCymXXp0HCW9Kn5+3Gr3zKzfkUVCVue pHuwH2MuTmSn6nU8zz+ww0hmPoK9iQL0bVlqorriJfeTG19hdW3xbLgbtFVTJBW6tJ/Y 5qxW9IMXUQeo+/28ca6kFymN6kFboLAR/aKF+485lriI59eAxnJ/Ex40tSjU5JV5URQt jFGOeR+MA0BWw9GqnnC3otl/eCCXe+U3Lr7VsikbHEsdeN+GY2a0TN0xsEbNC4KF97Gb Yx8HyqhOGsSkTQ/fihNQZi3xLdSQKb5oIhZHdeXbHHzuIuHVpc0/SxZN4TQ1IjkBPseP C7+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=OBCHThfW; 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 32-v6si16787145plg.390.2018.09.10.04.48.17; Mon, 10 Sep 2018 04:48:32 -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=OBCHThfW; 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 S1728389AbeIJQkW (ORCPT + 99 others); Mon, 10 Sep 2018 12:40:22 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:42202 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727727AbeIJQkW (ORCPT ); Mon, 10 Sep 2018 12:40:22 -0400 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id C6F9110C13B5; Mon, 10 Sep 2018 04:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1536580001; bh=QApYIa+vHQ3RoTYTuBzhQVxZKIPXLUyGpyWhz2WPGQg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OBCHThfWE1yX9eyA/Gk4zwFcJzghOS1yG5tCN9nnHEF4ZBVdNL8qCkp2U7S8jDbEt dJwgYs8zAF4JMngoCi/3FA+g4lrxx0RW+BLcD6edr4o38VuzfZBYApVVk6Y6anCEoT 6L8DE/G8oPm1Mg7KPIRlL1kuMWhV82AX4hb2d62lFDqbyHRDA6i71DYn1Oxc4CGuRk dzcQNzpF77Q6dC/1Eeg7QCgrxs4BjbPIQ7nubviIPpl72yzjAVD8ix91VYgOwyX0Zy JSz+Cj2CiXsgaqpmZAAAnuTGRnfihJKhPXaFOX2r6doYQyrPXPurORRmEbQo031+CL hlNASiGOGa6fQ== Received: from paltsev-e7480.internal.synopsys.com (paltsev-e7480.internal.synopsys.com [10.121.3.37]) by mailhost.synopsys.com (Postfix) with ESMTP id 908D9559E; Mon, 10 Sep 2018 04:46:38 -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 v2 2/2] mtd: spi-nor: add support for sst26wf016, sst26wf032 Date: Mon, 10 Sep 2018 14:46:28 +0300 Message-Id: <20180910114628.19156-3-Eugeniy.Paltsev@synopsys.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180910114628.19156-1-Eugeniy.Paltsev@synopsys.com> References: <20180910114628.19156-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 --- Changes v1->v2: * None. 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 d0e7c85b6002..3e7ade960c0b 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