summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorPadmavathi Venna <padma.v@samsung.com>2013-08-12 15:19:51 +0530
committerChanho Park <chanho61.park@samsung.com>2014-11-18 12:00:35 +0900
commitb49780d88c62da81ef1a2a67d1c0fd470d122b24 (patch)
tree492b3a68dc9261ab173b0763033d09b38f7b0541 /Documentation
parent4e85e5bfedc5927129f9be4958e762e9003ec757 (diff)
downloadlinux-3.10-b49780d88c62da81ef1a2a67d1c0fd470d122b24.tar.gz
linux-3.10-b49780d88c62da81ef1a2a67d1c0fd470d122b24.tar.bz2
linux-3.10-b49780d88c62da81ef1a2a67d1c0fd470d122b24.zip
ASoC: Samsung: I2S: Add quirks as driver data in I2S
Samsung has different versions of I2S introduced in different platforms. Each version has some new support added for multichannel, secondary fifo, s/w reset control and internal mux for rclk src clk. Each newly added change has a quirk. So this patch adds all the required quirks as driver data and based on compatible string from dtsi fetches the quirks. Change-Id: Ib8d12633f3971f59284a5a1ae40d60f40411b2cc Signed-off-by: Padmavathi Venna <padma.v@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/samsung-i2s.txt18
1 files changed, 6 insertions, 12 deletions
diff --git a/Documentation/devicetree/bindings/sound/samsung-i2s.txt b/Documentation/devicetree/bindings/sound/samsung-i2s.txt
index 4cc9fa6a04f..b6c63526b00 100644
--- a/Documentation/devicetree/bindings/sound/samsung-i2s.txt
+++ b/Documentation/devicetree/bindings/sound/samsung-i2s.txt
@@ -2,7 +2,11 @@
Required SoC Specific Properties:
-- compatible: "samsung,i2s-v5"
+- compatible : should be one of the following.
+ - samsung,s3c6410-i2s: for 8/16/24bit stereo I2S.
+ - samsung,s5pv210-i2s: for 8/16/24bit multichannel(5.1) I2S with
+ secondary fifo, s/w reset control and internal mux for root clk src.
+
- reg: physical base address of the controller and length of memory mapped
region.
- interrupts: should contain I2S interrupt number.
@@ -12,13 +16,6 @@ Required SoC Specific Properties:
Optional SoC Specific Properties:
-- samsung,supports-6ch: If the I2S Primary sound source has 5.1 Channel
- support, this flag is enabled.
-- samsung,supports-rstclr: This flag should be set if I2S software reset bit
- control is required. When this flag is set I2S software reset bit will be
- enabled or disabled based on need.
-- samsung,supports-secdai: If I2S block has a secondary FIFO and internal DMA,
- then this flag is enabled.
- samsung,idma-addr: Internal DMA register base address of the audio
sub system(used in secondary sound source).
- samsung,no-muxpsr: IISMOD does not have RCLK clock source selection bit.
@@ -40,16 +37,13 @@ Example:
- SoC Specific Portion:
i2s@03830000 {
- compatible = "samsung,i2s-v5";
+ compatible = "samsung,s5pv210-i2s";
reg = <0x03830000 0x100>;
interrupts = <0 97 0>;
dmas = <&pdma0 10
&pdma0 9
&pdma0 8>;
dma-names = "tx", "rx", "tx-sec";
- samsung,supports-6ch;
- samsung,supports-rstclr;
- samsung,supports-secdai;
samsung,idma-addr = <0x03000000>;
};