Linux-Rockchip Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: rockchip: Enable device-tree overlay support for select devices
@ 2024-03-28 18:05 Chris Morgan
  2024-03-28 18:47 ` Dragan Simic
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Morgan @ 2024-03-28 18:05 UTC (permalink / raw)
  To: linux-rockchip
  Cc: devicetree, jagan, heiko, conor+dt, krzysztof.kozlowski+dt, robh,
	sebastian.reichel, Chris Morgan

From: Chris Morgan <macromorgan@hotmail.com>

Add the '-@' DTC option for the Rock 5B and Indiedroid Nova devices.
These two devices are relatively new both with external GPIO headers
for expansion. This does impact the filesize of the DTB substantially.

rk3588-rock-5b.dtb		75352 -> 150094 bytes
rk3588s-indiedroid-nova.dtb	69507 -> 136739 bytes

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
 arch/arm64/boot/dts/rockchip/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
index f906a868b71a..26f306db0aea 100644
--- a/arch/arm64/boot/dts/rockchip/Makefile
+++ b/arch/arm64/boot/dts/rockchip/Makefile
@@ -1,4 +1,9 @@
 # SPDX-License-Identifier: GPL-2.0
+
+# Enable support for external device-tree overlays
+DTC_FLAGS_rk3588-rock-5b			:= -@
+DTC_FLAGS_rk3588s-indiedroid-nova		:= -@
+
 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-evb.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-ctouch2.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-ctouch2-of10.dtb
-- 
2.34.1


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

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

end of thread, other threads:[~2024-03-28 18:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-28 18:05 [PATCH] arm64: dts: rockchip: Enable device-tree overlay support for select devices Chris Morgan
2024-03-28 18:47 ` Dragan Simic

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