From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796310099; b=AXqyUwOt8+UIzI4SFHs2vGoNAkrLPYbTOdTedomeAipsYEmxWtWkKS8e3W5nOfEvnmDa r//vfXpI1NQ5fCNgJGyQBWRRY0VCtiZcrvqo0Sq93IMr1v27/vw8xbfJGVJ2OcMdI8XO1 8ZDql1yzSwppa9svp07pJHUN1ioB2TtMcq1sI1Xos+iMFJD+A5pVSeqDPUtmGrW1Mj9C+ q/qVTekwnrPCFqsmzl1pOrpLnuTf1Lyvc9cqCFTGSh/fOvxg3X7XF+1O7/Jh7oTBLP8LN NBKwYB0zm0+eH+LKT4JprgmaSmoHJvC+oXa9cMPiBCi9ad/TVNQnzGqONvN1iRt6zjA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796310099; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=ds5lc09OvcsPb/+s6U6txAcjNRzIYU7UvSYgYEb0HYA=; b=gqMAocELmf2nDVbh8sSSf18ut/Bw/JdVdI7BfbDhmhqXVkE2KUJlu35y/Br0jDgkRmxA p+t1WW6QeHAr02uTvjIj+fx9cZXYXjfoO988EqK2sCfmtxQLB9ms4NWJTRQ1qdvmKKEzL /JDuikqCFH++EPlxIwE4MmNJ0ZAokzdndp4/Bcyn4rpb1oh5WcJkIyhV81+Ukld/iWd3y WjyA2UrEvo4PA2ZynPy42HGHm89koS/17JXgiC8KxdevT/AGLm2xRXTbXkD3p/aLf8aMt NZPrLzhJbHbKBCcUelEDbUxx3scsYysUsBz67ftEzepAl08yJpkmBnb3UBFzykmkg9Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Lu8EJd07; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E1A01606B27C for ; Thu, 3 Dec 2026 15:01:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Lu8EJd07 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BA8F1F00923; Thu, 3 Dec 2026 15:01:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796310098; bh=ds5lc09OvcsPb/+s6U6txAcjNRzIYU7UvSYgYEb0HYA=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Lu8EJd07P2K3Pny8W5Bt5Bx23xJ1lUx9dJsq/y1oTG6KdCbnfiO/zj3/xEvUyM08Q CPOQ2gNsijF7x8vGVfj9B2kxBHBk8pKEiVqFnQGy16robX4fvAAxF74vgW3BzgXtuR 1bnCDQNoZodzTW0O6Xy8KOmRRwu6cRozy5tkbURDwljdxTQRM0W4FNzvIDQKEKKYYO pXLorMMluDiTLTD/kaeOZBhGbBuu6uXBBhVAJz29WvDxQfL2Ol0EvpmI4kjGBoGvJO tfMI1EEE4Jink7W97vSiH62JOsxqQjvnBZLTUWOjHJsYVKNtZSj3ptoZstN+RZJZNu 1AGUKI5Rvk7Ng== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [RFC PATCH v2 2/4] arm: novatek: Add NT9856x SoC support Reply-To: sashiko-reviews@lists.linux.dev To: "Evan Zane" , devicetree@vger.kernel.org Cc: robh@kernel.org, conor+dt@kernel.org In-Reply-To: References: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 15:01:37 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 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" > =20 > source "arch/arm/mach-nomadik/Kconfig" > =20 > +source "arch/arm/mach-novatek/Kconfig" > + > source "arch/arm/mach-npcm/Kconfig" > =20 > 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=3Dy 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. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/cover.1796308246.gi= t.evan.zean@fastmail.com?part=3D2