All of lore.kernel.org
 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 v3 1/6] dt-bindings: display: add VIEWE JD9365TX panel binding
Date: Wed, 25 Nov 2026 02:18:32 +0000	[thread overview]
Message-ID: <sashiko-outbox-232400@kernel.org> (raw)
In-Reply-To: <tencent_A3BF23A8B6E3691F0D567ADF8B84194F4408@qq.com>

Thank you for your contribution! Sashiko AI review found 4 potential
issues to consider:
- [Medium] dt-bindings: display: undocumented vendor prefix viewe in
  viewe,7kf82
- [Low] dt-bindings: display: filename viewe,jd9365tx.yaml mismatches
  viewe,7kf82
- [Low] dt-bindings: display: ineffective unevaluatedProperties with
  panel-common
- [Low] dt-bindings: display: redundant word binding in subject and
  empty changelog
--

commit a9b7d0a0eec32791c0cd039ed3f37fff50e2bf3a
Author: Hefei <3066883572@qq.com>

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

[Severity: Low]
The "dt-bindings:" prefix already indicates that this adds a binding, so
"binding" at the end of the subject line is redundant.  Could you also add a
commit description explaining the VIEWE 7KF82 panel module and its hardware
interface?

> 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#
> +$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 vendor
prefix entry there, both make dt_binding_check and checkpatch.pl fail on
"viewe,7kf82".

[Severity: Low]
Should the schema filename and $id match the compatible string?  The file and
$id are named viewe,jd9365tx.yaml, whereas the compatible string is
"viewe,7kf82".

> +
> +  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
> +
> +required:
> +  - compatible
> +  - reg
> +  - vdd-supply
> +  - iovcc-supply
> +  - port
> +
> +unevaluatedProperties: false

[Severity: Low]
Does using unevaluatedProperties: false with panel-common.yaml# allow every
property from panel-common.yaml (such as power-supply, enable-gpios, and
panel-timing) instead of restricting the binding to the subset listed here?
Using additionalProperties: false along with reset-gpios: true would enforce
that subset and avoid restating the maxItems: 1 constraint and optionality
already defined in panel-common.yaml.

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

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

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261125021127.1430-1-3066883572@qq.com>
2026-11-25  2:11 ` [PATCH v3 1/6] dt-bindings: display: add VIEWE JD9365TX panel binding Hefei
2026-11-25  2:18   ` sashiko-bot [this message]
2026-11-25  7:13   ` Krzysztof Kozlowski
2026-11-25 10:22     ` Hefei
2026-11-25 10:22       ` Hefei
2026-11-25  2:11 ` [PATCH v3 2/6] dt-bindings: input: add Jadard JD9365TX touchscreen binding Hefei
2026-11-25  2:22   ` sashiko-bot
2026-11-25  7:14   ` Krzysztof Kozlowski
2026-11-25  2:11 ` [PATCH v3 3/6] dt-bindings: backlight: add VIEWE I2C backlight binding Hefei
2026-11-25  2:19   ` sashiko-bot
2026-11-25  2:11 ` [PATCH v3 4/6] drm/panel: add VIEWE JD9365TX 7 inch DSI panel Hefei
2026-11-25  2:26   ` sashiko-bot
2026-11-25 14:06   ` kernel test robot
2026-11-25 16:03   ` kernel test robot
2026-11-25  2:11 ` [PATCH v3 5/6] Input: add Jadard JD9365TX in-cell touchscreen driver Hefei
2026-11-25  2:24   ` sashiko-bot
2026-11-25  2:32   ` Dmitry Torokhov
2026-11-25  2:11 ` [PATCH v3 6/6] backlight: add VIEWE I2C backlight driver Hefei
2026-11-25  2:22   ` 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-232400@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 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.