From patchwork Wed May 19 18:26:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 442659 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83D92C43603 for ; Wed, 19 May 2021 18:29:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6A3E76124C for ; Wed, 19 May 2021 18:29:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231436AbhESSaY (ORCPT ); Wed, 19 May 2021 14:30:24 -0400 Received: from mslow1.mail.gandi.net ([217.70.178.240]:46819 "EHLO mslow1.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231417AbhESSaV (ORCPT ); Wed, 19 May 2021 14:30:21 -0400 Received: from relay6-d.mail.gandi.net (unknown [217.70.183.198]) by mslow1.mail.gandi.net (Postfix) with ESMTP id 35AF1CA04F for ; Wed, 19 May 2021 18:27:16 +0000 (UTC) Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id C84ECC0004; Wed, 19 May 2021 18:26:53 +0000 (UTC) From: Miquel Raynal To: Helmut Grohne Cc: Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , , Rob Herring , , Thomas Petazzoni , Naga Sureshkumar Relli , Michal Simek , Amit Kumar Mahapatra , Srinivas Goud , Siva Durga Prasad Paladugu , Miquel Raynal Subject: [PATCH v20 08/19] dt-binding: memory: pl353-smc: Fix the reg property in the example Date: Wed, 19 May 2021 20:26:25 +0200 Message-Id: <20210519182636.1110080-9-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210519182636.1110080-1-miquel.raynal@bootlin.com> References: <20210519182636.1110080-1-miquel.raynal@bootlin.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The reg property should describe the entire accessible zone, not only the one the driver wants to access. With this in mind, the example should map two regions instead of one to be entirely accurate. Signed-off-by: Miquel Raynal --- .../devicetree/bindings/memory-controllers/pl353-smc.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt b/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt index 1335b94291ad..9d220d4cb39d 100644 --- a/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt +++ b/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt @@ -27,7 +27,8 @@ Example: compatible = "arm,pl353-smc-r2p1", "arm,primecell"; clock-names = "memclk", "apb_pclk"; clocks = <&clkc 11>, <&clkc 44>; - reg = <0xe000e000 0x1000>; + reg = <0xe000e000 0x0001000>, + <0xe1000000 0x5000000>; #address-cells = <2>; #size-cells = <1>; ranges = <0x0 0x0 0xe1000000 0x1000000 /* Nand CS region */