From: sashiko-bot@kernel.org
To: "Daniel Golle" <daniel@makrotopia.org>
Cc: linux-input@vger.kernel.org, robh@kernel.org,
conor+dt@kernel.org, dmitry.torokhov@gmail.com,
devicetree@vger.kernel.org
Subject: Re: [PATCH v2 5/5] Input: hynitron-cst816x: power sequence with the panel
Date: Fri, 02 Oct 2026 13:26:53 +0000 [thread overview]
Message-ID: <20261002132653.C06DB1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <67e9a67e17a977053eaacef203416473f4c63968.1790944534.git.daniel@makrotopia.org>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] kconfig: built-in driver links to module due to incomplete DRM_PANEL dependency
--
commit 334717615b8688937194889ec9606ffff8c712fd
Author: Daniel Golle <daniel@makrotopia.org>
Input: hynitron-cst816x: power sequence with the panel
Boards which mount the controller on the panel feed it from the
panel's rail, where a reset and the first interrupts are only
meaningful once the panel is powered. Register as a DRM panel follower
when the device tree points at a panel, so that the reset stays
asserted and the interrupt masked until the panel is prepared, and a
pressed key is released before the panel goes down again.
> diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
> index 9b9ae8ac3f7fd..0beb499e24f20 100644
> --- a/drivers/input/touchscreen/Kconfig
> +++ b/drivers/input/touchscreen/Kconfig
> @@ -478,6 +478,8 @@ config TOUCHSCREEN_HYNITRON_CSTXXX
> config TOUCHSCREEN_HYNITRON_CST816X
> tristate "Hynitron CST816x touchscreen"
> depends on I2C
> + # We call into panel code, so if DRM=m, this can't be 'y'
> + depends on DRM || !DRM
[Severity: Low]
Does this allow a configuration where the driver is built-in but links to a
module?
The driver relies on devm_drm_panel_add_follower() from the drm_panel
framework. If DRM=y but DRM_PANEL=m, and TOUCHSCREEN_HYNITRON_CST816X=y, the
built-in touchscreen driver will have an unresolved external reference to
devm_drm_panel_add_follower() in drm_panel.ko, causing a build linking
failure.
Should this dependency be tied directly to DRM_PANEL instead, such as
depends on DRM_PANEL || !DRM_PANEL?
> help
> Say Y here if you have a touchscreen using a Hynitron
> CST816x series touchscreen controller.
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1790944534.git.daniel@makrotopia.org?part=5
prev parent reply other threads:[~2026-10-02 13:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-02 12:47 [PATCH v2 0/5] Input: hynitron-cst816x: axes, gesture keys and panel power Daniel Golle
2026-10-02 12:47 ` [PATCH v2 1/5] dt-bindings: input: touchscreen: hynitron,cst816x: axes and panel Daniel Golle
2026-10-04 7:24 ` Krzysztof Kozlowski
2026-10-04 7:29 ` Daniel Golle
2026-10-04 7:33 ` Krzysztof Kozlowski
2026-10-02 12:47 ` [PATCH v2 2/5] Input: hynitron-cst816x: respect touchscreen DT properties Daniel Golle
2026-10-04 20:30 ` Oleh Kuzhylnyi
2026-10-02 12:47 ` [PATCH v2 3/5] Input: hynitron-cst816x: release gesture keys Daniel Golle
2026-10-04 21:36 ` Oleh Kuzhylnyi
[not found] ` <XXX-PASTE-MESSAGE-ID-OF-OLEHS-MAIL>
2026-10-05 17:07 ` Daniel Golle
2026-10-02 12:48 ` [PATCH v2 4/5] Input: hynitron-cst816x: time out gesture key release Daniel Golle
2026-10-02 13:14 ` sashiko-bot
2026-10-02 12:48 ` [PATCH v2 5/5] Input: hynitron-cst816x: power sequence with the panel Daniel Golle
2026-10-02 13:26 ` sashiko-bot [this message]
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=20261002132653.C06DB1F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=daniel@makrotopia.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.