ALSA: ASoC: Add OpenFirmware helper for matching bus and codec drivers
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 29 Jul 2008 10:42:28 +0000 (11:42 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 29 Jul 2008 19:32:20 +0000 (21:32 +0200)
commit84bc278b1f04920e867e4b46e094bcc066393d41
tree3c4dfdabeee65ebe0b781f14b7df3d82c0444eaf
parentf8ba0b7bfd06a2a5b3c49ff8d71cad31f57b0d51
ALSA: ASoC: Add OpenFirmware helper for matching bus and codec drivers

Simple utility layer for creating ASoC machine instances based on data
in the OpenFirmware device tree.  OF aware platform drivers and codec
drivers register themselves with this framework and the framework
automatically instantiates a machine driver.  At the moment, the driver
is not very capable and it is expected to be extended as more features
are needed for specifying the configuration in the device tree.

This is most likely temporary glue code to work around limitations in
the ASoC v1 framework.  When v2 is merged, most of this driver will
need to be reworked.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/sound/soc-of-simple.h [new file with mode: 0644]
sound/soc/fsl/Kconfig
sound/soc/fsl/Makefile
sound/soc/fsl/soc-of-simple.c [new file with mode: 0644]