Thread (12 messages) 12 messages, 4 authors, 2023-03-28

Re: [PATCH v18 2/3] leds: flash: mt6370: Add MediaTek MT6370 flashlight support

From: Lee Jones <lee@kernel.org>
Date: 2023-03-17 08:00:38
Also in: linux-doc, linux-leds, linux-mediatek, lkml

On Fri, 10 Mar 2023, ChiaEn Wu wrote:
From: ChiYuan Huang <redacted>

The MediaTek MT6370 is a highly-integrated smart power management IC,
which includes a single cell Li-Ion/Li-Polymer switching battery
charger, a USB Type-C & Power Delivery (PD) controller, dual Flash
LED current sources, a RGB LED driver, a backlight WLED driver,
a display bias driver and a general LDO for portable devices.

Add support for the MT6370 Flash LED driver. Flash LED in MT6370
has 2 channels and support torch/strobe mode.

Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Co-developed-by: Alice Chen <redacted>
Signed-off-by: Alice Chen <redacted>
Signed-off-by: ChiYuan Huang <redacted>
Signed-off-by: ChiaEn Wu <redacted>
---
v18:
- Unwrap each line by 100 chars limit.
- For joint flash, add more comments above the source code.
- Remove 'sentinel' comment in of_device_id table declaration.
---
 drivers/leds/flash/Kconfig             |  13 +
 drivers/leds/flash/Makefile            |   1 +
 drivers/leds/flash/leds-mt6370-flash.c | 573 +++++++++++++++++++++++++++++++++
 3 files changed, 587 insertions(+)
 create mode 100644 drivers/leds/flash/leds-mt6370-flash.c
Applied, thanks

--
Lee Jones [李琼斯]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help