summaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa/zylonite.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2011-12-21 18:40:59 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-22 12:00:21 +0100
commit5a5049637cf08c4c17805be679c19544bb27fb92 (patch)
tree3519d679c700f79bdfddc8d2779801415ea83b18 /sound/soc/pxa/zylonite.c
parentASoC: Remove ifdefs for GPIO_SYSFS (diff)
downloadlinux-5a5049637cf08c4c17805be679c19544bb27fb92.tar.xz
linux-5a5049637cf08c4c17805be679c19544bb27fb92.zip
ASoC: Allow DAI links to be specified using device tree nodes
DAI link endpoints and platform (DMA) devices are currently specified by name. When instantiating sound cards from device tree, it may be more convenient to refer to these devices by phandle in the device tree, and for code to describe DAI links using the "struct device_node *" ("of_node") those phandles map to. This change adds new fields to snd_soc_dai_link which can "name" devices using of_node, enhances soc_bind_dai_link() to allow binding based on of_node, and enhances snd_soc_register_card() to ensure that illegal combinations of name and of_node are not used. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/pxa/zylonite.c')
0 files changed, 0 insertions, 0 deletions