From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D0E1FC433F5 for ; Thu, 28 Apr 2022 00:03:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mkcXk7E1gtjuzoN2zzC6dUOJxbuHMMPdCkTKK8aIalg=; b=Ez5oB8hydatlq1 Q4Tdp3UEiXJzCzjtTgUBZ0v/NzEjLeW8MvvrEJsTAkKqfJtg797RLNSEToGU23Lmp9GcWZI4KR8Pc NkepOOKWrGx51JtWlZ2/FbmONVJMpB7sTtDdfIQVacxAfr7NQ9GDJxERttMTcJFB/WXB5F2yZRG+K PaqpTcmN9icx2w77RyteQJeIT5AlmW27aCIlihNxMt2hiBmyNaFf2yPrkRnQfyeZrrvZpu9cZeeLb dQrqr28PoBfs/AdbzLwpolRaFJwD7mfdITaWPH0mc/pyrdhIp3D5umLRZFyJXEohnLFAAY6jwJn6g GNryM6wOUGZE+XZG8hFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1njrbh-0041Ph-9g; Thu, 28 Apr 2022 00:02:05 +0000 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1njrbe-0041P3-D1; Thu, 28 Apr 2022 00:02:03 +0000 Received: by mail-pl1-x632.google.com with SMTP id u7so2884772plg.13; 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=jih/R6RD4ew3QT2LTdQP+COJXvohACgqiatJXfwZuiaPNnKIf9ym6nuc5s05BNiycP bHurGJRLe8YssOSm7D+zm5/gPX9vCoF+7ObdAsKbcJsuUXhHCfV6QfU6JefiZuMDqkP0 3FGCPoLHr5qlajHfxtHcqbIwn1GcvwCl9H0TI4aYqmuo6jPCl4cCfBt5ESXgZZuYpS7a b/JbhC+X3okajoErYwHiDNPjwYlMCTUjVbsJugHXkS9ybxU1HSLSpleSbeame3ckMdac OCtFC94ofAU/X9ixW2nnLFAKunE7sofUPD2DWgvqN2LXPjVaV0TaerixQMob+8cOo4Jt mDww== X-Gm-Message-State: AOAM533moisrrQ96LymqPvD7Kzcm3x9yFUjEOCta5wWwXceNV1Mpbo0d Xq1XpKFZ1QHOsbmolATtJb4= X-Google-Smtp-Source: ABdhPJzZHN/PJml0c5wTRNM4ywoHQ5+7W4SXdULxBRlC6dGLU7RIBY8NFxoHyuzclzXuZoehvRDd8g== 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220427_170202_492384_59350D7C X-CRM114-Status: GOOD ( 16.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel