Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp874471rdb; Fri, 17 Nov 2023 15:55:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IE2EbZ0I0L8XYtUH7p1wmAZAp0nj0u6Lph5xcL+mZDokzMzvwEqN/O6MNb4BQoUC9Ds68wL X-Received: by 2002:a05:6a21:47c7:b0:187:89aa:68d3 with SMTP id as7-20020a056a2147c700b0018789aa68d3mr989224pzc.19.1700265319209; Fri, 17 Nov 2023 15:55:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700265319; cv=none; d=google.com; s=arc-20160816; b=WAtgaxcc14qPFsMUE/3imlvYUWxj0bzMj0isVbz+zgO7jYc6qIFnqMrgPMgwu/xUJ9 4KHjPm13q7dsM56W8fGv/DgxuQMRgVZvpzNpXAiXhVub4ByV6XgYwdVvotvEUbt1QcDN r7df0A+IS+Zn31FI2+bGzorH/f+LqMCZDUnMK6sLZQm4V9jh3hg49j0D44TOFGrNpvLv hJvlDueWsLUJWBUX31tvhFSrR218uozJUIjyMHC6UPK0/aGxONYe0t7mryot55K4WJs7 DkGXKp6zIq8hJzL5TM+LUgvB19wD6z4LHeSR1nHyAOCAcrKjMTcMiNtr3B82U3iYnQnp Q3zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=ljV4Q6tR89A5wxiqzJ4UnGOWvdZFI4MNjFEOjggc/vI=; fh=WXJtNyEcdfH92OiXMOUZdP/7iMRIaVYYgTM5kYc8t5Q=; b=o2PIVK0G+4pHoicLJTliSGunpvrqrSDJGLftjw/n9AymowEgimRhZHn74TE1naxjln XcncaSzqlQ+phuWZm566fM7Hj0wh/iHDHQN6099aK5WU5ilV39yjgaU1NyROFozRnlOj Vwt1FOoBLgLF51lLW+8q1CbR0Tyt0+8K+6w+IJvWmobgf2TqLgKHNdkwcvUHEfOQ8eg5 DhoE4Lu33VgnyhCu74s96yYGDjKbkTF50/YIH5WdhFjU8STplON69p1dGQLsqK2sz+Xc yFDnurhWX0mdWc1ePuYrYivpGx9bvcBgdoe4lPz8hiTcS/pJVL+oboS6xYWu4sCTupxQ Pm4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ywJQyLb7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id cm11-20020a056a020a0b00b005bd2b888545si3012151pgb.119.2023.11.17.15.55.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 15:55:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ywJQyLb7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 94D6982698DC; Fri, 17 Nov 2023 15:55:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346335AbjKQXzJ (ORCPT + 99 others); Fri, 17 Nov 2023 18:55:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229737AbjKQXzI (ORCPT ); Fri, 17 Nov 2023 18:55:08 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46C7B1A1 for ; Fri, 17 Nov 2023 15:55:05 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-54366784377so3585912a12.3 for ; Fri, 17 Nov 2023 15:55:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700265303; x=1700870103; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ljV4Q6tR89A5wxiqzJ4UnGOWvdZFI4MNjFEOjggc/vI=; b=ywJQyLb760abYnFkahCxk0KnSN+m570G7ohwX8+Ya/eJT0Rd6IqE51JHSuFs2LCWjK SdmEbBrO7jHZGhUW8M1fDPPOZn8zKElpVB0QXMQjC3mgi8fcwAn5X0fMVsXSiG1OaEO9 y2FBs4/1jl53lla+XSrk/Dl/y4NxbPepYKg8kz1/xcSXsxIiUzG71wKr3beYxRCbWbhr 82f8vLochCbge7kF+8PAnFNA2fDkgw+iQmCnPe5WiYx98JTh8qiIPr9UyL13g2KMEBGt YfEvtMON0Nv4JlzKZZtBF8LGLYGbpYZmxKl06ZihiYXvUNYpXdD372vq9p5MOoPcnYik 9bGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700265303; x=1700870103; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ljV4Q6tR89A5wxiqzJ4UnGOWvdZFI4MNjFEOjggc/vI=; b=SP6IPTEphyIK+YaADoFgxY67l5lltghVpQWdOrdDGL0GWbrBQ3u9i0+K6ePzNrRm+v fE1xZGNLqZ27As5Oa5F8Z8P0ZAqVZ9KWh/E4sZ6LVK6VX9u3bEuONSwQAQtzZYmO7jzZ 3Eutr+2YyGgyH4++AGc46r7luHhPKTnChkOcr2Mrcnekb/TfILreNSVhahlR3wqD3wFx hPclb2fhluO7EEE7z2PL7veYQ67xTNXCnSOfHpdFROKGnlFmHN5a71TJQqnPloxRmWyT wxQzuoOviIhr8fIgd8GSyM3p2hjYGuBdjYbWhWWS7ImrAsTfYn1yjWU3mjfNYnAeilvB +Krw== X-Gm-Message-State: AOJu0Yxqw4Bvc7chURU29Uvn+dB/ZZhwlUe5ME79MbimKx3vCzDB/c4V o/VAxTxV4hmigR7ywtyJz+4IKA== X-Received: by 2002:aa7:d4c6:0:b0:548:615c:33aa with SMTP id t6-20020aa7d4c6000000b00548615c33aamr426485edr.20.1700265303508; Fri, 17 Nov 2023 15:55:03 -0800 (PST) Received: from [192.168.201.100] (178235187040.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.40]) by smtp.gmail.com with ESMTPSA id j18-20020aa7c0d2000000b00533e915923asm1169741edp.49.2023.11.17.15.55.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Nov 2023 15:55:03 -0800 (PST) Message-ID: <9f58fae1-6348-4396-b099-1d9517227e86@linaro.org> Date: Sat, 18 Nov 2023 00:55:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] docs: dt-bindings: add DTS Coding Style document Content-Language: en-US To: Rob Herring , Krzysztof Kozlowski Cc: Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno , Arnd Bergmann , Bjorn Andersson , Geert Uytterhoeven , Heiko Stuebner , Matthias Brugger , Michal Simek , Neil Armstrong , Nishanth Menon , Olof Johansson References: <20231116181218.18886-1-krzysztof.kozlowski@linaro.org> From: Konrad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86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 17 Nov 2023 15:55:16 -0800 (PST) On 16.11.2023 21:44, Rob Herring wrote: > On Thu, Nov 16, 2023 at 12:12 PM Krzysztof Kozlowski > wrote: >> >> Document preferred coding style for Devicetree sources (DTS and DTSI), >> to bring consistency among all (sub)architectures and ease in reviews. > > Thanks for doing this. > >> >> Cc: AngeloGioacchino Del Regno >> Cc: Arnd Bergmann >> Cc: Bjorn Andersson >> Cc: Geert Uytterhoeven >> Cc: Heiko Stuebner >> Cc: Konrad Dybcio >> Cc: Matthias Brugger >> Cc: Michal Simek >> Cc: Neil Armstrong >> Cc: Nishanth Menon >> Cc: Olof Johansson >> Signed-off-by: Krzysztof Kozlowski >> >> --- [...] >> +Example:: >> + >> + thermal-sensor@c271000 { >> + compatible = "qcom,sm8550-tsens", "qcom,tsens-v2"; >> + reg = <0x0 0x0c271000 0x0 0x1000>, >> + <0x0 0x0c222000 0x0 0x1000>; > > You should cover the <> style too, meaning <> around each logical entry. FWIW this matters because e.g. https://github.com/devicetree-org/devicetree-specification/issues/66 Konrad