Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Adil Hüsrev Tepe" <tadilhusrev@gmail.com>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v5 1/2] dt-bindings: display: panel: novatek,nt36672a: Add NT36525 CSOT panel
Date: Sat, 05 Dec 2026 03:32:25 +0000	[thread overview]
Message-ID: <sashiko-outbox-250984@kernel.org> (raw)
In-Reply-To: <20261205-nt36525-v5-1-8c3f07ee3311@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: panel: inaccurate active-high reset polarity for
  Tianma panel
--

commit be90f8e4429d4afbd5be8d48dedae0be27654ffe
Author: Adil Hüsrev Tepe <tadilhusrev@gmail.com>

dt-bindings: display: panel: novatek,nt36672a: Add NT36525 CSOT panel

This commit extends the Novatek NT36672A panel DT binding to also cover
the NT36525-based CSOT panel used in the Samsung Galaxy XCover5, making
the port property required only for NT36672A.

> diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
> index 5d16d85117254..b7e077e0f4835 100644
> --- a/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml

[ ... ]

> @@ -35,7 +39,8 @@ properties:
>    reset-gpios:
>      maxItems: 1
>      description: phandle of gpio for reset line - This should be 8mA, gpio
> -      can be configured using mux, pinctrl, pinctrl-names (active high)
> +      can be configured using mux, pinctrl, pinctrl-names. Active high for the
> +      Tianma panel, active low for the Samsung Galaxy XCover5 panel.

[Severity: Low]
Is the reset-gpios polarity for the Tianma panel actually active high?

The only in-tree user of tianma,fhd-video
(sdm845-xiaomi-beryllium-common.dtsi) specifies GPIO_ACTIVE_LOW.  In
panel-novatek-nt36672a.c, nt36672a_panel_power_on() asserts reset with 1
and releases it with 0 before init, matching active-low reset semantics.

Following the documented active-high polarity would leave the Tianma
panel held in reset during initialization.  Since panel-common.yaml
already defines reset-gpios as active low, both panels share the same
polarity and this distinction can be dropped.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261205-nt36525-v5-0-8c3f07ee3311@gmail.com?part=1

  reply	other threads:[~2026-12-05  3:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05  3:20 [PATCH v5 0/2] drm/panel: Add Novatek NT36525 (Samsung Galaxy XCover5) Adil Hüsrev Tepe
2026-12-05  3:20 ` [PATCH v5 1/2] dt-bindings: display: panel: novatek,nt36672a: Add NT36525 CSOT panel Adil Hüsrev Tepe
2026-12-05  3:32   ` sashiko-bot [this message]
2026-12-05  3:20 ` [PATCH v5 2/2] drm/panel: Add Novatek NT36525 panel driver Adil Hüsrev Tepe
2026-12-05  3:33   ` 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-250984@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=tadilhusrev@gmail.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