ASoC: add es8316 codec driver
authorDaniel Drake <drake@endlessm.com>
Mon, 12 Jun 2017 17:01:45 +0000 (11:01 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 13 Jun 2017 18:30:53 +0000 (19:30 +0100)
commitb8b88b70875af786d9f346d766fa2b0630e2cf41
tree8c8ebbe1909295c7a921349e635d6ee30d38d810
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
ASoC: add es8316 codec driver

Add a codec driver for the Everest ES8316, based on code provided by
David Yang from Everest Semi.

I limited the functionality to items where the vendor code was clear,
and things that can be tested on the Weibu F3C (Intel Cherry Trail).
As a result the initial implementation only supports running in slave
mode at single speed (up to 48kHz sample rate) using I2S. HPD is not
supported.

Signed-off-by: David Yang <yangxiaohua@everest-semi.com>
[drake@endlessm.com: significant cleanups and simplifications,
                     remove dead/unclear code]
Signed-off-by: Daniel Drake <drake@endlessm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/es8316.c [new file with mode: 0644]
sound/soc/codecs/es8316.h [new file with mode: 0644]