Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp315680iob; Thu, 28 Apr 2022 03:08:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzh0ccUfDMAXSfu+zo4kGcIn+et3qx2PUoK3Id3GcUj0uya7OzCrisW/O8iUFiAhvLrffBL X-Received: by 2002:a63:5154:0:b0:39d:5e18:9d98 with SMTP id r20-20020a635154000000b0039d5e189d98mr27208215pgl.145.1651140480715; Thu, 28 Apr 2022 03:08:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651140480; cv=none; d=google.com; s=arc-20160816; b=yBdKBZF2yIpH/YNTiKwSCV5W+9H8UxBGnc9ABJ/iXkPjNdkqTzRhhuaIFp5JQRpb3K CUeKULanj3RW6SK++RW4OgpMAEIgRk7PaVywKfrhGzB9+SmPmjTBvkmLcEct3Zw1/pCS ovrFvWyZugOa98TtoXFlpH3DxTyzdc63y/xQUHge2+ZJzBwBhQPvC9uz+gQ8rqtPPeTe dy5Z5lACFkTFYjkMTOpAUBhLhzNTfnx4TGyaZeYuq1AlRtS0Krsgv+HkTgJTfz62iIBT jd+8+NZ2nLbLiaiCk6NqrnCONihNEDzudaj/Rp2AsKlrOacgLP5HxyIRFQwSnfMSZBom ot2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=XfKmtzg0D+/23Jg+mxJhp4CSenJ+1YBHova8u1JkXUQ=; b=HZrLf3LpoUBYfA4gCESoquLGagsSqiXsXKV5c0W9vfSrsfA1s4cxQ+lRN27T75RsLa 8LzEXiWqWqpIe3E8RvseucKGYE8oaCw4LPxEyNCB0BgCV6Phbb4gyFHRDesg3snozH3T qgah6fBqBlVGXp7bFrql9MIecGMaEADGR29KmDLsJJ+bZJGnWC4PgXQx+fqzg26DU6i/ Il4KeV36PjzYm28daAaaJ6R/Vvg9bkbfHLzJOcr1P1OtzDx6+3S9V1pmniB5hTM42ekt rkS0jOmJUj/S+q66GPvpRYnzIWoJT8YbEFP8runjOTSe2JV8ZGCkfTiB58xCRxQBHfUA kxjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l6-20020a637006000000b003817672f837si4546689pgc.21.2022.04.28.03.07.46; Thu, 28 Apr 2022 03:08:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243903AbiD1G3f (ORCPT + 99 others); Thu, 28 Apr 2022 02:29:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244133AbiD1G3D (ORCPT ); Thu, 28 Apr 2022 02:29:03 -0400 Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B3AA972B5; Wed, 27 Apr 2022 23:25:45 -0700 (PDT) Received: by mail-qt1-f179.google.com with SMTP id t16so2768793qtr.9; Wed, 27 Apr 2022 23:25:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XfKmtzg0D+/23Jg+mxJhp4CSenJ+1YBHova8u1JkXUQ=; b=ZnMLO/Lv6AqimFNQXTbBlSmQzAYfbc9QIGeK56A8vnXl+3h5bSmMkLqrZmBl2lvJ4r YvR6ys4yhRsZBH8HI+GWMfRuwbO7mYTTU4EICyZk9eKIwLdY0KAxBuaWnE6nSkcXlzu2 9yLkuN6DQjI3qgguMYfWwGuvxQzY0VM4V0F9h1PNozkLMwjUYoyHmuQvZG/Eg5opw2x4 zFlWroAVjxHtZkGSIYh3OKjBDvJiTXdtl6t786KJlDc/dlnldvy7HdHg7MZcR+PGBhOl cY58R3lVyZJxHSbmqwM0mprTUkELDEXpa/aipET38mGuVW0CcasVTe4wCEus+MX4qq7L IabA== X-Gm-Message-State: AOAM533bm5vdnI5ww5YMrF+Fr4up06DaRzPgKWa9RD/4sOGt0O6ladDw /i6ZNbay//BgEju11K2jGC7JviINdHYgtg== X-Received: by 2002:a05:622a:13ca:b0:2f3:8070:ec79 with SMTP id p10-20020a05622a13ca00b002f38070ec79mr7355320qtk.199.1651127144247; Wed, 27 Apr 2022 23:25:44 -0700 (PDT) Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com. [209.85.128.169]) by smtp.gmail.com with ESMTPSA id q27-20020a05620a039b00b0069c8307d9c4sm9023360qkm.18.2022.04.27.23.25.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Apr 2022 23:25:43 -0700 (PDT) Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-2f863469afbso18014217b3.0; Wed, 27 Apr 2022 23:25:43 -0700 (PDT) X-Received: by 2002:a81:8489:0:b0:2f7:edff:239f with SMTP id u131-20020a818489000000b002f7edff239fmr18913227ywf.256.1651127143411; Wed, 27 Apr 2022 23:25:43 -0700 (PDT) MIME-Version: 1.0 References: <20210324223713.1334666-1-frowand.list@gmail.com> <20210327174035.GA291160@robh.at.kernel.org> <3e6710e7-08ac-7d1b-aa69-bcd36f0d932a@gmail.com> <20210526061144.yvoaurpz75a3bsjr@vireshk-i7> In-Reply-To: From: Geert Uytterhoeven Date: Thu, 28 Apr 2022 08:25:31 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/1] of: unittest: rename overlay source files from .dts to .dtso To: Rob Herring Cc: Frank Rowand , David Gibson , Viresh Kumar , Masahiro Yamada , Michal Marek , Vincent Guittot , Michal Simek , Anmar Oueja , Bill Mills , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kbuild , Linux Kernel Mailing List , Pantelis Antoniou Content-Type: text/plain; charset="UTF-8" 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_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS 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 Hi Rob, On Wed, Apr 27, 2022 at 11:14 PM Rob Herring wrote: > On Wed, Jan 26, 2022 at 1:31 PM Rob Herring wrote: > > On Fri, Jan 14, 2022 at 3:25 AM Geert Uytterhoeven wrote: > > > On Fri, Jan 14, 2022 at 3:10 AM Rob Herring wrote: > > > > On Thu, Jan 6, 2022 at 11:23 AM Frank Rowand wrote: > > > > > Patient Geert has pinged again. > > > > > > > > If it's not a patch to be reviewed, then I'm not going to see it most > > > > likely. I don't read the DT list regularly... > > > > > > Fair enough... > > > > > > > > If I remember correctly you guys were not thrilled with this idea, but > > > > > also did not seem strongly against it. Are you willing to go along > > > > > with .dtso for overlay source files? If so, I will revive this patch > > > > > series. > > > > > > > > > > David, if you are against supporting .dtso in the dtc compiler then > > > > > the kernel can still support it through make rules. > > > > > > > > I'm not really interested in diverging from dtc. I'd suggest moving > > > > the discussion to dtc list and/or devicetree-spec if you want to get > > > > more attention on this. > > > > > > What needs to be supported in the dtc compiler? > > > The fallback passed to guess_input_format() is "dts". > > > So this has been working out-of-the-box since forever? > > > > Ah, okay. > > > > > > Also, keep in mind that extensions also affect MIME types which > > > > someone was also asking about recently. > > > > > > You mean "MIME type of Devicetree Blobs and Sources"[1]? > > > According to [2](2022-01-13), none of that has happened. > > > > This is what I was thinking of: > > > > https://github.com/devicetree-org/devicetree-specification/issues/46 > > > > In any case, given everyone is ambivalent, send me an updated patch > > and I'll apply it. > > Ping! Anyone still want this? > > What I don't want to see is a mixture of .dts and .dtso. And now I'm > reviewing RPi overlay patches[1] with .dts. I still prefer .dtso over .dts, as it allows tools to detect the file type without having to read the file's contents. Without this, e.g. make needs to have all overlays listed explicitly in a Makefile. We do have .c, .h, .s (even .S), .dtsi. So why not .dtso? > [1] https://lore.kernel.org/r/20220427185243.173594-3-detlev.casanova@collabora.com Thanks! 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