[alsa-devel] [PATCH v2] ASoC: rt5645: Introduce mapping for ACPI-defined GPIO

Carlo Caione carlo at caione.org
Thu Feb 15 10:11:10 CET 2018


On Fri, Feb 9, 2018 at 2:23 PM, Carlo Caione <carlo at caione.org> wrote:
> From: Carlo Caione <carlo at endlessm.com>
>
> On at least one notebook (ECS EF20EA) the 'hp-detect' GPIO is defined in
> the DSDT table by the ACPI GpioIo resources in _CRS. Add this mapping to
> the rt5645 driver to enable the jack detection also on non-DT platforms.

Please do not merge this yet, I'll submit a V3 soon.
Hans pointed out that on some BayTrail there is indeed an extra GPIO
but it is used to enable the external speaker amplifier. Better to
guard this by a quirk.

Cheers,

-- 
Carlo Caione


More information about the Alsa-devel mailing list