From patchwork Thu Nov 18 11:19:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 12693035 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16D62C433EF for ; Thu, 18 Nov 2021 11:21:55 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DB4A261A89 for ; Thu, 18 Nov 2021 11:21:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DB4A261A89 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=5rpOqYYV7HAmDn5vuFoj/ERC2zdjZ2ruvjKmsv1r0dY=; b=zzt7zTe/SCiYLm 048DHKGeDNhoBrldEcB5Zz3F8Sr12M34vc/F0S1COWA6Ec4aVU10sV1uIIDaJcXpSJg0Wzailq3p3 JBKMuuYRLpwCkVvN/l9zGAJFb8T0X7LBJMZ6ipjQBNWWHzOLX0PGsIb7WadpeWjgk4M4UfDT333V0 Yc4P1zTTGWy4P6OXz9ju/TxDAUtFguVilwSeJsAKYIjVnpThqtFgRnviHpYBIc74Ql44gkZQeQEll uRszEEmjJMAEiZVk6ybgTyn97Ala4XN9ric2YL2WwiK1xYOyU+p/p+tbXG7iGwiIrVYBtLyedKVti I/RYGSbneUdpWj8fH3oA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mnfSl-007Xio-Ii; Thu, 18 Nov 2021 11:20:19 +0000 Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mnfSG-007Xdu-Jt; Thu, 18 Nov 2021 11:19:51 +0000 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 5421120011; Thu, 18 Nov 2021 11:19:41 +0000 (UTC) From: Miquel Raynal To: Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , Pratyush Yadav , Michael Walle , Cc: Thomas Petazzoni , Jimmy Lalande , Milan Stevanovic , Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org, Magnus Damm , , Miquel Raynal Subject: [PATCH 0/3] Renesas RZ/N1 NAND controller support Date: Thu, 18 Nov 2021 12:19:37 +0100 Message-Id: <20211118111940.1275351-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211118_031948_833457_5097DAC7 X-CRM114-Status: GOOD ( 12.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, Here is a short series bringing support for Renesas RZ/N1 NAND controller. I tried to follow the upstream conventions for the compatible name but used a more easy to read name for the driver itself, please tell me if this is an issue. So far this driver has been tested with a not-fully-upstream device tree because clock tree is not yet described entirely, I am going to work on it really soon but I believe we don't need full clock support to get the NAND controller driver merged for now. Cheers, Miquèl Miquel Raynal (3): dt-bindings: mtd: rzn1: Describe Renesas RZ/N1 NAND controller mtd: rawnand: rzn1: Add new NAND controller driver MAINTAINERS: Add an entry for Renesas RZ/N1 NAND controller .../renesas,r9a06g032-nand-controller.yaml | 60 + MAINTAINERS | 7 + drivers/mtd/nand/raw/Kconfig | 6 + drivers/mtd/nand/raw/Makefile | 1 + drivers/mtd/nand/raw/rzn1-nand-controller.c | 1417 +++++++++++++++++ 5 files changed, 1491 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/renesas,r9a06g032-nand-controller.yaml create mode 100644 drivers/mtd/nand/raw/rzn1-nand-controller.c