[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200331204716.52f611db@collabora.com>
Date: Tue, 31 Mar 2020 20:47:16 +0200
From: Boris Brezillon <boris.brezillon@...labora.com>
To: Weijie Gao <weijie.gao@...iatek.com>
Cc: <linux-mtd@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <linux-mips@...r.kernel.org>,
<devicetree@...r.kernel.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
Matthias Brugger <matthias.bgg@...il.com>,
Boris Brezillon <bbrezillon@...nel.org>,
Frieder Schrempf <frieder.schrempf@...tron.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Anders Roxell <anders.roxell@...aro.org>,
Brendan Higgins <brendanhiggins@...gle.com>,
Piotr Sroka <piotrs@...ence.com>,
Mason Yang <masonccyang@...c.com.tw>,
Arnd Bergmann <arnd@...db.de>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>
Subject: Re: [PATCH 1/2] mtd: rawnand: add driver support for MT7621 nand
flash controller
On Wed, 1 Apr 2020 02:07:58 +0800
Weijie Gao <weijie.gao@...iatek.com> wrote:
> This patch adds NAND flash controller driver for MediaTek MT7621 SoC.
>
> The NAND flash controller is similar with controllers described in
> mtk_nand.c, except that the controller from MT7621 doesn't support DMA
> transmission, and some registers' offset and fields are different.
>
Please don't duplicate driver the driver for those minor differences:
use regmap/reg_field to abstract reg field positions and make the DMA
optional.
Powered by blists - more mailing lists