Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp491547rdf; Tue, 21 Nov 2023 08:04:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IEFAeO2JXru0XIu5VZVliTt9wUCwAJthWE06JFjr1Q+JSMrSmeuUyh9HBqqRCXTAbWSUO8U X-Received: by 2002:a05:6a20:3d84:b0:187:94ca:2a91 with SMTP id s4-20020a056a203d8400b0018794ca2a91mr9692509pzi.39.1700582680521; Tue, 21 Nov 2023 08:04:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700582680; cv=none; d=google.com; s=arc-20160816; b=tRQKqtFiczKC9rkhTm9zGJkwWeaHOPtnOV/znN/VfiyzBx7kXEBcSya1yIoMquR8SR eU2NoeUXV31i/iRl1E0VcJcwNHa/lhVjqQlKxHKx5qXBy9JR67kbLIDRKMA3Zs8Ik447 Gg5tmCvwubOAw2oO7M8L7u+/EgnfAOtrNbXc7EqeE7yJN7tB9TuIMsAm6H0yzawQ1D/J prEw5YSzeNwXjTSW60WFACIp/cRkRHCBmVgJtuGayBkQicVts+/Zx3zyY6MH+ixXvSqx FAOgrJefiebBE6D6c+lbm1PuDmdVprRllzAzIx6dqUofHGHDqQW9uNLtsagq5/EN0Lrr lueg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=SmCyeQvcH+YFqCsEIwixRFNiyyOFJczVw9sycaCTzp0=; fh=zTYSv+37rQqT6NSU46y8MJsny/QLFM4bpdETmF1mdAc=; b=GkF9dndJV2yPfFGq0DxR4fXVMm+L9c+u+S2K0CTi/UcHzmQ/6wFCyxU30p3g0B/YMD YvWH3FyVmP8jTqv2v5npZqHhgwPLYbiRzmjkJqMTLzDP+t5iiL5DU0kS7bb8pQLqC0Be M0zbH6W2p821QJxSC2q8G/HUzVlVR86+U+fCyYS03tFbD93qI6/H2rwzoKHyQvcC+8X3 8wz5GDx1Zqp/NzLwSkEtf2BzkHhbU6ZgdLATe6rBesB4IhDyQdDWT+tOhkGNS4zSLu/v gSm8+0AUrF922R9REEI29Q0jNYT05ypZEMOy6mzeMg8vUAgPxNxKn3NBiZLsawo1JUUl SO1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id bx15-20020a056a02050f00b005b95fbb1750si11115299pgb.113.2023.11.21.08.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 08:04:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 468018069D8C; Tue, 21 Nov 2023 08:04:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233508AbjKUQEi convert rfc822-to-8bit (ORCPT + 99 others); Tue, 21 Nov 2023 11:04:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230497AbjKUQEg (ORCPT ); Tue, 21 Nov 2023 11:04:36 -0500 Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E1EBCB; Tue, 21 Nov 2023 08:04:32 -0800 (PST) Received: by mail-ot1-f54.google.com with SMTP id 46e09a7af769-6cd0a8bc6dcso3542776a34.2; Tue, 21 Nov 2023 08:04:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700582672; x=1701187472; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gHWSZ/KZJKkzc0j50L+hOmQiyYp8HOj7xmv0toivCHY=; b=w0GaKyvMI/GasUtE5vfprH4ymGanHeBlqwDCjJPHbehOo/AIcGgK2/BrbDnfpnP/U+ TXE0Ve6HZXX2QocCN76RW3lK2kUXTNobWyWe8fm+CqAorTEz+H0H2dxG0DH+R+HO48yr Y9Bn7pXpzeoDvqkQBjEp2L4djk++o47iDLsGMmzoW1rdIrfCsJJpX8IasPHwYZPelKmM ixb6cQZGhQUlCPN1KZfosqLvxFNakOlqXGLAyLyjEYNC/XC0CQFzAF0aJiKhDhgMWZmj QW+1jWFeJehmB86p8HOjTr97dGGGPyJW2OiZ+LOf+WuSZfJJknyNSf/evYf92mgt9iEc hnog== X-Gm-Message-State: AOJu0YwmULucvZ9mhizFrSpfABRmYUl4GWpvca9MpJzeaWqYuhO+D7u+ h+DesSFBYxt/QB5LuXQqpGt7Y3bOhm04bAx4 X-Received: by 2002:a05:6830:188:b0:6ba:865b:ca72 with SMTP id q8-20020a056830018800b006ba865bca72mr10945857ota.31.1700582671838; Tue, 21 Nov 2023 08:04:31 -0800 (PST) Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com. [209.85.167.169]) by smtp.gmail.com with ESMTPSA id g6-20020a4a5b06000000b0058a12a87a57sm1891449oob.17.2023.11.21.08.04.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Nov 2023 08:04:27 -0800 (PST) Received: by mail-oi1-f169.google.com with SMTP id 5614622812f47-3b83398d4a7so519018b6e.1; Tue, 21 Nov 2023 08:04:26 -0800 (PST) X-Received: by 2002:a05:6808:1201:b0:3b2:ee79:c0fd with SMTP id a1-20020a056808120100b003b2ee79c0fdmr14276293oil.1.1700582665655; Tue, 21 Nov 2023 08:04:25 -0800 (PST) MIME-Version: 1.0 References: <20231120084044.23838-1-krzysztof.kozlowski@linaro.org> <19358871-009d-4498-9c13-90d5338b1e9f@amd.com> <76fa8f61-fe31-4040-a38d-cc05be3f4f17@linaro.org> <6c80a285-27fc-4d61-9eef-af4744a9decc@amd.com> In-Reply-To: From: Geert Uytterhoeven Date: Tue, 21 Nov 2023 17:04:10 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] docs: dt-bindings: add DTS Coding Style document To: Krzysztof Kozlowski Cc: Michal Simek , 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 , Arnd Bergmann , Bjorn Andersson , Geert Uytterhoeven , Heiko Stuebner , Konrad Dybcio , Neil Armstrong , Nishanth Menon , Olof Johansson , linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-msm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Tue, 21 Nov 2023 08:04:39 -0800 (PST) Hi Krzysztof, On Tue, Nov 21, 2023 at 1:36 PM Krzysztof Kozlowski wrote: > On 21/11/2023 12:55, Michal Simek wrote: > >>> device-tree specification v0.4. Chapter 2.2.1/Table 2.1 is describing much more > >>> valid characters for node names. > >>> It means above description is not accurate or DT spec should be updated. > >> > >> Spec allows way to much. dtc doesn't. > >> One thing is the spec, second > >> thing is coding style. > > > > From my point of view spec is primary source of truth. If spec is saying name > > can use upper case then I can use it. If upper case is not > > recommended/deprecated because of whatever reason spec should be updated to > > reflect it. > > I know that DTC is reporting other issues but isn't it the right way to reflect > > it back to the spec? > > Then why aren't you putting Linux Coding Style into C spec? I do not see > any relation between specification of the language and the coding style > chosen for given project. > > Zephyr can go with upper-case. Why it should be disallowed by the spec? I thought there was only One DT to bind them all? IMHO it would be better to align DT usage of Zephyr and Linux (and anything else). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds