Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp490104ybi; Tue, 2 Jul 2019 23:54:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwx2EK5Ual93qqxkkMn16CyERw6Jsal3P/2oDX/UTT5Fb6aBQlr8WxajN2lKfLwrK0i8QDM X-Received: by 2002:a63:da52:: with SMTP id l18mr35665364pgj.131.1562136841704; Tue, 02 Jul 2019 23:54:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562136841; cv=none; d=google.com; s=arc-20160816; b=C1o91b8EdCoZ4cBjwkQiGa5H4e0qmHNPUcojnu+2nIAVn6tdbaiotcbYSq3Gvqu6O5 6mxhIKYOnNr9gyzaDov/L5Sb0TQcu3407QjR1YYL1Su5WZUxbRv72ATah2qzlhFudmpC MS96rHc4PrguYimCLenBxhX1b1xfWwjzO9fxm7jNiMZKV7YFcWQgsSZMgncbpPf/CPhr 8OVnzoJEPEM+WlTiuI3BnsVHNbDf8z3qBqeYGMmdoxackWryKh+/un+HcXbS1eJ1cm4r RXEsJlGt3TaKZV7kjbryFgdu4v7sFPC68dlXGh8zIHwh6u+x/HCFXyy6jf3BNobjiuUt 2Nsw== 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=5rTpIiCD82TXDTrm/VzWeUiKexhLi2LpYkUZ5C38x0M=; b=BGXMRJqGkCZ8RJzIB5SFVkF1bPpVh0pg81O7y1UmJ6DBTin8ljfHrfmbjJfGSSFSp/ qI9IwQA9iUS/Q3lIbszhlIcVMHoP8uFl+JcT0txvUp4kudbYUTsZ7VB3j2zmHzlMijB6 DizpUm2ksy7di9tKDmVgS/ouJmVWX1psOMbgm2xlIqUkJuT2HEou/yQW+IszuAz4FXs0 Ikq5IAn0EdHJaKqirnmgK9NNcKiwkA4HC8aio0gJLkq4kzwq4r04qxJEoCmuR2DpBztY A5F81BiD7wTlEKq6FAt2y7kez8a9LcQTRIioCFBoI4BIzKamUr1ZXNFgZEEkaK/C3IYx Fl0Q== 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 z6si1443012plo.193.2019.07.02.23.53.46; Tue, 02 Jul 2019 23:54:01 -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 S1727142AbfGCGxT (ORCPT + 99 others); Wed, 3 Jul 2019 02:53:19 -0400 Received: from twhmllg3.macronix.com ([211.75.127.131]:63167 "EHLO TWHMLLG3.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726670AbfGCGxT (ORCPT ); Wed, 3 Jul 2019 02:53:19 -0400 Received: from localhost.localdomain ([172.17.195.96]) by TWHMLLG3.macronix.com with ESMTP id x636rBC3005738; Wed, 3 Jul 2019 14:53:11 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) From: Mason Yang To: miquel.raynal@bootlin.com, marek.vasut@gmail.com, bbrezillon@kernel.org, dwmw2@infradead.org, computersforpeace@gmail.com, vigneshr@ti.com, richard@nod.at, robh+dt@kernel.org, stefan@agner.ch, mark.rutland@arm.com Cc: linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, juliensu@mxic.com.tw, paul.burton@mips.com, liang.yang@amlogic.com, lee.jones@linaro.org, masonccyang@mxic.com.tw, anders.roxell@linaro.org, christophe.kerello@st.com, paul@crapouillou.net, devicetree@vger.kernel.org Subject: [PATCH v5 0/2] Add Macronix raw NAND controller driver Date: Wed, 3 Jul 2019 15:15:42 +0800 Message-Id: <1562138144-2212-1-git-send-email-masonccyang@mxic.com.tw> X-Mailer: git-send-email 1.9.1 X-MAIL: TWHMLLG3.macronix.com x636rBC3005738 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, v5 patch including: 1. compatible rename to "macronix,nand-controller" 2. handle three clock in one 3. other minor patches 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 | 20 + drivers/mtd/nand/raw/Kconfig | 6 + drivers/mtd/nand/raw/Makefile | 1 + drivers/mtd/nand/raw/mxic_nand.c | 557 +++++++++++++++++++++ 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