[alsa-devel] [RFC 00/11] ASoC: hdac: Add hdac generic driver
Subhransu S. Prusty
subhransu.s.prusty at intel.com
Mon Jun 27 05:47:53 CEST 2016
HDA devices generically can be modelled with DAPM in ASoC. This
series adds a framework in ASoC to model HDA devices. HDA widgets
are enumerated and one or multiple DAPM widget(s) are created.
Connection list is queried for each widget to identify the
connection between two endpoints and modelled using DAPM graph.
Set of event handlers are defined for each widget type. Based on
DAPM events required verbs are sent to program codec.
Finally a function is exported to query for the device endpoint
configuration to create machine controls.
Hardik T Shah (1):
ASoC: Add dai_ops to set the stream tag.
Subhransu S. Prusty (10):
ALSA: hdac: Add codec helper library
ALSA: hda - Add macro to test pin widget's input capability
ASoC: hdac: Add a generic hdac driver framework
ASoC: hdac: Create DAPM model for HDA widgets
ASoC: dapm: Create API to add a single route element
ASoC: hdac: Build DAPM graph by querying through widget connection
list
ASoC: hdac: Register widget event handlers
ALSA: hda - macro to get default config device of pin widgets
ASoC: dapm: Export snd_soc_dapm_new_control
ASoC: hdac: Export API to create machine controls
include/sound/hdaudio.h | 1 +
include/sound/soc-dai.h | 12 +
include/sound/soc-dapm.h | 5 +
sound/hda/ext/Makefile | 3 +-
sound/hda/ext/hdac_codec.c | 188 +++++
sound/hda/ext/hdac_codec.h | 52 ++
sound/hda/local.h | 13 +
sound/soc/codecs/Kconfig | 5 +
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/hdac_generic.c | 1561 +++++++++++++++++++++++++++++++++++++++
sound/soc/codecs/hdac_generic.h | 31 +
sound/soc/soc-core.c | 35 +
sound/soc/soc-dapm.c | 22 +
13 files changed, 1929 insertions(+), 1 deletion(-)
create mode 100644 sound/hda/ext/hdac_codec.c
create mode 100644 sound/hda/ext/hdac_codec.h
create mode 100644 sound/soc/codecs/hdac_generic.c
create mode 100644 sound/soc/codecs/hdac_generic.h
--
1.9.1
More information about the Alsa-devel
mailing list