[alsa-devel] [PATCH v2] ASoC: Add GPIO based jack device

Mark Brown broonie at kernel.org
Wed May 27 00:10:34 CEST 2015


On Tue, May 26, 2015 at 10:33:42AM -0700, Dylan Reid wrote:

> +Required properties:
> +
> +- compatible				: "linux,gpio-audio-jack"

As mentioned in the discussion of v1 I think we should drop gpio- from
this - Lars is right that we should really be more generic and there's
no reason this can't serve as a non-GPIO jack especially given that...

> +
> +Optional properties:
> +
> +- gpio-audio-jack,jack-name		: Name of the jack. Normally
> +					  'Headphone Jack', 'Mic Jack', or
> +					  'Headset Jack'
> +- gpio-audio-jack,sw-det-gpios		: Reference to GPIOs that signals when
> +					  a jack is plugged.

...GPIOs are optional anyway!  However I think Lars had further concerns
about abstraction which I seem to have missed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150526/75a5e8be/attachment.sig>


More information about the Alsa-devel mailing list