Re: [PATCH v2 1/3] dt-bindings: leds: skyworks,aat1290: Document AAT1270 Current Regulator for Flash LEDs

From: Jacek Anaszewski

Date: Tue Oct 13 2026 - 15:37:19 EST


On 10/13/26 8:18 PM, Svyatoslav Ryhel wrote:
The AAT1270 Current Regulator for Flash LEDs has a similar configuration
to the AAT1290, but it uses a different programming model and requires a
separate compatible.

Signed-off-by: Svyatoslav Ryhel <clamor95@xxxxxxxxx>
---
.../devicetree/bindings/leds/skyworks,aat1290.yaml | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/leds/skyworks,aat1290.yaml b/Documentation/devicetree/bindings/leds/skyworks,aat1290.yaml
index 65576dfdca110..7c26bb135c0a7 100644
--- a/Documentation/devicetree/bindings/leds/skyworks,aat1290.yaml
+++ b/Documentation/devicetree/bindings/leds/skyworks,aat1290.yaml
@@ -19,7 +19,9 @@ description: |
properties:
compatible:
- const: skyworks,aat1290
+ enum:
+ - skyworks,aat1290
+ - skyworks,aat1270
enset-gpios:
maxItems: 1
@@ -39,12 +41,13 @@ properties:
flash-max-microamp:
description: |
Maximum flash LED supply current can be calculated using following
- formula: I = 1A * 162 kOhm / Rset.
+ formula: I = 1A * 162 kOhm / Rset (for AAT1290) and
+ I = 1A * 81 kOhm / Rset (for AAT1270).
flash-max-timeout-us:
description: |
Maximum flash timeout can be calculated using following formula:
- T = 8.82 * 10^9 * Ct.
+ T = 8.82 * 10^9 * Ct (for AAT1290) and T = 21.5 * 10^9 * Ct (for AAT1270).
required:
- flash-max-microamp

Reviewed-by: Jacek Anaszewski <jacek.anaszewski@xxxxxxxxx>

--
Best regards,
Jacek Anaszewski