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

From: Michiel van Beers via B4 Relay

Date: Wed Nov 11 2026 - 11:26:53 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,
and reference leds/common.yaml from them, where that property is
defined. The property is optional, so existing devicetrees remain
valid.

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

diff --git a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml
index 6393cbf3afdf..92a7236eae1b 100644
--- a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml
+++ b/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml
@@ -42,6 +42,7 @@ required:
patternProperties:
"^led@[01]$":
type: object
+ $ref: /schemas/leds/common.yaml#
description: |
Properties for a string of connected LEDs.

@@ -77,6 +78,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 +121,7 @@ examples:
label = "lcd-backlight";
default-brightness = <200>;
max-brightness = <255>;
+ led-max-microamp = <20000>;
};
};
};

--
2.43.0