sound: soc/samsung: i2s: Add DT property to support NO_MUXPSR quirk
authorTomasz Figa <t.figa@samsung.com>
Thu, 9 Jan 2014 16:20:17 +0000 (17:20 +0100)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:20 +0000 (12:00 +0900)
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>
Documentation/devicetree/bindings/sound/samsung-i2s.txt
sound/soc/samsung/i2s.c

index 0cda914..4cc9fa6 100644 (file)
@@ -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:
 
index d7e4006..fa28727 100644 (file)
@@ -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) {