U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: dts: mediatek: add U-Boot dtsi overrides for Genio 510 and Genio 700
@ 2026-07-01 15:05 Julien Stephan
  2026-07-02  9:09 ` Mattijs Korpershoek
  0 siblings, 1 reply; 2+ messages in thread
From: Julien Stephan @ 2026-07-01 15:05 UTC (permalink / raw)
  To: u-boot
  Cc: GSS_MTK_Uboot_upstream, Ryder Lee, Weijie Gao, Chunfeng Yun,
	Igor Belwon, David Lechner, Macpaul Lin, Tom Rini, Chris-QJ Chen,
	Mattijs Korpershoek, Julien Masson, Julien Stephan

U-Boot applies DTS overrides by searching for files in the following
priority order [1]:

  <orig_filename>-u-boot.dtsi
  <CONFIG_SYS_SOC>-u-boot.dtsi
  <CONFIG_SYS_CPU>-u-boot.dtsi
  <CONFIG_SYS_VENDOR>-u-boot.dtsi
  u-boot.dtsi

For Genio 510 and Genio 700, the common mt8188-u-boot.dtsi override is
never applied because none of the lookup paths resolve to it
(CONFIG_SYS_SOC="mediatek", CONFIG_SYS_CPU="armv8",
CONFIG_SYS_VENDOR="mediatek").

Add board-specific overrides for mt8370-genio-510-evk and
mt8390-genio-700-evk that include mt8188-u-boot.dtsi.

While at it, also add mt8188-u-boot.dtsi into
board/mediatek/MAINTAINERS.

[1]: https://docs.u-boot.org/en/stable/develop/devicetree/control.html#adding-tweaks-for-u-boot

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
---
 arch/arm/dts/mt8370-genio-510-evk-u-boot.dtsi | 7 +++++++
 arch/arm/dts/mt8390-genio-700-evk-u-boot.dtsi | 7 +++++++
 board/mediatek/MAINTAINERS                    | 3 +++
 3 files changed, 17 insertions(+)

diff --git a/arch/arm/dts/mt8370-genio-510-evk-u-boot.dtsi b/arch/arm/dts/mt8370-genio-510-evk-u-boot.dtsi
new file mode 100644
index 00000000000..586d15bf72e
--- /dev/null
+++ b/arch/arm/dts/mt8370-genio-510-evk-u-boot.dtsi
@@ -0,0 +1,7 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (c) 2026 BayLibre, SAS.
+ * Author: Julien Stephan <jstephan@baylibre.com>
+ */
+
+#include "mt8188-u-boot.dtsi"
diff --git a/arch/arm/dts/mt8390-genio-700-evk-u-boot.dtsi b/arch/arm/dts/mt8390-genio-700-evk-u-boot.dtsi
new file mode 100644
index 00000000000..586d15bf72e
--- /dev/null
+++ b/arch/arm/dts/mt8390-genio-700-evk-u-boot.dtsi
@@ -0,0 +1,7 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (c) 2026 BayLibre, SAS.
+ * Author: Julien Stephan <jstephan@baylibre.com>
+ */
+
+#include "mt8188-u-boot.dtsi"
diff --git a/board/mediatek/MAINTAINERS b/board/mediatek/MAINTAINERS
index 37ca35b4dd4..d99c6d708b2 100644
--- a/board/mediatek/MAINTAINERS
+++ b/board/mediatek/MAINTAINERS
@@ -21,6 +21,9 @@ MT8188/MT8370/MT8390
 M:	Macpaul Lin <Macpaul.Lin@mediatek.com>
 M:	Julien Stephan <jstephan@baylibre.com>
 S:	Maintained
+F:	arch/arm/dts/mt8188-u-boot.dtsi
+F:	arch/arm/dts/mt8370-genio-510-evk-u-boot.dtsi
+F:	arch/arm/dts/mt8390-genio-700-evk-u-boot.dtsi
 F:	configs/mt8188.config
 F:	configs/mt8370_genio_510_evk_defconfig
 F:	configs/mt8390_genio_700_evk_defconfig

---
base-commit: 23a4f1e22076855df9c8dd93992edd9bd42d7ea2
change-id: 20260701-fix-genio-510-genio-700-dts-override-2699a0e153ed

Best regards,
--  
Julien Stephan <jstephan@baylibre.com>


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

* Re: [PATCH] arm: dts: mediatek: add U-Boot dtsi overrides for Genio 510 and Genio 700
  2026-07-01 15:05 [PATCH] arm: dts: mediatek: add U-Boot dtsi overrides for Genio 510 and Genio 700 Julien Stephan
@ 2026-07-02  9:09 ` Mattijs Korpershoek
  0 siblings, 0 replies; 2+ messages in thread
From: Mattijs Korpershoek @ 2026-07-02  9:09 UTC (permalink / raw)
  To: Julien Stephan, u-boot
  Cc: GSS_MTK_Uboot_upstream, Ryder Lee, Weijie Gao, Chunfeng Yun,
	Igor Belwon, David Lechner, Macpaul Lin, Tom Rini, Chris-QJ Chen,
	Mattijs Korpershoek, Julien Masson, Julien Stephan

Hi Julien,

Thank you for the patch.

On Wed, Jul 01, 2026 at 17:05, Julien Stephan <jstephan@baylibre.com> wrote:

> U-Boot applies DTS overrides by searching for files in the following
> priority order [1]:
>
>   <orig_filename>-u-boot.dtsi
>   <CONFIG_SYS_SOC>-u-boot.dtsi
>   <CONFIG_SYS_CPU>-u-boot.dtsi
>   <CONFIG_SYS_VENDOR>-u-boot.dtsi
>   u-boot.dtsi
>
> For Genio 510 and Genio 700, the common mt8188-u-boot.dtsi override is
> never applied because none of the lookup paths resolve to it
> (CONFIG_SYS_SOC="mediatek", CONFIG_SYS_CPU="armv8",
> CONFIG_SYS_VENDOR="mediatek").
>
> Add board-specific overrides for mt8370-genio-510-evk and
> mt8390-genio-700-evk that include mt8188-u-boot.dtsi.
>
> While at it, also add mt8188-u-boot.dtsi into
> board/mediatek/MAINTAINERS.
>
> [1]: https://docs.u-boot.org/en/stable/develop/devicetree/control.html#adding-tweaks-for-u-boot
>
> Signed-off-by: Julien Stephan <jstephan@baylibre.com>

Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>


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

end of thread, other threads:[~2026-07-02  9:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-01 15:05 [PATCH] arm: dts: mediatek: add U-Boot dtsi overrides for Genio 510 and Genio 700 Julien Stephan
2026-07-02  9:09 ` Mattijs Korpershoek

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