Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: Hefei <3066883572@qq.com>, dri-devel@lists.freedesktop.org
Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org, dmitry.torokhov@gmail.com
Subject: Re: [PATCH v2 1/6] dt-bindings: display: add VIEWE JD9365TX panel binding
Date: Wed, 25 Nov 2026 02:20:41 +0000	[thread overview]
Message-ID: <sashiko-outbox-232403@kernel.org> (raw)
In-Reply-To: <tencent_EE81D0ED29E97716D56BDCF1A3C5AAE35B05@qq.com>

Thank you for your contribution! Sashiko AI review found 4 potential
issues to consider:
- [Medium] dt-bindings: display: panel: undocumented viewe vendor prefix
- [Medium] dt-bindings: display: panel: schema filename and $id mismatch
  compatible
- [Low] dt-bindings: display: panel: redundant subject, empty body, and
  bad trailer
- [Low] dt-bindings: display: panel: redundant panel-common.yaml
  properties
--

commit 23e321059ffa404a62a9dbc2300a4993242b19a7
Author: Hefei <3066883572@qq.com>

> dt-bindings: display: add VIEWE JD9365TX panel binding
>
> Signed-off-by: Hefei <3066883572@qq.com>
> Co-authored-by: Cursor <cursoragent@cursor.com>

[Severity: Low]
The dt-bindings: prefix already indicates a binding, so "binding" in the
subject line is redundant.  The commit message also has no description
body, and checkpatch.pl rejects Co-authored-by: (kernel commits use
Co-developed-by: paired with Signed-off-by: for human co-authors, or
Assisted-by: for tools).

> diff --git a/Documentation/devicetree/bindings/display/panel/viewe,jd9365tx.yaml b/Documentation/devicetree/bindings/display/panel/viewe,jd9365tx.yaml
> new file mode 100644
> index 0000000000000..1043f93623c00
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/viewe,jd9365tx.yaml
> @@ -0,0 +1,70 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/panel/viewe,jd9365tx.yaml#

[Severity: Medium]
Should the schema filename and $id match the compatible string
documented below (viewe,7kf82.yaml)?  viewe,jd9365tx.yaml does not match
any compatible string in this schema and pairs the viewe panel vendor
prefix with the Jadard JD9365TX controller part number.

> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: VIEWE 7.0" 720x1280 Jadard JD9365TX MIPI-DSI in-cell panel
> +
> +maintainers:
> +  - Hefei <3066883572@qq.com>
> +
> +description: |
> +  The VIEWE 7KF82 module is a 720x1280 RGB888 video-mode MIPI-DSI panel
> +  based on Jadard JD9365TX. It uses two DSI data lanes and exposes in-cell
> +  touch over I2C on the same FPC.
> +
> +allOf:
> +  - $ref: panel-common.yaml#
> +
> +properties:
> +  compatible:
> +    const: viewe,7kf82

[Severity: Medium]
Is the viewe vendor prefix documented in
Documentation/devicetree/bindings/vendor-prefixes.yaml?  Without a
matching entry there, make dt_binding_check and checkpatch.pl flag
viewe,7kf82 as an undocumented vendor prefix.

> +
> +  reg:
> +    maxItems: 1
> +
> +  vdd-supply:
> +    description: Panel VDD supply, usually 3.3V
> +
> +  iovcc-supply:
> +    description: Panel IO voltage supply, usually 3.3V
> +
> +  reset-gpios:
> +    description: Optional panel reset GPIO (omit if board uses POR only).
> +    maxItems: 1
> +
> +  backlight: true
> +  rotation: true
> +  port: true

[Severity: Low]
Since this schema references panel-common.yaml# and uses
unevaluatedProperties: false, reset-gpios (with maxItems: 1), backlight,
rotation, and port are already defined there.  Can reset-gpios use
reset-gpios: true (since omitting it from required: already expresses
that it is optional) or can these common properties be omitted when
unevaluatedProperties: false is set?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/tencent_EE81D0ED29E97716D56BDCF1A3C5AAE35B05@qq.com?part=1

  reply	other threads:[~2026-11-25  2:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261125020944.137-1-3066883572@qq.com>
2026-11-25  2:09 ` [PATCH v2 1/6] dt-bindings: display: add VIEWE JD9365TX panel binding Hefei
2026-11-25  2:20   ` sashiko-bot [this message]
2026-11-25  2:09 ` [PATCH v2 2/6] dt-bindings: input: add Jadard JD9365TX touchscreen binding Hefei
2026-11-25  2:18   ` sashiko-bot
2026-11-25  2:09 ` [PATCH v2 3/6] dt-bindings: backlight: add VIEWE I2C backlight binding Hefei
2026-11-25  2:17   ` sashiko-bot
2026-11-25  2:09 ` [PATCH v2 4/6] drm/panel: add VIEWE JD9365TX 7 inch DSI panel Hefei
2026-11-25  2:09 ` [PATCH v2 5/6] Input: add Jadard JD9365TX in-cell touchscreen driver Hefei
2026-11-25  2:21   ` sashiko-bot
2026-11-25  2:09 ` [PATCH v2 6/6] backlight: add VIEWE I2C backlight driver Hefei
2026-11-25  2:19   ` sashiko-bot

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-232403@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=3066883572@qq.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox