Linux clock framework development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Muzaffer Kadir" <muzafferkadir@mainlining.org>
Cc: conor+dt@kernel.org, linux-input@vger.kernel.org,
	devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
	robh@kernel.org, linux-clk@vger.kernel.org, lee@kernel.org,
	dmitry.torokhov@gmail.com, mfd@lists.linux.dev
Subject: Re: [PATCH v3 18/19] dt-bindings: input: touchscreen: goodix: Add binding for GT970
Date: Mon, 21 Sep 2026 18:29:20 +0000	[thread overview]
Message-ID: <20260921182920.F3A7C1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260921-msm8952-initial-support-v3-18-b96fd3fe298b@mainlining.org>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] input: touchscreen: goodix: incomplete GT970 support causes config length mismatch
--

commit fb8dc3b0be08be515a9f9b03de04ea7da115bf6f
Author: Muzaffer Kadir <muzafferkadir@mainlining.org>

dt-bindings: input: touchscreen: goodix: Add binding for GT970

This commit adds the goodix,gt970 compatible string to the DT binding.
It specifies that the GT970 should fall back to the goodix,gt911
compatible string to use the GT911 driver configuration.

> diff --git a/Documentation/devicetree/bindings/input/touchscreen/goodix.yaml b/Documentation/devicetree/bindings/input/touchscreen/goodix.yaml
> index a26a54d63a1c0..4be2c137abd7c 100644
> --- a/Documentation/devicetree/bindings/input/touchscreen/goodix.yaml
> +++ b/Documentation/devicetree/bindings/input/touchscreen/goodix.yaml
> @@ -14,21 +14,26 @@ allOf:
>  
>  properties:
>    compatible:
[ ... ]
> +      - items:
> +          - enum:
> +              - goodix,gt970
> +          - const: goodix,gt911

[Severity: Medium]
Will this require a corresponding driver change to work correctly?

When the driver probes the device, it uses goodix_get_chip_data() to choose
configuration parameters based on the hardware ID read from the device, rather
than the DT compatible string.

Because "970" is missing from the goodix_chip_ids[] array in
drivers/input/touchscreen/goodix.c, it appears the driver will ignore this DT
fallback and apply the generic 240-byte configuration instead of GT911's
186-byte configuration.

Could this incorrect configuration length cause the driver to read or write
past the end of the configuration registers?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260921-msm8952-initial-support-v3-0-b96fd3fe298b@mainlining.org?part=18

  reply	other threads:[~2026-09-21 18:29 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21 18:18 [PATCH v3 00/19] Add Initial Support For MSM8952, Add General Mobile Shamrock Muzaffer Kadir via B4 Relay
2026-09-21 18:18 ` [PATCH v3 01/19] dt-bindings: clock: qcom: Add MSM8952 global clock controller Muzaffer Kadir via B4 Relay
2026-09-21 18:25   ` sashiko-bot
2026-09-25 13:39   ` Krzysztof Kozlowski
2026-09-21 18:18 ` [PATCH v3 02/19] clk: qcom: Add global clock controller driver for MSM8952 Muzaffer Kadir via B4 Relay
2026-09-21 18:44   ` sashiko-bot
2026-09-22 20:36   ` Abel Vesa
2026-09-21 18:18 ` [PATCH v3 03/19] dt-bindings: nvmem: Add compatible " Muzaffer Kadir via B4 Relay
2026-09-21 18:21   ` sashiko-bot
2026-09-21 18:18 ` [PATCH v3 04/19] dt-bindings: power: rpmpd: Add MSM8952 power domains Muzaffer Kadir via B4 Relay
2026-09-21 18:23   ` sashiko-bot
2026-09-27 17:47   ` Krzysztof Kozlowski
2026-09-28 13:57   ` Ulf Hansson
2026-09-21 18:18 ` [PATCH v3 05/19] dt-bindings: mmc: sdhci-msm: Add MSM8952 compatible Muzaffer Kadir via B4 Relay
2026-09-21 18:22   ` sashiko-bot
2026-09-27 17:47   ` Krzysztof Kozlowski
2026-09-29 13:34   ` Ulf Hansson
2026-09-21 18:18 ` [PATCH v3 06/19] dt-bindings: vendor-prefixes: Add General Mobile Muzaffer Kadir via B4 Relay
2026-09-21 18:21   ` sashiko-bot
2026-09-21 18:18 ` [PATCH v3 07/19] dt-bindings: arm: qcom: Document MSM8952 SoC binding Muzaffer Kadir via B4 Relay
2026-09-21 18:22   ` sashiko-bot
2026-09-21 18:18 ` [PATCH v3 08/19] dt-bindings: iommu: qcom,iommu: Add MSM8952 IOMMU to SMMUv2 compatibles Muzaffer Kadir via B4 Relay
2026-09-21 18:22   ` sashiko-bot
2026-09-27 17:49   ` Krzysztof Kozlowski
2026-09-21 18:19 ` [PATCH v3 09/19] dt-bindings: mfd: qcom,tcsr: Add compatible for MSM8952 Muzaffer Kadir via B4 Relay
2026-09-21 18:25   ` sashiko-bot
2026-09-27 17:48   ` Krzysztof Kozlowski
2026-09-21 18:19 ` [PATCH v3 10/19] dt-bindings: display/msm: qcom, mdp5: Add MSM8952 compatible Muzaffer Kadir via B4 Relay
2026-09-21 18:24   ` sashiko-bot
2026-09-27 17:48   ` Krzysztof Kozlowski
2026-09-21 18:19 ` [PATCH v3 11/19] dt-bindings: firmware: qcom,scm: Document MSM8952 SCM Muzaffer Kadir via B4 Relay
2026-09-21 18:21   ` sashiko-bot
2026-09-27 17:48   ` Krzysztof Kozlowski
2026-09-21 18:19 ` [PATCH v3 12/19] dt-bindings: clock: qcom,rpmcc: Add MSM8952 compatible Muzaffer Kadir via B4 Relay
2026-09-21 18:26   ` sashiko-bot
2026-09-27 17:50   ` Krzysztof Kozlowski
2026-09-21 18:19 ` [PATCH v3 13/19] drm: msm: mdp5: Add MDP5 configuration for MSM8952 Muzaffer Kadir via B4 Relay
2026-09-21 18:45   ` sashiko-bot
2026-10-01  1:57   ` Dmitry Baryshkov
2026-09-21 18:19 ` [PATCH v3 14/19] soc: qcom: ubwc: Add UBWC config " Muzaffer Kadir via B4 Relay
2026-09-21 18:22   ` sashiko-bot
2026-10-01  1:58   ` Dmitry Baryshkov
2026-09-21 18:19 ` [PATCH v3 15/19] dt-bindings: thermal: tsens: Add MSM8952 Muzaffer Kadir via B4 Relay
2026-09-21 18:26   ` sashiko-bot
2026-09-27 17:51   ` Krzysztof Kozlowski
2026-09-21 18:19 ` [PATCH v3 16/19] thermal: qcom: tsens: Add support for MSM8952 tsens Muzaffer Kadir via B4 Relay
2026-09-21 18:30   ` sashiko-bot
2026-09-29  7:11   ` Daniel Lezcano
2026-09-29 12:09     ` Muzaffer Kadir
2026-09-21 18:19 ` [PATCH v3 17/19] arm64: dts: qcom: Add initial support for MSM8952 Muzaffer Kadir via B4 Relay
2026-09-21 18:34   ` sashiko-bot
2026-09-21 18:19 ` [PATCH v3 18/19] dt-bindings: input: touchscreen: goodix: Add binding for GT970 Muzaffer Kadir via B4 Relay
2026-09-21 18:29   ` sashiko-bot [this message]
2026-09-27 17:52   ` Krzysztof Kozlowski
2026-09-21 18:19 ` [PATCH v3 19/19] arm64: dts: qcom: generalmobile-shamrock: new device Muzaffer Kadir via B4 Relay
2026-09-21 18:37   ` sashiko-bot
2026-10-03  0:46 ` [PATCH v3 00/19] Add Initial Support For MSM8952, Add General Mobile Shamrock Dmitry Baryshkov
2026-10-05 14:00   ` Muzaffer Kadir
2026-10-06  8:53     ` Dmitry Baryshkov

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=20260921182920.F3A7C1F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=lee@kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=mfd@lists.linux.dev \
    --cc=muzafferkadir@mainlining.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox