On Mon 2020-06-15 19:42:04, Fengping Yu wrote: > From: "fengping.yu" <fengping.yu@xxxxxxxxxxxx> > > This adds regulator vibrator driver for Mediatek SoCs. > > Signed-off-by: fengping.yu <fengping.yu@xxxxxxxxxxxx> > --- > drivers/input/misc/Kconfig | 10 + > drivers/input/misc/Makefile | 1 + > drivers/input/misc/regulator-vibrator.c | 422 ++++++++++++++++++++++++ > 3 files changed, 433 insertions(+) > create mode 100644 drivers/input/misc/regulator-vibrator.c > > diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig > index 7e2e658d551c..71a0dd7a5271 100644 > --- a/drivers/input/misc/Kconfig > +++ b/drivers/input/misc/Kconfig > @@ -459,6 +459,16 @@ config INPUT_REGULATOR_HAPTIC > To compile this driver as a module, choose M here: the > module will be called regulator-haptic. > > +config INPUT_REGULATOR_VIBRATOR Can you look at input_regulator_haptic, and explain why you need separate driver? Pavel