From: sashiko-bot@kernel.org
To: "Evan Zane" <evan.zean@fastmail.com>, devicetree@vger.kernel.org
Cc: robh@kernel.org, conor+dt@kernel.org
Subject: Re: [RFC PATCH v3 2/4] arm: novatek: Add NT9856x SoC support
Date: Thu, 03 Dec 2026 15:50:31 +0000 [thread overview]
Message-ID: <sashiko-outbox-248148@kernel.org> (raw)
In-Reply-To: <ed7f315745d79e3f223fb8a62c8babb0d2ba9e3d.1796311961.git.evan.zean@fastmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] ARM: novatek: add Kconfig-only mach-novatek instead of
Kconfig.platforms
--
commit ba7769f3cbe176b484891f4ef714978151bd6f59
Author: Evan Zane <evan.zean@fastmail.com>
arm: novatek: Add NT9856x SoC support
This commit adds the ARCH_NOVATEK and MACH_NT9856X Kconfig options for
Novatek NT98560, NT98562, and NT98566 ARMv7 SoCs under a new
arch/arm/mach-novatek/ directory and registers the file in MAINTAINERS.
[ ... ]
> diff --git a/arch/arm/mach-novatek/Kconfig b/arch/arm/mach-novatek/Kconfig
> new file mode 100644
> index 0000000000000..0e0f2f9ad3c54
> --- /dev/null
> +++ b/arch/arm/mach-novatek/Kconfig
> @@ -0,0 +1,21 @@
> +# 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_GENERIC_DOMAINS if PM
> + help
> + Support for the Novatek NT98560, NT98562 and NT98566 SoCs.
> +
> +endif
[Severity: Low]
Should ARCH_NOVATEK and MACH_NT9856X be placed in arch/arm/Kconfig.platforms
instead of creating a new arch/arm/mach-novatek/ directory?
This platform has no machine-specific C code or Makefile. Since commit
20e3ab9ecb37 ("ARM: Kconfig: move platform selection into its own Kconfig
file"), DT-only ARM platforms are consolidated in arch/arm/Kconfig.platforms,
which already hosts menuconfig/if blocks like ARCH_MOXART and ARCH_SUNPLUS.
Moving ARCH_NOVATEK between ARCH_MOXART and ARCH_NSPIRE in
arch/arm/Kconfig.platforms avoids a Kconfig-only mach-* directory, an extra
source line in arch/arm/Kconfig, and a single-file entry in MAINTAINERS.
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1796311961.git.evan.zean@fastmail.com?part=2
next prev parent reply other threads:[~2026-12-03 15:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 15:34 [RFC PATCH v3 0/4] ARM: Add initial support for Novatek NT9856x SoCs Evan Zane
2026-12-03 15:34 ` [RFC PATCH v3 1/4] dt-bindings: arm: novatek: Document NT98566 EVB 2V3 Evan Zane
2026-12-03 15:34 ` [RFC PATCH v3 2/4] arm: novatek: Add NT9856x SoC support Evan Zane
2026-12-03 15:50 ` sashiko-bot [this message]
2026-12-03 15:34 ` [RFC PATCH v3 3/4] arm: dts: novatek: Add NT98560, NT98562 and NT98566 SoCs Evan Zane
2026-12-03 15:59 ` sashiko-bot
2026-12-03 15:34 ` [RFC PATCH v3 4/4] arm: dts: novatek: Add NT98566 EVB 2V3 Evan Zane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-248148@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=evan.zean@fastmail.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox