[PATCH 2/5] dt-bindings: sound: Add MT8516 AFE PCM bindings
From: Fabien Parent
Date: Thu May 02 2019 - 08:11:35 EST
Add documentation for the bindings of the MT8516 AFE PCM driver.
Signed-off-by: Fabien Parent <fparent@xxxxxxxxxxxx>
---
.../bindings/sound/mt8516-afe-pcm.txt | 28 +++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/mt8516-afe-pcm.txt
diff --git a/Documentation/devicetree/bindings/sound/mt8516-afe-pcm.txt b/Documentation/devicetree/bindings/sound/mt8516-afe-pcm.txt
new file mode 100644
index 000000000000..c5fb3c55a7f4
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/mt8516-afe-pcm.txt
@@ -0,0 +1,28 @@
+Mediatek AFE PCM controller for mt8516
+
+Required properties:
+- compatible: "mediatek,mt8516-audio"
+- interrupts: should contain AFE interrupt
+- clocks: Must contain an entry for each entry in clock-names
+- clock-names: should have these clock names:
+ "top_pdn_audio",
+ "aud_dac_clk",
+ "aud_dac_predis_clk",
+ "aud_adc_clk";
+
+Example:
+
+
+ afe: mt8516-afe-pcm@11140000 {
+ compatible = "mediatek,mt8516-audio";
+ reg = <0 0x11140000 0 0x1000>;
+ interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&topckgen CLK_TOP_AUDIO>,
+ <&audiotop CLK_AUD_DAC>,
+ <&audiotop CLK_AUD_DAC_PREDIS>,
+ <&audiotop CLK_AUD_ADC>;
+ clock-names = "top_pdn_audio",
+ "aud_dac_clk",
+ "aud_dac_predis_clk",
+ "aud_adc_clk";
+ };
--
2.20.1