All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Svyatoslav Ryhel" <clamor95@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org,
	dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v1 5/6] dt-bindings: display: panel: Document Hitachi TX10D07VM0BAA and LG LH400WV3 panels
Date: Wed, 30 Sep 2026 07:17:58 +0000	[thread overview]
Message-ID: <20260930071759.2FA8D1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260930070535.47130-6-clamor95@gmail.com>

Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [Medium] dt-bindings: display: panel: hit,tx10d07vm0baa: additionalProperties: false breaks schema references
- [Medium] dt-bindings: display: panel: hit,tx10d07vm0baa: missing mandatory properties in required list
- [Low] dt-bindings: display: panel: hit,tx10d07vm0baa: non-standard avci-supply property
--

commit 2cbee11e4ba06826f435f0f2b5e954558da48338
Author: Svyatoslav Ryhel <clamor95@gmail.com>

dt-bindings: display: panel: Document Hitachi TX10D07VM0BAA and LG LH400WV3 panels

This commit documents the device tree bindings for the Hitachi TX10D07VM0BAA
and LG LH400WV3 MIPI DBI 4" WVGA panels.

> diff --git a/Documentation/devicetree/bindings/display/panel/hit,tx10d07vm0baa.yaml b/Documentation/devicetree/bindings/display/panel/hit,tx10d07vm0baa.yaml
> new file mode 100644
> index 0000000000000..ab839d9e4e111
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/hit,tx10d07vm0baa.yaml
[ ... ]
> +properties:
> +  compatible:
> +    items:
> +      - enum:
> +          - hit,tx10d07vm0baa
> +          - lg,lh400wv3-sd04
> +
> +  avci-supply: true

[Severity: Low]
Is it intentional to use "avci-supply" here? In MIPI DBI/DSI displays, the
standard terminology for the analog/core voltage is usually "vci-supply" or
"avdd-supply". Using "avci-supply" might introduce a typoed or non-standard
name into the stable device tree ABI that drivers will be forced to support.

> +  iovcc-supply: true
> +
> +  reset-gpios: true
> +
> +  backlight: true
> +  port: true
> +
> +required:
> +  - compatible

[Severity: Medium]
Does this list omit mandatory hardware constraints?

Since the panel driver unconditionally requires the power supplies and the port
node, device trees omitting "avci-supply", "iovcc-supply", or "port" will
pass schema validation but fail at runtime. Specifically,
devm_regulator_bulk_get_const requires the power supplies, and
of_graph_get_remote_node in panel_dbi_prepare() returns -ENODEV if the port
node is missing.

> +
> +additionalProperties: false

[Severity: Medium]
Could this strict constraint cause valid device trees to fail schema validation?

Because this schema inherits from panel-common.yaml via a $ref, using
additionalProperties: false instead of unevaluatedProperties: false will
strictly forbid standard panel properties (like rotation, width-mm, or
height-mm) that aren't explicitly listed in this local properties block.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260930070535.47130-1-clamor95@gmail.com?part=5

  reply	other threads:[~2026-09-30  7:18 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-30  7:05 [PATCH v1 0/6] drm/tegra: Add support for Tegra20/Tegra30 8-bit CPU interface Svyatoslav Ryhel
2026-09-30  7:05 ` [PATCH v1 1/6] drm/tegra: dc: Expand available registers layouts Svyatoslav Ryhel
2026-09-30  7:15   ` sashiko-bot
2026-09-30  8:34   ` Thierry Reding
2026-09-30  8:55     ` Svyatoslav Ryhel
2026-09-30  7:05 ` [PATCH v1 2/6] drm/tegra: rgb: Parameterize configuration based on bus flags Svyatoslav Ryhel
2026-09-30  7:38   ` sashiko-bot
2026-09-30  7:05 ` [PATCH v1 3/6] dt-bindings: display: tegra: Document 8-bit CPU parallel interface Svyatoslav Ryhel
2026-09-30  7:15   ` sashiko-bot
2026-09-30  8:47   ` Thierry Reding
2026-09-30  9:00     ` Svyatoslav Ryhel
2026-09-30 10:34       ` Thierry Reding
2026-09-30 10:42         ` Svyatoslav Ryhel
2026-09-30 10:54           ` Thierry Reding
2026-09-30 11:10             ` Svyatoslav Ryhel
2026-09-30 11:41               ` Thierry Reding
2026-09-30 11:47                 ` Svyatoslav Ryhel
2026-09-30  9:19   ` Mikko Perttunen
2026-09-30  9:52     ` Svyatoslav Ryhel
2026-09-30 10:50       ` Thierry Reding
2026-09-30 10:56         ` Svyatoslav Ryhel
2026-09-30 11:46           ` Thierry Reding
2026-09-30 11:56             ` Svyatoslav Ryhel
2026-09-30 12:58               ` Thierry Reding
2026-09-30 13:10                 ` Svyatoslav Ryhel
2026-09-30 18:03     ` Svyatoslav Ryhel
2026-10-02  5:58       ` Mikko Perttunen
2026-09-30 11:51   ` Rob Herring (Arm)
2026-09-30  7:05 ` [PATCH v1 4/6] drm/tegra: Add support for 8-bit CPU interface Svyatoslav Ryhel
2026-09-30  7:25   ` sashiko-bot
2026-09-30  8:48   ` Thierry Reding
2026-09-30  9:02     ` Svyatoslav Ryhel
2026-09-30 10:39       ` Thierry Reding
2026-09-30  7:05 ` [PATCH v1 5/6] dt-bindings: display: panel: Document Hitachi TX10D07VM0BAA and LG LH400WV3 panels Svyatoslav Ryhel
2026-09-30  7:17   ` sashiko-bot [this message]
2026-09-30  7:05 ` [PATCH v1 6/6] drm/panel: Add Hitachi TX10D07VM0BAA and LG LH400WV3-SD04 MIPI DBI panel driver Svyatoslav Ryhel
2026-09-30  7:15   ` sashiko-bot
2026-09-30  9:02   ` Thierry Reding
2026-09-30  9:08     ` Svyatoslav Ryhel
2026-09-30 10:23       ` Thierry Reding
2026-09-30 10:34         ` Svyatoslav Ryhel
2026-09-30 10:43           ` Thierry Reding
2026-09-30 10:48             ` Svyatoslav Ryhel
2026-09-30 10:58               ` Thierry Reding

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=20260930071759.2FA8D1F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=clamor95@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.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.