Thread (13 messages) 13 messages, 3 authors, 2018-03-13

[linux-sunxi] [PATCH v2 1/6] ASoC: sun4i-i2s: Add slot width override

From: Julian Calaby <hidden>
Date: 2018-03-13 12:00:21
Also in: alsa-devel, lkml

Hi Marcus,

On Tue, Mar 13, 2018 at 2:57 AM,  [off-list ref] wrote:
quoted hunk ↗ jump to hunk
From: Marcus Cooper <redacted>

Some codecs require a different amount of a bit clocks per frame
than what is calculated by using the sample width. Use a slot
width override property to provide this mechanism.

Signed-off-by: Marcus Cooper <redacted>
---
 Documentation/devicetree/bindings/sound/sun4i-i2s.txt |  5 +++++
 sound/soc/sunxi/sun4i-i2s.c                           | 15 ++++++++++++---
 2 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/sun4i-i2s.txt b/Documentation/devicetree/bindings/sound/sun4i-i2s.txt
index b9d50d6cdef3..48addef65b8f 100644
--- a/Documentation/devicetree/bindings/sound/sun4i-i2s.txt
+++ b/Documentation/devicetree/bindings/sound/sun4i-i2s.txt
@@ -28,6 +28,11 @@ Required properties for the following compatibles:
        - "allwinner,sun8i-h3-i2s"
 - resets: phandle to the reset line for this codec

+Optional properties:
+- allwinner,slot-width-override:if this property is present then the dai is
+                               configured to extend the slot width to the
+                               value specified. Min 8, Max 32.
+
This sounds like something that would be useful for other I2S controllers.

Thanks,

-- 
Julian Calaby

Email: julian.calaby at gmail.com
Profile: http://www.google.com/profiles/julian.calaby/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help