[PATCH 1/2] dt-bindings: backlight: lm3630a: Add led-max-microamp

From: Michiel van Beers via B4 Relay

Date: Sat Nov 07 2026 - 07:14:41 EST


From: Michiel van Beers <michielvanbeers@xxxxxxxxx>

The LM3630A has a full-scale current setting per control bank, from
5 mA to 28.25 mA in steps of 750 uA. Boards whose LED strings are rated
for less than the chip default of 28.25 mA have no way to describe that
limit.

Add the common led-max-microamp property to the led@0 and led@1 nodes.
The property is optional, so existing devicetrees remain valid.

Signed-off-by: Michiel van Beers <michielvanbeers@xxxxxxxxx>
---
.../devicetree/bindings/leds/backlight/lm3630a-backlight.yaml | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml
index 6393cbf3afdf..a031679d5468 100644
--- a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml
+++ b/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml
@@ -77,6 +77,14 @@ patternProperties:
minimum: 0
maximum: 255

+ led-max-microamp:
+ description:
+ Full-scale current of the LED strings driven by this control bank.
+ The LM3630A sets it from 5 mA to 28.25 mA in steps of 750 uA.
+ minimum: 5000
+ maximum: 28250
+ default: 28250
+
ti,linear-mapping-mode:
description: |
Enable linear mapping mode. If disabled, then it will use exponential
@@ -112,6 +120,7 @@ examples:
label = "lcd-backlight";
default-brightness = <200>;
max-brightness = <255>;
+ led-max-microamp = <20000>;
};
};
};

--
2.43.0