From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Ladislav Michl <ladis@linux-mips.org>
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>,
Tony Lindgren <tony@atomide.com>,
Peter Ujfalusi <peter.ujfalusi@ti.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
linux-mtd@lists.infradead.org, linux-omap@vger.kernel.org,
Roger Quadros <rogerq@ti.com>
Subject: Re: [PATCH v5 00/16] OMAP2+ OneNAND driver update
Date: Thu, 30 Nov 2017 11:18:40 +0100 [thread overview]
Message-ID: <20171130111840.41c92d34@bbrezillon> (raw)
In-Reply-To: <20171115162306.2o2w2yrf7wucroxd@lenoch>
Hello Ladislav,
On Wed, 15 Nov 2017 17:23:06 +0100
Ladislav Michl <ladis@linux-mips.org> wrote:
> this patch serie updates OMAP2+ OneNAND driver to the present times, making
> it fully DT configurable, using libgpio and dmaengine apis - those are
> optional, driver will work without them.
>
> Please note that unlike previous driver version, which basically ignored
> DT specified timings, this one relies on it, so it is important to get
> it right in your DT (dumping it from previous kernel version).
>
> In case synchronous timings is requested, it is okay to specify timings
> for the slowest chip ever used for you board as it is evetually optimized
> after chip probe.
>
> Original driver used DMA only if user specified INT gpio in platform
> data, now DMA is used unconditionally and PIO mode is used as fallback.
>
> In case anyone wants to give it a try, few DT related changes are needed:
> - onenand node needs 'ti,omap2-onenand' compatible (for mailine boards this is
> done in patch 2)
> - to use INT pin, int-gpios needs to be specified (for n900 and n8x0 this is
> done in patch 16, however patch lacks pinmux configuration.
>
> Most notable changes from v3:
> - added dmaengine patches by Peter Ujfalusi
> - added dt bindings documentation
> - added cleanup patches
> - DMA enabled by default
>
> Most notable changes from v4:
> - collected tags
> - used INT pin name properly
> - hopefully all comments taken into account
>
> Also note that driver will fail probe OneNAND chip after patch 13 and start
> working again after patch 14.
Well, breaking bisectability is never a good thing, this being said, I
won't complain if TI maintainers are okay with that.
>
> Testing and benchmarking very welcome.
Let me know when you think this series is ready to be merged.
>
> Depends on "memory: omap-gpmc: Make 'bank-width' property optional"
> https://patchwork.kernel.org/patch/10043259/
Hm, I see this patch has been applied to the omap tree, so maybe it's
simpler if everything goes through this tree. I don't plan to modify
onenand related stuff in this release anyway.
>
> Ladislav Michl (14):
> dt-bindings: mtd: gpmc-onenand: Update properties description
> ARM: dts: OMAP2+: Add compatible property to onenand node
> ARM: dts: omap3-igep: Update onenand node timings
> mtd: onenand: omap2: Remove regulator support
> mtd: onenand: omap2: Remove skip initial unlocking support
> mtd: onenand: omap2: Remove partitioning support from platform data
> mtd: onenand: omap2: Account waiting time as waiting on IO
> mtd: onenand: omap2: Unify OMAP2 and OMAP3 DMA implementation
> mtd: onenand: omap2: Do not make delay for GPIO OMAP3 specific
> mtd: onenand: omap2: Decouple DMA enabling from INT pin availability
> memory: omap-gpmc: Refactor OneNAND support
> mtd: onenand: omap2: Configure driver from DT
> ARM: OMAP2+: Remove gpmc-onenand
> ARM: dts: Nokia: Use OneNAND INT pin
>
> Peter Ujfalusi (2):
> mtd: onenand: omap2: Simplify the DMA setup for various paths
> mtd: onenand: omap2: Convert to use dmaengine for memcpy
>
> .../devicetree/bindings/mtd/gpmc-onenand.txt | 6 +-
> arch/arm/boot/dts/omap2420-n8x0-common.dtsi | 5 +-
> arch/arm/boot/dts/omap3-igep.dtsi | 30 +-
> arch/arm/boot/dts/omap3-n900.dts | 3 +-
> arch/arm/boot/dts/omap3-n950-n9.dtsi | 1 +
> arch/arm/boot/dts/omap3430-sdp.dts | 1 +
> arch/arm/mach-omap2/Makefile | 3 -
> arch/arm/mach-omap2/gpmc-onenand.c | 409 ---------------
> drivers/memory/omap-gpmc.c | 158 ++++--
> drivers/mtd/onenand/Kconfig | 3 +-
> drivers/mtd/onenand/omap2.c | 576 ++++++++-------------
> include/linux/omap-gpmc.h | 28 +
> include/linux/platform_data/mtd-onenand-omap2.h | 34 --
> 13 files changed, 387 insertions(+), 870 deletions(-)
> delete mode 100644 arch/arm/mach-omap2/gpmc-onenand.c
> delete mode 100644 include/linux/platform_data/mtd-onenand-omap2.h
>
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2017-11-30 10:18 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-15 16:23 [PATCH v5 00/16] OMAP2+ OneNAND driver update Ladislav Michl
2017-11-15 16:24 ` [PATCH v5 01/16] dt-bindings: mtd: gpmc-onenand: Update properties description Ladislav Michl
2017-11-30 10:25 ` Boris Brezillon
2017-11-30 13:09 ` Ladislav Michl
2017-12-15 10:18 ` Roger Quadros
[not found] ` <23d7ad3c-e6cd-3ba6-269a-1788371d13c3-l0cyMroinI0@public.gmane.org>
2017-12-15 12:24 ` Ladislav Michl
2017-11-15 16:26 ` [PATCH v5 02/16] ARM: dts: OMAP2+: Add compatible property to onenand node Ladislav Michl
2017-11-15 16:26 ` [PATCH v5 03/16] ARM: dts: omap3-igep: Update onenand node timings Ladislav Michl
2017-11-15 16:27 ` [PATCH v5 04/16] mtd: onenand: omap2: Remove regulator support Ladislav Michl
2017-11-15 16:28 ` [PATCH v5 05/16] mtd: onenand: omap2: Remove skip initial unlocking support Ladislav Michl
2017-11-15 16:29 ` [PATCH v5 06/16] mtd: onenand: omap2: Remove partitioning support from platform data Ladislav Michl
2017-11-15 16:30 ` [PATCH v5 07/16] mtd: onenand: omap2: Account waiting time as waiting on IO Ladislav Michl
2017-11-15 16:31 ` [PATCH v5 08/16] mtd: onenand: omap2: Simplify the DMA setup for various paths Ladislav Michl
2017-11-15 16:32 ` [PATCH v5 09/16] mtd: onenand: omap2: Unify OMAP2 and OMAP3 DMA implementation Ladislav Michl
2017-11-15 16:33 ` [PATCH v5 10/16] mtd: onenand: omap2: Convert to use dmaengine for memcpy Ladislav Michl
2017-11-15 16:34 ` [PATCH v5 11/16] mtd: onenand: omap2: Do not make delay for GPIO OMAP3 specific Ladislav Michl
2017-11-15 16:35 ` [PATCH v5 12/16] mtd: onenand: omap2: Decouple DMA enabling from INT pin availability Ladislav Michl
2017-11-15 16:36 ` [PATCH v5 13/16] memory: omap-gpmc: Refactor OneNAND support Ladislav Michl
2017-11-15 16:37 ` [PATCH v5 14/16] mtd: onenand: omap2: Configure driver from DT Ladislav Michl
2017-11-15 16:38 ` [PATCH v5 15/16] ARM: OMAP2+: Remove gpmc-onenand Ladislav Michl
2017-11-15 16:38 ` [PATCH v5 16/16] ARM: dts: Nokia: Use OneNAND INT pin Ladislav Michl
2017-11-30 10:18 ` Boris Brezillon [this message]
2017-11-30 13:13 ` [PATCH v5 00/16] OMAP2+ OneNAND driver update Ladislav Michl
2017-11-30 16:09 ` Tony Lindgren
2017-12-01 13:43 ` Roger Quadros
2018-01-09 13:08 ` Ladislav Michl
2018-01-09 21:01 ` Aaro Koskinen
2018-01-10 9:20 ` Ladislav Michl
2018-01-10 17:35 ` Aaro Koskinen
[not found] ` <20180110173519.xyug4egltni4f3qi-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
2018-01-10 21:13 ` Ladislav Michl
2018-01-11 19:29 ` Aaro Koskinen
[not found] ` <20180111192931.vwnpvj2wtgrvkhbe-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
2018-01-11 19:38 ` Ladislav Michl
2018-01-10 21:27 ` Aaro Koskinen
2018-01-11 8:08 ` Roger Quadros
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171130111840.41c92d34@bbrezillon \
--to=boris.brezillon@free-electrons.com \
--cc=aaro.koskinen@iki.fi \
--cc=kyungmin.park@samsung.com \
--cc=ladis@linux-mips.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=peter.ujfalusi@ti.com \
--cc=rogerq@ti.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).