Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6753461ybi; Wed, 31 Jul 2019 20:59:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMo+lK5NkyLjzj/Aw4VTopQcFxMyN9JYjTSGGTefvK1qlkRyxBCwKQmbZO/de7ZSY7jY4L X-Received: by 2002:a63:3dcd:: with SMTP id k196mr68771582pga.283.1564631943563; Wed, 31 Jul 2019 20:59:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564631943; cv=none; d=google.com; s=arc-20160816; b=wPGM+UdEZGsSyVfE8KYwyDm/YgI0sHib1aSvxXICFCMsgXHh6PPB0SvN6jkBYu2+dZ jpRbGgYd/BB19vlZNvxZ27Xz4b+t/J5xRxG9xitjf6JY9K6n/405fsI2j6QeXNsuGpXc k0qinCzLGUMVGOd/vFb4sqZj2Cw3qQnNiXATthYO6KLZTDAcGz19uzwpAYZyW2WoqNzP FUO6U+Yc+36ty3CSpfZuJAYBZJ2IK4uW3cIdb+lXttEg5SXC069wtpbdJ48JGI+VGse3 idoUVrSl4anIRi1wi5Fs3M4T1ILTBfPTGa6GWdfuFFXCUAysMo3xXP/qhxO+IRA+ei+O F2Bg== 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=OwmxgN+mIpkh2Ow0OKhVlDhyla0t3Yr1GhbiC4u7KEI=; b=uGBS4nO3y1hNZmsilAQ7uWrelMa8pzBfgmTUHiymUKNwE9bau9NFfRVVg61Lx7RQEY werfksrfckGjSO397iX7b4dUYcRBMGNvn/riV9XS1ENzOg1/+EANTrkB0ji7HnPpbU64 Wja2heWgbdlqk/dJ36D1PXvGupL5YNRuBfTOACC53nJ/cSIvWK8Y/E/Mnah2Zlf/LCmV I4lISuBUhLLuyoU+AvIO0bto29NKy+Al+0rJqyUCmJVRAtUYoe6s01+6s33tSGFtJ5iT xmzLoc6V75Hiq+nERt3DBJXQhgJWeZaL+sOefMN45Iy0iVmwzCLu5yZ6iLt1EuvEblnW YK2A== 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 i197si14456151pgd.99.2019.07.31.20.58.48; Wed, 31 Jul 2019 20:59:03 -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 S1729612AbfHADbC (ORCPT + 99 others); Wed, 31 Jul 2019 23:31:02 -0400 Received: from twhmllg4.macronix.com ([122.147.135.202]:29249 "EHLO TWHMLLG4.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729590AbfHADbB (ORCPT ); Wed, 31 Jul 2019 23:31:01 -0400 Received: from localhost.localdomain ([172.17.195.96]) by TWHMLLG4.macronix.com with ESMTP id x713UuOU087114; Thu, 1 Aug 2019 11:30:56 +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 v6 0/2] Add Macronix raw NAND controller driver Date: Thu, 1 Aug 2019 11:55:08 +0800 Message-Id: <1564631710-30276-1-git-send-email-masonccyang@mxic.com.tw> X-Mailer: git-send-email 1.9.1 X-MAIL: TWHMLLG4.macronix.com x713UuOU087114 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, v6 patch including: 1. compatible rename to "mxicy,multi-itfc-v009-nand-morph" 2. remove xxx_clk to xxx in DTS and driver. 3. patch mxic_nfc_data_xfer() 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 driver dt-bindings: mtd: Document Macronix raw NAND controller bindings .../devicetree/bindings/mtd/mxic-nand.txt | 19 + drivers/mtd/nand/raw/Kconfig | 6 + drivers/mtd/nand/raw/Makefile | 1 + drivers/mtd/nand/raw/mxic_nand.c | 554 +++++++++++++++++++++ 4 files changed, 580 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/mxic-nand.txt create mode 100644 drivers/mtd/nand/raw/mxic_nand.c -- 1.9.1