[PATCH v1] Add support for MediaTek regulator vibrator driver

From: Xing Zhang
Date: Wed Apr 29 2020 - 04:22:24 EST



This patchset add regulator vibrator driver for MTK Soc. The driver
controls vibrator through regulator's enable and disable.

Xing Zhang (3):
dt-bindings: add regulator vibrator documentation
arm64: mediatek: Add regulator vibrator support
Vibrator: Add regulator vibrator driver

.../bindings/leds/regulator-vibrator.txt | 39 ++
arch/arm64/configs/defconfig | 1 +
drivers/leds/Kconfig | 10 +
drivers/leds/Makefile | 1 +
drivers/leds/regulator-vibrator.c | 450 ++++++++++++++++++
5 files changed, 501 insertions(+)
create mode 100644 Documentation/devicetree/bindings/leds/regulator-vibrator.txt
create mode 100644 drivers/leds/regulator-vibrator.c