From patchwork Thu Nov 18 11:19:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 12693034 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 E502CC433EF for ; Thu, 18 Nov 2021 11:21:15 +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 A8B6E61AFB for ; Thu, 18 Nov 2021 11:21:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A8B6E61AFB 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:References:In-Reply-To: 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: List-Owner; bh=Eb2Qw7Xq9c1Re5Rw7C1fNzRtFpY0MG3ZXIYxYAJdySM=; b=GD20zRv/NHVSzq vuT48Q6zioyFfuB0CQUaCOMcvOJHCO5XO7aB7YH1RorGY/vGvVvp58R8K3iIRHOoVHeFOLwPAPE4q FrvnKle31LHE1qQ7acP+Pg3r2+KSuT9pNoFGE5uUmGQYKYwrDE8OX275mUZCwKOWqZWMfWPPSkp6R 18u8zKa/CW6a7URHQySrfeipEM6M5KfM+bOYD7D7gLl3gVpWzOL4Hi1TT8p7if+G2HY5j/l6tajUw 4zXFuiwzfnZ1yBTUrvl6RRswi1Kf9FxvDSkWxAmnjA07DXjA3Pei8frC5PGkfraLu0KfO+cSuOCw2 MWOa9JdihHPDLJY5bMWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mnfSM-007Xg0-BW; Thu, 18 Nov 2021 11:19:54 +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-007Xe9-DP; Thu, 18 Nov 2021 11:19:50 +0000 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id A6CF720009; Thu, 18 Nov 2021 11:19:43 +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 1/3] dt-bindings: mtd: rzn1: Describe Renesas RZ/N1 NAND controller Date: Thu, 18 Nov 2021 12:19:38 +0100 Message-Id: <20211118111940.1275351-2-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20211118111940.1275351-1-miquel.raynal@bootlin.com> References: <20211118111940.1275351-1-miquel.raynal@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211118_031948_633442_4A7A7F80 X-CRM114-Status: GOOD ( 10.82 ) 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 Add a Yaml description for this Renesas NAND controller bindings. Signed-off-by: Miquel Raynal --- .../renesas,r9a06g032-nand-controller.yaml | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/renesas,r9a06g032-nand-controller.yaml diff --git a/Documentation/devicetree/bindings/mtd/renesas,r9a06g032-nand-controller.yaml b/Documentation/devicetree/bindings/mtd/renesas,r9a06g032-nand-controller.yaml new file mode 100644 index 000000000000..880b6e534573 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/renesas,r9a06g032-nand-controller.yaml @@ -0,0 +1,60 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/renesas,r9a06g032-nand-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas RZ/N1x NAND flash controller device tree bindings + +maintainers: + - Miquel Raynal + +allOf: + - $ref: "nand-controller.yaml" + +properties: + compatible: + const: renesas,r9a06g032-nand-controller + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: Host controller clock + - description: External NAND bus clock + + clock-names: + items: + - const: hclk + - const: eclk + + "#address-cells": true + "#size-cells": true + +required: + - compatible + - reg + - clocks + - clock-names + - interrupts + +additionalProperties: true + +examples: + - | + #include + #include + + nand-controller@40102000 { + compatible = "renesas,r9a06g032-nand-controller"; + reg = <0x40102000 0x2000>; + interrupts = ; + clocks = <&hclk_nand>, <&clk_nand>; + clock-names = "hclk", "eclk"; + #address-cells = <1>; + #size-cells = <0>; + };