From 0199e571edc727e3af37c009bb541e0c436b8436 Mon Sep 17 00:00:00 2001 From: Tomasz Figa Date: Thu, 9 Jan 2014 17:20:17 +0100 Subject: 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 --- Documentation/devicetree/bindings/sound/samsung-i2s.txt | 1 + sound/soc/samsung/i2s.c | 3 +++ 2 files changed, 4 insertions(+) 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) { -- cgit v1.2.3