[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1487278130.git.frieder.schrempf@exceet.de>
Date: Thu, 16 Feb 2017 22:08:27 +0100
From: Frieder Schrempf <frieder.schrempf@...eet.de>
To: <robh@...nel.org>
CC: <dmitry.torokhov@...il.com>, <david@...hnology.com>,
<pawel.moll@....com>, <ijc+devicetree@...lion.org.uk>,
<galak@...eaurora.org>, <luis@...ethencourt.com>,
<linux-input@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
"Frieder Schrempf" <frieder.schrempf@...eet.de>
Subject: [PATCH v4 0/3] input: pwm-beeper: add feature to set volume level
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.
Changes in v4:
- move sysfs attributes from class/input to devices/pwm-beeper
- rename max_volume_level to max_volume
- move array allocation to probe function
- rename attribute structs
- remove needless code
- update date
- use generic device properties instead of dt properties
Frieder Schrempf (3):
input: pwm-beeper: add feature to set volume via sysfs
input: pwm-beeper: add documentation for volume devicetree bindings
input: pwm-beeper: add devicetree bindings to set volume levels
Documentation/ABI/testing/sysfs-devices-pwm-beeper | 17 ++++
.../devicetree/bindings/input/pwm-beeper.txt | 20 ++++
drivers/input/misc/pwm-beeper.c | 111 ++++++++++++++++++++-
3 files changed, 146 insertions(+), 2 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-devices-pwm-beeper
--
2.7.4
Powered by blists - more mailing lists