Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2338066rdb; Sun, 3 Dec 2023 12:26:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IHBkXEHVxj7tT+QPeIFWzoHCGSuImH64zxN6nCM7vqoXE74N3XfeYPnSuCvYRN3EV7zkGNN X-Received: by 2002:a17:902:b701:b0:1d0:9201:5335 with SMTP id d1-20020a170902b70100b001d092015335mr1286379pls.13.1701635191287; Sun, 03 Dec 2023 12:26:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701635191; cv=none; d=google.com; s=arc-20160816; b=mZWkfC+xYe+Y2PHYiCgMCN8nO/yBg2Svipbxwlqm0RLX2bH5TDMyeQF1RA6hppDiGk qgO/qWFGoSr6vUCO9ZzjdSH/PbhCDvYArQaM7EW13A220EbABG4MJUZ9V1Ve+u9jwQTf 06qO1Puevf03mlH+hSvCOssGXhnU8rSVvaLZvTQoAAqACoVLiVfQ/SMAi8Ls7SC75nUI G2B5Xq2euLzDinrv2yCmhsWb0ZkH6cp/FzYO8Cw3tFeyxd+DeD/CJP2asFp7EMn40Wp0 dMLTyNZRRFUWoHqd84JXKCgOSDRnv/XyHS31H6aNKiByZkIBqF3TE24P28jOXiHxrJlt 6ohg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:references :in-reply-to:subject:cc:to:from:date:dkim-signature:mime-version; bh=mWJ+aNdDgla6aB8RfWwYvr7B5kGqGCRxqh6xKbSq2wc=; fh=FGgDW3FjeFHQpmeAmfXHpW0Gw4uXzyNE+n5VlvYu80A=; b=MAbM4VYtIuOdc+8L+9RAAH8TRVvJo3My7BWAG1sMaXZ3ylOWvtBXNzGfMeHFav8wLM Xq5WL0LkMPz0pnCE1ygKE5u0jTkkrIr9qIlBeUQzW2sMkgjsVT17YAnhDQM0k1DcSjII DjFR8Xko3obeTg5EUmXE50fh+C7g+d5H6YiomNo3DNoyEImD5lt4lr6KkeBfgLGt0HrZ kpUeUdWtYvDbagKlr3/ZZK+eNI1kweydlYblSfFEfYYvy9RGLnipFdJsOgzWHfYm5hQb BPyASUR1bu91pifaQGvZ0KfQlAme/GIRLczL3LyxT1m5DG4k/T8/DgCeKylj9IxtkOTy Wu+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@manjaro.org header.s=2021 header.b=PVR0CCV1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=manjaro.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id u9-20020a170902e80900b001d08d2f476asi424821plg.414.2023.12.03.12.26.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Dec 2023 12:26:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@manjaro.org header.s=2021 header.b=PVR0CCV1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=manjaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 6BC7D807C872; Sun, 3 Dec 2023 12:26:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229875AbjLCUZv (ORCPT + 99 others); Sun, 3 Dec 2023 15:25:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229698AbjLCUZu (ORCPT ); Sun, 3 Dec 2023 15:25:50 -0500 Received: from mail.manjaro.org (mail.manjaro.org [IPv6:2a01:4f8:c0c:51f3::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98EB3B8; Sun, 3 Dec 2023 12:25:56 -0800 (PST) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1701635155; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mWJ+aNdDgla6aB8RfWwYvr7B5kGqGCRxqh6xKbSq2wc=; b=PVR0CCV1WRc971ftwf+fTnXvVPx9DB7HXgFoRLGzcnfa4K5fnch4TEMseMxptkpcKSEKZN wGstlWhvUlT0yKzlPJG/ytbfQIzn+nkyRAmIpRK+Mo7YCMKn3LaVElBpqW01N+iZWreVlo U6F0t1DevvvJBTYe7uvafeYl8ebUbFjeJXzBik1Y4gCgqz/dnIpa9RsATQIMWRgV6gpfOr e87Fq2YjDXArbOJscUyA6s4lZc9lGsqUlK8V4amOLod0sYbJpE3OYL3uszJpVI9tSqBTux yChagRYXgjU2tWdJSaXom91KIuRMtnVDJD1L6KBb8IV1Xi3gcvuEciJ1WM7Z8w== Date: Sun, 03 Dec 2023 21:25:54 +0100 From: Dragan Simic To: Krzysztof Kozlowski Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Andrew Davis , Andrew Lunn , Arnd Bergmann , Bjorn Andersson , Chen-Yu Tsai , Dmitry Baryshkov , Jonathan Corbet , Michal Simek , Neil Armstrong , Nishanth Menon , Olof Johansson , =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= , Heiko Stuebner , Laurent Pinchart , Konrad Dybcio , Geert Uytterhoeven , linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-msm@vger.kernel.org, workflows@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v4] docs: dt-bindings: add DTS Coding Style document In-Reply-To: <20231203174622.18402-1-krzysztof.kozlowski@linaro.org> References: <20231203174622.18402-1-krzysztof.kozlowski@linaro.org> Message-ID: <2223b302fc43959a61578aae9cc3a15a@manjaro.org> X-Sender: dsimic@manjaro.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Authentication-Results: ORIGINATING; auth=pass smtp.auth=dsimic@manjaro.org smtp.mailfrom=dsimic@manjaro.org X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sun, 03 Dec 2023 12:26:05 -0800 (PST) > +Order of Properties in Device Node > +---------------------------------- > + > +The following order of properties in device nodes is preferred: > + > +1. compatible > +2. reg > +3. ranges > +4. Standard/common properties (defined by common bindings, e.g. > without > + vendor-prefixes) > +5. Vendor-specific properties > +6. status (if applicable) > +7. Child nodes, where each node is preceded with a blank line Another small suggestion... It would be good to put the property names found in the list items, such as "compatible" and "status", into quotation marks, to make it obvious what they are. That way, the list would also be more consistent with the property names mentioned in the sentence right below. > + > +The "status" property is by default "okay", thus it can be omitted. > + > +The above-described ordering follows this approach: > + > +1. Most important properties start the node: compatible then bus > addressing to > + match unit address. > +2. Each node will have common properties in similar place. > +3. Status is the last information to annotate that device node is or > is not > + finished (board resources are needed).