Re: [PATCH 3/3] Input: pwm-beeper: add optional enable gpio

From: Andy Shevchenko
Date: Fri Jan 06 2017 - 12:28:52 EST


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?

> For
> example, there may be an amplifier that is not always powered on.

This looks like GPIO based fixed voltage regulator.

>
> 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.

--
With Best Regards,
Andy Shevchenko