summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2014-01-09 17:20:17 +0100
committerChanho Park <chanho61.park@samsung.com>2014-11-18 12:00:20 +0900
commit0199e571edc727e3af37c009bb541e0c436b8436 (patch)
treeb5c67487ac6a03a19a1ed89279a5600dfa5a3a61
parent0cf039cd3bc131cf6c1366cdc68d4e6f94d7b8c9 (diff)
downloadlinux-3.10-0199e571edc727e3af37c009bb541e0c436b8436.tar.gz
linux-3.10-0199e571edc727e3af37c009bb541e0c436b8436.tar.bz2
linux-3.10-0199e571edc727e3af37c009bb541e0c436b8436.zip
sound: soc/samsung: i2s: Add DT property to support NO_MUXPSR quirk
This patch adds property to samsung-i2s DT binding indicating that controller does not have RCLK source selection bit in IISMOD register. Signed-off-by: Tomasz Figa <t.figa@samsung.com>
-rw-r--r--Documentation/devicetree/bindings/sound/samsung-i2s.txt1
-rw-r--r--sound/soc/samsung/i2s.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/samsung-i2s.txt b/Documentation/devicetree/bindings/sound/samsung-i2s.txt
index 0cda9146303..4cc9fa6a04f 100644
--- a/Documentation/devicetree/bindings/sound/samsung-i2s.txt
+++ b/Documentation/devicetree/bindings/sound/samsung-i2s.txt
@@ -21,6 +21,7 @@ Optional SoC Specific Properties:
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.
Required Board Specific Properties:
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c
index d7e4006252f..fa2872742e8 100644
--- a/sound/soc/samsung/i2s.c
+++ b/sound/soc/samsung/i2s.c
@@ -1232,6 +1232,9 @@ static int samsung_i2s_probe(struct platform_device *pdev)
if (of_find_property(np, "samsung,supports-rstclr", NULL))
quirks |= QUIRK_NEED_RSTCLR;
+ if (of_find_property(np, "samsung,no-muxpsr", NULL))
+ quirks |= QUIRK_NO_MUXPSR;
+
if (of_property_read_u32(np, "samsung,idma-addr",
&idma_addr)) {
if (quirks & QUIRK_SEC_DAI) {