Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: mediatek: Makefile: Generate symbols for DTBO support
@ 2024-06-20 10:18 AngeloGioacchino Del Regno
  2024-06-20 16:07 ` Conor Dooley
  0 siblings, 1 reply; 2+ messages in thread
From: AngeloGioacchino Del Regno @ 2024-06-20 10:18 UTC (permalink / raw)
  To: linux-mediatek
  Cc: matthias.bgg, angelogioacchino.delregno, robh, krzk+dt, conor+dt,
	linux-kernel, linux-arm-kernel, devicetree, kernel

Add DTC_FLAGS '-@' for mt7986a-bananapi-bpi-r3 and -mini to
instruct the devicetree compiler to enable generation of symbols.

This allows proper support for Device Tree Overlay(s) for those
boards; future boards that need DTBO support are expected to add
their own DTC_FLAGS_{dtb-name}.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
 arch/arm64/boot/dts/mediatek/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile
index 56d551da917e..5dbb695d053f 100644
--- a/arch/arm64/boot/dts/mediatek/Makefile
+++ b/arch/arm64/boot/dts/mediatek/Makefile
@@ -84,3 +84,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8390-genio-700-evk.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-kontron-3-5-sbc-i1200.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-radxa-nio-12l.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8516-pumpkin.dtb
+
+# Device tree overlays support
+DTC_FLAGS_mt7986a-bananapi-bpi-r3 := -@
+DTC_FLAGS_mt7986a-bananapi-bpi-r3-mini := -@
-- 
2.45.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: mediatek: Makefile: Generate symbols for DTBO support
  2024-06-20 10:18 [PATCH] arm64: dts: mediatek: Makefile: Generate symbols for DTBO support AngeloGioacchino Del Regno
@ 2024-06-20 16:07 ` Conor Dooley
  0 siblings, 0 replies; 2+ messages in thread
From: Conor Dooley @ 2024-06-20 16:07 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno
  Cc: linux-mediatek, matthias.bgg, robh, krzk+dt, conor+dt,
	linux-kernel, linux-arm-kernel, devicetree, kernel

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]

On Thu, Jun 20, 2024 at 12:18:30PM +0200, AngeloGioacchino Del Regno wrote:
> Add DTC_FLAGS '-@' for mt7986a-bananapi-bpi-r3 and -mini to
> instruct the devicetree compiler to enable generation of symbols.
> 
> This allows proper support for Device Tree Overlay(s) for those
> boards; future boards that need DTBO support are expected to add
> their own DTC_FLAGS_{dtb-name}.
> 
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

Adding these symbols has on a few occasions lead to people asking if the
dt maintainers were okay with it, so:
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-20 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20 10:18 [PATCH] arm64: dts: mediatek: Makefile: Generate symbols for DTBO support AngeloGioacchino Del Regno
2024-06-20 16:07 ` Conor Dooley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox