Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5148852pxj; Wed, 9 Jun 2021 10:13:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwMCtBLY74UrxaU/cCufLYZ0uwZrYzrcsRWGqsu0ZRbCZzJeq8i7oasZ0u60uwdDj98+GB X-Received: by 2002:a05:6402:cb4:: with SMTP id cn20mr467871edb.334.1623258788860; Wed, 09 Jun 2021 10:13:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623258788; cv=none; d=google.com; s=arc-20160816; b=KTcdpUDWmzP3GC5vBCifZe5O+M076zwk7lfuqx8zC3rv+moxY1/hzZtqCiTIkb2fFE t5sZTW9/tK79i52VsS6vCRz4OpiN3oy+0sklt/mXbbroDwbjbH8PpOUjmzm4bo2MUWal SwXAM9hD+eEfU7ZEkJVJQadax5oAkK02itvl5BkbvCSam4kET4eLIdhSBMsqtIy1JkW2 EUwTjgG85aO3kqgc2eTTmQivMcsFEwmcST4ARywsX1mmPXbv1PpQsRNxIWftH3a/0rcZ SdiLr1MnvWXyK+Q2k0fWDGZhxZaDfD/QEKtkBGlGhC2Y7c9tIgwoCh1DNU4AUru/LDcM Tk1Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Y+4h4nwn860kDRkVII0/HKvve/aNd3re+A7rRC5lzyI=; b=dVH+AnlQtW/IJyJPy5Z2lB/hRlx/wOiIiFbYk3G9sxkdJbTHnchBiISTYEOIC/0pOL 1049SvgqiZlb9aTh0rmlFD1ghfZlVcA1IPtfnTcHwOGgFV7o/GmBhYKGaJWyOZHCXZVw c4Xl5o9ptcVKfxmxNt06/ykxYkWXy9TrxUkRxR+uUCfmSFEOXX1sLTjkvgbEwtm9KJQh wVCWQj2fJMAkTek0UfC6JPp1E1Oyd+3KJsRZ0PhGm87Df1E9E1VxfpKYt/KilKo54p8A lBvdFgvpwETShhuoBlzlINqbHNbbZDB3ueHzeOvQK56wxD7bS9iBX2obHYR6FmNZzVuw Oedg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e6si269423edz.248.2021.06.09.10.12.45; Wed, 09 Jun 2021 10:13:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237456AbhFIIF1 (ORCPT + 99 others); Wed, 9 Jun 2021 04:05:27 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:35529 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237449AbhFIIDq (ORCPT ); Wed, 9 Jun 2021 04:03:46 -0400 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 40532200019; Wed, 9 Jun 2021 08:01:50 +0000 (UTC) From: Miquel Raynal To: Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , , Rob Herring , , Krzysztof Kozlowski Cc: Michal Simek , Naga Sureshkumar Relli , Amit Kumar Mahapatra , Thomas Petazzoni , , , helmut.grohne@intenta.de, Srinivas Goud , Siva Durga Prasad Paladugu , Miquel Raynal Subject: [PATCH v22 17/18] dt-bindings: mtd: pl353-nand: Describe this hardware controller Date: Wed, 9 Jun 2021 10:01:11 +0200 Message-Id: <20210609080112.1753221-18-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210609080112.1753221-1-miquel.raynal@bootlin.com> References: <20210609080112.1753221-1-miquel.raynal@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a yaml description of this NAND controller which is described as a subnode of the SMC bus. Signed-off-by: Miquel Raynal --- .../bindings/mtd/arm,pl353-nand-r2p1.yaml | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/arm,pl353-nand-r2p1.yaml diff --git a/Documentation/devicetree/bindings/mtd/arm,pl353-nand-r2p1.yaml b/Documentation/devicetree/bindings/mtd/arm,pl353-nand-r2p1.yaml new file mode 100644 index 000000000000..e72fa14b4385 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/arm,pl353-nand-r2p1.yaml @@ -0,0 +1,57 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/arm,pl353-nand-r2p1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PL353 NAND Controller device tree bindings + +allOf: + - $ref: "nand-controller.yaml" + +maintainers: + - Miquel Raynal + - Naga Sureshkumar Relli + +properties: + compatible: + items: + - enum: + - arm,pl353-nand-r2p1 + + reg: + items: + - items: + - description: CS with regard to the parent ranges property + - description: Offset of the memory region requested by the device + - description: Length of the memory region requested by the device + + "#address-cells": true + "#size-cells": true + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + smcc: memory-controller@e000e000 { + compatible = "arm,pl353-smc-r2p1", "arm,primecell"; + reg = <0xe000e000 0x0001000>; + clock-names = "memclk", "apb_pclk"; + clocks = <&clkc 11>, <&clkc 44>; + ranges = <0x0 0x0 0xe1000000 0x1000000 /* Nand CS region */ + 0x1 0x0 0xe2000000 0x2000000 /* SRAM/NOR CS0 region */ + 0x2 0x0 0xe4000000 0x2000000>; /* SRAM/NOR CS1 region */ + #address-cells = <2>; + #size-cells = <1>; + + nfc0: nand-controller@0,0 { + compatible = "arm,pl353-nand-r2p1"; + reg = <0 0 0x1000000>; + #address-cells = <1>; + #size-cells = <0>; + }; + }; -- 2.27.0