Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp345348ybi; Fri, 7 Jun 2019 08:59:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZPE8dnC4Uk7BG+zDicK3lVAuBPwwVJRvkNFMHul1YQ1andYruKQfsn8urA/LyH/mhs5wW X-Received: by 2002:a17:902:1c9:: with SMTP id b67mr8944815plb.333.1559923190536; Fri, 07 Jun 2019 08:59:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559923190; cv=none; d=google.com; s=arc-20160816; b=BzMvVeVaZELWCJEUb7sPCUye3I6cum83X7dqWwnXfIo2sGUBseJ6kKECTRLLgYp/UN UNuTktY8KdTLOOLIIdO/hDkvq9GPrrxejMmYsOSMTcW0OmagvxLUMhUq3EWE31ZizoFY ykeSWw+14DqQlqoO7J8k15evZo+B84aiC3KIA4YPdxVA3+ik+ZLi6BpLftaXVC2Rdh5U dxE49x3e7nhr+Airgl21JI/4BXUEcwJrPWsAvTWd0BlrIgdEaozNhv4LhzZk8XRFilsq 2w/7tLPFAFiplupLMUCq6vVYg/7LyKTVa+lU8hEq/llNX5+eKeaPD91A8yYDDwSuRjgd TlPg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=ua+MPDxePuIX2w4BxY3sKjfKz3vbOnxwaigpOah3T/0=; b=bF8Lr5ZoLQ7ivJoFq6e2Wm+sjLOZ7UgYOKVVjYBj3U1cdB6Zr4pvLmxfkEgE5GksKR OKN8UJGARVQA+M086bjV5SMh25XHk+Imygc4fwEFfe35S8p2wcHMAAkVhThZOvgRMf9P S00fEscBlIiVVNcvhZTGhudDEK6FBp3fDRBlfu1dsEmgxlStr1LkJZQ2i1CXR0EQyNQv QGlzY8IMgKB/Rtw1P90HXwD6pZQbUFnnrmMcW5m3kqbD+vtTioUvcnqRSK7NMCH08l4T c/mD6YGDDVX/mQG0/tFbEg5xLI17FsUy2ORBy5xNosQJMIQ40zvW/OA19HgdhZFdVGkk yr8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=By726Rt7; 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 x5si2152624pln.41.2019.06.07.08.59.34; Fri, 07 Jun 2019 08:59:50 -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=By726Rt7; 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 S1730851AbfFGP5o (ORCPT + 99 others); Fri, 7 Jun 2019 11:57:44 -0400 Received: from dc2-smtprelay2.synopsys.com ([198.182.61.142]:46904 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729961AbfFGPng (ORCPT ); Fri, 7 Jun 2019 11:43:36 -0400 Received: from mailhost.synopsys.com (unknown [10.225.0.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 0448BC5859; Fri, 7 Jun 2019 15:43:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1559922215; bh=0lEPE/omdBqnj239oGGM+RMVir+ROFSBHtl3mcsX8h4=; h=From:To:Cc:Subject:Date:From; b=By726Rt7GGoItd7VLH3TBczHPVhVpeILAw1YpJ4M3MQvag4phbfn5xr0LFy6t5X2a +QHT35L7b8z+XR/QkNLac6pNfuzVv0z8uWcy23Ymd0TzpFn17a8THB/fh5sC4Pu1qW UAKxZGZjB8ZmnSXXvae7Ug6uw/m79q5H9omwDTpzQXGCyKx/9mzOF080RjfNa6ubqM yGU5y1NV3MGMokfvHraPa7myWHXntpVK1g31huj07OfGhoFrpwCJWTKxW6Adx6Kgzd w+vRWqICzpUcVteMmSrGLt99f2JPmsZ2/GxyiaQfV7mxpSazQa+uAxFc/F0nZkqCJc hy8ps+XwlfyoQ== Received: from paltsev-e7480.internal.synopsys.com (paltsev-e7480.internal.synopsys.com [10.121.3.20]) by mailhost.synopsys.com (Postfix) with ESMTP id A3946A022E; Fri, 7 Jun 2019 15:43:29 +0000 (UTC) From: Eugeniy Paltsev To: linux-mtd@lists.infradead.org, Marek Vasut , Tudor Ambarus Cc: linux-snps-arc@lists.infradead.org, linux-kernel@vger.kernel.org, Alexey Brodkin , Marek Vasut , David Woodhouse , Brian Norris , Richard Weinberger , Miquel Raynal , Eugeniy Paltsev Subject: [PATCH] mtd: spi-nor: add support for sst26wf016, sst26wf032 memory Date: Fri, 7 Jun 2019 18:43:08 +0300 Message-Id: <20190607154308.20899-1-Eugeniy.Paltsev@synopsys.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 memory IC. 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 73172d7f512b..224275461a2c 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1945,6 +1945,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.21.0