Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: Frank Li <Frank.li@oss.nxp.com>
To: sashiko-reviews@lists.linux.dev
Cc: Andreas Kemnade <andreas@kemnade.info>,
	dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org,
	devicetree@vger.kernel.org, imx@lists.linux.dev, robh@kernel.org,
	conor+dt@kernel.org, Frank.Li@kernel.org, lee@kernel.org
Subject: Re: [PATCH 1/4] dt-bindings: leds: backlight: Add Awinic AW99703 backlight
Date: Mon, 30 Nov 2026 14:21:06 -0600	[thread overview]
Message-ID: <aw3asj_cXdySFCet@SMW015318> (raw)
In-Reply-To: <sashiko-outbox-241903@kernel.org>

On Mon, Nov 30, 2026 at 07:16:06PM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 2 potential
> issues to consider:
> - [Medium] dt-bindings: leds: backlight: aw99703: invalid default for
>   awinic,ovp-microvolt
> - [Medium] dt-bindings: leds: backlight: aw99703: typo 34000000 in
>   awinic,ocp-microamp enum
> --
>
> commit 58bb4029f54ecea50b107838df2d9b077b16d4f3
> Author: Andreas Kemnade <andreas@kemnade.info>
>
> dt-bindings: leds: backlight: Add Awinic AW99703 backlight
>
> This commit adds the Device Tree binding schema for the Awinic AW99703
> 3-channel WLED backlight driver.
>
> > diff --git a/Documentation/devicetree/bindings/leds/backlight/awinic,aw99703.yaml b/Documentation/devicetree/bindings/leds/backlight/awinic,aw99703.yaml
> > new file mode 100644
> > index 0000000000000..74214a1760622
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/leds/backlight/awinic,aw99703.yaml
> > @@ -0,0 +1,96 @@
>
> [ ... ]
>
> > +  awinic,ovp-microvolt:
> > +    enum: [ 17500000, 24000000, 31000000, 38000000, 41500000 ]
> > +    default: 38000
>
> [Severity: Medium]
> Should the default for awinic,ovp-microvolt be 38000000 instead of 38000?
> 38000 is not in the enum list and causes dt_binding_check to fail.  This
> vendor property is also missing a description field.

Make sense. please fix it.

>
> > +
> > +  awinic,ocp-microamp:
> > +    enum: [ 900000, 1800000, 2700000, 34000000 ]
> > +    default: 2700000
>
> [Severity: Medium]
> Should the fourth enum value for awinic,ocp-microamp be 3400000 (3.4 A)
> instead of 34000000 (34 A)?  The driver expects 3400000, so a board DT

make sense

Frank

> using 3.4 A will either fail dtbs_check with 3400000 or fail to probe
> with -EINVAL if set to 34000000.  This vendor property is also missing a
> description field.
>
> --
> Sashiko AI review · https://sashiko.dev/#/patchset/20261130-bl-aw99703-upstr-v1-0-986a15505ad7@kemnade.info?part=1

  reply	other threads:[~2026-11-30 20:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 19:08 [PATCH 0/4] video: backlight: Backlight for Kobo Clara 2e Andreas Kemnade
2026-11-30 19:08 ` [PATCH 1/4] dt-bindings: leds: backlight: Add Awinic AW99703 backlight Andreas Kemnade
2026-11-30 19:16   ` sashiko-bot
2026-11-30 20:21     ` Frank Li [this message]
2026-11-30 19:08 ` [PATCH 2/4] video: backlight: Add Awinic AW99703 Andreas Kemnade
2026-11-30 19:24   ` sashiko-bot
2026-11-30 20:18     ` Frank Li
2026-11-30 20:35       ` Andreas Kemnade
2026-11-30 19:08 ` [PATCH 3/4] ARM: dts: imx: Add backlight for Kobo Clara 2e Andreas Kemnade
2026-11-30 19:32   ` sashiko-bot
2026-11-30 20:25     ` Andreas Kemnade
2026-11-30 19:08 ` [PATCH 4/4] arm: mach-imx: enable shared gpios Andreas Kemnade

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=aw3asj_cXdySFCet@SMW015318 \
    --to=frank.li@oss.nxp.com \
    --cc=Frank.Li@kernel.org \
    --cc=andreas@kemnade.info \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=imx@lists.linux.dev \
    --cc=lee@kernel.org \
    --cc=linux-leds@vger.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