]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5677: Add ACPI support
authorJohn Keeping <john@metanate.com>
Wed, 24 Aug 2016 21:06:35 +0000 (22:06 +0100)
committerMark Brown <broonie@kernel.org>
Sat, 24 Sep 2016 18:59:37 +0000 (19:59 +0100)
commit188686919ffb4570d3cfb947b46f46f92b90b45a
tree60478a877e4d449e20306011acc5f075c49657a2
parentb482605f7939bd4035b2d11a7952dc3da5821c6d
ASoC: rt5677: Add ACPI support

The Chromebook Pixel 2015 uses this codec with the ACPI ID RT5677CE, but
does not use the standard DT property names so add a new function to
parse the codec properties from these ACPI properties.

Also, the GPIOs are only available by index, so we need to register a
mapping to allow machine drivers to access the GPIOs by name.

Signed-off-by: John Keeping <john@metanate.com>
Tested-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5677.c