[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Ymm0l2/oGpt/SeDO@robh.at.kernel.org>
Date: Wed, 27 Apr 2022 16:24:39 -0500
From: Rob Herring <robh@...nel.org>
To: Detlev Casanova <detlev.casanova@...labora.com>
Cc: linux-kernel@...r.kernel.org, arnd@...db.de,
bcm-kernel-feedback-list@...adcom.com, devicetree@...r.kernel.org,
f.fainelli@...il.com, frowand.list@...il.com,
linux-arm-kernel@...ts.infradead.org,
linux-rpi-kernel@...ts.infradead.org, masahiroy@...nel.org,
michal.lkml@...kovi.net, ndesaulniers@...gle.com,
nsaenz@...nel.org, olof@...om.net, rjui@...adcom.com,
sbranden@...adcom.com, soc@...nel.org, stefan.wahren@...e.com
Subject: Re: [RFC PATCH v2 2/3] of: Add support for -@ when compiling overlays
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.
>
> Signed-off-by: Detlev Casanova <detlev.casanova@...labora.com>
> ---
> drivers/of/Kconfig | 8 ++++++++
> scripts/Makefile.lib | 9 +++++++--
> 2 files changed, 15 insertions(+), 2 deletions(-)
Powered by blists - more mailing lists