Re: [PATCH v2 3/3] leds: aat1290: Add support for AAT1270 Current Regulator for Flash LEDs
From: Jacek Anaszewski
Date: Tue Oct 13 2026 - 18:23:19 EST
Hi Svyatoslav,
Thanks for the update.
On 10/13/26 8:18 PM, Svyatoslav Ryhel wrote:
The AAT1270 is quite similar to the AAT1290, but it does not support the
Advanced Simple Serial Control (AS2C) used in the AAT1290. The AAT1270
uses an earlier version of AS2C, namely Simple Serial Control, which lacks
address-sending capabilities.
Differentiate the chips by using a description structure with a flag to
indicate if AS2C is supported, Maximum Movie to Flash Mode Current ratio
and if flash timeout is fixed by the hardware.
Signed-off-by: Svyatoslav Ryhel <clamor95@xxxxxxxxx>
---
drivers/leds/flash/leds-aat1290.c | 91 +++++++++++++++++++++++--------
1 file changed, 67 insertions(+), 24 deletions(-)
Reviewed-by: Jacek Anaszewski <jacek.anaszewski@xxxxxxxxx>
--
Best regards,
Jacek Anaszewski