ASoC: Tegra+WM8903 machine: Add device tree binding
authorStephen Warren <swarren@nvidia.com>
Mon, 12 Dec 2011 22:55:36 +0000 (15:55 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 20 Dec 2011 01:05:34 +0000 (01:05 +0000)
commit07cdf36d8c4ba4ad0db13228eb25bcd3d5138b29
tree3a108122b2dd986b0c840d1456c7080af2f97cc3
parenta4a54dd5bb1bb01010f46147d6d8b452255957bf
ASoC: Tegra+WM8903 machine: Add device tree binding

This driver is parameterized in two ways:

a) Platform data, which supplies the set of GPIOs used by the driver.
   These GPIOs can now be parsed out of device tree.

b) Machine-specific DAPM route arrays embedded into the ASoC machine
   driver itself. Historically, the driver picks the appropriate array
   to use using machine_is_*(). The driver now requires this array to
   be parsed from device tree when instantiated through device tree,
   using the core ASoC support for this parsing.

Based on work by John Bonesio, but significantly reworked since then.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Documentation/devicetree/bindings/sound/tegra-audio-wm8903.txt [new file with mode: 0644]
sound/soc/tegra/tegra_wm8903.c