Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp352139rdb; Thu, 18 Jan 2024 05:43:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/MyEyjNUO5T5mXcGWTyUAhfqsmnxR3qdC/mSV6oKtiaUzfPfSk1IlfoIGG+pezHGrI0oK X-Received: by 2002:a17:90b:2342:b0:28f:f708:8c88 with SMTP id ms2-20020a17090b234200b0028ff7088c88mr620623pjb.26.1705585408498; Thu, 18 Jan 2024 05:43:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705585408; cv=pass; d=google.com; s=arc-20160816; b=qZsPmkxS9DLXy5K+ZIyufRnrHXvLMv7y/6nI944CMea1oEBOH0iFdZSWtWn+Mz7b6x Cpka+UPl57v+uluqqeSG4SK1FKD49gmdWLARmzfQbUH7DV4Mq0oBc9UL7e4KNkM9yZtz LqmaBUAjcFrOp10bUwmpVTz/CibJndZ4sAHqQrAyazYDzNa4kXPh8R4XxOBhLcLbIgjC sL7jQZeHcdtMIcjPK9u1F7QFftteI2K3/8QDQdUBGQtPiYgE4QJQy6i6sXNIQsIlOZ9U uBe20yQ7Zgjb88vssiASnUbw3ZN3iw3ozUMnvP7LhLtpjPxvnVIq7MUOMn9YQBr9EAzk oE9g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:date:references:in-reply-to:subject:cc:to :from:dkim-signature; bh=efuuIR75Ne4gKzieuxB6GvMLRG+XlSIaY1YCAUIZ41I=; fh=WbDrMOqqRAytbflwvZVa7JI+QCWnYipCqERP5d8rxkc=; b=i/JcSdmkoQIG0LZLcnMDE9MkQBdEaSw8KFy5FxTig5ETBaagqzmEfmm/br9gC9mTFn MZeIwkcLR1o7evVTjAB0ZjpqzIo/jX/9ucwkp/2BL/OYzvLj+ehZu/UY8J/e9F1WlYtT EXRgDbrc+F9YWDFit3cuN1c0OAm/tTX9kjqLv+IevOSs4lY/TJKFpGoWTZH7wswLwAIX KXrAaknk43px2J3QiQnOFAywf5kWEzcwAP66QbBm3Vn7iBvbU1PjSDifHrYC3lQ/ggMk OVPCmk0GvrIB+YHLJHbz3JBJtfp2bSRwzAigcslMTDNb41hjJc34MFdDUg+C5gmembO4 k93Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gnu.org header.s=fencepost-gnu-org header.b=Cp+PxdUJ; arc=pass (i=1 spf=pass spfdomain=gnu.org dkim=pass dkdomain=gnu.org dmarc=pass fromdomain=gnu.org); spf=pass (google.com: domain of linux-kernel+bounces-30162-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30162-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d5-20020a17090ae28500b0028d4738d19csi1467484pjz.15.2024.01.18.05.43.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 05:43:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30162-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gnu.org header.s=fencepost-gnu-org header.b=Cp+PxdUJ; arc=pass (i=1 spf=pass spfdomain=gnu.org dkim=pass dkdomain=gnu.org dmarc=pass fromdomain=gnu.org); spf=pass (google.com: domain of linux-kernel+bounces-30162-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30162-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id C0707B2127A for ; Thu, 18 Jan 2024 13:43:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EAC4025611; Thu, 18 Jan 2024 13:43:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gnu.org header.i=@gnu.org header.b="Cp+PxdUJ" Received: from eggs.gnu.org (eggs.gnu.org [209.51.188.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 390B024A0B; Thu, 18 Jan 2024 13:43:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.51.188.92 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705585398; cv=none; b=de1HJWL55+QTPYA0L4l8GF5+scjNsx/0FQ2oWByJw7FEHIg/+Q1Utj9dST85HUbhIC2/EWve6b5jhV/7DKTaqm/i230+BEIO305ojqIxXlJtcetTF01HGyZmPXsL6vlqsuZJXgm1hGpbA7vI6d3bTIhrx+kVTm/uEmp3Ann7dTw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705585398; c=relaxed/simple; bh=Ja9BoTNSArKJ+F58kV7azM46qj6/hpbKD7iIT+NTPeI=; h=Received:DKIM-Signature:From:To:Cc:Subject:In-Reply-To:References: Date:Message-ID:User-Agent:MIME-Version:Content-Type; b=jB3cjCyj2rnMkF1CrU7hLz1LpbUzJWqLrGzkt9ugyIVNQnmDFIa/DG5FwRs66YjMR1TisMO1/3Pym+6iY4utCB54YafMxAiw5FrnyvblUJOMEE7LbfvjLxNR3Z4jxXzDg0yJDILUxXlRwBaCZIpInq5BnCCaLSWLlZ8M3J4O1b8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gnu.org; spf=pass smtp.mailfrom=gnu.org; dkim=pass (2048-bit key) header.d=gnu.org header.i=@gnu.org header.b=Cp+PxdUJ; arc=none smtp.client-ip=209.51.188.92 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQSfn-0004uE-Cn; Thu, 18 Jan 2024 08:43:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=efuuIR75Ne4gKzieuxB6GvMLRG+XlSIaY1YCAUIZ41I=; b=Cp+PxdUJgklim1u1yQzh lAjlcVHem0BTU2KRX7KFjrght1MTX21VTE3dmGgvxnfzdkJLElplkm9kPTbpY66pVtoHeyIhkVnkw 94O3lDor6XvajCmWc0/MjWDvhXUCoGx65vqOEJipZkM3k5Eyvh+lV53ssImg1I9ldXLsPbLJ/oc01 taG0QsaKxKkzk4/WYmVbEiyiO5V4pR/5ZYuLSb0C5BhU50iizWlpDKqJEVZGkdoJQEQ2SIdSVUpsU 4AA8RiRj+mdgBo3FG/Txlv+ugq12eBqJdMV/CyAN/kHUqu2+yUk389/9BJ+zFJSGcLO8Ot3bX403Q vfrnyndX3/nCyQ==; From: Mathieu Othacehe To: Conor Dooley Cc: Primoz Fiser , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Li Yang , Stefan Wahren , Christoph Stoidner , Wadim Egorov , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, upstream@lists.phytec.de Subject: Re: [PATCH v2 2/2] arm64: dts: imx93-phycore-segin: Add Phytec i.MX93 Segin In-Reply-To: <20240118-regretful-viewer-8d7dfc7a0802@spud> (Conor Dooley's message of "Thu, 18 Jan 2024 10:19:23 +0000") References: <20240117074911.7425-1-othacehe@gnu.org> <20240117074911.7425-3-othacehe@gnu.org> <20240118-regretful-viewer-8d7dfc7a0802@spud> Date: Thu, 18 Jan 2024 14:43:07 +0100 Message-ID: <87jzo6vjtg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Hey, > Please do not order properties alphabetically. Instead, please read > the new documentation on property ordering that makes explicit what > has just been convention until now: > https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git/tree/Documentation/devicetree/bindings/dts-coding-style.rst?h=for-next&id=83a368a3fc8ae8538bccb713dc0cae9eacc04790#n112 Thanks for the link. I have a question though. Regarding that section: --8<---------------cut here---------------start------------->8--- /* SD-Card */ &usdhc2 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc2_default>, <&pinctrl_usdhc2_cd>; pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_cd>; pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_cd>; bus-width = <4>; cd-gpios = <&gpio3 00 GPIO_ACTIVE_LOW>; no-sdio; no-mmc; vmmc-supply = <®_usdhc2_vmmc>; status = "okay"; }; --8<---------------cut here---------------end--------------->8--- The documentation states: --8<---------------cut here---------------start------------->8--- 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 --8<---------------cut here---------------end--------------->8--- All of the properties in my example are falling into the "4" category I guess, except for "status" that should come last. Now, how am I supposed to order those properties? I had a look to other IMX device trees and it is hard to establish a pattern. Pinctrl first, then alphabetical order? Anything else? Thanks for the guidance, Mathieu