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 <[email protected]>

> dt-bindings: display: add VIEWE JD9365TX panel binding
>
> Signed-off-by: Hefei <[email protected]>

[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 <[email protected]>
> +
> +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/[email protected]?part=1

Reply via email to