[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241031035829.54852-1-yesanishhere@gmail.com>
Date: Wed, 30 Oct 2024 20:58:29 -0700
From: anish kumar <yesanishhere@...il.com>
To: lgirdwood@...il.com,
broonie@...nel.org,
perex@...ex.cz,
tiwai@...e.com,
corbet@....net
Cc: linux-kernel@...r.kernel.org,
linux-sound@...r.kernel.org,
linux-doc@...r.kernel.org,
anish kumar <yesanishhere@...il.com>
Subject: [PATCH V2] ASoC: doc: update clock api details
Added ASoC clock api kernel doc in this
document.
Signed-off-by: anish kumar <yesanishhere@...il.com>
---
v2: converted to use kernel doc based on comment
from Jonathan and Mark.
Documentation/sound/soc/clocking.rst | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/Documentation/sound/soc/clocking.rst b/Documentation/sound/soc/clocking.rst
index 32122d6877a3..25d016ea8b65 100644
--- a/Documentation/sound/soc/clocking.rst
+++ b/Documentation/sound/soc/clocking.rst
@@ -42,5 +42,17 @@ rate, number of channels and word size) to save on power.
It is also desirable to use the codec (if possible) to drive (or master) the
audio clocks as it usually gives more accurate sample rates than the CPU.
+ASoC provided clock APIs
+------------------------
+.. kernel-doc:: sound/soc/soc-dai.c
+ :identifiers: snd_soc_dai_set_sysclk
+.. kernel-doc:: sound/soc/soc-dai.c
+ :identifiers: snd_soc_dai_set_clkdiv
+
+.. kernel-doc:: sound/soc/soc-dai.c
+ :identifiers: snd_soc_dai_set_pll
+
+.. kernel-doc:: sound/soc/soc-dai.c
+ :identifiers: snd_soc_dai_set_bclk_ratio
--
2.39.3 (Apple Git-146)
Powered by blists - more mailing lists