[alsa-devel] [PATCH 1/2] ASoC: rt5651: Add support for external amplifier enable GPIO

Mark Brown broonie at kernel.org
Mon Jun 25 14:40:59 CEST 2018


On Mon, Jun 25, 2018 at 02:19:02PM +0200, Hans de Goede wrote:

> Hmm, that seems like a complicated solution to use for non DT platforms

It should be fine for board file systems as well.  I think it's just
ACPI that's painful here :(

> I already need to deal with this in the sound/soc/intel/boards/bytcr_rt5651.c
> machine driver (call devm_acpi_dev_add_driver_gpios), so I'm tempted to
> model this a supply for the speaker (which it in essence is) inside the
> machine driver and make that supply directly control the GPIO, would
> that be acceptable?

Sure.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20180625/f6bf5b78/attachment.sig>


More information about the Alsa-devel mailing list