Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3338146ybd; Tue, 25 Jun 2019 00:31:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqzuPNGqOfxy//a4xAx4cyy0FUDxTpZqJNQRDqv+cMUqqUOD2SFLwK+Ht9hPoGcEuoRiHWp2 X-Received: by 2002:a63:2b57:: with SMTP id r84mr32599497pgr.282.1561447875142; Tue, 25 Jun 2019 00:31:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561447875; cv=none; d=google.com; s=arc-20160816; b=SiNbYj9ssKtR7bJ71BjD8SBevIDPEJpGcMC27ZdewRVY+dCC5eiNbfug3N6tA+uBPX 0ZUhF9uZ4a3XgmZFf0t1sZ/YX9GniAZsXRlZZYQV6HTsMJPL5scA+ulx7+xEaUYlIuCD L5X+rzvgHhyQN/UBmKF+XRYmpNYpv8hddxEobVllDU3JvI4VZl3i39EHugNaAB/OgcZu S26rD2XIkbWt3k0TxRFGLnxbbBulch0t/lq+1EhDcLjk95JtpBQxXMVAHb8ZZ4LbeuKx Ccf+iFUS+o2RkYEkQa+OOJqQ2E5vPmrADiD+ysZAbLixaG46ptCw2uSyPIZEoVczv00X 66jw== 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=9HErsZ1zKQGipJnbZHbnka1fEJ1sI/59UYoqyjpjImo=; b=1HXSc+xbdjMYpRmoO+nkpN5swQW0Mh1GgiiJNrgto8l+rGTuuyewUjIr5L00U5iQLx XhR7vKUxr7FHUJkapq4V/F3gO+W261RGArsz/Yd9o5KNvaD/hG9gEkD6PIaqN2MiJ4RL R5/IMwLaGcMAsXwb4b9SyL8VkY4D2zom24H1cycWyWiMffJGq7TcpT+S+jpFTj8CUZAj TpVSAJi0N9y58VCm15TzE8gAFlHQOZmpAXGXtWkqUXE2p7POHvJmj3A0XhoPbKCruIKl MdJ8sZ5bmicXr+r/9N5Onfcl+gDGUkppvqmAko43ZkqKf7QgJec+pqmHX9CIjD+WqwjK AWtw== 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 f193si13054974pgc.144.2019.06.25.00.30.59; Tue, 25 Jun 2019 00:31:15 -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; 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 S1728500AbfFYFs0 (ORCPT + 99 others); Tue, 25 Jun 2019 01:48:26 -0400 Received: from twhmllg3.macronix.com ([211.75.127.131]:34785 "EHLO TWHMLLG3.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728484AbfFYFs0 (ORCPT ); Tue, 25 Jun 2019 01:48:26 -0400 Received: from localhost.localdomain ([172.17.195.96]) by TWHMLLG3.macronix.com with ESMTP id x5P5mKt0093478; Tue, 25 Jun 2019 13:48:20 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) From: Mason Yang To: miquel.raynal@bootlin.com, marek.vasut@gmail.com, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, bbrezillon@kernel.org, dwmw2@infradead.org, computersforpeace@gmail.com, vigneshr@ti.com, paul.burton@mips.com, liang.yang@amlogic.com, richard@nod.at, anders.roxell@linaro.org, christophe.kerello@st.com, paul@crapouillou.net, jianxin.pan@amlogic.com, stefan@agner.ch, devicetree@vger.kernel.org Cc: juliensu@mxic.com.tw, lee.jones@linaro.org, masonccyang@mxic.com.tw, broonie@kernel.org Subject: [PATCH v4 0/2] Add Macronix Raw NAND controller driver Date: Tue, 25 Jun 2019 14:10:54 +0800 Message-Id: <1561443056-13766-1-git-send-email-masonccyang@mxic.com.tw> X-Mailer: git-send-email 1.9.1 X-MAIL: TWHMLLG3.macronix.com x5P5mKt0093478 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, v4 patch back to only raw NAND controller driver instead of MFD, raw NAND and SPI driver. This is based on MFD maintainer, Lee Jones comments: MFD is for registering child devices of chips which offer genuine cross-subsystem functionality. It is not designed for mode selecting, or as a place to shove shared code just because a better location doesn't appear to exist. v3 patch is to rename the title of SPI controller driver. "Patch Macronix SPI controller driver according to MX25F0A MFD driver" v2s patches is to support Macronix MX25F0A MFD driver for raw nand and spi controller which is separated form previous patchset: https://patchwork.kernel.org/patch/10874679/ thanks for your review. best regards, Mason Mason Yang (2): mtd: rawnand: Add Macronix Raw NAND controller dt-bindings: mtd: Document Macronix raw NAND controller bindings .../devicetree/bindings/mtd/mxic-nand.txt | 26 + drivers/mtd/nand/raw/Kconfig | 6 + drivers/mtd/nand/raw/Makefile | 1 + drivers/mtd/nand/raw/mxic_nand.c | 551 +++++++++++++++++++++ 4 files changed, 584 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/mxic-nand.txt create mode 100644 drivers/mtd/nand/raw/mxic_nand.c -- 1.9.1