Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3114421ybf; Mon, 2 Mar 2020 23:22:07 -0800 (PST) X-Google-Smtp-Source: ADFU+vv/IkN+wQu+/tTE3WGHq5JBiczjtE1haOAS+Nl4TTLqc6zTzlhJ0ZtJSCun30SynVBDzzot X-Received: by 2002:a9d:70d5:: with SMTP id w21mr2428092otj.65.1583220127055; Mon, 02 Mar 2020 23:22:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583220127; cv=none; d=google.com; s=arc-20160816; b=qd3Jkiq4sBoHgAnzQMwLNolPs6VgzTboUeEvsAyzUHTiYX8ipKiGxrh3nGp7UFWYes HV6xP6nIVP/CLhkx3iqtQbe7k/xzWLwEvSvQ2jrXMc9OFvEU9GUvcMeR7DYGJfUrH4pg fjKSneVzwe0CHNVEM5+/tJMd1FE/rPURt7tsjiOIGCQ9pXcIx/eWNVKdpU+oGDYNKnpw EArlash6nVS9YmyKYRvRESf56qzhkTv3ez02Lztnv5k1B9nFUXgD4hEB/QQT/KirHagE Qxt6/g80nrPLEK9DN+Ks2tfnsL+HDb1INlC8TpOsV0zNjxLGlHvc9MVIxTiAHj0RgwAY bygQ== 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; bh=9IYyRqc+cEFawgB51BnSMfd+LFn8LxUHNjZIx4OZnLs=; b=MWxQKkRRdr6cJfXso3h3n0ktCp9uGLflPtl4UznSLuzu1ZV/ToA0IbgOcyiOU/fNvA Pg5kmY7qlhCZoMHRnAwFb1oK5KwFuNyhMzasOJ1cK1uj+85SSABGetBVPQwdRkOFI3Ur iNg3bb6cehHXl2Wx0q2Id/5/4UJc/gy3g1U2b0zEwiyj9OJcr6Ik7zxYPoXrYc0wwQub 2LycaNz/1Tc+jYb04D8knaCQPGHq9osj92lAI8Y09/uyeCNgWezJtougsU/fo9YAcvL/ dMSjQNB4BHm1k9phWckU5z9EM7Q76Jk6NUF1OJA3lP8pW9m9qTYEOzluYC49pP1DfUQl E72A== ARC-Authentication-Results: i=1; mx.google.com; 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 o18si8129374oic.18.2020.03.02.23.21.55; Mon, 02 Mar 2020 23:22:07 -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; 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 S1725807AbgCCHVi (ORCPT + 99 others); Tue, 3 Mar 2020 02:21:38 -0500 Received: from twhmllg3.macronix.com ([211.75.127.131]:31728 "EHLO TWHMLLG3.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725765AbgCCHVh (ORCPT ); Tue, 3 Mar 2020 02:21:37 -0500 Received: from localhost.localdomain ([172.17.195.96]) by TWHMLLG3.macronix.com with ESMTP id 0237LRL9023026; Tue, 3 Mar 2020 15:21:27 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) From: Mason Yang To: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com Cc: frieder.schrempf@kontron.de, tglx@linutronix.de, stefan@agner.ch, juliensu@mxic.com.tw, allison@lohutok.net, linux-kernel@vger.kernel.org, bbrezillon@kernel.org, rfontana@redhat.com, linux-mtd@lists.infradead.org, yuehaibing@huawei.com, s.hauer@pengutronix.de, Mason Yang Subject: [PATCH v3 0/4] mtd: rawnand: Add support Macronix Block Portection & Deep Power Down mode Date: Tue, 3 Mar 2020 15:21:20 +0800 Message-Id: <1583220084-10890-1-git-send-email-masonccyang@mxic.com.tw> X-Mailer: git-send-email 1.9.1 X-MAIL: TWHMLLG3.macronix.com 0237LRL9023026 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Changelog v3: patch nand_lock_area/nand_unlock_area. fixed kbuidtest robot warnings and reviewer's comments. v2: Patch nand_lock() & nand_unlock() for MTD->_lock/_unlock default call-back function replacement. Patch nand_suspend() & nand_resume() with manufacturer specific operation. v1: Patch manufacturer post_init for MTD->_lock/_unlock & MTD->_suspend/_resume replacement. thanks for your time & review. Mason Mason Yang (4): mtd: rawnand: Add support manufacturer specific lock/unlock operation mtd: rawnand: Add support Macronix Block Protection function mtd: rawnand: Add support manufacturer specific suspend/resume operation mtd: rawnand: Add support Macronix deep power down mode drivers/mtd/nand/raw/nand_base.c | 47 +++++++++-- drivers/mtd/nand/raw/nand_macronix.c | 146 +++++++++++++++++++++++++++++++++++ include/linux/mtd/rawnand.h | 9 +++ 3 files changed, 197 insertions(+), 5 deletions(-) -- 1.9.1