Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1562825

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

From Frieder Schrempf <frieder.schrempf@exceet.de>
Newsgroups linux.kernel
Subject [PATCH v3 0/3] input: pwm-beeper: add feature to set volume level
Date 2017-01-19 16:30 +0100
Message-ID <t1mOZ-3fj-9@gated-at.bofh.it> (permalink)
References <t1mlY-2PW-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 v3:
 - update date
 - change description of volume-levels to be used for linear levels

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

 .../ABI/testing/sysfs-class-input-pwm-beeper       |  17 +++
 .../devicetree/bindings/input/pwm-beeper.txt       |  20 ++++
 drivers/input/misc/pwm-beeper.c                    | 116 ++++++++++++++++++++-
 3 files changed, 151 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-class-input-pwm-beeper

-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 2/3] input: pwm-beeper: add documentation for volume  devicetree bindings Frieder Schrempf <frieder.schrempf@exceet.de> - 2017-01-19 16:00 +0100
  [PATCH v3 0/3] input: pwm-beeper: add feature to set volume level Frieder Schrempf <frieder.schrempf@exceet.de> - 2017-01-19 16:30 +0100
    Re: [PATCH v3 0/3] input: pwm-beeper: add feature to set volume level Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-01-19 22:50 +0100
      Re: [PATCH v3 0/3] input: pwm-beeper: add feature to set volume level David Lechner <david@lechnology.com> - 2017-01-20 20:20 +0100

csiph-web