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 <[email protected]> > dt-bindings: display: add VIEWE JD9365TX panel binding > > Signed-off-by: Hefei <[email protected]> > Co-authored-by: Cursor <[email protected]> [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 <[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 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/[email protected]?part=1
