summaryrefslogtreecommitdiffstats
path: root/Documentation/sound/soc
diff options
context:
space:
mode:
authoranish kumar <yesanishhere@gmail.com>2024-10-30 20:58:29 -0700
committerMark Brown <broonie@kernel.org>2024-10-31 12:00:57 +0000
commit019610566757a749dde7e0c92777d2c1613afef8 (patch)
tree311eea5b1481f8a8ea85d4557b2fab9d8e67f6c6 /Documentation/sound/soc
parentbd0aff85d5f3f3fc22735ab5869008dfd8ab4867 (diff)
downloadlinux-019610566757a749dde7e0c92777d2c1613afef8.tar.gz
linux-019610566757a749dde7e0c92777d2c1613afef8.tar.bz2
linux-019610566757a749dde7e0c92777d2c1613afef8.zip
ASoC: doc: update clock api details
Added ASoC clock api kernel doc in this document. Signed-off-by: anish kumar <yesanishhere@gmail.com> Link: https://patch.msgid.link/20241031035829.54852-1-yesanishhere@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/sound/soc')
-rw-r--r--Documentation/sound/soc/clocking.rst12
1 files changed, 12 insertions, 0 deletions
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