[PATCH v13 0/5] leds: mt6360: Add LED driver for MT6360

From: Gene Chen
Date: Mon Dec 21 2020 - 05:53:07 EST


In-Reply-To:

This patch series add MT6360 LED support contains driver and binding document

Gene Chen (5)
leds: flash: Add flash registration with undefined CONFIG_LEDS_CLASS_FLASH
leds: flash: Fix multicolor no-ops registration by return 0
dt-bindings: leds: Add LED_COLOR_ID_MOONLIGHT definitions
dt-bindings: leds: Add bindings for MT6360 LED
leds: mt6360: Add LED driver for MT6360

Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 159 +++
drivers/leds/Kconfig | 13
drivers/leds/Makefile | 1
drivers/leds/leds-mt6360.c | 827 ++++++++++++++++
include/dt-bindings/leds/common.h | 1
include/linux/led-class-flash.h | 42
include/linux/led-class-multicolor.h | 42
7 files changed, 1049 insertions(+), 36 deletions(-)

changelogs between v1 & v2
- add led driver with mfd

changelogs between v2 & v3
- independent add led driver
- add dt-binding document
- refactor macros definition for easy to debug
- parse device tree by fwnode
- use devm*ext to register led class device

changelogs between v3 & v4
- fix binding document description
- use GENMASK and add unit postfix to definition
- isink register led class device

changelogs between v4 & v5
- change rgb isink to multicolor control
- add binding reference to mfd yaml

changelogs between v5 & v6
- Use DT to decide RGB LED is multicolor device or indicator device only

changelogs between v6 & v7
- Add binding multicolor device sample code
- Add flash ops mutex lock
- Remove V4L2 init with indicator device

changelogs between v7 & v8
- Add mutex for led fault get ops
- Fix flash and multicolor no-ops return 0
- Add LED_FUNCTION_MOONLIGHT

changelogs between v8 & v9
- reuse api in flash and multicolor header

changelogs between v9 & v10
- add comment for reuse registration functions in flash and multicolor

changelogs between v10 & v11
- match dt-binding reg property comment to the functionality name
- remove exist patch in linux-next
- dicide multicolor channel by color definitiion

changelogs between v11 & v12
- Fix print size_t by %zu
- Fix dt-binding name regular experssion

changelogs between v12 & v13
- Fix kbuild test rebot build error