Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1552994
| From | David Lechner <david@lechnology.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 3/3] Input: pwm-beeper: add optional enable gpio |
| Date | 2017-01-06 18:50 +0100 |
| Message-ID | <sWGOl-5dK-19@gated-at.bofh.it> (permalink) |
| References | <sWsLn-3qX-3@gated-at.bofh.it> <sWsLn-3qX-27@gated-at.bofh.it> <sWGuZ-569-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 01/06/2017 11:28 AM, Andy Shevchenko wrote: > On Fri, Jan 6, 2017 at 4:43 AM, David Lechner <david@lechnology.com> wrote: >> This adds an optional enable gpio to the pwm-beeper device. This gpio is >> used in cases where the beeper needs to be switched on before using it. > > Isn't it a property of pin muxing? You may want to turn if off when not making a sound to save power. > >> For >> example, there may be an amplifier that is not always powered on. > > This looks like GPIO based fixed voltage regulator. Yes, I think a regulator could work here just as well. > >> >> Tested on LEGO MINDSTORMS EV3, which has a speaker connected to PWM through >> an amplifier. The amplifier has an enable pin that is connected to a gpio. >
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/3] Input: add optional enable gpio to pwm-beeper David Lechner <david@lechnology.com> - 2017-01-06 03:50 +0100
[PATCH 3/3] Input: pwm-beeper: add optional enable gpio David Lechner <david@lechnology.com> - 2017-01-06 03:50 +0100
Re: [PATCH 3/3] Input: pwm-beeper: add optional enable gpio Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-01-06 18:30 +0100
Re: [PATCH 3/3] Input: pwm-beeper: add optional enable gpio David Lechner <david@lechnology.com> - 2017-01-06 18:50 +0100
csiph-web