Lines Matching +full:analog +full:- +full:out
1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 #include <linux/platform_data/asoc-kirkwood.h>
46 SND_SOC_DAPM_HP("Out Jack", NULL),
51 { "Out Jack", NULL, "HPL" },
52 { "Out Jack", NULL, "HPR" },
57 SND_SOC_DAILINK_DEFS(analog,
59 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "cs42l51-hifi")),
64 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "dit-hifi")),
69 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "dir-hifi")),
75 .stream_name = "analog",
78 SND_SOC_DAILINK_REG(analog),
81 .name = "S/PDIF out",
82 .stream_name = "spdif-out",
88 .stream_name = "spdif-in",
109 card->dev = &pdev->dev; in a370db_probe()
111 a370db_dai[0].cpus->of_node = in a370db_probe()
112 of_parse_phandle(pdev->dev.of_node, in a370db_probe()
113 "marvell,audio-controller", 0); in a370db_probe()
114 a370db_dai[0].platforms->of_node = a370db_dai[0].cpus->of_node; in a370db_probe()
116 a370db_dai[0].codecs->of_node = in a370db_probe()
117 of_parse_phandle(pdev->dev.of_node, in a370db_probe()
118 "marvell,audio-codec", 0); in a370db_probe()
120 a370db_dai[1].cpus->of_node = a370db_dai[0].cpus->of_node; in a370db_probe()
121 a370db_dai[1].platforms->of_node = a370db_dai[0].cpus->of_node; in a370db_probe()
123 a370db_dai[1].codecs->of_node = in a370db_probe()
124 of_parse_phandle(pdev->dev.of_node, in a370db_probe()
125 "marvell,audio-codec", 1); in a370db_probe()
127 a370db_dai[2].cpus->of_node = a370db_dai[0].cpus->of_node; in a370db_probe()
128 a370db_dai[2].platforms->of_node = a370db_dai[0].cpus->of_node; in a370db_probe()
130 a370db_dai[2].codecs->of_node = in a370db_probe()
131 of_parse_phandle(pdev->dev.of_node, in a370db_probe()
132 "marvell,audio-codec", 2); in a370db_probe()
134 return devm_snd_soc_register_card(card->dev, card); in a370db_probe()
138 { .compatible = "marvell,a370db-audio" },
145 .name = "a370db-audio",
153 MODULE_AUTHOR("Thomas Petazzoni <thomas.petazzoni@free-electrons.com>");
156 MODULE_ALIAS("platform:a370db-audio");