Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2663101imm; Mon, 10 Sep 2018 04:47:58 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ1adFHeoTsKd3uteAzeV60hgkAmOpN8nVtY5ZFtk+8GSh9YxQxLCeJa29shoDYWTkZcvHs X-Received: by 2002:a65:6413:: with SMTP id a19-v6mr21441195pgv.359.1536580078545; Mon, 10 Sep 2018 04:47:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536580078; cv=none; d=google.com; s=arc-20160816; b=nizcMAmVt533WoeyITrYkRfyEsQxcZ3rSlH0fmQM0PpG3QxvknoxMv7XDo9nN0NPpw T/Laz8SoUuSEXeOGmflYIyyuJkqMLZiZikFmUPY7QLGXARr82oB1EEzxqPMPpSrulHDb 5LBUIztVGhM6ecPYdSXqWND/HRjdTa3kpGNVEj4KXQo1NCa7z6x0TfONE38NY0djZi8o CaChET3oW16d5kZTqlObujRLd4Q1cylSvCDGPznVIG8Fc9ROr5gOeelQs7KQLvMN21rf /whdjCJ8NxTF0UQ8fVEPyKMc/g5ai7jJqJI+I8twvBG73PGoCLQzdYzOVhMRlImLUgQO 985Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=PrV4SNuNokOybZXHabcSuqka4DxI/Dh9Ml5Bn+NoaeQ=; b=pfmOmNC6Tcd4jSAnRvsngLllZM91i74dl6qY0dUYp6OdycPzTSsSSNMlympKpDEKHU 9hNZE9qpSm0JMfainlqEzhVqGZXX3D3qvFMi5ecCIEiSyZfT1KWV9zdzb5olHXK25ogu E9UVUanTY7me6bslYovWE0UIxPGrOI1tOet/ToEXwj64um8UmH6GOA9AsV6sKsf3ZbuK cAjjcP5xHzkQqQJJmlgCL7QcUCOoQggjOJt4TgssRDNSJxrYVqCKv43KGyM7zua5dWcj kLJAHqPWdXezGI98DHTv6Gzf2m1iC4/IUMzhUKDzXjvqD4apClJ/NDtnuKlCQAgs6bar l9ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=KTR48XMe; 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 a34-v6si16743545pld.149.2018.09.10.04.47.43; Mon, 10 Sep 2018 04:47:58 -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=KTR48XMe; 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 S1728232AbeIJQkP (ORCPT + 99 others); Mon, 10 Sep 2018 12:40:15 -0400 Received: from smtprelay2.synopsys.com ([198.182.60.111]:42182 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727727AbeIJQkP (ORCPT ); Mon, 10 Sep 2018 12:40:15 -0400 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 0905B10C1498; Mon, 10 Sep 2018 04:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1536579995; bh=NcR9Qih7PKeA8A6p0AIGw7IU1WZ6V51t2SCEKpINu1w=; h=From:To:Cc:Subject:Date:From; b=KTR48XMe0w8kxDCQx1USjJaiTRO2gMWwhna2e2+mN/WVMASdhECFtvy3w+tFXA2LG OoEeoEgKRArgL+eN1t9Fivqxp/xDZFn6S1CBvosxcx6KQu9xbGvvJ8fLcN/6OuAEiu YCL7OmgUW4BEiCB9U6BUa1UkjKEK6Tn1JFEmW/hrIuLfIrLfYR0tmsiDKCX5TLGdaE cLcreyVRVAnVMWcuhTO+eOdS6fYYoGowtAl3iBuUBF+qELRVCXMLK+LLufOUjXTpet xpFEYXB2SvKG+SR2KAL6Jmaf4dJCzm+8RSgL/f0A9i99j0rCj/zIQ5D8EqKdNFyMP5 mFYp2r3gCNK8g== Received: from paltsev-e7480.internal.synopsys.com (paltsev-e7480.internal.synopsys.com [10.121.3.37]) by mailhost.synopsys.com (Postfix) with ESMTP id 4EF7E5543; Mon, 10 Sep 2018 04:46:31 -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 0/2] MTD: spi-nor: add support for sst26wf016, sst26wf032 Date: Mon, 10 Sep 2018 14:46:26 +0300 Message-Id: <20180910114628.19156-1-Eugeniy.Paltsev@synopsys.com> X-Mailer: git-send-email 2.14.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for the SST sst26wf016 and sst26wf032 flash IC: sst26wf*** flash series block protection implementation differs from other SST series, so we add implementation for sst26wf*** lock/unlock/is_locked functions. Add sst26wf016 and sst26wf032 flash IC info to spi_flash_ids list. NOTE: these patches is basically following mine u-boot commits port: http://git.denx.de/?p=u-boot.git;a=commitdiff;h=3d4fed87a5fa3ffedf64ff2811cd95c5ac4503ac http://git.denx.de/?p=u-boot.git;a=commitdiff;h=a19e97157c3721ef9c4b15c68c1773467a3b4a98 Changes v1->v2: * Check return value of {read | write}_reg callbacks. Eugeniy Paltsev (2): mtd: spi-nor: Add support of sst26wf* flash ICs protection ops mtd: spi-nor: add support for sst26wf016, sst26wf032 drivers/mtd/spi-nor/spi-nor.c | 179 ++++++++++++++++++++++++++++++++++++++++++ include/linux/mtd/spi-nor.h | 4 + 2 files changed, 183 insertions(+) -- 2.14.4