On 01/06/2017 11:28 AM, Andy Shevchenko wrote:
On Fri, Jan 6, 2017 at 4:43 AM, David Lechner <david@xxxxxxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html