lkml.org 
[lkml]   [2019]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/2] dt-bindings: soc: sprd: Add Spreadtrum MCDT documentation
Date
Add documentation for Spreadtrum multi-channel data transfer controller,
which is used for sound stream transmission between audio subsystem and
other AP/CP subsystems.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
---
.../devicetree/bindings/soc/sprd/sprd-mcdt.txt | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/sprd/sprd-mcdt.txt

diff --git a/Documentation/devicetree/bindings/soc/sprd/sprd-mcdt.txt b/Documentation/devicetree/bindings/soc/sprd/sprd-mcdt.txt
new file mode 100644
index 0000000..274ba0a
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/sprd/sprd-mcdt.txt
@@ -0,0 +1,19 @@
+Spreadtrum Multi-Channel Data Transfer Binding
+
+The Multi-channel data transfer controller is used for sound stream
+transmission between audio subsystem and other AP/CP subsystem. It
+supports 10 DAC channel and 10 ADC channel, and each channel can be
+configured with DMA mode or interrupt mode.
+
+Required properties:
+- compatible: Should be "sprd,sc9860-mcdt".
+- reg: Should contain registers address and length.
+- interrupts: Should contain one interrupt shared by all channel.
+
+Example:
+
+mcdt@41490000 {
+ compatible = "sprd,sc9860-mcdt";
+ reg = <0 0x41490000 0 0x170>;
+ interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
+};
--
1.7.9.5
\
 
 \ /
  Last update: 2019-04-19 22:12    [W:0.094 / U:2.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site