From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7198DC4332F for ; Tue, 12 Dec 2023 08:30:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345818AbjLLIab (ORCPT ); Tue, 12 Dec 2023 03:30:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234999AbjLLIaK (ORCPT ); Tue, 12 Dec 2023 03:30:10 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AF45173B for ; Tue, 12 Dec 2023 00:30:11 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E5A6C433C7; Tue, 12 Dec 2023 08:30:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1702369811; bh=OBpRdN0eEvuNt0h+qruB6z/fQi2iOsF3hWkodHHSVPg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OZNhOMNNza3SZ7r1OO/hGEdpRUswF4DtFxtQ5FvZBkM3P1yVJv1RklxLZssjIui2Y F0St+QlfnN+emxxB0p1PL69TZVpEJY7z0II+lmFg439aulZxbI49uSjdSxkx4Jg4tP Wzn+4t3g7qJeFEJpWfVZNT0U1NoaXMThJv0wIvzE= Date: Tue, 12 Dec 2023 09:30:08 +0100 From: Greg Kroah-Hartman To: nikita.shubin@maquefel.me Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Arnd Bergmann , Linus Walleij , Christophe Kerello , Krzysztof Kozlowski , Neil Armstrong , Chris Packham , Johan Jonker , Jonathan Cameron , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org Subject: Re: [PATCH v6 20/40] mtd: rawnand: add support for ts72xx Message-ID: <2023121220-shine-caviar-68dc@gregkh> References: <20231212-ep93xx-v6-0-c307b8ac9aa8@maquefel.me> <20231212-ep93xx-v6-20-c307b8ac9aa8@maquefel.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231212-ep93xx-v6-20-c307b8ac9aa8@maquefel.me> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 12, 2023 at 11:20:37AM +0300, Nikita Shubin via B4 Relay wrote: > From: Nikita Shubin > > Technologic Systems has it's own nand controller implementation in CPLD. > > Signed-off-by: Nikita Shubin > --- > drivers/mtd/nand/raw/Kconfig | 7 + > drivers/mtd/nand/raw/Makefile | 1 + > drivers/mtd/nand/raw/technologic-nand-controller.c | 220 +++++++++++++++++++++ > 3 files changed, 228 insertions(+) > > diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig > index cbf8ae85e1ae..3937c10dea1c 100644 > --- a/drivers/mtd/nand/raw/Kconfig > +++ b/drivers/mtd/nand/raw/Kconfig > @@ -449,6 +449,13 @@ config MTD_NAND_RENESAS > Enables support for the NAND controller found on Renesas R-Car > Gen3 and RZ/N1 SoC families. > > +config MTD_NAND_TS72XX > + tristate "ts72xx NAND controller" > + depends on ARCH_EP93XX && HAS_IOMEM > + help > + Enables support for NAND controller on ts72xx SBCs. > + This is a legacy driver based on gen_nand. Why is a new "legacy driver" being written these days? Why not do it properly? thanks, greg k-h