[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <166636173496.3593878.13529338596528679973.robh@kernel.org>
Date: Fri, 21 Oct 2022 09:25:58 -0500
From: Rob Herring <robh@...nel.org>
To: Alexandre Torgue <alexandre.torgue@...s.st.com>
Cc: Masahiro Yamada <masahiroy@...nel.org>,
linux-kbuild@...r.kernel.org, robh+dt@...nel.org,
Michal Marek <michal.lkml@...kovi.net>,
linux-kernel@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com
Subject: Re: [PATCH] scripts: dtc: only show unique unit address warning for
enabled nodes
On Fri, 21 Oct 2022 10:44:47 +0200, Alexandre Torgue wrote:
> In some cases an hardware peripheral can be used for two exclusive usages.
> For example, on STM32MP15 we have the same peripheral for I2S and SPI. We
> have dedicated driver for each usage and so a dedicated device node in
> devicetree.
> To avoid to get useless warnings running "make W=1 dtbs", this patch adds
> the "-Wunique_unit_address_if_enabled" flag for a make with W=1. In this
> case we will detect a duplicate address only if both devices are
> enabled in the devicetree, which is a real error case.
>
> Signed-off-by: Alexandre Torgue <alexandre.torgue@...s.st.com>
>
Applied, thanks!
I refactored the options and kept 'unique_unit_address' for W=2.
Rob
Powered by blists - more mailing lists