* [RFC PATCH v2 1/4] dt-bindings: arm: novatek: Document NT9856x platforms
2026-12-03 14:49 [RFC PATCH v2 0/4] ARM: Add initial support for Novatek NT9856x SoCs Evan Zane
@ 2026-12-03 14:49 ` Evan Zane
2026-12-03 15:00 ` sashiko-bot
2026-12-03 14:49 ` [RFC PATCH v2 2/4] arm: novatek: Add NT9856x SoC support Evan Zane
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Evan Zane @ 2026-12-03 14:49 UTC (permalink / raw)
To: linux-arm-kernel, devicetree
Cc: Russell King, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Arnd Bergmann, Alexandre Belloni, Linus Walleij, Drew Fustini,
soc, linux-kernel, Evan Zane
Document the NT98560 and NT98562 SoCs and the NT98566 EVB 2V3.
The EVB lists its board compatible followed by the NT98566 SoC.
Signed-off-by: Evan Zane <evan.zean@fastmail.com>
---
.../devicetree/bindings/arm/novatek.yaml | 32 +++++++++++++++++++
MAINTAINERS | 6 ++++
2 files changed, 38 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/novatek.yaml
diff --git a/Documentation/devicetree/bindings/arm/novatek.yaml b/Documentation/devicetree/bindings/arm/novatek.yaml
new file mode 100644
index 000000000000..17c7bd69be90
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/novatek.yaml
@@ -0,0 +1,32 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/novatek.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Novatek ARM platforms
+
+maintainers:
+ - Evan Zane <evan.zean@fastmail.com>
+
+description:
+ The Novatek NT98560, NT98562 and NT98566 SoCs combine an ARM Cortex-A9
+ processor with integrated peripheral controllers.
+
+properties:
+ $nodename:
+ const: '/'
+
+ compatible:
+ oneOf:
+ - enum:
+ - novatek,nt98560
+ - novatek,nt98562
+ - items:
+ - const: novatek,nt98566-evb-2v3
+ - const: novatek,nt98566
+
+required:
+ - compatible
+
+additionalProperties: true
diff --git a/MAINTAINERS b/MAINTAINERS
index 84cb98ef4c49..ab5350eaacc5 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3369,6 +3369,12 @@ F: drivers/rtc/rtc-ab8500.c
F: drivers/rtc/rtc-pl031.c
F: drivers/soc/ux500/
+ARM/NOVATEK SOC SUPPORT
+M: Evan Zane <evan.zean@fastmail.com>
+L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
+S: Maintained
+F: Documentation/devicetree/bindings/arm/novatek.yaml
+
ARM/NUVOTON MA35 ARCHITECTURE
M: Jacky Huang <ychuang3@nuvoton.com>
M: Shan-Chun Hung <schung@nuvoton.com>
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [RFC PATCH v2 1/4] dt-bindings: arm: novatek: Document NT9856x platforms
2026-12-03 14:49 ` [RFC PATCH v2 1/4] dt-bindings: arm: novatek: Document NT9856x platforms Evan Zane
@ 2026-12-03 15:00 ` sashiko-bot
0 siblings, 0 replies; 7+ messages in thread
From: sashiko-bot @ 2026-12-03 15:00 UTC (permalink / raw)
To: Evan Zane, devicetree; +Cc: robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] dt-bindings: arm: novatek: bare SoC compatibles without board
compatibles
--
commit b7d48b07f62816395302d4c9dd89b2f9a359218b
Author: Evan Zane <evan.zean@fastmail.com>
dt-bindings: arm: novatek: Document NT9856x platforms
This commit adds the initial Devicetree platform binding for Novatek NT9856x
ARM SoCs and a corresponding MAINTAINERS entry.
> diff --git a/Documentation/devicetree/bindings/arm/novatek.yaml b/Documentation/devicetree/bindings/arm/novatek.yaml
> new file mode 100644
> index 0000000000000..17c7bd69be907
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/novatek.yaml
> @@ -0,0 +1,32 @@
[ ... ]
> +properties:
> + $nodename:
> + const: '/'
> +
> + compatible:
> + oneOf:
> + - enum:
> + - novatek,nt98560
> + - novatek,nt98562
> + - items:
> + - const: novatek,nt98566-evb-2v3
> + - const: novatek,nt98566
[Severity: Medium]
Should novatek,nt98560 and novatek,nt98562 be allowed as bare root-node
compatibles without a board compatible?
For a new ARM platform, the root node describes a board and should list a
board compatible followed by the SoC compatible. Since dtschema expands a
bare enum to a single-element array, this accepts standalone SoC compatibles
and makes dtbs_check reject board-plus-SoC compatible lists for these SoCs.
Either pair novatek,nt98560 and novatek,nt98562 with concrete board
compatibles using items lists, or omit them from novatek.yaml until boards
using those SoCs are added.
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1796308246.git.evan.zean@fastmail.com?part=1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [RFC PATCH v2 2/4] arm: novatek: Add NT9856x SoC support
2026-12-03 14:49 [RFC PATCH v2 0/4] ARM: Add initial support for Novatek NT9856x SoCs Evan Zane
2026-12-03 14:49 ` [RFC PATCH v2 1/4] dt-bindings: arm: novatek: Document NT9856x platforms Evan Zane
@ 2026-12-03 14:49 ` Evan Zane
2026-12-03 15:01 ` sashiko-bot
2026-12-03 14:49 ` [RFC PATCH v2 3/4] arm: dts: novatek: Add NT98560, NT98562 and NT98566 SoCs Evan Zane
2026-12-03 14:49 ` [RFC PATCH v2 4/4] arm: dts: novatek: Add NT98566 EVB 2V3 Evan Zane
3 siblings, 1 reply; 7+ messages in thread
From: Evan Zane @ 2026-12-03 14:49 UTC (permalink / raw)
To: linux-arm-kernel, devicetree
Cc: Russell King, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Arnd Bergmann, Alexandre Belloni, Linus Walleij, Drew Fustini,
soc, linux-kernel, Evan Zane
Add the ARMv7 platform option for NT98560, NT98562 and NT98566.
Signed-off-by: Evan Zane <evan.zean@fastmail.com>
---
MAINTAINERS | 1 +
arch/arm/Kconfig | 2 ++
arch/arm/mach-novatek/Kconfig | 22 ++++++++++++++++++++++
3 files changed, 25 insertions(+)
create mode 100644 arch/arm/mach-novatek/Kconfig
diff --git a/MAINTAINERS b/MAINTAINERS
index ab5350eaacc5..42951d66a72c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3374,6 +3374,7 @@ M: Evan Zane <evan.zean@fastmail.com>
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
S: Maintained
F: Documentation/devicetree/bindings/arm/novatek.yaml
+F: arch/arm/mach-novatek/Kconfig
ARM/NUVOTON MA35 ARCHITECTURE
M: Jacky Huang <ychuang3@nuvoton.com>
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 0cc289a7184a..051ce5addff9 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -421,6 +421,8 @@ source "arch/arm/mach-mxs/Kconfig"
source "arch/arm/mach-nomadik/Kconfig"
+source "arch/arm/mach-novatek/Kconfig"
+
source "arch/arm/mach-npcm/Kconfig"
source "arch/arm/mach-omap1/Kconfig"
diff --git a/arch/arm/mach-novatek/Kconfig b/arch/arm/mach-novatek/Kconfig
new file mode 100644
index 000000000000..f81a07aae316
--- /dev/null
+++ b/arch/arm/mach-novatek/Kconfig
@@ -0,0 +1,22 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+menuconfig ARCH_NOVATEK
+ bool "Novatek SoC support"
+ depends on ARCH_MULTI_V7
+ help
+ Support for Novatek ARMv7 SoCs.
+
+if ARCH_NOVATEK
+
+config MACH_NT9856X
+ bool "Novatek NT9856x SoC support"
+ default ARCH_NOVATEK
+ select ARM_GIC
+ select ARM_GLOBAL_TIMER
+ select CACHE_L2X0
+ select PM
+ select PM_GENERIC_DOMAINS
+ help
+ Support for the Novatek NT98560, NT98562 and NT98566 SoCs.
+
+endif
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [RFC PATCH v2 2/4] arm: novatek: Add NT9856x SoC support
2026-12-03 14:49 ` [RFC PATCH v2 2/4] arm: novatek: Add NT9856x SoC support Evan Zane
@ 2026-12-03 15:01 ` sashiko-bot
0 siblings, 0 replies; 7+ messages in thread
From: sashiko-bot @ 2026-12-03 15:01 UTC (permalink / raw)
To: Evan Zane, devicetree; +Cc: robh, conor+dt
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] ARM: novatek: add Kconfig-only mach-novatek instead of
Kconfig.platforms
- [Low] ARM: novatek: MACH_NT9856X unconditionally selects user-visible
PM
--
commit 4af8701ec22b878af061541cc51e3c300386ec25
Author: Evan Zane <evan.zean@fastmail.com>
arm: novatek: Add NT9856x SoC support
This commit adds Kconfig options for Novatek ARMv7 SoCs (NT98560, NT98562,
and NT98566) under a new arch/arm/mach-novatek/Kconfig file and records it
in MAINTAINERS.
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 0cc289a7184ab..051ce5addff9e 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -421,6 +421,8 @@ source "arch/arm/mach-mxs/Kconfig"
>
> source "arch/arm/mach-nomadik/Kconfig"
>
> +source "arch/arm/mach-novatek/Kconfig"
> +
> source "arch/arm/mach-npcm/Kconfig"
>
> source "arch/arm/mach-omap1/Kconfig"
[Severity: Low]
Should ARCH_NOVATEK and MACH_NT9856X live in arch/arm/Kconfig.platforms
instead of adding a new Kconfig-only arch/arm/mach-novatek/ directory?
Since commit 20e3ab9ecb37 ("ARM: Kconfig: move platform selection into
its own Kconfig file"), DT-only platforms without machine C code belong
in arch/arm/Kconfig.platforms, avoiding the extra mach-novatek/
directory, Kconfig source line, and single-file MAINTAINERS entry.
> diff --git a/arch/arm/mach-novatek/Kconfig b/arch/arm/mach-novatek/Kconfig
> new file mode 100644
> index 0000000000000..f81a07aae3169
> --- /dev/null
> +++ b/arch/arm/mach-novatek/Kconfig
> @@ -0,0 +1,22 @@
[ ... ]
> +config MACH_NT9856X
> + bool "Novatek NT9856x SoC support"
> + default ARCH_NOVATEK
> + select ARM_GIC
> + select ARM_GLOBAL_TIMER
> + select CACHE_L2X0
> + select PM
> + select PM_GENERIC_DOMAINS
[Severity: Low]
Does MACH_NT9856X need to unconditionally select PM and
PM_GENERIC_DOMAINS?
PM is a user-visible option, so selecting it forces CONFIG_PM=y across
any multiplatform kernel with MACH_NT9856X enabled and prevents !PM
builds. Nothing in the tree or the NT9856x DT uses power domains, and
the commit message gives no boot-time requirement for it.
Other arch/arm platforms use "select PM_GENERIC_DOMAINS if PM", or these
selects can be dropped until a power-domain driver needs them.
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1796308246.git.evan.zean@fastmail.com?part=2
^ permalink raw reply [flat|nested] 7+ messages in thread
* [RFC PATCH v2 3/4] arm: dts: novatek: Add NT98560, NT98562 and NT98566 SoCs
2026-12-03 14:49 [RFC PATCH v2 0/4] ARM: Add initial support for Novatek NT9856x SoCs Evan Zane
2026-12-03 14:49 ` [RFC PATCH v2 1/4] dt-bindings: arm: novatek: Document NT9856x platforms Evan Zane
2026-12-03 14:49 ` [RFC PATCH v2 2/4] arm: novatek: Add NT9856x SoC support Evan Zane
@ 2026-12-03 14:49 ` Evan Zane
2026-12-03 14:49 ` [RFC PATCH v2 4/4] arm: dts: novatek: Add NT98566 EVB 2V3 Evan Zane
3 siblings, 0 replies; 7+ messages in thread
From: Evan Zane @ 2026-12-03 14:49 UTC (permalink / raw)
To: linux-arm-kernel, devicetree
Cc: Russell King, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Arnd Bergmann, Alexandre Belloni, Linus Walleij, Drew Fustini,
soc, linux-kernel, Evan Zane
Describe the shared Cortex-A9 CPU, interrupt controller, timers and
UART0. The NT98560 uses board-specific external DRAM. The NT98562
integrates 64 MiB of DDR2L. The pin-compatible NT98566 reuses its
description with 128 MiB of DDR3.
Signed-off-by: Evan Zane <evan.zean@fastmail.com>
---
MAINTAINERS | 1 +
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/novatek/Makefile | 1 +
arch/arm/boot/dts/novatek/nt98560.dtsi | 7 +++
arch/arm/boot/dts/novatek/nt98562.dtsi | 12 +++++
arch/arm/boot/dts/novatek/nt98566.dtsi | 11 ++++
arch/arm/boot/dts/novatek/nt9856x.dtsi | 75 ++++++++++++++++++++++++++
7 files changed, 108 insertions(+)
create mode 100644 arch/arm/boot/dts/novatek/Makefile
create mode 100644 arch/arm/boot/dts/novatek/nt98560.dtsi
create mode 100644 arch/arm/boot/dts/novatek/nt98562.dtsi
create mode 100644 arch/arm/boot/dts/novatek/nt98566.dtsi
create mode 100644 arch/arm/boot/dts/novatek/nt9856x.dtsi
diff --git a/MAINTAINERS b/MAINTAINERS
index 42951d66a72c..5351cdc60447 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3374,6 +3374,7 @@ M: Evan Zane <evan.zean@fastmail.com>
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
S: Maintained
F: Documentation/devicetree/bindings/arm/novatek.yaml
+F: arch/arm/boot/dts/novatek/
F: arch/arm/mach-novatek/Kconfig
ARM/NUVOTON MA35 ARCHITECTURE
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 28fba538d552..5165111e82f9 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -20,6 +20,7 @@ subdir-y += marvell
subdir-y += mediatek
subdir-y += microchip
subdir-y += moxa
+subdir-y += novatek
subdir-y += nspire
subdir-y += nuvoton
subdir-y += nvidia
diff --git a/arch/arm/boot/dts/novatek/Makefile b/arch/arm/boot/dts/novatek/Makefile
new file mode 100644
index 000000000000..a4e40e534e6a
--- /dev/null
+++ b/arch/arm/boot/dts/novatek/Makefile
@@ -0,0 +1 @@
+# SPDX-License-Identifier: GPL-2.0-only
diff --git a/arch/arm/boot/dts/novatek/nt98560.dtsi b/arch/arm/boot/dts/novatek/nt98560.dtsi
new file mode 100644
index 000000000000..ee59c9a964f7
--- /dev/null
+++ b/arch/arm/boot/dts/novatek/nt98560.dtsi
@@ -0,0 +1,7 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+
+#include "nt9856x.dtsi"
+
+/ {
+ compatible = "novatek,nt98560";
+};
diff --git a/arch/arm/boot/dts/novatek/nt98562.dtsi b/arch/arm/boot/dts/novatek/nt98562.dtsi
new file mode 100644
index 000000000000..7f65ecb975a6
--- /dev/null
+++ b/arch/arm/boot/dts/novatek/nt98562.dtsi
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+
+#include "nt9856x.dtsi"
+
+/ {
+ compatible = "novatek,nt98562";
+
+ memory@0 {
+ device_type = "memory";
+ reg = <0x0 0x04000000>;
+ };
+};
diff --git a/arch/arm/boot/dts/novatek/nt98566.dtsi b/arch/arm/boot/dts/novatek/nt98566.dtsi
new file mode 100644
index 000000000000..58bafdb37ec0
--- /dev/null
+++ b/arch/arm/boot/dts/novatek/nt98566.dtsi
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+
+#include "nt98562.dtsi"
+
+/ {
+ compatible = "novatek,nt98566";
+
+ memory@0 {
+ reg = <0x0 0x08000000>;
+ };
+};
diff --git a/arch/arm/boot/dts/novatek/nt9856x.dtsi b/arch/arm/boot/dts/novatek/nt9856x.dtsi
new file mode 100644
index 000000000000..c2f1876ab595
--- /dev/null
+++ b/arch/arm/boot/dts/novatek/nt9856x.dtsi
@@ -0,0 +1,75 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+
+#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ interrupt-parent = <&gic>;
+
+ periph_clk: clock-periph {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <120000000>;
+ };
+
+ cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ cpu0: cpu@0 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a9";
+ reg = <0>;
+ next-level-cache = <&l2>;
+ };
+ };
+
+ pmu {
+ compatible = "arm,cortex-a9-pmu";
+ interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-affinity = <&cpu0>;
+ };
+
+ soc {
+ compatible = "simple-bus";
+ ranges;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ uart0: serial@f0290000 {
+ compatible = "ns16550a";
+ reg = <0xf0290000 0x1000>;
+ clock-frequency = <24000000>;
+ interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
+ reg-io-width = <4>;
+ reg-shift = <2>;
+
+ status = "disabled";
+ };
+
+ timer@ffd00200 {
+ compatible = "arm,cortex-a9-global-timer";
+ reg = <0xffd00200 0x20>;
+ clocks = <&periph_clk>;
+ interrupts = <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_EDGE_RISING)>;
+ };
+
+ gic: interrupt-controller@ffd01000 {
+ compatible = "arm,cortex-a9-gic";
+ reg = <0xffd01000 0x1000>,
+ <0xffd00100 0x100>;
+ #address-cells = <0>;
+ #interrupt-cells = <3>;
+ interrupt-controller;
+ };
+
+ l2: cache-controller@ffe00000 {
+ compatible = "arm,pl310-cache";
+ reg = <0xffe00000 0x1000>;
+ cache-level = <2>;
+ cache-unified;
+ };
+ };
+};
^ permalink raw reply related [flat|nested] 7+ messages in thread* [RFC PATCH v2 4/4] arm: dts: novatek: Add NT98566 EVB 2V3
2026-12-03 14:49 [RFC PATCH v2 0/4] ARM: Add initial support for Novatek NT9856x SoCs Evan Zane
` (2 preceding siblings ...)
2026-12-03 14:49 ` [RFC PATCH v2 3/4] arm: dts: novatek: Add NT98560, NT98562 and NT98566 SoCs Evan Zane
@ 2026-12-03 14:49 ` Evan Zane
3 siblings, 0 replies; 7+ messages in thread
From: Evan Zane @ 2026-12-03 14:49 UTC (permalink / raw)
To: linux-arm-kernel, devicetree
Cc: Russell King, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Arnd Bergmann, Alexandre Belloni, Linus Walleij, Drew Fustini,
soc, linux-kernel, Evan Zane
Describe the NT98566 EVB 2V3 and use UART0 on its debug header as
the serial console.
Signed-off-by: Evan Zane <evan.zean@fastmail.com>
---
arch/arm/boot/dts/novatek/Makefile | 1 +
arch/arm/boot/dts/novatek/nt98566-evb-2v3.dts | 21 +++++++++++++++++++
2 files changed, 22 insertions(+)
create mode 100644 arch/arm/boot/dts/novatek/nt98566-evb-2v3.dts
diff --git a/arch/arm/boot/dts/novatek/Makefile b/arch/arm/boot/dts/novatek/Makefile
index a4e40e534e6a..50144caea57f 100644
--- a/arch/arm/boot/dts/novatek/Makefile
+++ b/arch/arm/boot/dts/novatek/Makefile
@@ -1 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only
+dtb-$(CONFIG_MACH_NT9856X) += nt98566-evb-2v3.dtb
diff --git a/arch/arm/boot/dts/novatek/nt98566-evb-2v3.dts b/arch/arm/boot/dts/novatek/nt98566-evb-2v3.dts
new file mode 100644
index 000000000000..7293abcdf9e4
--- /dev/null
+++ b/arch/arm/boot/dts/novatek/nt98566-evb-2v3.dts
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/dts-v1/;
+
+#include "nt98566.dtsi"
+
+/ {
+ model = "Novatek NT98566 EVB 2V3";
+ compatible = "novatek,nt98566-evb-2v3", "novatek,nt98566";
+
+ aliases {
+ serial0 = &uart0;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+};
+
+&uart0 {
+ status = "okay";
+};
^ permalink raw reply related [flat|nested] 7+ messages in thread