Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] dt-bindings: input: redundant binding in subject and invalid
  commit message
- [Low] dt-bindings: input: jadard,jd9365tx missing interrupts and
  supply mismatch
--

commit 5025f445b383095ff3ce67c95d18c172670d9482
Author: Hefei <[email protected]>

> dt-bindings: input: add Jadard JD9365TX touchscreen binding
>
> Signed-off-by: Hefei <[email protected]>
> Co-authored-by: Cursor <[email protected]>

[Severity: Low]
Under DT binding conventions, the "dt-bindings:" prefix already indicates
that the patch adds a binding, so the trailing word "binding" in the
subject is redundant (for example, "dt-bindings: input: touchscreen: add
Jadard JD9365TX").

The commit also lacks a changelog body describing the hardware and why the
binding is being added, and uses a non-standard Co-authored-by: trailer for
an AI tool, both of which trigger checkpatch.pl warnings.  Per
Documentation/process/coding-assistants.rst, AI coding assistants cannot
certify the Developer Certificate of Origin as co-authors and should be
disclosed in the changelog or with an Assisted-by: trailer instead.

> diff --git 
> a/Documentation/devicetree/bindings/input/touchscreen/jadard,jd9365tx.yaml 
> b/Documentation/devicetree/bindings/input/touchscreen/jadard,jd9365tx.yaml
> new file mode 100644
> index 0000000000000..aaf2a7e00ff04
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/input/touchscreen/jadard,jd9365tx.yaml
> @@ -0,0 +1,64 @@

[ ... ]

> +description: |
> +  In-cell touch integrated with Jadard JD9365TX DSI panels. The module FPC
> +  often exposes only I2C (no interrupt GPIO); the driver polls coordinate
> +  reports. The touch controller is commonly powered from the same rails as
> +  the panel; those supplies should still be described here when dedicated
> +  regulators exist.
> +
> +allOf:
> +  - $ref: touchscreen.yaml#
> +
> +properties:
> +  compatible:
> +    const: jadard,jd9365tx
> +
> +  reg:
> +    maxItems: 1
> +
> +  poll-interval: true
> +
> +  vdd-supply:
> +    description: Analog / touch power supply
> +
> +  iovcc-supply:
> +    description: Digital I/O power supply
> +
> +  reset-gpios:
> +    maxItems: 1
> +
> +required:
> +  - compatible
> +  - reg
> +  - vdd-supply
> +  - iovcc-supply
> +
> +unevaluatedProperties: false

[Severity: Low]
Should this schema allow an optional interrupts property and reconcile the
power supply requirements with the description?

The description notes that module FPCs "often" omit the interrupt GPIO and
that the driver polls, but DT bindings describe hardware capabilities
rather than a specific Linux driver implementation or single module FPC.
With unevaluatedProperties: false and no interrupts property, any board
that wires the JD9365TX interrupt line will fail dt_binding_check.

In addition, the description states that the supplies should be described
"when dedicated regulators exist", whereas the required list demands
vdd-supply and iovcc-supply unconditionally.

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=2

Reply via email to