Lines Matching +full:audio +full:- +full:widgets

1 // SPDX-License-Identifier: GPL-2.0-only
3 * bytcht_nocodec.c - ASoc Machine driver for MinnowBoard Max and Up
4 * to make I2S signals observable on the Low-Speed connector. Audio codec
7 * Copyright (C) 2015-2017 Intel Corp
18 #include "../atom/sst-atom-controls.h"
20 static const struct snd_soc_dapm_widget widgets[] = { variable
50 rate->min = rate->max = 48000; in codec_fixup()
51 channels->min = channels->max = 2; in codec_fixup()
53 /* set SSP2 to 24-bit */ in codec_fixup()
58 * with explicit setting to I2S 2ch 24-bit. The word length is set with in codec_fixup()
67 dev_err(rtd->dev, "can't set format to I2S, err %d\n", ret); in codec_fixup()
73 dev_err(rtd->dev, "can't set I2S config, err %d\n", ret); in codec_fixup()
91 return snd_pcm_hw_constraint_list(substream->runtime, 0, in aif1_startup()
104 DAILINK_COMP_ARRAY(COMP_CPU("media-cpu-dai")));
107 DAILINK_COMP_ARRAY(COMP_CPU("deepbuffer-cpu-dai")));
110 DAILINK_COMP_ARRAY(COMP_CPU("ssp2-port")));
113 DAILINK_COMP_ARRAY(COMP_PLATFORM("sst-mfld-platform")));
117 .name = "Audio Port",
118 .stream_name = "Audio",
128 .name = "Deep-Buffer Audio Port",
129 .stream_name = "Deep-Buffer Audio",
137 /* CODEC<->CODEC link */
140 .name = "SSP2-LowSpeed Connector",
156 .name = "bytcht-nocodec",
160 .dapm_widgets = widgets,
161 .num_dapm_widgets = ARRAY_SIZE(widgets),
174 bytcht_nocodec_card.dev = &pdev->dev; in snd_bytcht_nocodec_mc_probe()
176 ret_val = devm_snd_soc_register_card(&pdev->dev, &bytcht_nocodec_card); in snd_bytcht_nocodec_mc_probe()
179 dev_err(&pdev->dev, "devm_snd_soc_register_card failed %d\n", in snd_bytcht_nocodec_mc_probe()
196 MODULE_AUTHOR("Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>");