public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
From: Sheetal <sheetal@nvidia.com>
To: Mark Brown <broonie@kernel.org>,
	Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	Jaroslav Kysela <perex@perex.cz>, "Takashi Iwai" <tiwai@suse.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Thierry Reding <thierry.reding@kernel.org>,
	Jonathan Hunter <jonathanh@nvidia.com>
Cc: Mohan Kumar <mkumard@nvidia.com>, <linux-sound@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <linux-tegra@vger.kernel.org>,
	Sheetal <sheetal@nvidia.com>
Subject: [PATCH 2/2] ASoC: tegra: enable ignore_zero_sysclk for Tegra
Date: Tue, 17 Mar 2026 09:49:10 +0000	[thread overview]
Message-ID: <20260317094910.1582011-3-sheetal@nvidia.com> (raw)
In-Reply-To: <20260317094910.1582011-1-sheetal@nvidia.com>

Tegra AUD_MCLK has a minimum allowed clock frequency of 1.5MHz, but
0Hz requests cause the system to set a lower rate than this minimum,
resulting in the following errors from the Tegra Boot and Power
Management Processor (BPMP) that configures the clocks:

 verify_rate_range: FMON_AUD_MCLK: rate 383999 below min 1500000
 fmon_update_config: FMON_AUD_MCLK: detected fault 0x80

Enable the ignore_zero_sysclk flag for Tegra audio graph card to
ignore these 0Hz sysclk requests during stream shutdown.

Signed-off-by: Sheetal <sheetal@nvidia.com>
---
 sound/soc/tegra/tegra_audio_graph_card.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/tegra/tegra_audio_graph_card.c b/sound/soc/tegra/tegra_audio_graph_card.c
index ea10e6e8a9fe..3c88c43e1273 100644
--- a/sound/soc/tegra/tegra_audio_graph_card.c
+++ b/sound/soc/tegra/tegra_audio_graph_card.c
@@ -209,6 +209,7 @@ static int tegra_audio_graph_probe(struct platform_device *pdev)
 	card->component_chaining = 1;
 	priv->simple.ops = &tegra_audio_graph_ops;
 	priv->simple.force_dpcm = 1;
+	priv->simple.ignore_zero_sysclk = 1;
 
 	return audio_graph_parse_of(&priv->simple, dev);
 }
-- 
2.17.1


      parent reply	other threads:[~2026-03-17  9:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-17  9:49 [PATCH 0/2] ASoC: Add flag to ignore 0Hz sysclk requests Sheetal
2026-03-17  9:49 ` [PATCH 1/2] ASoC: simple-card-utils: add ignore_zero_sysclk flag Sheetal
2026-03-17 13:39   ` Mark Brown
2026-03-17 23:02     ` Kuninori Morimoto
2026-03-18  9:06       ` Sheetal .
2026-03-18 11:56         ` Mark Brown
2026-03-25  5:27           ` Sheetal .
2026-03-17  9:49 ` Sheetal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260317094910.1582011-3-sheetal@nvidia.com \
    --to=sheetal@nvidia.com \
    --cc=broonie@kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=mkumard@nvidia.com \
    --cc=perex@perex.cz \
    --cc=thierry.reding@kernel.org \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox