Linux LED subsystem development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Luka Panio" <lukapanio@gmail.com>
Cc: dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org,
	devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org,
	lee@kernel.org
Subject: Re: [PATCH v2 1/6] dt-bindings: leds: backlight: aw99706: Use standard led-max-microamp
Date: Sat, 05 Dec 2026 01:01:20 +0000	[thread overview]
Message-ID: <sashiko-outbox-250872@kernel.org> (raw)
In-Reply-To: <20261205005118.884885-2-lukapanio@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: aw99706: place led-max-microamp before vendor
  properties
--

commit b5cccb409159501f7c23d7b085592afcea3d6e74
Author: Luka Panio <lukapanio@gmail.com>

dt-bindings: leds: backlight: aw99706: Use standard led-max-microamp

This commit adds the standard led-max-microamp property to the AW99706
backlight DT binding, marks awinic,iled-max-microamp as deprecated, and
updates the example node.

> diff --git a/Documentation/devicetree/bindings/leds/backlight/awinic,aw99706.yaml b/Documentation/devicetree/bindings/leds/backlight/awinic,aw99706.yaml
> index 60eae50ff742f..0690e0e0de659 100644
> --- a/Documentation/devicetree/bindings/leds/backlight/awinic,aw99706.yaml
> +++ b/Documentation/devicetree/bindings/leds/backlight/awinic,aw99706.yaml
> @@ -45,12 +45,20 @@ properties:
>      enum: [ 1500000, 2000000, 2500000, 3000000 ]
>      default: 3000000
>
> +  led-max-microamp:
> +    description: Maximum LED current setting in uA.
> +    minimum: 5000
> +    maximum: 50000
> +    multipleOf: 500
> +    default: 20000
> +
>    awinic,iled-max-microamp:
>      description: Maximum LED current setting in uA.
>      minimum: 5000
>      maximum: 50000
>      multipleOf: 500
>      default: 20000
> +    deprecated: true
>
>    awinic,uvlo-thres-microvolt:
>      description: UVLO(Under Voltage Lock Out) in uV.
> @@ -93,7 +101,7 @@ examples:
>              awinic,sw-freq-hz = <750000>;
>              awinic,sw-ilmt-microamp = <3000000>;
>              awinic,uvlo-thres-microvolt = <2200000>;
> -            awinic,iled-max-microamp = <20000>;
> +            led-max-microamp = <20000>;
>              awinic,ramp-ctl = <2>;
>          };
>      };

[Severity: Low]
Should led-max-microamp be placed before the vendor-prefixed awinic,*
properties in both the properties block (before awinic,dim-mode) and the
examples node?  Per Documentation/devicetree/bindings/dts-coding-style.rst
and writing-schema.rst, standard properties without vendor prefixes belong
before vendor-specific ones.

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

  reply	other threads:[~2026-12-05  1:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05  0:51 [PATCH v2 0/6] backlight: aw99706: Add Awinic AW99703 support Luka Panio
2026-12-05  0:51 ` [PATCH v2 1/6] dt-bindings: leds: backlight: aw99706: Use standard led-max-microamp Luka Panio
2026-12-05  1:01   ` sashiko-bot [this message]
2026-12-05  0:51 ` [PATCH v2 2/6] dt-bindings: leds: backlight: Add Awinic AW99703 backlight Luka Panio
2026-12-05  1:04   ` sashiko-bot
2026-12-05  0:51 ` [PATCH v2 3/6] backlight: aw99706: Enable the chip before reading its ID Luka Panio
2026-12-05  1:05   ` sashiko-bot
2026-12-05  0:51 ` [PATCH v2 4/6] backlight: aw99706: Introduce per-chip data Luka Panio
2026-12-05  0:51 ` [PATCH v2 5/6] backlight: aw99706: Support the led-max-microamp property Luka Panio
2026-12-05  0:59   ` sashiko-bot
2026-12-05  0:51 ` [PATCH v2 6/6] backlight: aw99706: Add AW99703 support Luka Panio
2026-12-05  1:11   ` sashiko-bot
2026-12-05  1:11 ` [PATCH v2 0/6] backlight: aw99706: Add Awinic " 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-250872@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=lee@kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=lukapanio@gmail.com \
    --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