Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4989386pxj; Wed, 9 Jun 2021 06:50:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjL3FTp526MyWYPeNrOAo21GEfG2tdax+5lUeJM3mdW2g2lh9q1Zd6MD5D7QYOq874JviE X-Received: by 2002:a17:906:9143:: with SMTP id y3mr27759061ejw.465.1623246622990; Wed, 09 Jun 2021 06:50:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623246622; cv=none; d=google.com; s=arc-20160816; b=yayrOJHob31Yr/5ITmsXfitMFtd6udfKA6bdF+5BMS55azvd96LckToN6++fJFpBva uk17FPqPH7kmpO6hyFwkY+knf9kzF0/tg6n0VfVefCHRQP/QzqH8kz3wi+5caDhS6T28 J16oVkFsnq0RoIyUglP4MEqIeHbsoJF3u5edzeYOQpvJW8dtqq2cX20zM+Cz92qeIavm I4ElmjSo11YyzaQL9ENZbbvLQ7MTyw/m6hc+BGekDeQlgs7MOXlhcAbEZdtyeq+PG0hq p3x8IRCLF8GxRt89aBBwDdjTINfOlTb0HQg28t6UPruO96TS1plQLV+AdxZvs6G1VG9G OdqQ== 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=fk7BSbEs01IfJA8lLDx1vdZ3e4PA/j60yNxD/zCzszo=; b=bqhv7809INqSgzgjKXhn7JMndAQuP+tm5cfJMp6nE2ZPXNSqlczi3muKj2xqGkaBu/ 5RozzQRWuNbWzrg/oPPzspxfd/QGP4zKjJcTnW+QBqqFky6l+zrskA+nHM7pxhcXtVIU TwonPehJGXHn1i4ITWrdgrcOhZJkNfmaGnFOlZC6ccpey/XL7UA1KKMe9UYMIRI3oJnu iyC+2ZoVxba0pg/LpvJ8kymEXje9jEYCL4R5QLh0ekGkoHO7EzXSV6uIDmrKit0NNNCN 0gDDXiCiPLaIjKq4ONO5i7QgFybWft/B5W9tW66gYyx1pyQX8+X2EgwXrfXTpFaS1WNG oo5w== 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 l3si2580059edt.35.2021.06.09.06.49.59; Wed, 09 Jun 2021 06:50:22 -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 S237495AbhFIIDt (ORCPT + 99 others); Wed, 9 Jun 2021 04:03:49 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:55423 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237417AbhFIIDU (ORCPT ); Wed, 9 Jun 2021 04:03:20 -0400 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 706DA20000B; Wed, 9 Jun 2021 08:01:23 +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 , Rob Herring Subject: [PATCH v22 04/18] dt-binding: memory: pl353-smc: Describe the child reg property Date: Wed, 9 Jun 2021 10:00:58 +0200 Message-Id: <20210609080112.1753221-5-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 Each chil node should have a reg property, no matter the type of controller (NAND, NOR, SRAM). This should be part of the bindings. Signed-off-by: Miquel Raynal Reviewed-by: Rob Herring --- .../devicetree/bindings/memory-controllers/pl353-smc.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt b/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt index 233b2fd8525b..105160c795a1 100644 --- a/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt +++ b/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt @@ -18,6 +18,10 @@ The child device node represents the controller connected to the SMC bus. Only one between: NAND controller, NOR controller and SRAM controller is allowed in a single system. +Required device node properties: + +- reg: Contains the chip-select id, the offset and the length + of the memory region requested by the device. Example: smcc: memory-controller@e000e000 -- 2.27.0