From: sashiko-bot@kernel.org
To: "Boerge Struempfel" <bstruempfel@data-modul.com>
Cc: krzk+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org,
conor+dt@kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: display/bridge: lt9211: Add drive-strength-microamp property
Date: Wed, 13 May 2026 23:26:14 +0000 [thread overview]
Message-ID: <20260513232615.0182CC19425@smtp.kernel.org> (raw)
In-Reply-To: <20260512164609.3390700-2-bstruempfel@data-modul.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] The values proposed for `drive-strength-microamp` are incorrect by two orders of magnitude, exposing an internal reference current rather than the actual pad output current and violating standard DT unit semantics.
--
commit 97454d8731d851d94cc1fb58faf0cb4d4b8ca94c
Author: Boerge Struempfel <bstruempfel@data-modul.com>
dt-bindings: display/bridge: lt9211: Add drive-strength-microamp property
This commit adds the drive-strength-microamp property to allow configuring
the LT9211 LVDS TX output driver current. It supports 16 discrete levels
ranging from 12 to 36 microamps, and sets a default of 25 microamps.
> diff --git a/Documentation/devicetree/bindings/display/bridge/lontium,lt9211.yaml b/Documentation/devicetree/bindings/display/bridge/lontium,lt9211.yaml
> --- a/Documentation/devicetree/bindings/display/bridge/lontium,lt9211.yaml
> +++ b/Documentation/devicetree/bindings/display/bridge/lontium,lt9211.yaml
[ ... ]
> @@ -31,6 +31,13 @@ properties:
> vccio-supply:
> description: Regulator for 1.8V IO power.
>
> + drive-strength-microamp:
> + description:
> + LVDS TX output driver current. Sixteen discrete levels are supported,
> + corresponding to the following nominal values in microamps.
> + enum: [12, 14, 16, 17, 19, 20, 22, 23, 25, 27, 28, 30, 31, 33, 34, 36]
Are these values exposing an internal reference current rather than the actual
pad output current?
A subsequent commit in the series mentions that the hardware supports discrete
current levels starting at 12.5 microamps with a step of 1.5625 microamps.
However, standard LVDS signaling typically requires a drive current of around
3.5 mA (3500 microamps) to produce the required 350 mV voltage swing across
a standard 100-ohm termination. A 25 microamp drive current would only
produce a 2.5 mV swing, which appears too small for an LVDS link.
Since drive-strength-microamp is a standard property, using it to expose an
internal reference scale might permanently hardcode incorrect physical units
into the device tree ABI.
Should the enum instead reflect the actual multiplied pad output current,
which might be closer to the range of 1250 to 3600 microamps?
> + default: 25
> +
> ports:
> $ref: /schemas/graph.yaml#/properties/ports
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260512164609.3390700-1-bstruempfel@data-modul.com?part=1
next prev parent reply other threads:[~2026-05-13 23:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-12 16:46 [PATCH 0/2] drm/bridge: lt9211: Add drive-strength-microamp DT property Boerge Struempfel
2026-05-12 16:46 ` [PATCH 1/2] dt-bindings: display/bridge: lt9211: Add drive-strength-microamp property Boerge Struempfel
2026-05-12 17:05 ` Conor Dooley
2026-05-13 23:26 ` sashiko-bot [this message]
2026-05-12 16:46 ` [PATCH 2/2] drm/bridge: lt9211: Add drive-strength-microamp DT property Boerge Struempfel
2026-05-12 18:29 ` Marek Vasut
2026-05-13 9:02 ` Börge Strümpfel
2026-05-13 11:33 ` Marek Vasut
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=20260513232615.0182CC19425@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=bstruempfel@data-modul.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox