* [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC
@ 2025-06-26 8:53 Max Shevchenko via B4 Relay
2025-06-26 8:53 ` [PATCH v2 01/11] dt-bindings: serial: mediatek,uart: add MT6572 Max Shevchenko via B4 Relay
` (11 more replies)
0 siblings, 12 replies; 22+ messages in thread
From: Max Shevchenko via B4 Relay @ 2025-06-26 8:53 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
Thomas Gleixner, Daniel Lezcano, Wim Van Sebroeck, Guenter Roeck,
Sean Wang, Russell King
Cc: linux-kernel, linux-serial, devicetree, linux-arm-kernel,
linux-mediatek, linux-watchdog, Max Shevchenko,
Krzysztof Kozlowski
This series of patches adds support for the MT6572 SoC and
the JTY D101 tablet and Lenovo A369i smartphone based on it.
Signed-off-by: Max Shevchenko <wctrl@proton.me>
---
Changes in v2:
- Drop the status property for the board devicetrees
- Add an soc node for the MT6572 and reorder the nodes and properties
- Change the commit title to a more descriptive one
- Change the cover title to the correct one
- Link to v1: https://lore.kernel.org/r/20250620-mt6572-v1-0-e2d47820f042@proton.me
---
Max Shevchenko (11):
dt-bindings: serial: mediatek,uart: add MT6572
dt-bindings: interrupt-controller: mediatek,mt6577-sysirq: add MT6572
dt-bindings: timer: mediatek: add MT6572
dt-bindings: watchdog: mediatek,mtk-wdt: add MT6572
dt-bindings: vendor-prefixes: add JTY
dt-bindings: arm: mediatek: add boards based on the MT6572 SoC
ARM: mediatek: add board_dt_compat entry for the MT6572 SoC
ARM: mediatek: add MT6572 smp bring up code
ARM: dts: mediatek: add basic support for MT6572 SoC
ARM: dts: mediatek: add basic support for JTY D101 board
ARM: dts: mediatek: add basic support for Lenovo A369i board
.../devicetree/bindings/arm/mediatek.yaml | 5 +
.../mediatek,mt6577-sysirq.yaml | 1 +
.../devicetree/bindings/serial/mediatek,uart.yaml | 1 +
.../devicetree/bindings/timer/mediatek,timer.yaml | 1 +
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
.../bindings/watchdog/mediatek,mtk-wdt.yaml | 1 +
arch/arm/boot/dts/mediatek/Makefile | 2 +
arch/arm/boot/dts/mediatek/mt6572-jty-d101.dts | 61 ++++++++++++
arch/arm/boot/dts/mediatek/mt6572-lenovo-a369i.dts | 56 +++++++++++
arch/arm/boot/dts/mediatek/mt6572.dtsi | 109 +++++++++++++++++++++
arch/arm/mach-mediatek/Kconfig | 4 +
arch/arm/mach-mediatek/mediatek.c | 1 +
arch/arm/mach-mediatek/platsmp.c | 7 ++
13 files changed, 251 insertions(+)
---
base-commit: 0ff41df1cb268fc69e703a08a57ee14ae967d0ca
change-id: 20250619-mt6572-ef78a3d45168
Best regards,
--
Max Shevchenko <wctrl@proton.me>
^ permalink raw reply [flat|nested] 22+ messages in thread
* [PATCH v2 01/11] dt-bindings: serial: mediatek,uart: add MT6572
2025-06-26 8:53 [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC Max Shevchenko via B4 Relay
@ 2025-06-26 8:53 ` Max Shevchenko via B4 Relay
2025-06-30 7:40 ` AngeloGioacchino Del Regno
2025-06-26 8:53 ` [PATCH v2 02/11] dt-bindings: interrupt-controller: mediatek,mt6577-sysirq: " Max Shevchenko via B4 Relay
` (10 subsequent siblings)
11 siblings, 1 reply; 22+ messages in thread
From: Max Shevchenko via B4 Relay @ 2025-06-26 8:53 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
Thomas Gleixner, Daniel Lezcano, Wim Van Sebroeck, Guenter Roeck,
Sean Wang, Russell King
Cc: linux-kernel, linux-serial, devicetree, linux-arm-kernel,
linux-mediatek, linux-watchdog, Max Shevchenko,
Krzysztof Kozlowski
From: Max Shevchenko <wctrl@proton.me>
Add a compatible string for serial on the MT6572 SoC.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Max Shevchenko <wctrl@proton.me>
---
Documentation/devicetree/bindings/serial/mediatek,uart.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/serial/mediatek,uart.yaml b/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
index 1b02f0b197ff46e3530372d1d9303210cca9c2d5..fe283494188dea64bdfdd34a781bf54c8cbc1f05 100644
--- a/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
+++ b/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
@@ -25,6 +25,7 @@ properties:
- enum:
- mediatek,mt2701-uart
- mediatek,mt2712-uart
+ - mediatek,mt6572-uart
- mediatek,mt6580-uart
- mediatek,mt6582-uart
- mediatek,mt6589-uart
--
2.50.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH v2 02/11] dt-bindings: interrupt-controller: mediatek,mt6577-sysirq: add MT6572
2025-06-26 8:53 [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC Max Shevchenko via B4 Relay
2025-06-26 8:53 ` [PATCH v2 01/11] dt-bindings: serial: mediatek,uart: add MT6572 Max Shevchenko via B4 Relay
@ 2025-06-26 8:53 ` Max Shevchenko via B4 Relay
2025-06-27 21:22 ` Rob Herring (Arm)
2025-06-26 8:53 ` [PATCH v2 03/11] dt-bindings: timer: mediatek: " Max Shevchenko via B4 Relay
` (9 subsequent siblings)
11 siblings, 1 reply; 22+ messages in thread
From: Max Shevchenko via B4 Relay @ 2025-06-26 8:53 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
Thomas Gleixner, Daniel Lezcano, Wim Van Sebroeck, Guenter Roeck,
Sean Wang, Russell King
Cc: linux-kernel, linux-serial, devicetree, linux-arm-kernel,
linux-mediatek, linux-watchdog, Max Shevchenko
From: Max Shevchenko <wctrl@proton.me>
Add a compatible string for sysirq on the MT6572 SoC.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Max Shevchenko <wctrl@proton.me>
---
.../devicetree/bindings/interrupt-controller/mediatek,mt6577-sysirq.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/interrupt-controller/mediatek,mt6577-sysirq.yaml b/Documentation/devicetree/bindings/interrupt-controller/mediatek,mt6577-sysirq.yaml
index 123d24b05556c67374fbb87abe5e16c65031d2ed..30d76692ca87b507900076cd2f7d2e7ed2605b33 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/mediatek,mt6577-sysirq.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/mediatek,mt6577-sysirq.yaml
@@ -21,6 +21,7 @@ properties:
- enum:
- mediatek,mt2701-sysirq
- mediatek,mt2712-sysirq
+ - mediatek,mt6572-sysirq
- mediatek,mt6580-sysirq
- mediatek,mt6582-sysirq
- mediatek,mt6589-sysirq
--
2.50.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH v2 03/11] dt-bindings: timer: mediatek: add MT6572
2025-06-26 8:53 [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC Max Shevchenko via B4 Relay
2025-06-26 8:53 ` [PATCH v2 01/11] dt-bindings: serial: mediatek,uart: add MT6572 Max Shevchenko via B4 Relay
2025-06-26 8:53 ` [PATCH v2 02/11] dt-bindings: interrupt-controller: mediatek,mt6577-sysirq: " Max Shevchenko via B4 Relay
@ 2025-06-26 8:53 ` Max Shevchenko via B4 Relay
2025-06-27 21:22 ` Rob Herring (Arm)
2025-06-26 8:53 ` [PATCH v2 04/11] dt-bindings: watchdog: mediatek,mtk-wdt: " Max Shevchenko via B4 Relay
` (8 subsequent siblings)
11 siblings, 1 reply; 22+ messages in thread
From: Max Shevchenko via B4 Relay @ 2025-06-26 8:53 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
Thomas Gleixner, Daniel Lezcano, Wim Van Sebroeck, Guenter Roeck,
Sean Wang, Russell King
Cc: linux-kernel, linux-serial, devicetree, linux-arm-kernel,
linux-mediatek, linux-watchdog, Max Shevchenko
From: Max Shevchenko <wctrl@proton.me>
Add a compatible string for timer on the MT6572 SoC.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Max Shevchenko <wctrl@proton.me>
---
Documentation/devicetree/bindings/timer/mediatek,timer.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/timer/mediatek,timer.yaml b/Documentation/devicetree/bindings/timer/mediatek,timer.yaml
index f68fc7050c5687930e2ca6b6fa8f0b7a208803da..d5b574bfd2caad1bc54ef6bd1768d94055383727 100644
--- a/Documentation/devicetree/bindings/timer/mediatek,timer.yaml
+++ b/Documentation/devicetree/bindings/timer/mediatek,timer.yaml
@@ -26,6 +26,7 @@ properties:
- items:
- enum:
- mediatek,mt2701-timer
+ - mediatek,mt6572-timer
- mediatek,mt6580-timer
- mediatek,mt6582-timer
- mediatek,mt6589-timer
--
2.50.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH v2 04/11] dt-bindings: watchdog: mediatek,mtk-wdt: add MT6572
2025-06-26 8:53 [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC Max Shevchenko via B4 Relay
` (2 preceding siblings ...)
2025-06-26 8:53 ` [PATCH v2 03/11] dt-bindings: timer: mediatek: " Max Shevchenko via B4 Relay
@ 2025-06-26 8:53 ` Max Shevchenko via B4 Relay
2025-06-27 21:22 ` Rob Herring (Arm)
2025-06-30 13:29 ` Guenter Roeck
2025-06-26 8:53 ` [PATCH v2 05/11] dt-bindings: vendor-prefixes: add JTY Max Shevchenko via B4 Relay
` (7 subsequent siblings)
11 siblings, 2 replies; 22+ messages in thread
From: Max Shevchenko via B4 Relay @ 2025-06-26 8:53 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
Thomas Gleixner, Daniel Lezcano, Wim Van Sebroeck, Guenter Roeck,
Sean Wang, Russell King
Cc: linux-kernel, linux-serial, devicetree, linux-arm-kernel,
linux-mediatek, linux-watchdog, Max Shevchenko
From: Max Shevchenko <wctrl@proton.me>
Add a compatible string for watchdog on the MT6572 SoC.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Max Shevchenko <wctrl@proton.me>
---
Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml
index 8d2520241e37f0e8a7526cbc99d5aa0d4edc9a55..ba0bfd73ab62a86befead007d4b7d2a870b81a0c 100644
--- a/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml
@@ -34,6 +34,7 @@ properties:
- items:
- enum:
- mediatek,mt2701-wdt
+ - mediatek,mt6572-wdt
- mediatek,mt6582-wdt
- mediatek,mt6797-wdt
- mediatek,mt7622-wdt
--
2.50.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH v2 05/11] dt-bindings: vendor-prefixes: add JTY
2025-06-26 8:53 [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC Max Shevchenko via B4 Relay
` (3 preceding siblings ...)
2025-06-26 8:53 ` [PATCH v2 04/11] dt-bindings: watchdog: mediatek,mtk-wdt: " Max Shevchenko via B4 Relay
@ 2025-06-26 8:53 ` Max Shevchenko via B4 Relay
2025-06-27 21:23 ` Rob Herring (Arm)
2025-06-30 13:30 ` Guenter Roeck
2025-06-26 8:53 ` [PATCH v2 06/11] dt-bindings: arm: mediatek: add boards based on the MT6572 SoC Max Shevchenko via B4 Relay
` (6 subsequent siblings)
11 siblings, 2 replies; 22+ messages in thread
From: Max Shevchenko via B4 Relay @ 2025-06-26 8:53 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
Thomas Gleixner, Daniel Lezcano, Wim Van Sebroeck, Guenter Roeck,
Sean Wang, Russell King
Cc: linux-kernel, linux-serial, devicetree, linux-arm-kernel,
linux-mediatek, linux-watchdog, Max Shevchenko
From: Max Shevchenko <wctrl@proton.me>
JTY produced low-cost Android tablets based on various
MediaTek MT65xx SoCs.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Max Shevchenko <wctrl@proton.me>
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 86f6a19b28ae217643bf7a63a471f74819d18238..517bd129288c96483ffe358127ce8e16f60d902b 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -782,6 +782,8 @@ patternProperties:
description: Jide Tech
"^joz,.*":
description: JOZ BV
+ "^jty,.*":
+ description: JTY
"^kam,.*":
description: Kamstrup A/S
"^karo,.*":
--
2.50.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH v2 06/11] dt-bindings: arm: mediatek: add boards based on the MT6572 SoC
2025-06-26 8:53 [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC Max Shevchenko via B4 Relay
` (4 preceding siblings ...)
2025-06-26 8:53 ` [PATCH v2 05/11] dt-bindings: vendor-prefixes: add JTY Max Shevchenko via B4 Relay
@ 2025-06-26 8:53 ` Max Shevchenko via B4 Relay
2025-06-27 21:23 ` Rob Herring (Arm)
2025-06-26 8:54 ` [PATCH v2 07/11] ARM: mediatek: add board_dt_compat entry for " Max Shevchenko via B4 Relay
` (5 subsequent siblings)
11 siblings, 1 reply; 22+ messages in thread
From: Max Shevchenko via B4 Relay @ 2025-06-26 8:53 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
Thomas Gleixner, Daniel Lezcano, Wim Van Sebroeck, Guenter Roeck,
Sean Wang, Russell King
Cc: linux-kernel, linux-serial, devicetree, linux-arm-kernel,
linux-mediatek, linux-watchdog, Max Shevchenko
From: Max Shevchenko <wctrl@proton.me>
Add entries for the JTY D101 tablet and the Lenovo A369i smartphone.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Max Shevchenko <wctrl@proton.me>
---
Documentation/devicetree/bindings/arm/mediatek.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml
index 108ae5e0185d93976556a03768595961961bcc33..d5cb133b8a75fb5325f201f10c83bbe434a1da89 100644
--- a/Documentation/devicetree/bindings/arm/mediatek.yaml
+++ b/Documentation/devicetree/bindings/arm/mediatek.yaml
@@ -27,6 +27,11 @@ properties:
- enum:
- mediatek,mt2712-evb
- const: mediatek,mt2712
+ - items:
+ - enum:
+ - jty,d101
+ - lenovo,a369i
+ - const: mediatek,mt6572
- items:
- enum:
- mediatek,mt6580-evbp1
--
2.50.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH v2 07/11] ARM: mediatek: add board_dt_compat entry for the MT6572 SoC
2025-06-26 8:53 [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC Max Shevchenko via B4 Relay
` (5 preceding siblings ...)
2025-06-26 8:53 ` [PATCH v2 06/11] dt-bindings: arm: mediatek: add boards based on the MT6572 SoC Max Shevchenko via B4 Relay
@ 2025-06-26 8:54 ` Max Shevchenko via B4 Relay
2025-06-26 8:54 ` [PATCH v2 08/11] ARM: mediatek: add MT6572 smp bring up code Max Shevchenko via B4 Relay
` (4 subsequent siblings)
11 siblings, 0 replies; 22+ messages in thread
From: Max Shevchenko via B4 Relay @ 2025-06-26 8:54 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
Thomas Gleixner, Daniel Lezcano, Wim Van Sebroeck, Guenter Roeck,
Sean Wang, Russell King
Cc: linux-kernel, linux-serial, devicetree, linux-arm-kernel,
linux-mediatek, linux-watchdog, Max Shevchenko
From: Max Shevchenko <wctrl@proton.me>
Add a compatible string for the MT6572 SoC.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Max Shevchenko <wctrl@proton.me>
---
arch/arm/mach-mediatek/mediatek.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-mediatek/mediatek.c b/arch/arm/mach-mediatek/mediatek.c
index e6e9f93a1f01c7d043cf4312b9406b25c8897198..5c28124bd0078b31665fef647e496f4131b82c8d 100644
--- a/arch/arm/mach-mediatek/mediatek.c
+++ b/arch/arm/mach-mediatek/mediatek.c
@@ -38,6 +38,7 @@ static void __init mediatek_timer_init(void)
static const char * const mediatek_board_dt_compat[] = {
"mediatek,mt2701",
+ "mediatek,mt6572",
"mediatek,mt6589",
"mediatek,mt6592",
"mediatek,mt7623",
--
2.50.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH v2 08/11] ARM: mediatek: add MT6572 smp bring up code
2025-06-26 8:53 [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC Max Shevchenko via B4 Relay
` (6 preceding siblings ...)
2025-06-26 8:54 ` [PATCH v2 07/11] ARM: mediatek: add board_dt_compat entry for " Max Shevchenko via B4 Relay
@ 2025-06-26 8:54 ` Max Shevchenko via B4 Relay
2025-06-26 8:54 ` [PATCH v2 09/11] ARM: dts: mediatek: add basic support for MT6572 SoC Max Shevchenko via B4 Relay
` (3 subsequent siblings)
11 siblings, 0 replies; 22+ messages in thread
From: Max Shevchenko via B4 Relay @ 2025-06-26 8:54 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
Thomas Gleixner, Daniel Lezcano, Wim Van Sebroeck, Guenter Roeck,
Sean Wang, Russell King
Cc: linux-kernel, linux-serial, devicetree, linux-arm-kernel,
linux-mediatek, linux-watchdog, Max Shevchenko
From: Max Shevchenko <wctrl@proton.me>
Add support for booting the secondary CPU on the MT6572 SoC.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Max Shevchenko <wctrl@proton.me>
---
arch/arm/mach-mediatek/Kconfig | 4 ++++
arch/arm/mach-mediatek/platsmp.c | 7 +++++++
2 files changed, 11 insertions(+)
diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig
index 35a3430c7942d897106bb32916df78347113798a..638eabad2dd37ee56244fc036cb76af135aee416 100644
--- a/arch/arm/mach-mediatek/Kconfig
+++ b/arch/arm/mach-mediatek/Kconfig
@@ -15,6 +15,10 @@ config MACH_MT2701
bool "MediaTek MT2701 SoCs support"
default ARCH_MEDIATEK
+config MACH_MT6572
+ bool "MediaTek MT6572 SoCs support"
+ default ARCH_MEDIATEK
+
config MACH_MT6589
bool "MediaTek MT6589 SoCs support"
default ARCH_MEDIATEK
diff --git a/arch/arm/mach-mediatek/platsmp.c b/arch/arm/mach-mediatek/platsmp.c
index 16a4ee6c959050474c5535ac6a65d92b29482d53..bbd26d423bdef23629ec5ca9d9c61903748988b7 100644
--- a/arch/arm/mach-mediatek/platsmp.c
+++ b/arch/arm/mach-mediatek/platsmp.c
@@ -29,6 +29,12 @@ static const struct mtk_smp_boot_info mtk_mt8135_tz_boot = {
{ 0x3f8, 0x3f8, 0x3f8 },
};
+static const struct mtk_smp_boot_info mtk_mt6572_boot = {
+ 0x10001400, 0x08,
+ { 0x534c4131 },
+ { 0x0c },
+};
+
static const struct mtk_smp_boot_info mtk_mt6589_boot = {
0x10002000, 0x34,
{ 0x534c4131, 0x4c415332, 0x41534c33 },
@@ -49,6 +55,7 @@ static const struct of_device_id mtk_tz_smp_boot_infos[] __initconst = {
};
static const struct of_device_id mtk_smp_boot_infos[] __initconst = {
+ { .compatible = "mediatek,mt6572", .data = &mtk_mt6572_boot },
{ .compatible = "mediatek,mt6589", .data = &mtk_mt6589_boot },
{ .compatible = "mediatek,mt7623", .data = &mtk_mt7623_boot },
{ .compatible = "mediatek,mt7629", .data = &mtk_mt7623_boot },
--
2.50.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH v2 09/11] ARM: dts: mediatek: add basic support for MT6572 SoC
2025-06-26 8:53 [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC Max Shevchenko via B4 Relay
` (7 preceding siblings ...)
2025-06-26 8:54 ` [PATCH v2 08/11] ARM: mediatek: add MT6572 smp bring up code Max Shevchenko via B4 Relay
@ 2025-06-26 8:54 ` Max Shevchenko via B4 Relay
2025-06-30 7:40 ` AngeloGioacchino Del Regno
2025-06-26 8:54 ` [PATCH v2 10/11] ARM: dts: mediatek: add basic support for JTY D101 board Max Shevchenko via B4 Relay
` (2 subsequent siblings)
11 siblings, 1 reply; 22+ messages in thread
From: Max Shevchenko via B4 Relay @ 2025-06-26 8:54 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
Thomas Gleixner, Daniel Lezcano, Wim Van Sebroeck, Guenter Roeck,
Sean Wang, Russell King
Cc: linux-kernel, linux-serial, devicetree, linux-arm-kernel,
linux-mediatek, linux-watchdog, Max Shevchenko
From: Max Shevchenko <wctrl@proton.me>
Add basic support for the MediaTek MT6572 SoC.
Signed-off-by: Max Shevchenko <wctrl@proton.me>
---
arch/arm/boot/dts/mediatek/mt6572.dtsi | 109 +++++++++++++++++++++++++++++++++
1 file changed, 109 insertions(+)
diff --git a/arch/arm/boot/dts/mediatek/mt6572.dtsi b/arch/arm/boot/dts/mediatek/mt6572.dtsi
new file mode 100644
index 0000000000000000000000000000000000000000..b4fa376619a58cacd33ef556f80c1a4f7126c4f5
--- /dev/null
+++ b/arch/arm/boot/dts/mediatek/mt6572.dtsi
@@ -0,0 +1,109 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (c) 2025 Max Shevchenko <wctrl@proton.me>
+ */
+
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/interrupt-controller/arm-gic.h>
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "mediatek,mt6572";
+ interrupt-parent = <&sysirq>;
+
+ cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ enable-method = "mediatek,mt6589-smp";
+
+ cpu@0 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a7";
+ reg = <0x0>;
+ };
+ cpu@1 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a7";
+ reg = <0x1>;
+ };
+ };
+
+ uart_clk: dummy26m {
+ compatible = "fixed-clock";
+ clock-frequency = <26000000>;
+ #clock-cells = <0>;
+ };
+
+ system_clk: dummy13m {
+ compatible = "fixed-clock";
+ clock-frequency = <13000000>;
+ #clock-cells = <0>;
+ };
+
+ rtc_clk: dummy32k {
+ compatible = "fixed-clock";
+ clock-frequency = <32000>;
+ #clock-cells = <0>;
+ };
+
+ soc {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "simple-bus";
+ ranges;
+
+ watchdog: watchdog@10007000 {
+ compatible = "mediatek,mt6572-wdt", "mediatek,mt6589-wdt";
+ reg = <0x10007000 0x100>;
+ interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_LOW>;
+ timeout-sec = <15>;
+ #reset-cells = <1>;
+ };
+
+ timer: timer@10008000 {
+ compatible = "mediatek,mt6572-timer", "mediatek,mt6577-timer";
+ reg = <0x10008000 0x80>;
+ interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&system_clk>, <&rtc_clk>;
+ clock-names = "system-clk", "rtc-clk";
+ };
+
+ sysirq: interrupt-controller@10200100 {
+ compatible = "mediatek,mt6572-sysirq", "mediatek,mt6577-sysirq";
+ reg = <0x10200100 0x1c>;
+ interrupt-controller;
+ #interrupt-cells = <3>;
+ interrupt-parent = <&gic>;
+ };
+
+ gic: interrupt-controller@10211000 {
+ compatible = "arm,cortex-a7-gic";
+ reg = <0x10211000 0x1000>,
+ <0x10212000 0x2000>,
+ <0x10214000 0x2000>,
+ <0x10216000 0x2000>;
+ interrupt-controller;
+ #interrupt-cells = <3>;
+ interrupt-parent = <&gic>;
+ };
+
+ uart0: serial@11005000 {
+ compatible = "mediatek,mt6572-uart", "mediatek,mt6577-uart";
+ reg = <0x11005000 0x400>;
+ interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&uart_clk>;
+ clock-names = "baud";
+ status = "disabled";
+ };
+
+ uart1: serial@11006000 {
+ compatible = "mediatek,mt6572-uart", "mediatek,mt6577-uart";
+ reg = <0x11006000 0x400>;
+ interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&uart_clk>;
+ clock-names = "baud";
+ status = "disabled";
+ };
+ };
+};
--
2.50.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH v2 10/11] ARM: dts: mediatek: add basic support for JTY D101 board
2025-06-26 8:53 [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC Max Shevchenko via B4 Relay
` (8 preceding siblings ...)
2025-06-26 8:54 ` [PATCH v2 09/11] ARM: dts: mediatek: add basic support for MT6572 SoC Max Shevchenko via B4 Relay
@ 2025-06-26 8:54 ` Max Shevchenko via B4 Relay
2025-06-26 8:54 ` [PATCH v2 11/11] ARM: dts: mediatek: add basic support for Lenovo A369i board Max Shevchenko via B4 Relay
2025-06-26 19:53 ` [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC Rob Herring (Arm)
11 siblings, 0 replies; 22+ messages in thread
From: Max Shevchenko via B4 Relay @ 2025-06-26 8:54 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
Thomas Gleixner, Daniel Lezcano, Wim Van Sebroeck, Guenter Roeck,
Sean Wang, Russell King
Cc: linux-kernel, linux-serial, devicetree, linux-arm-kernel,
linux-mediatek, linux-watchdog, Max Shevchenko
From: Max Shevchenko <wctrl@proton.me>
This tablet uses a MediaTek MT6572 system-on-chip with 1GB of RAM.
It can currently boot into initramfs with a working UART and
Simple Framebuffer using already initialized panel by the bootloader.
Signed-off-by: Max Shevchenko <wctrl@proton.me>
---
arch/arm/boot/dts/mediatek/Makefile | 1 +
arch/arm/boot/dts/mediatek/mt6572-jty-d101.dts | 61 ++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/arch/arm/boot/dts/mediatek/Makefile b/arch/arm/boot/dts/mediatek/Makefile
index 1957947cb41ce86ed101466bf822d4e2dfdfbb61..cb869a1aaec21a1d99f7f2a829b84672a3f52726 100644
--- a/arch/arm/boot/dts/mediatek/Makefile
+++ b/arch/arm/boot/dts/mediatek/Makefile
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_MEDIATEK) += \
mt2701-evb.dtb \
+ mt6572-jty-d101.dtb \
mt6580-evbp1.dtb \
mt6582-prestigio-pmt5008-3g.dtb \
mt6589-aquaris5.dtb \
diff --git a/arch/arm/boot/dts/mediatek/mt6572-jty-d101.dts b/arch/arm/boot/dts/mediatek/mt6572-jty-d101.dts
new file mode 100644
index 0000000000000000000000000000000000000000..68c432cb38700939102b1186c8f5bca4c5140831
--- /dev/null
+++ b/arch/arm/boot/dts/mediatek/mt6572-jty-d101.dts
@@ -0,0 +1,61 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (c) 2025 Max Shevchenko <wctrl@proton.me>
+ */
+
+/dts-v1/;
+#include "mt6572.dtsi"
+
+/ {
+ model = "JTY D101";
+ compatible = "jty,d101", "mediatek,mt6572";
+
+ aliases {
+ serial0 = &uart0;
+ };
+
+ chosen {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ stdout-path = "serial0:921600n8";
+
+ framebuffer: framebuffer@bf400000 {
+ compatible = "simple-framebuffer";
+ memory-region = <&framebuffer_reserved>;
+ width = <1024>;
+ height = <600>;
+ stride = <(1024 * 2)>;
+ format = "r5g6b5";
+ };
+ };
+
+ memory {
+ device_type = "memory";
+ reg = <0x80000000 0x40000000>;
+ };
+
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ connsys@80000000 {
+ reg = <0x80000000 0x100000>;
+ no-map;
+ };
+
+ modem@be000000 {
+ reg = <0xbe000000 0x1400000>;
+ no-map;
+ };
+
+ framebuffer_reserved: framebuffer@bf400000 {
+ reg = <0xbf400000 0xc00000>;
+ no-map;
+ };
+ };
+};
+
+&uart0 {
+ status = "okay";
+};
--
2.50.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH v2 11/11] ARM: dts: mediatek: add basic support for Lenovo A369i board
2025-06-26 8:53 [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC Max Shevchenko via B4 Relay
` (9 preceding siblings ...)
2025-06-26 8:54 ` [PATCH v2 10/11] ARM: dts: mediatek: add basic support for JTY D101 board Max Shevchenko via B4 Relay
@ 2025-06-26 8:54 ` Max Shevchenko via B4 Relay
2025-06-26 19:53 ` [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC Rob Herring (Arm)
11 siblings, 0 replies; 22+ messages in thread
From: Max Shevchenko via B4 Relay @ 2025-06-26 8:54 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
Thomas Gleixner, Daniel Lezcano, Wim Van Sebroeck, Guenter Roeck,
Sean Wang, Russell King
Cc: linux-kernel, linux-serial, devicetree, linux-arm-kernel,
linux-mediatek, linux-watchdog, Max Shevchenko
From: Max Shevchenko <wctrl@proton.me>
This smartphone uses a MediaTek MT6572 system-on-chip with 512MB of RAM.
It can currently boot into initramfs with a working UART and
Simple Framebuffer using already initialized panel by the bootloader.
Signed-off-by: Max Shevchenko <wctrl@proton.me>
---
arch/arm/boot/dts/mediatek/Makefile | 1 +
arch/arm/boot/dts/mediatek/mt6572-lenovo-a369i.dts | 56 ++++++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/arch/arm/boot/dts/mediatek/Makefile b/arch/arm/boot/dts/mediatek/Makefile
index cb869a1aaec21a1d99f7f2a829b84672a3f52726..e48de3efeb3b9ab00108cc28afa8da525d0ec14a 100644
--- a/arch/arm/boot/dts/mediatek/Makefile
+++ b/arch/arm/boot/dts/mediatek/Makefile
@@ -2,6 +2,7 @@
dtb-$(CONFIG_ARCH_MEDIATEK) += \
mt2701-evb.dtb \
mt6572-jty-d101.dtb \
+ mt6572-lenovo-a369i.dtb \
mt6580-evbp1.dtb \
mt6582-prestigio-pmt5008-3g.dtb \
mt6589-aquaris5.dtb \
diff --git a/arch/arm/boot/dts/mediatek/mt6572-lenovo-a369i.dts b/arch/arm/boot/dts/mediatek/mt6572-lenovo-a369i.dts
new file mode 100644
index 0000000000000000000000000000000000000000..523e93647fdcf564404b720abe35ec7322cffa1e
--- /dev/null
+++ b/arch/arm/boot/dts/mediatek/mt6572-lenovo-a369i.dts
@@ -0,0 +1,56 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (c) 2025 Max Shevchenko <wctrl@proton.me>
+ */
+
+/dts-v1/;
+#include "mt6572.dtsi"
+
+/ {
+ model = "Lenovo A369i";
+ compatible = "lenovo,a369i", "mediatek,mt6572";
+
+ aliases {
+ serial0 = &uart0;
+ };
+
+ chosen {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ stdout-path = "serial0:921600n8";
+
+ framebuffer: framebuffer@9fa00000 {
+ compatible = "simple-framebuffer";
+ memory-region = <&framebuffer_reserved>;
+ width = <480>;
+ height = <800>;
+ stride = <(480 * 2)>;
+ format = "r5g6b5";
+ };
+ };
+
+ memory {
+ device_type = "memory";
+ reg = <0x80000000 0x20000000>;
+ };
+
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ connsys@80000000 {
+ reg = <0x80000000 0x100000>;
+ no-map;
+ };
+
+ framebuffer_reserved: framebuffer@9fa00000 {
+ reg = <0x9fa00000 0x600000>;
+ no-map;
+ };
+ };
+};
+
+&uart0 {
+ status = "okay";
+};
--
2.50.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* Re: [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC
2025-06-26 8:53 [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC Max Shevchenko via B4 Relay
` (10 preceding siblings ...)
2025-06-26 8:54 ` [PATCH v2 11/11] ARM: dts: mediatek: add basic support for Lenovo A369i board Max Shevchenko via B4 Relay
@ 2025-06-26 19:53 ` Rob Herring (Arm)
11 siblings, 0 replies; 22+ messages in thread
From: Rob Herring (Arm) @ 2025-06-26 19:53 UTC (permalink / raw)
To: Max Shevchenko
Cc: Greg Kroah-Hartman, Daniel Lezcano, devicetree, linux-arm-kernel,
Krzysztof Kozlowski, linux-mediatek, Guenter Roeck, linux-serial,
linux-watchdog, Matthias Brugger, Conor Dooley, Sean Wang,
Krzysztof Kozlowski, Russell King, Thomas Gleixner,
AngeloGioacchino Del Regno, Jiri Slaby, linux-kernel,
Wim Van Sebroeck
On Thu, 26 Jun 2025 11:53:53 +0300, Max Shevchenko wrote:
> This series of patches adds support for the MT6572 SoC and
> the JTY D101 tablet and Lenovo A369i smartphone based on it.
>
> Signed-off-by: Max Shevchenko <wctrl@proton.me>
> ---
> Changes in v2:
> - Drop the status property for the board devicetrees
> - Add an soc node for the MT6572 and reorder the nodes and properties
> - Change the commit title to a more descriptive one
> - Change the cover title to the correct one
> - Link to v1: https://lore.kernel.org/r/20250620-mt6572-v1-0-e2d47820f042@proton.me
>
> ---
> Max Shevchenko (11):
> dt-bindings: serial: mediatek,uart: add MT6572
> dt-bindings: interrupt-controller: mediatek,mt6577-sysirq: add MT6572
> dt-bindings: timer: mediatek: add MT6572
> dt-bindings: watchdog: mediatek,mtk-wdt: add MT6572
> dt-bindings: vendor-prefixes: add JTY
> dt-bindings: arm: mediatek: add boards based on the MT6572 SoC
> ARM: mediatek: add board_dt_compat entry for the MT6572 SoC
> ARM: mediatek: add MT6572 smp bring up code
> ARM: dts: mediatek: add basic support for MT6572 SoC
> ARM: dts: mediatek: add basic support for JTY D101 board
> ARM: dts: mediatek: add basic support for Lenovo A369i board
>
> .../devicetree/bindings/arm/mediatek.yaml | 5 +
> .../mediatek,mt6577-sysirq.yaml | 1 +
> .../devicetree/bindings/serial/mediatek,uart.yaml | 1 +
> .../devicetree/bindings/timer/mediatek,timer.yaml | 1 +
> .../devicetree/bindings/vendor-prefixes.yaml | 2 +
> .../bindings/watchdog/mediatek,mtk-wdt.yaml | 1 +
> arch/arm/boot/dts/mediatek/Makefile | 2 +
> arch/arm/boot/dts/mediatek/mt6572-jty-d101.dts | 61 ++++++++++++
> arch/arm/boot/dts/mediatek/mt6572-lenovo-a369i.dts | 56 +++++++++++
> arch/arm/boot/dts/mediatek/mt6572.dtsi | 109 +++++++++++++++++++++
> arch/arm/mach-mediatek/Kconfig | 4 +
> arch/arm/mach-mediatek/mediatek.c | 1 +
> arch/arm/mach-mediatek/platsmp.c | 7 ++
> 13 files changed, 251 insertions(+)
> ---
> base-commit: 0ff41df1cb268fc69e703a08a57ee14ae967d0ca
> change-id: 20250619-mt6572-ef78a3d45168
>
> Best regards,
> --
> Max Shevchenko <wctrl@proton.me>
>
>
>
My bot found new DTB warnings on the .dts files added or changed in this
series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:
pip3 install dtschema --upgrade
This patch series was applied (using b4) to base:
Base: using specified base-commit 0ff41df1cb268fc69e703a08a57ee14ae967d0ca
If this is not the correct base, please add 'base-commit' tag
(or use b4 which does this automatically)
New warnings running 'make CHECK_DTBS=y for arch/arm/boot/dts/mediatek/' for 20250626-mt6572-v2-0-f7f842196986@proton.me:
arch/arm/boot/dts/mediatek/mt6572-lenovo-a369i.dtb: / (lenovo,a369i): memory: False schema does not allow {'device_type': ['memory'], 'reg': [[2147483648, 536870912]]}
from schema $id: http://devicetree.org/schemas/root-node.yaml#
arch/arm/boot/dts/mediatek/mt6572-jty-d101.dtb: / (jty,d101): memory: False schema does not allow {'device_type': ['memory'], 'reg': [[2147483648, 1073741824]]}
from schema $id: http://devicetree.org/schemas/root-node.yaml#
arch/arm/boot/dts/mediatek/mt7623a-rfb-nand.dtb: spi@1100a000 (mediatek,mt7623-spi): compatible: 'oneOf' conditional failed, one must be fixed:
['mediatek,mt7623-spi', 'mediatek,mt2701-spi'] is too long
'mediatek,mt7623-spi' is not one of ['mediatek,mt7629-spi', 'mediatek,mt8365-spi']
'mediatek,mt7623-spi' is not one of ['mediatek,mt8516-spi']
'mediatek,mt7623-spi' is not one of ['mediatek,mt6779-spi', 'mediatek,mt8186-spi', 'mediatek,mt8192-spi', 'mediatek,mt8195-spi']
'mediatek,mt7623-spi' is not one of ['mediatek,mt7981-spi-ipm', 'mediatek,mt7986-spi-ipm', 'mediatek,mt7988-spi-quad', 'mediatek,mt7988-spi-single', 'mediatek,mt8188-spi-ipm']
'mediatek,mt7623-spi' is not one of ['mediatek,mt2701-spi', 'mediatek,mt2712-spi', 'mediatek,mt6589-spi', 'mediatek,mt6765-spi', 'mediatek,mt6893-spi', 'mediatek,mt7622-spi', 'mediatek,mt8135-spi', 'mediatek,mt8173-spi', 'mediatek,mt8183-spi']
'mediatek,mt7622-spi' was expected
'mediatek,mt2712-spi' was expected
'mediatek,mt6765-spi' was expected
'mediatek,spi-ipm' was expected
from schema $id: http://devicetree.org/schemas/spi/mediatek,spi-mt65xx.yaml#
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v2 02/11] dt-bindings: interrupt-controller: mediatek,mt6577-sysirq: add MT6572
2025-06-26 8:53 ` [PATCH v2 02/11] dt-bindings: interrupt-controller: mediatek,mt6577-sysirq: " Max Shevchenko via B4 Relay
@ 2025-06-27 21:22 ` Rob Herring (Arm)
0 siblings, 0 replies; 22+ messages in thread
From: Rob Herring (Arm) @ 2025-06-27 21:22 UTC (permalink / raw)
To: Max Shevchenko
Cc: Russell King, linux-serial, Conor Dooley, linux-watchdog,
linux-mediatek, Matthias Brugger, Wim Van Sebroeck,
AngeloGioacchino Del Regno, Daniel Lezcano, Guenter Roeck,
Jiri Slaby, Krzysztof Kozlowski, linux-kernel, devicetree,
Thomas Gleixner, Sean Wang, linux-arm-kernel, Greg Kroah-Hartman
On Thu, 26 Jun 2025 11:53:55 +0300, Max Shevchenko wrote:
> Add a compatible string for sysirq on the MT6572 SoC.
>
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Signed-off-by: Max Shevchenko <wctrl@proton.me>
> ---
> .../devicetree/bindings/interrupt-controller/mediatek,mt6577-sysirq.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v2 03/11] dt-bindings: timer: mediatek: add MT6572
2025-06-26 8:53 ` [PATCH v2 03/11] dt-bindings: timer: mediatek: " Max Shevchenko via B4 Relay
@ 2025-06-27 21:22 ` Rob Herring (Arm)
0 siblings, 0 replies; 22+ messages in thread
From: Rob Herring (Arm) @ 2025-06-27 21:22 UTC (permalink / raw)
To: Max Shevchenko
Cc: linux-mediatek, linux-arm-kernel, Greg Kroah-Hartman, Jiri Slaby,
linux-watchdog, Krzysztof Kozlowski, Russell King, linux-serial,
Sean Wang, Guenter Roeck, Matthias Brugger, Daniel Lezcano,
Wim Van Sebroeck, devicetree, Thomas Gleixner, Conor Dooley,
AngeloGioacchino Del Regno, linux-kernel
On Thu, 26 Jun 2025 11:53:56 +0300, Max Shevchenko wrote:
> Add a compatible string for timer on the MT6572 SoC.
>
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Signed-off-by: Max Shevchenko <wctrl@proton.me>
> ---
> Documentation/devicetree/bindings/timer/mediatek,timer.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v2 04/11] dt-bindings: watchdog: mediatek,mtk-wdt: add MT6572
2025-06-26 8:53 ` [PATCH v2 04/11] dt-bindings: watchdog: mediatek,mtk-wdt: " Max Shevchenko via B4 Relay
@ 2025-06-27 21:22 ` Rob Herring (Arm)
2025-06-30 13:29 ` Guenter Roeck
1 sibling, 0 replies; 22+ messages in thread
From: Rob Herring (Arm) @ 2025-06-27 21:22 UTC (permalink / raw)
To: Max Shevchenko
Cc: linux-mediatek, devicetree, linux-serial, Sean Wang,
Greg Kroah-Hartman, AngeloGioacchino Del Regno, Russell King,
Conor Dooley, Matthias Brugger, linux-arm-kernel, Daniel Lezcano,
linux-kernel, Thomas Gleixner, Krzysztof Kozlowski, Jiri Slaby,
Guenter Roeck, linux-watchdog, Wim Van Sebroeck
On Thu, 26 Jun 2025 11:53:57 +0300, Max Shevchenko wrote:
> Add a compatible string for watchdog on the MT6572 SoC.
>
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Signed-off-by: Max Shevchenko <wctrl@proton.me>
> ---
> Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v2 05/11] dt-bindings: vendor-prefixes: add JTY
2025-06-26 8:53 ` [PATCH v2 05/11] dt-bindings: vendor-prefixes: add JTY Max Shevchenko via B4 Relay
@ 2025-06-27 21:23 ` Rob Herring (Arm)
2025-06-30 13:30 ` Guenter Roeck
1 sibling, 0 replies; 22+ messages in thread
From: Rob Herring (Arm) @ 2025-06-27 21:23 UTC (permalink / raw)
To: Max Shevchenko
Cc: Matthias Brugger, Guenter Roeck, Conor Dooley, linux-kernel,
devicetree, Daniel Lezcano, Russell King, linux-arm-kernel,
linux-watchdog, Jiri Slaby, Greg Kroah-Hartman, Thomas Gleixner,
Wim Van Sebroeck, linux-serial, Sean Wang, linux-mediatek,
Krzysztof Kozlowski, AngeloGioacchino Del Regno
On Thu, 26 Jun 2025 11:53:58 +0300, Max Shevchenko wrote:
> JTY produced low-cost Android tablets based on various
> MediaTek MT65xx SoCs.
>
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Signed-off-by: Max Shevchenko <wctrl@proton.me>
> ---
> Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v2 06/11] dt-bindings: arm: mediatek: add boards based on the MT6572 SoC
2025-06-26 8:53 ` [PATCH v2 06/11] dt-bindings: arm: mediatek: add boards based on the MT6572 SoC Max Shevchenko via B4 Relay
@ 2025-06-27 21:23 ` Rob Herring (Arm)
0 siblings, 0 replies; 22+ messages in thread
From: Rob Herring (Arm) @ 2025-06-27 21:23 UTC (permalink / raw)
To: Max Shevchenko
Cc: Conor Dooley, Thomas Gleixner, Daniel Lezcano, Jiri Slaby,
Greg Kroah-Hartman, Wim Van Sebroeck, devicetree,
AngeloGioacchino Del Regno, Krzysztof Kozlowski, Russell King,
linux-serial, linux-arm-kernel, linux-mediatek, Sean Wang,
Guenter Roeck, Matthias Brugger, linux-watchdog, linux-kernel
On Thu, 26 Jun 2025 11:53:59 +0300, Max Shevchenko wrote:
> Add entries for the JTY D101 tablet and the Lenovo A369i smartphone.
>
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Signed-off-by: Max Shevchenko <wctrl@proton.me>
> ---
> Documentation/devicetree/bindings/arm/mediatek.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v2 09/11] ARM: dts: mediatek: add basic support for MT6572 SoC
2025-06-26 8:54 ` [PATCH v2 09/11] ARM: dts: mediatek: add basic support for MT6572 SoC Max Shevchenko via B4 Relay
@ 2025-06-30 7:40 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 22+ messages in thread
From: AngeloGioacchino Del Regno @ 2025-06-30 7:40 UTC (permalink / raw)
To: wctrl, Greg Kroah-Hartman, Jiri Slaby, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
Thomas Gleixner, Daniel Lezcano, Wim Van Sebroeck, Guenter Roeck,
Sean Wang, Russell King
Cc: linux-kernel, linux-serial, devicetree, linux-arm-kernel,
linux-mediatek, linux-watchdog
Il 26/06/25 10:54, Max Shevchenko via B4 Relay ha scritto:
> From: Max Shevchenko <wctrl@proton.me>
>
> Add basic support for the MediaTek MT6572 SoC.
>
> Signed-off-by: Max Shevchenko <wctrl@proton.me>
> ---
> arch/arm/boot/dts/mediatek/mt6572.dtsi | 109 +++++++++++++++++++++++++++++++++
> 1 file changed, 109 insertions(+)
>
> diff --git a/arch/arm/boot/dts/mediatek/mt6572.dtsi b/arch/arm/boot/dts/mediatek/mt6572.dtsi
> new file mode 100644
> index 0000000000000000000000000000000000000000..b4fa376619a58cacd33ef556f80c1a4f7126c4f5
> --- /dev/null
> +++ b/arch/arm/boot/dts/mediatek/mt6572.dtsi
> @@ -0,0 +1,109 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * Copyright (c) 2025 Max Shevchenko <wctrl@proton.me>
> + */
> +
> +#include <dt-bindings/interrupt-controller/irq.h>
> +#include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> +/ {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "mediatek,mt6572";
Please, remove this compatible as it's anyway going to be overridden in all of the
board specific devicetrees; after which:
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Cheers!
Angelo
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v2 01/11] dt-bindings: serial: mediatek,uart: add MT6572
2025-06-26 8:53 ` [PATCH v2 01/11] dt-bindings: serial: mediatek,uart: add MT6572 Max Shevchenko via B4 Relay
@ 2025-06-30 7:40 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 22+ messages in thread
From: AngeloGioacchino Del Regno @ 2025-06-30 7:40 UTC (permalink / raw)
To: wctrl, Greg Kroah-Hartman, Jiri Slaby, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
Thomas Gleixner, Daniel Lezcano, Wim Van Sebroeck, Guenter Roeck,
Sean Wang, Russell King
Cc: linux-kernel, linux-serial, devicetree, linux-arm-kernel,
linux-mediatek, linux-watchdog, Krzysztof Kozlowski
Il 26/06/25 10:53, Max Shevchenko via B4 Relay ha scritto:
> From: Max Shevchenko <wctrl@proton.me>
>
> Add a compatible string for serial on the MT6572 SoC.
>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Signed-off-by: Max Shevchenko <wctrl@proton.me>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v2 04/11] dt-bindings: watchdog: mediatek,mtk-wdt: add MT6572
2025-06-26 8:53 ` [PATCH v2 04/11] dt-bindings: watchdog: mediatek,mtk-wdt: " Max Shevchenko via B4 Relay
2025-06-27 21:22 ` Rob Herring (Arm)
@ 2025-06-30 13:29 ` Guenter Roeck
1 sibling, 0 replies; 22+ messages in thread
From: Guenter Roeck @ 2025-06-30 13:29 UTC (permalink / raw)
To: wctrl
Cc: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
Thomas Gleixner, Daniel Lezcano, Wim Van Sebroeck, Sean Wang,
Russell King, linux-kernel, linux-serial, devicetree,
linux-arm-kernel, linux-mediatek, linux-watchdog
On Thu, Jun 26, 2025 at 11:53:57AM +0300, Max Shevchenko via B4 Relay wrote:
> From: Max Shevchenko <wctrl@proton.me>
>
> Add a compatible string for watchdog on the MT6572 SoC.
>
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Signed-off-by: Max Shevchenko <wctrl@proton.me>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
> ---
> Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml
> index 8d2520241e37f0e8a7526cbc99d5aa0d4edc9a55..ba0bfd73ab62a86befead007d4b7d2a870b81a0c 100644
> --- a/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml
> @@ -34,6 +34,7 @@ properties:
> - items:
> - enum:
> - mediatek,mt2701-wdt
> + - mediatek,mt6572-wdt
> - mediatek,mt6582-wdt
> - mediatek,mt6797-wdt
> - mediatek,mt7622-wdt
>
> --
> 2.50.0
>
>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v2 05/11] dt-bindings: vendor-prefixes: add JTY
2025-06-26 8:53 ` [PATCH v2 05/11] dt-bindings: vendor-prefixes: add JTY Max Shevchenko via B4 Relay
2025-06-27 21:23 ` Rob Herring (Arm)
@ 2025-06-30 13:30 ` Guenter Roeck
1 sibling, 0 replies; 22+ messages in thread
From: Guenter Roeck @ 2025-06-30 13:30 UTC (permalink / raw)
To: wctrl
Cc: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
Thomas Gleixner, Daniel Lezcano, Wim Van Sebroeck, Sean Wang,
Russell King, linux-kernel, linux-serial, devicetree,
linux-arm-kernel, linux-mediatek, linux-watchdog
On Thu, Jun 26, 2025 at 11:53:58AM +0300, Max Shevchenko via B4 Relay wrote:
> From: Max Shevchenko <wctrl@proton.me>
>
> JTY produced low-cost Android tablets based on various
> MediaTek MT65xx SoCs.
>
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Signed-off-by: Max Shevchenko <wctrl@proton.me>
Acked-by: Guenter Roeck <linux@roeck-us.net>
> ---
> Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> index 86f6a19b28ae217643bf7a63a471f74819d18238..517bd129288c96483ffe358127ce8e16f60d902b 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> @@ -782,6 +782,8 @@ patternProperties:
> description: Jide Tech
> "^joz,.*":
> description: JOZ BV
> + "^jty,.*":
> + description: JTY
> "^kam,.*":
> description: Kamstrup A/S
> "^karo,.*":
>
> --
> 2.50.0
>
>
^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2025-06-30 13:48 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-26 8:53 [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC Max Shevchenko via B4 Relay
2025-06-26 8:53 ` [PATCH v2 01/11] dt-bindings: serial: mediatek,uart: add MT6572 Max Shevchenko via B4 Relay
2025-06-30 7:40 ` AngeloGioacchino Del Regno
2025-06-26 8:53 ` [PATCH v2 02/11] dt-bindings: interrupt-controller: mediatek,mt6577-sysirq: " Max Shevchenko via B4 Relay
2025-06-27 21:22 ` Rob Herring (Arm)
2025-06-26 8:53 ` [PATCH v2 03/11] dt-bindings: timer: mediatek: " Max Shevchenko via B4 Relay
2025-06-27 21:22 ` Rob Herring (Arm)
2025-06-26 8:53 ` [PATCH v2 04/11] dt-bindings: watchdog: mediatek,mtk-wdt: " Max Shevchenko via B4 Relay
2025-06-27 21:22 ` Rob Herring (Arm)
2025-06-30 13:29 ` Guenter Roeck
2025-06-26 8:53 ` [PATCH v2 05/11] dt-bindings: vendor-prefixes: add JTY Max Shevchenko via B4 Relay
2025-06-27 21:23 ` Rob Herring (Arm)
2025-06-30 13:30 ` Guenter Roeck
2025-06-26 8:53 ` [PATCH v2 06/11] dt-bindings: arm: mediatek: add boards based on the MT6572 SoC Max Shevchenko via B4 Relay
2025-06-27 21:23 ` Rob Herring (Arm)
2025-06-26 8:54 ` [PATCH v2 07/11] ARM: mediatek: add board_dt_compat entry for " Max Shevchenko via B4 Relay
2025-06-26 8:54 ` [PATCH v2 08/11] ARM: mediatek: add MT6572 smp bring up code Max Shevchenko via B4 Relay
2025-06-26 8:54 ` [PATCH v2 09/11] ARM: dts: mediatek: add basic support for MT6572 SoC Max Shevchenko via B4 Relay
2025-06-30 7:40 ` AngeloGioacchino Del Regno
2025-06-26 8:54 ` [PATCH v2 10/11] ARM: dts: mediatek: add basic support for JTY D101 board Max Shevchenko via B4 Relay
2025-06-26 8:54 ` [PATCH v2 11/11] ARM: dts: mediatek: add basic support for Lenovo A369i board Max Shevchenko via B4 Relay
2025-06-26 19:53 ` [PATCH v2 00/11] ARM: Add support for MediaTek MT6572 SoC Rob Herring (Arm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).