Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5149031pxj; Wed, 9 Jun 2021 10:13:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZAVcI8wiaSJWbB3I5FZlnQLQT2GMgzE7VvQQYwKD7vWbEyosDnc2QjMUnuzYJ8TnI8+s3 X-Received: by 2002:a17:907:2bf9:: with SMTP id gv57mr854507ejc.189.1623258804910; Wed, 09 Jun 2021 10:13:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623258804; cv=none; d=google.com; s=arc-20160816; b=SlPwahwd+nWOe7e8Sw8a7Yw1o88Sa1phMUru1ycWNUAeeQMJHCAq70/kuUbF6hvBf3 DkGy66Yk6WrmhpRrg44yCZb1PKfeVMWybytmjn1UOnC8NqZ80e7Ww0oDLO0UopYyt1c/ LXiPhQlDrr6N+SxOmSAEf89ZRf6pUCDngh5L2EfsIjfr0N948CW1vDgzxFLcR0rvAf40 2XWGWn7/plL1PbQbS4xM8QNGtQxGgKlyujPXwd8kISte9KAW1L2416k+3eO/wVAIvpdd yozpgJttvYSoV3MzWaCy3clGc9zOGTzFWmaXNYyVTTufgruF3ubVJPz6gKGZiRCefigO H+ng== 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=HfnyGnTdCUcvyzsp7GnfLpF9VQZKK0GoGk7st/JTdDA=; b=g1JGTL26DhH8OOna7MEp6uulXymKoWACxBJ0IUfSKoR0U4SegqK7ORRfXLtfmWesoi GrVLJsT6caFxWSJPjdVdwZRyEBwmpQzKM1j4UohenS6WlYSFbTk10hVRLzRAGO0w6ymy oFVLiOb0LFeJujsQKj0br4xGK6bmhJia3ifZPpmDyQJtwA2xzjl8OskkfV6K0DV5a8Mp dTZA67158YKLsuPoOr2GSsMZ3ntmmJsVPOWkHVKWpUWWlmM3FQRnjVLJoVUoJemFXC1/ BIXTUXqKHJt5U216jv9wh/FW3nENVMBQJcGWvmQPV+i8AjTepC9/Be306Rzf45887J+y 6y7Q== 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 14si280832eji.468.2021.06.09.10.13.01; Wed, 09 Jun 2021 10:13:24 -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 S237593AbhFIIEY (ORCPT + 99 others); Wed, 9 Jun 2021 04:04:24 -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 S237446AbhFIID1 (ORCPT ); Wed, 9 Jun 2021 04:03:27 -0400 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id B7BC2200012; Wed, 9 Jun 2021 08:01:29 +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 07/18] dt-binding: memory: pl353-smc: Fix the NAND controller node in the example Date: Wed, 9 Jun 2021 10:01:01 +0200 Message-Id: <20210609080112.1753221-8-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 To be fully valid, the NAND controller node in the example should be named nand-controller instead of flash, should be at the address @0,0 instead of @e1000000 and should have a couple of: - #address-cells - #size-cells properties. The label is being renamed nfc0 as well which is more usual than nand_0. Signed-off-by: Miquel Raynal Reviewed-by: Rob Herring --- .../devicetree/bindings/memory-controllers/pl353-smc.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt b/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt index 3ff6a4a49302..ecd46856f139 100644 --- a/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt +++ b/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt @@ -35,8 +35,10 @@ Example: 0x1 0x0 0xe2000000 0x2000000 /* SRAM/NOR CS0 region */ 0x2 0x0 0xe4000000 0x2000000>; /* SRAM/NOR CS1 region */ - nand_0: flash@e1000000 { + nfc0: nand-controller@0,0 { compatible = "arm,pl353-nand-r2p1"; reg = <0 0 0x1000000>; + #address-cells = <1>; + #size-cells = <0>; }; }; -- 2.27.0