[PATCH v2 0/2] Intel Cherry Trail Whiskey Cove LEDs support

From: Yauhen Kharuzhy
Date: Tue Feb 12 2019 - 15:59:36 EST

This patch series introduces new driver for controlling LEDs connected
to Intel Cherry Trail Whiskey Cove PMIC (general-purpose LED and charger
status led). Only simple 'always on' and blinking modes are supported
for now, no breathing.

Driver was tested only with Lenovo Yoga Book notebook, and I don't have
any documentation for the PMIC, so proposals and testing are welcome.

- Fix comments and code style
- Add mutex to protect led state
- Add defaults triggers
- Fix module license declaration

Yauhen Kharuzhy (2):
leds: Add Intel Cherry Trail Whiskey Cove PMIC LEDs
mfd: Add leds MFD cell for intel_soc_pmic_chtwc

drivers/leds/Kconfig | 11 ++
drivers/leds/Makefile | 1 +
drivers/leds/leds-cht-wcove.c | 293 +++++++++++++++++++++++++++++
drivers/mfd/intel_soc_pmic_chtwc.c | 1 +
4 files changed, 306 insertions(+)
create mode 100644 drivers/leds/leds-cht-wcove.c