Re: [PATCH v2 1/2] leds: rt4505: Add support for Richtek RT4505 flash LED controller

From: Jacek Anaszewski
Date: Mon Nov 02 2020 - 15:46:21 EST


Hi ChiYuan,

On 11/2/20 3:42 AM, cy_huang wrote:
From: ChiYuan Huang <cy_huang@xxxxxxxxxxx>

Add support for RT4505 flash LED controller. It can support up to 1.5A
flash current with hardware timeout and low input voltage protection.

Signed-off-by: ChiYuan Huang <cy_huang@xxxxxxxxxxx>
---
Changes since v1 to v2

- Create flash directory into drvers/leds.
- Coding style fix to meet 80 charactors per line limit.
- Refine the description in the Kconfig help text.
- Change all descriptions for 'led' text to uppercase 'LED'.

---
drivers/leds/Kconfig | 2 +
drivers/leds/Makefile | 3 +
drivers/leds/flash/Kconfig | 17 ++
drivers/leds/flash/Makefile | 2 +
drivers/leds/flash/leds-rt4505.c | 430 +++++++++++++++++++++++++++++++++++++++
5 files changed, 454 insertions(+)
create mode 100644 drivers/leds/flash/Kconfig
create mode 100644 drivers/leds/flash/Makefile
create mode 100644 drivers/leds/flash/leds-rt4505.c

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

--
Best regards,
Jacek Anaszewski