Linux LED subsystem development
 help / color / mirror / Atom feed
From: Luka Panio <lukapanio@gmail.com>
To: lee@kernel.org, danielt@kernel.org, jingoohan1@gmail.com
Cc: pavel@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, deller@gmx.de, griffin@kroah.com,
	junjie.cao@linux.dev, mitltlatltl@gmail.com,
	andreas@kemnade.info, dri-devel@lists.freedesktop.org,
	linux-leds@vger.kernel.org, devicetree@vger.kernel.org,
	linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	Luka Panio <lukapanio@gmail.com>
Subject: [PATCH v2 1/6] dt-bindings: leds: backlight: aw99706: Use standard led-max-microamp
Date: Sat,  5 Dec 2026 01:51:13 +0100	[thread overview]
Message-ID: <20261205005118.884885-2-lukapanio@gmail.com> (raw)
In-Reply-To: <20261205005118.884885-1-lukapanio@gmail.com>

Replace awinic,iled-max-microamp with generic led-max-microamp.
awinic,iled-max-microamp is kep as deprecated for existing device trees.

Signed-off-by: Luka Panio <lukapanio@gmail.com>
---
 .../bindings/leds/backlight/awinic,aw99706.yaml        | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/leds/backlight/awinic,aw99706.yaml b/Documentation/devicetree/bindings/leds/backlight/awinic,aw99706.yaml
index 60eae50ff742..0690e0e0de65 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>;
         };
     };
-- 
2.55.0


  reply	other threads:[~2026-12-05  0:51 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 ` Luka Panio [this message]
2026-12-05  1:01   ` [PATCH v2 1/6] dt-bindings: leds: backlight: aw99706: Use standard led-max-microamp sashiko-bot
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=20261205005118.884885-2-lukapanio@gmail.com \
    --to=lukapanio@gmail.com \
    --cc=andreas@kemnade.info \
    --cc=conor+dt@kernel.org \
    --cc=danielt@kernel.org \
    --cc=deller@gmx.de \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=griffin@kroah.com \
    --cc=jingoohan1@gmail.com \
    --cc=junjie.cao@linux.dev \
    --cc=krzk+dt@kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=mitltlatltl@gmail.com \
    --cc=pavel@kernel.org \
    --cc=robh@kernel.org \
    /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