Skip to content

Commit 1bc17c6

Browse files
Sheetalbroonie
authored andcommitted
ASoC: tegra: Add support for Tegra238 soundcard
Tegra238 platforms use different clock rates for plla and plla_out0 clocks. Add Tegra238 support in the Tegra sound card driver to apply specific clock configurations. Signed-off-by: Aditya Bavanari <abavanari@nvidia.com> Signed-off-by: Sheetal <sheetal@nvidia.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Link: https://patch.msgid.link/20260303100249.3214529-3-sheetal@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 1f318b9 commit 1bc17c6

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

sound/soc/tegra/tegra_audio_graph_card.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,15 @@ static const struct tegra_audio_cdata tegra186_data = {
231231
.plla_out0_rates[x11_RATE] = 45158400,
232232
};
233233

234+
static const struct tegra_audio_cdata tegra238_data = {
235+
/* PLLA */
236+
.plla_rates[x8_RATE] = 1277952000,
237+
.plla_rates[x11_RATE] = 1264435200,
238+
/* PLLA_OUT0 */
239+
.plla_out0_rates[x8_RATE] = 49152000,
240+
.plla_out0_rates[x11_RATE] = 45158400,
241+
};
242+
234243
static const struct tegra_audio_cdata tegra264_data = {
235244
/* PLLA1 */
236245
.plla_rates[x8_RATE] = 983040000,
@@ -245,6 +254,8 @@ static const struct of_device_id graph_of_tegra_match[] = {
245254
.data = &tegra210_data },
246255
{ .compatible = "nvidia,tegra186-audio-graph-card",
247256
.data = &tegra186_data },
257+
{ .compatible = "nvidia,tegra238-audio-graph-card",
258+
.data = &tegra238_data },
248259
{ .compatible = "nvidia,tegra264-audio-graph-card",
249260
.data = &tegra264_data },
250261
{},

0 commit comments

Comments
 (0)