From: Jerome Brunet <jbrunet@baylibre.com>
To: Mark Brown <broonie@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Kevin Hilman <khilman@baylibre.com>,
Carlo Caione <carlo@caione.org>
Cc: Jerome Brunet <jbrunet@baylibre.com>,
alsa-devel@alsa-project.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org
Subject: [PATCH 07/15] ASoC: meson: add axg tdm formatters DT bindings documentation
Date: Tue, 17 Jul 2018 17:36:33 +0200 [thread overview]
Message-ID: <20180717153643.8806-10-jbrunet@baylibre.com> (raw)
In-Reply-To: <20180717153643.8806-1-jbrunet@baylibre.com>
Add the DT bindings documentation for axg's TDM formatters: TDMIN
and TDMOUT.
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
.../bindings/sound/amlogic,axg-tdm-formatters.txt | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/amlogic,axg-tdm-formatters.txt
diff --git a/Documentation/devicetree/bindings/sound/amlogic,axg-tdm-formatters.txt b/Documentation/devicetree/bindings/sound/amlogic,axg-tdm-formatters.txt
new file mode 100644
index 000000000000..1c1b7490554e
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/amlogic,axg-tdm-formatters.txt
@@ -0,0 +1,28 @@
+* Amlogic Audio TDM formatters
+
+Required properties:
+- compatible: 'amlogic,axg-tdmin' or
+ 'amlogic,axg-tdmout'
+- reg: physical base address of the controller and length of memory
+ mapped region.
+- clocks: list of clock phandle, one for each entry clock-names.
+- clock-names: should contain the following:
+ * "pclk" : peripheral clock.
+ * "sclk" : bit clock.
+ * "sclk_sel" : bit clock input multiplexer.
+ * "lrclk" : sample clock
+ * "lrclk_sel": sample clock input multiplexer
+
+Example of TDMOUT_A on the A113 SoC:
+
+tdmout_a: audio-controller@500 {
+ compatible = "amlogic,axg-tdmout";
+ reg = <0x0 0x500 0x0 0x40>;
+ clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>,
+ <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>,
+ <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>,
+ <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>,
+ <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>;
+ clock-names = "pclk", "sclk", "sclk_sel",
+ "lrclk", "lrclk_sel";
+};
--
2.14.4
next prev parent reply other threads:[~2018-07-17 15:38 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-17 15:36 [PATCH 00/15] ASoC: meson: add axg audio subsystem support Jerome Brunet
2018-07-17 15:36 ` [PATCH 01/15] ASoC: meson: add axg fifos DT binding documentation Jerome Brunet
2018-07-18 12:27 ` Applied "ASoC: meson: add axg fifos DT binding documentation" to the asoc tree Mark Brown
2018-07-17 15:36 ` [PATCH 02/15] ASoC: meson: add axg fifo base driver Jerome Brunet
2018-07-18 12:26 ` Applied "ASoC: meson: add axg fifo base driver" to the asoc tree Mark Brown
2018-07-17 15:36 ` [PATCH 03/15] ASoC: meson: add axg frddr driver Jerome Brunet
2018-07-18 12:26 ` Applied "ASoC: meson: add axg frddr driver" to the asoc tree Mark Brown
2018-07-17 15:36 ` [PATCH 04/15] ASoC: meson: add axg toddr driver Jerome Brunet
2018-07-18 12:25 ` Applied "ASoC: meson: add axg toddr driver" to the asoc tree Mark Brown
2018-07-17 15:36 ` [PATCH 05/15] ASoC: meson: add axg spdif output DT binding documentation Jerome Brunet
2018-07-18 12:25 ` Applied "ASoC: meson: add axg spdif output DT bindings documentation" to the asoc tree Mark Brown
2018-07-17 15:36 ` [PATCH 05/15] ASoC: meson: add axg spdif output DT bindings documentation Jerome Brunet
2018-07-17 15:36 ` [PATCH 06/15] ASoC: meson: add axg spdif output Jerome Brunet
2018-07-18 12:25 ` Applied "ASoC: meson: add axg spdif output" to the asoc tree Mark Brown
2018-07-17 15:36 ` [PATCH 07/15] ASoC: meson: add axg tdm formatters DT binding documentation Jerome Brunet
2018-07-18 12:25 ` Applied "ASoC: meson: add axg tdm formatters DT bindings documentation" to the asoc tree Mark Brown
2018-07-17 15:36 ` Jerome Brunet [this message]
2018-07-17 15:36 ` [PATCH 08/15] ASoC: meson: add axg tdm interface DT binding documentation Jerome Brunet
2018-07-20 16:45 ` Applied "ASoC: meson: add axg tdm interface DT bindings documentation" to the asoc tree Mark Brown
2018-07-17 15:36 ` [PATCH 08/15] ASoC: meson: add axg tdm interface DT bindings documentation Jerome Brunet
2018-07-17 15:36 ` [PATCH 09/15] ASoC: meson: add tdm formatter base driver Jerome Brunet
2018-07-20 16:44 ` Applied "ASoC: meson: add tdm formatter base driver" to the asoc tree Mark Brown
2018-07-17 15:36 ` [PATCH 10/15] ASoC: meson: add tdm interface driver Jerome Brunet
2018-07-20 16:44 ` Applied "ASoC: meson: add tdm interface driver" to the asoc tree Mark Brown
2018-07-17 15:36 ` [PATCH 11/15] ASoC: meson: add tdm output driver Jerome Brunet
2018-07-20 16:43 ` Applied "ASoC: meson: add tdm output driver" to the asoc tree Mark Brown
2018-07-17 15:36 ` [PATCH 12/15] ASoC: meson: add tdm input driver Jerome Brunet
2018-07-20 16:43 ` Applied "ASoC: meson: add tdm input driver" to the asoc tree Mark Brown
2018-07-17 15:36 ` [PATCH 13/15] ASoC: export snd_soc_of_get_slot_mask Jerome Brunet
2018-07-20 16:43 ` Applied "ASoC: export snd_soc_of_get_slot_mask" to the asoc tree Mark Brown
2018-07-17 15:36 ` [PATCH 14/15] ASoC: meson: add axg sound card DT binding documentation Jerome Brunet
2018-07-20 16:43 ` Applied "ASoC: meson: add axg sound card DT bindings documentation" to the asoc tree Mark Brown
2018-07-25 19:06 ` [PATCH 14/15] ASoC: meson: add axg sound card DT binding documentation Rob Herring
2018-07-25 21:12 ` jbrunet
2018-07-26 7:40 ` jbrunet
2018-07-26 13:20 ` Rob Herring
2018-07-17 15:36 ` [PATCH 14/15] ASoC: meson: add axg sound card DT bindings documentation Jerome Brunet
2018-07-17 15:36 ` [PATCH 15/15] ASoC: meson: add axg sound card support Jerome Brunet
2018-07-20 16:43 ` Applied "ASoC: meson: add axg sound card support" to the asoc tree Mark Brown
2018-07-17 15:38 ` [PATCH 00/15] ASoC: meson: add axg audio subsystem support Jerome Brunet
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=20180717153643.8806-10-jbrunet@baylibre.com \
--to=jbrunet@baylibre.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=carlo@caione.org \
--cc=devicetree@vger.kernel.org \
--cc=khilman@baylibre.com \
--cc=lgirdwood@gmail.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).