Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp148202iob; Wed, 27 Apr 2022 22:10:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwKLWbyoAUkGhPQhAiLPURWq5aG9mB+3sjSo7qeSOLv6EtSx8BoK/hbgS2tm3woKTAX8yo X-Received: by 2002:a05:6402:254c:b0:426:13bd:3e48 with SMTP id l12-20020a056402254c00b0042613bd3e48mr7606497edb.58.1651122615298; Wed, 27 Apr 2022 22:10:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651122615; cv=none; d=google.com; s=arc-20160816; b=n5nvgWyV68ll7/2dkLp0dFYcdu9hsDb9N7i3a5PUuj4O035OgAOmi5bdqrE5eONuhZ VnHZYhW37Jbjk5dQfpshAhEYZUSMGCQ1SNFAzAHMhcnuGw68sLnTM9IlO91a1IwT1e+p 22IyzBdwStMMffvFBJVpSJSIolTNv6R2+ZUWgPytKH0QIRzmVkaJ+qxcvpWqaHGZ5O0N MajdevsBOPKfknjL70yEOog39hTzWUfKtQQdCpM/vIHSOBrtJv/DR/QUBIjAjn3d7rK6 BqFDB/qkIeNceN0BGt+djvLVmDK7Jf2a4nk5wab4rwBaqFGTI1kEPZXUh3bXz4e+znig oMEg== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=MQAHzj75bUL24cVXZai27Cp7fT8NBFoM4IN6VdxYD9M=; b=USIx7Pwfx1dobp35UR5rQekNcQRr6OAZABeueIYKSZdd9a6AIOECrRRMR8cSzon0aa wJost7B0Prcy71UM/lwgWETU3ObvZF+k1aflJIAhCqjk+5X2XzRbDiMlbevNpvLxVl/C 5tj+he4/5c9Bed3WkQ5OP+CJhJ3vmpy+n9fZOPQ0to8WRfu48Mr34G24ePYGocvcU1h7 CoXkja0Z+OnijQeRGNal9o/BGcddUhwIBbxBI0DLE1yDbwLjH2sCV94Ig9ge4fTTnFla mLWU+JhGGLYnAimJ7WHFUWJmD9KGKOToMxoUwjytH326ElccAfJxjnbpIBEBlJfH4LeM G2gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qrgstjD6; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h8-20020a50cdc8000000b00425f7237b06si2831904edj.73.2022.04.27.22.09.51; Wed, 27 Apr 2022 22:10:15 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qrgstjD6; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238779AbiD1AFO (ORCPT + 99 others); Wed, 27 Apr 2022 20:05:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232923AbiD1AFN (ORCPT ); Wed, 27 Apr 2022 20:05:13 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D117D82D0F; Wed, 27 Apr 2022 17:02:00 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id r9so2789989pjo.5; Wed, 27 Apr 2022 17:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=MQAHzj75bUL24cVXZai27Cp7fT8NBFoM4IN6VdxYD9M=; b=qrgstjD662uD0mASf4Lns6/fJJC8Tw6D60c8TonIiOHwaARfrwncV13tYmVyM4dxRf Xp5N9IIzn+L4Dn/v+Nicm554zwRblHhkT7QlMbIKLyJKPqmozxzf1aEI2NehOEziAGce h9ZWydlpd9ICko97l/P64TYeUxHYPz57A/rzewn6fGiFStDOhSqD8SbfnuoJIpP6gYqu rsMar46OapajVOcXf1Qym7RuOOWc8lQDH9rGGJrswsJqBN/RU0gYvo49pN5fnRrL6p56 KC8Ig8QDfOHwousLQ6SXkfmKHTHuqeJ7snT58Fac3P60N6gOV//APIBU7P483/8tkpqb sLoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=MQAHzj75bUL24cVXZai27Cp7fT8NBFoM4IN6VdxYD9M=; b=ZGFU+le1lE0kr720aAsp6AXdUz31D1/7ZhMMLhdCCb4IJB8IlS/U80n2Lh5oEYIHjE wA9DSOCj7hN+UJGR8Xd0XB3tmBMEbpiO0nog5GISr1sHA+Ab0Bvfb9Q+pBH2tModjZaC xyPuL1PkdYgtxQEjl/LXBb9O3yA8CjVRjJ5FJfNt9ustRbdP/GZQqUk1lThGEuqLUWzW uzhH+d7dtBoeDWKoux1N/rt9ZdHjbOcSsbKmsUrTPuuRYb/t9lpLYhdA/6MipvRhF1ai yxFnhZ8o79CObM7FXPRXj4oik0RS5YMgZCwTclxrUN1Ycpdm/mrqA95W8wrLhybxg8cf ofpA== X-Gm-Message-State: AOAM5325KyXnfT9VUBqhXgdIk9qHrm728RbKlMAT7UCfI8VSVg2S6WN6 +G2iDt1ce8VRoRQxQ3rEzTWignLffng= X-Received: by 2002:a17:903:31d1:b0:159:804:e852 with SMTP id v17-20020a17090331d100b001590804e852mr30769629ple.19.1651104120170; Wed, 27 Apr 2022 17:02:00 -0700 (PDT) Received: from ?IPV6:2600:8802:b00:4a48:7132:60ce:33ea:8830? ([2600:8802:b00:4a48:7132:60ce:33ea:8830]) by smtp.gmail.com with ESMTPSA id x2-20020aa79182000000b00505a61ec387sm19612074pfa.138.2022.04.27.17.01.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Apr 2022 17:01:59 -0700 (PDT) Message-ID: <21986066-f72c-83ce-d1b9-ef5767fdebef@gmail.com> Date: Wed, 27 Apr 2022 17:01:57 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [RFC PATCH v2 2/3] of: Add support for -@ when compiling overlays Content-Language: en-US To: Rob Herring , Detlev Casanova Cc: linux-kernel@vger.kernel.org, arnd@arndb.de, bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, f.fainelli@gmail.com, frowand.list@gmail.com, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, masahiroy@kernel.org, michal.lkml@markovi.net, ndesaulniers@google.com, nsaenz@kernel.org, olof@lixom.net, rjui@broadcom.com, sbranden@broadcom.com, soc@kernel.org, stefan.wahren@i2se.com References: <20220427185243.173594-1-detlev.casanova@collabora.com> <20220427185243.173594-3-detlev.casanova@collabora.com> From: Florian Fainelli In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On 4/27/2022 2:24 PM, Rob Herring wrote: > On Wed, Apr 27, 2022 at 02:52:42PM -0400, Detlev Casanova wrote: >> This commit adds an option to compile all device trees with -@ to add the >> symbol table to the Device Tree Blobs. > > Why would we want to tie this to the kernel config? > > Globally enabling it has already been discussed and rejected. > >> It prepares the introduction of device tree overlays that are >> not applied on device trees at compile time (dtbo files.) >> >> These device tree overlays will be used by either a bootloader or a >> linux userspace tool to extend the base device tree. >> >> This is used e.g. for drivers that need device tree nodes for optional >> non plug and play devices, like an external DSI touchscreen panel that >> embeds different i2c devices to control it. > > You can already set DTC_FLAGS per directory (and target?), so enable it > for the dtbs that have overlays. Looks like this patch series from Aurelien should take care of that: https://lore.kernel.org/linux-arm-kernel/20220427233607.1225419-1- aurelien@aurel32.net/ -- Florian