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 v2 2/4] arm: novatek: Add NT9856x SoC support
Date: Thu, 03 Dec 2026 15:01:37 +0000 [thread overview]
Message-ID: <sashiko-outbox-248048@kernel.org> (raw)
In-Reply-To: <b553807aeaed824e9f51b0cabbfd97dce5987b5f.1796308246.git.evan.zean@fastmail.com>
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
next prev parent reply other threads:[~2026-12-03 15:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 15:00 ` sashiko-bot
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 [this message]
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
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-248048@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