Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: mediatek: Fix pinfunc headers of two SoCs
@ 2026-08-28 13:52 Igor Belwon
  2026-08-28 13:52 ` [PATCH 1/2] arm64: dts: mediatek: mt6878-pinfunc: Fix pinctrl header path Igor Belwon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Igor Belwon @ 2026-08-28 13:52 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Linus Walleij
  Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	Igor Belwon

Hi,

these pinfunc headers were including a header ('mt65xx.h') which is
outside of the search path (it's in dt-bindings), thus causing a
build failure (CI couldn't catch this since 6878/6893 don't have DTs
merged in yet). Use the correct path, following other SoC pinfunc
headers.

Best regards,
Igor

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
---
Igor Belwon (2):
      arm64: dts: mediatek: mt6878-pinfunc: Fix pinctrl header path
      arm64: dts: mediatek: mt6893-pinfunc: Fix pinctrl header path

 arch/arm64/boot/dts/mediatek/mt6878-pinfunc.h | 2 +-
 arch/arm64/boot/dts/mediatek/mt6893-pinfunc.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
base-commit: 8d3ae59288f1e7d58d76558a6ee96d533bc5019f
change-id: 20260828-mt6878-header-fix-8bd142b196cf

Best regards,
-- 
Igor Belwon <igor.belwon@mentallysanemainliners.org>



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

* [PATCH 1/2] arm64: dts: mediatek: mt6878-pinfunc: Fix pinctrl header path
  2026-08-28 13:52 [PATCH 0/2] arm64: dts: mediatek: Fix pinfunc headers of two SoCs Igor Belwon
@ 2026-08-28 13:52 ` Igor Belwon
  2026-08-28 13:52 ` [PATCH 2/2] arm64: dts: mediatek: mt6893-pinfunc: " Igor Belwon
  2026-09-08  7:13 ` [PATCH 0/2] arm64: dts: mediatek: Fix pinfunc headers of two SoCs AngeloGioacchino Del Regno
  2 siblings, 0 replies; 4+ messages in thread
From: Igor Belwon @ 2026-08-28 13:52 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Linus Walleij
  Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	Igor Belwon

The header resides in the dt-bindings directory and not in the
dts/mediatek directory. Fix it as to avoid a build failure.

Fixes: 07a9bd3079e30 ("arm64: dts: mediatek: Add MT6878 pinmux macro header file")
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
---
 arch/arm64/boot/dts/mediatek/mt6878-pinfunc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt6878-pinfunc.h b/arch/arm64/boot/dts/mediatek/mt6878-pinfunc.h
index 4e8e475a7454..5aeceb904b18 100644
--- a/arch/arm64/boot/dts/mediatek/mt6878-pinfunc.h
+++ b/arch/arm64/boot/dts/mediatek/mt6878-pinfunc.h
@@ -9,7 +9,7 @@
 #ifndef __MT6878_PINFUNC_H
 #define __MT6878_PINFUNC_H
 
-#include "mt65xx.h"
+#include <dt-bindings/pinctrl/mt65xx.h>
 
 #define PINMUX_GPIO0__FUNC_GPIO0 (MTK_PIN_NO(0) | 0)
 #define PINMUX_GPIO0__FUNC_TP_GPIO0_AO (MTK_PIN_NO(0) | 1)

-- 
2.55.0



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

* [PATCH 2/2] arm64: dts: mediatek: mt6893-pinfunc: Fix pinctrl header path
  2026-08-28 13:52 [PATCH 0/2] arm64: dts: mediatek: Fix pinfunc headers of two SoCs Igor Belwon
  2026-08-28 13:52 ` [PATCH 1/2] arm64: dts: mediatek: mt6878-pinfunc: Fix pinctrl header path Igor Belwon
@ 2026-08-28 13:52 ` Igor Belwon
  2026-09-08  7:13 ` [PATCH 0/2] arm64: dts: mediatek: Fix pinfunc headers of two SoCs AngeloGioacchino Del Regno
  2 siblings, 0 replies; 4+ messages in thread
From: Igor Belwon @ 2026-08-28 13:52 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Linus Walleij
  Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	Igor Belwon

The header resides in the dt-bindings directory and not in the
dts/mediatek directory. Fix it as to avoid a build failure.

Fixes: c0f1fd9eeb317 ("arm64: dts: mediatek: Add MT6893 pinmux macro header file")
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
---
 arch/arm64/boot/dts/mediatek/mt6893-pinfunc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt6893-pinfunc.h b/arch/arm64/boot/dts/mediatek/mt6893-pinfunc.h
index 982bc95c471c..7cda5c73fb68 100644
--- a/arch/arm64/boot/dts/mediatek/mt6893-pinfunc.h
+++ b/arch/arm64/boot/dts/mediatek/mt6893-pinfunc.h
@@ -7,7 +7,7 @@
 #ifndef __MT6893_PINFUNC_H
 #define __MT6893_PINFUNC_H
 
-#include "mt65xx.h"
+#include <dt-bindings/pinctrl/mt65xx.h>
 
 #define PINMUX_GPIO0__FUNC_GPIO0 (MTK_PIN_NO(0) | 0)
 #define PINMUX_GPIO0__FUNC_SPI6_CLK (MTK_PIN_NO(0) | 1)

-- 
2.55.0



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

* Re: [PATCH 0/2] arm64: dts: mediatek: Fix pinfunc headers of two SoCs
  2026-08-28 13:52 [PATCH 0/2] arm64: dts: mediatek: Fix pinfunc headers of two SoCs Igor Belwon
  2026-08-28 13:52 ` [PATCH 1/2] arm64: dts: mediatek: mt6878-pinfunc: Fix pinctrl header path Igor Belwon
  2026-08-28 13:52 ` [PATCH 2/2] arm64: dts: mediatek: mt6893-pinfunc: " Igor Belwon
@ 2026-09-08  7:13 ` AngeloGioacchino Del Regno
  2 siblings, 0 replies; 4+ messages in thread
From: AngeloGioacchino Del Regno @ 2026-09-08  7:13 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	Linus Walleij, Igor Belwon
  Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek

On Fri, 28 Aug 2026 15:52:45 +0200, Igor Belwon wrote:
> these pinfunc headers were including a header ('mt65xx.h') which is
> outside of the search path (it's in dt-bindings), thus causing a
> build failure (CI couldn't catch this since 6878/6893 don't have DTs
> merged in yet). Use the correct path, following other SoC pinfunc
> headers.
> 
> Best regards,
> Igor
> 
> [...]

Applied to v7.3-next/dts64, thanks!

[1/2] arm64: dts: mediatek: mt6878-pinfunc: Fix pinctrl header path
      commit: 9b9c33336d2c25b6ef8758af3ce3c1802d26ca25
[2/2] arm64: dts: mediatek: mt6893-pinfunc: Fix pinctrl header path
      commit: 863d48714194bfcdb917b2ec35531e40df40cb87

Cheers,
Angelo




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

end of thread, other threads:[~2026-09-08  7:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-28 13:52 [PATCH 0/2] arm64: dts: mediatek: Fix pinfunc headers of two SoCs Igor Belwon
2026-08-28 13:52 ` [PATCH 1/2] arm64: dts: mediatek: mt6878-pinfunc: Fix pinctrl header path Igor Belwon
2026-08-28 13:52 ` [PATCH 2/2] arm64: dts: mediatek: mt6893-pinfunc: " Igor Belwon
2026-09-08  7:13 ` [PATCH 0/2] arm64: dts: mediatek: Fix pinfunc headers of two SoCs AngeloGioacchino Del Regno

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