Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Vishnu Saini" <vishnu.saini@oss.qualcomm.com>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH] dt-bindings: display: panel: ilitek,ili7807s: Allow backlight property
Date: Sun, 25 Oct 2026 06:56:30 +0000	[thread overview]
Message-ID: <sashiko-outbox-184104@kernel.org> (raw)
In-Reply-To: <20261025-dlc_backlight-v1-1-1d1c49c3e101@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: display: panel: ilitek,ili7807s: redundant backlight property
--

commit dfbb23459fc3c8847cb20a8c363e813da0ef5bc0
Author: Vishnu Saini <vishnu.saini@oss.qualcomm.com>

dt-bindings: display: panel: ilitek,ili7807s: Allow backlight property

This commit adds the backlight property to the Ilitek ILI7807S DSI panel
devicetree binding schema.

> diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili7807s.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,ili7807s.yaml
> index ba8c5bbf8ffc4..46b941c18565d 100644
> --- a/Documentation/devicetree/bindings/display/panel/ilitek,ili7807s.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili7807s.yaml
> @@ -23,6 +23,8 @@ properties:
>      maxItems: 1
>      description: DSI virtual channel
>  
> +  backlight: true

[Severity: Low]
Is this declaration needed in
Documentation/devicetree/bindings/display/panel/ilitek,ili7807s.yaml?

This binding schema already references panel-common.yaml and uses
unevaluatedProperties: false:

allOf:
  - $ref: panel-common.yaml#
...
unevaluatedProperties: false

Because Documentation/devicetree/bindings/display/panel/panel-common.yaml
already defines the backlight property:

  backlight:
    $ref: /schemas/types.yaml#/definitions/phandle
    description:
      For panels whose backlight is controlled by an external backlight
      controller, this property contains a phandle that references the
      controller.

unevaluatedProperties: false automatically permits all properties defined in
panel-common.yaml without re-listing them under properties (just as
reset-gpios and port are used in this schema without being listed under
properties).

Commit 72cfe73347fac6 ("dt-bindings: display: panel: Drop redundant
properties") previously removed redundant backlight: true entries from panel
bindings that reference panel-common.yaml and use unevaluatedProperties:
false. Unless the intent was to add backlight to the required list, could
this change be dropped?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261025-dlc_backlight-v1-1-1d1c49c3e101@oss.qualcomm.com?part=1

  reply	other threads:[~2026-10-25  6:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-25  6:48 [PATCH] dt-bindings: display: panel: ilitek,ili7807s: Allow backlight property Vishnu Saini
2026-10-25  6:56 ` sashiko-bot [this message]
2026-10-27  8:12 ` Krzysztof Kozlowski
2026-10-27 10:57   ` Vishnu Saini
2026-10-27 14:34     ` Krzysztof Kozlowski
2026-10-27 18:18       ` Vishnu Saini
2026-10-27 18:24         ` Krzysztof Kozlowski
2026-10-27 18:55           ` Vishnu Saini

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-184104@kernel.org \
    --to=sashiko-bot@kernel.org \
    --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 \
    --cc=vishnu.saini@oss.qualcomm.com \
    /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