Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4659144rdb; Tue, 12 Dec 2023 06:06:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IEaiaXbCU+cS/GcgbRzEBS8Ny6JRq2COeGm7nJaOJceRzG/Gydjvg9sNMDOEzWwFTcjdrAI X-Received: by 2002:a05:6a20:e48c:b0:190:2bfe:bb06 with SMTP id ni12-20020a056a20e48c00b001902bfebb06mr6453511pzb.51.1702389995353; Tue, 12 Dec 2023 06:06:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702389995; cv=none; d=google.com; s=arc-20160816; b=wZ+/X5xACJfluq+13zrKxSI+YRh6LsEAOBdSRbu9A4hitJFUfNJ6IfP19aGIbDlCQy r+jpgrYDvA9XfdJB707F9VLgfwkUAdsYNxjICjurKd0XT61VyxWcGiBo6cO7PlONWtJe fuDMjMtzNzaLdJQUrog56htWjcXTPiDrbUFpjwep3Sgga8wSw2mcFFIjduefKVt6ZcNh SGIAgMdO+Y6I9cTyb2CERbDJozbRSDqtmSN2iKW8r5uqnOviU97fX5VS061A6UraMsVa 29t0KYxn5aB+m7cczQUTcm03lMG2T1W6qW5WMlYGV6aQ+Rl5nqIeLj59vafTlFnntioX Oy+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=8VgCEu9GpjqJrf+SumYZk2dGW/A3Nbxfr4XJ0APRxZs=; fh=jE7XV18dn7qjmAi9uFvnFSJUs/+2Xt+EHq2nbAvd5x0=; b=v1DxJpNEhXriERuFlregs5qzPY+AALDtFuKAx46us1qLUHtg7Kdrgdkkd7whM/F9op jEOSOljVNsv1LfeE/O/s3g7k7Q3GMNpKH2V0ziTzttiPwF80jHj6gQilEmtWz1URWYyJ XhfGThiAZiLZ+ocJQshfQyei8Z3iELNjA44FqynDUam+NCUtI55TOnLjnd0mO1+2pPHw 1Y9/7nlSXXOIaHeT5Qe9bX6LQfAuOU6OdD05pYy/8DsFt4I3F3tnpqrwCA9RBwNkitHv /j4y/O0Iu5nGTJhjReIc7lp5tJRp22ZMHecVLVBi7vAi2t/8/I9IRrDC6wOYvpImg8yn VU1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=BQnsfRN2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id f1-20020a654001000000b005c6ec7ede98si7379822pgp.875.2023.12.12.06.06.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 06:06:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=BQnsfRN2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 9E4FE805F86F; Tue, 12 Dec 2023 06:06:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376403AbjLLOFv (ORCPT + 99 others); Tue, 12 Dec 2023 09:05:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376427AbjLLOFs (ORCPT ); Tue, 12 Dec 2023 09:05:48 -0500 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB02DFD for ; Tue, 12 Dec 2023 06:05:53 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 8BFF8E0002; Tue, 12 Dec 2023 14:05:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1702389952; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8VgCEu9GpjqJrf+SumYZk2dGW/A3Nbxfr4XJ0APRxZs=; b=BQnsfRN2Q+kLg7bzZvez/qL4QLdRn+pFSg8c1FZ/YF2OVoSyOJAj1R6rwt0uDPArfPQ3vV 6wdhNvf3KCjEprppYqoafwkNdoW9n8zC5mkOJ4TruaZba/r3rWnjcary3RAVnMeqrwGHf2 tfRDonIUwsxe0kJXcaeSsZjgLkEPIZ2/EcZ4THs/4O+YwD7pB0ouWUpBm7Bp+h0TN3teAq xA6Ylq/MDwHbsgTawPYFosctRZgN0KQoQFMoRG1wloIzW/QPSq33RUetApKQRLloBfti8+ qiTksBELzNZlWb7dslWsuonqffvdoh05NNtouedFOAgHf3Q5fPTJQRZv1sDHlQ== Date: Tue, 12 Dec 2023 15:05:45 +0100 From: Miquel Raynal To: Nikita Shubin Cc: Greg Kroah-Hartman , 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: <20231212150545.61806147@xps-13> In-Reply-To: <29970d694d155dee0c76612f453eaa06a929e2c1.camel@maquefel.me> References: <20231212-ep93xx-v6-0-c307b8ac9aa8@maquefel.me> <20231212-ep93xx-v6-20-c307b8ac9aa8@maquefel.me> <2023121220-shine-caviar-68dc@gregkh> <29970d694d155dee0c76612f453eaa06a929e2c1.camel@maquefel.me> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 12 Dec 2023 06:06:17 -0800 (PST) Hello, nikita.shubin@maquefel.me wrote on Tue, 12 Dec 2023 11:35:48 +0300: > Hello Greg! >=20 > On Tue, 2023-12-12 at 09:30 +0100, Greg Kroah-Hartman wrote: > > On Tue, Dec 12, 2023 at 11:20:37AM +0300, Nikita Shubin via B4 Relay > > wrote: =20 > > > From: Nikita Shubin > > >=20 > > > Technologic Systems has it's own nand controller implementation in > > > CPLD. > > >=20 > > > Signed-off-by: Nikita Shubin > > > --- > > > =C2=A0drivers/mtd/nand/raw/Kconfig=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0 7 + > > > =C2=A0drivers/mtd/nand/raw/Makefile=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0 1 + > > > =C2=A0drivers/mtd/nand/raw/technologic-nand-controller.c | 220 > > > +++++++++++++++++++++ > > > =C2=A03 files changed, 228 insertions(+) > > >=20 > > > 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 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Enables suppor= t for the NAND controller found on Renesas > > > R-Car > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Gen3 and RZ/N1= SoC families. > > > =C2=A0 > > > +config MTD_NAND_TS72XX > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0tristate "ts72xx NAND cont= roller" > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0depends on ARCH_EP93XX && = HAS_IOMEM > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0help > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Enables support for= NAND controller on ts72xx SBCs. > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 This is a legacy dr= iver based on gen_nand. =20 > >=20 > > Why is a new "legacy driver" being written these days?=C2=A0 Why not do= it > > properly? =20 >=20 > Sorry, my bad, description is a leftover from older description (when i > was allowed to submit a legacy one). >=20 > The driver is mostly new, shiny and approved by Miquel: >=20 > https://lore.kernel.org/lkml/20231004103911.2aa65354@xps-13/ >=20 > The KConfig description should be fixed. Indeed, later submissions carried a brand new implementation which no longer leverages any legacy hook. The Kconfig description is wrong, good catch. Thanks, Miqu=C3=A8l