Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4989583pxj; Wed, 9 Jun 2021 06:50:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0Nd4wyj612+9kkBkLCsrPCb3BnT0aGa/qjdIKVbjzoihOzscrm5aHF1C1oU+wMFkRXZCA X-Received: by 2002:a17:906:4d04:: with SMTP id r4mr28987278eju.76.1623246639958; Wed, 09 Jun 2021 06:50:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623246639; cv=none; d=google.com; s=arc-20160816; b=UeF4aHHWLoV/tDeBOm9XiVdyMoIfQ/mGxG+z6WojIVP5V1VHkEDJNw9IjNdAigsMk2 H1r1Px+nX3pmEji41/UlftK2zUYgNrUCvSjzM5RngMBOmlaNthb2ERhn31IRKynAVTnK l+fLnU+xB3Ayshcml1Uv295NoQzFhWLLDrFx/h3Gqnx1jDpfBDJDLnYjYt6n27y1TRei v3I4IT0zy/6Og+LlQL8iJkYKc1/2D5q72NksLq8MeMzNE48j0W7FYCaXCsLOrl4hBgfb E54mM3ZEQJqQtlaW946qbn/LQ9fraIBNAzza+xAfwiZEDq6tqzyqCzuYtNQYg1QRUVSm BJWQ== 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=5lDCtUxy8Jo4NQgfhmgVJDfQtswDVK3YDjsioN4E0ng=; b=0DtnSaSMbjQb+8kaQ9xRV20Vrken5p7VYkHlukz86vyi0D0OMsJXf5BsXkT2NEY+6M A22654Fev+GKuk0TJ3RFKdHnWrJGbWaPzJ4c3yNJAGbGTjSupDDAFTKLFm4xuB8mbwpv PodGaJBBxH1lNkl8/qr/9xPntx8VFVv3rOxtXZiimOf307O5+JK2wZtDaogn0rbt3/5B B7WmOvy7W0rQCOioSDoc3Kuqd/gVrz2Nlwfovl7STLUWAFt4HcI4Al3VzN07eog6870H 1lm3OZ8HDTY/6cJrgsOKeFudsq/rr0X4yyA/NqzkonDNUbZ5rUBKfqyo86psGrnPIFZu WG4w== 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 e25si2521226ejm.685.2021.06.09.06.50.16; Wed, 09 Jun 2021 06:50:39 -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 S237479AbhFIIDx (ORCPT + 99 others); Wed, 9 Jun 2021 04:03:53 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:55313 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237437AbhFIIDW (ORCPT ); Wed, 9 Jun 2021 04:03:22 -0400 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 3FC27200010; Wed, 9 Jun 2021 08:01:25 +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 05/18] dt-binding: memory: pl353-smc: Fix the example syntax and style Date: Wed, 9 Jun 2021 10:00:59 +0200 Message-Id: <20210609080112.1753221-6-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 Enhance the spacing, the comment style, add { }, remove (...). Signed-off-by: Miquel Raynal Reviewed-by: Rob Herring --- .../bindings/memory-controllers/pl353-smc.txt | 48 ++++++++++--------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt b/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt index 105160c795a1..46e17f5bc45b 100644 --- a/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt +++ b/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt @@ -24,27 +24,29 @@ Required device node properties: of the memory region requested by the device. Example: - smcc: memory-controller@e000e000 - compatible = "arm,pl353-smc-r2p1", "arm,primecell"; - clock-names = "memclk", "apb_pclk"; - clocks = <&clkc 11>, <&clkc 44>; - reg = <0xe000e000 0x1000>; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0x0 0x0 0xe1000000 0x1000000 //Nand CS Region - 0x1 0x0 0xe2000000 0x2000000 //SRAM/NOR CS Region - 0x2 0x0 0xe4000000 0x2000000>; //SRAM/NOR CS Region - nand_0: flash@e1000000 { - compatible = "arm,pl353-nand-r2p1" - reg = <0 0 0x1000000>; - (...) - }; - nor0: flash@e2000000 { - compatible = "cfi-flash"; - reg = <1 0 0x2000000>; - }; - nor1: flash@e4000000 { - compatible = "cfi-flash"; - reg = <2 0 0x2000000>; - }; + smcc: memory-controller@e000e000 { + compatible = "arm,pl353-smc-r2p1", "arm,primecell"; + clock-names = "memclk", "apb_pclk"; + clocks = <&clkc 11>, <&clkc 44>; + reg = <0xe000e000 0x1000>; + #address-cells = <2>; + #size-cells = <1>; + ranges = <0x0 0x0 0xe1000000 0x1000000 /* Nand CS region */ + 0x1 0x0 0xe2000000 0x2000000 /* SRAM/NOR CS0 region */ + 0x2 0x0 0xe4000000 0x2000000>; /* SRAM/NOR CS1 region */ + + nand_0: flash@e1000000 { + compatible = "arm,pl353-nand-r2p1"; + reg = <0 0 0x1000000>; + }; + + nor0: flash@e2000000 { + compatible = "cfi-flash"; + reg = <1 0 0x2000000>; + }; + + nor1: flash@e4000000 { + compatible = "cfi-flash"; + reg = <2 0 0x2000000>; + }; }; -- 2.27.0