Thread (35 messages) 35 messages, 5 authors, 2017-02-17

Re: [PATCH v3 0/3] input: pwm-beeper: add feature to set volume level

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2017-01-19 21:44:35
Also in: linux-input, lkml

On Thu, Jan 19, 2017 at 04:24:07PM +0100, Frieder Schrempf wrote:
Make the driver accept switching volume levels via sysfs.
This can be helpful if the beep/bell sound intensity needs
to be adapted to the environment of the device.

The number of volume levels available and their values can
be specified via device tree (similar to pwm-backlight).

The volume adjustment is done by changing the duty cycle of
the pwm signal.
I wonder how this all will mesh up with beepers that have dedicated
amplifiers (support is being added by David Lechner).

Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help