[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200507174519.GD1216@bug>
Date: Thu, 7 May 2020 19:45:19 +0200
From: Pavel Machek <pavel@....cz>
To: Xing Zhang <Xing.Zhang@...iatek.com>
Cc: Matthias Brugger <matthias.bgg@...il.com>,
Jacek Anaszewski <jacek.anaszewski@...il.com>,
Dan Murphy <dmurphy@...com>,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-leds@...r.kernel.org
Subject: Re: [PATCH v1] Add support for MediaTek regulator vibrator driver
Hi!
> This patchset add regulator vibrator driver for MTK Soc. The driver
> controls vibrator through regulator's enable and disable.
We'd prefer not to have vibrators in led subsystem.
>
> 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 ++++++++++++++++++
OTOH, connecting LED to regulator might make some sense. I can take the driver with
vibrator functionality stripped, provided it is named the usual way...
Best regards,
Pavel
Powered by blists - more mailing lists