Thread (32 messages) flat view 32 messages, 5 authors, 2017-12-09
STALE3163d

Revision v1 of 5 in this series.

Revisions (5)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 current
  4. v1 [diff vs current]
  5. v1 [diff vs current]

[PATCH 4/9] ASoC: sun8i-codec: Add support for A64 SoC

From: anarsoul@gmail.com (Vasily Khoruzhick)
Date: 2017-12-05 23:17:39
Also in: alsa-devel

On Tue, Dec 5, 2017 at 12:04 AM, Maxime Ripard
[off-list ref] wrote:
On Sun, Dec 03, 2017 at 12:41:52PM -0800, Vasily Khoruzhick wrote:
quoted
Digital part of audio codec block in the A64 is very similar to what
is used by the A33(sun8i) devices. However, it uses different LRCK
divider.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
What makes it impossible to derive from the sample rate and number of
channels?
It's BCLK / LRCK ratio as per A64 user manual, so it doesn't depend on
sample rate. BSP driver always uses a fixed value of 64 here.
Have you tried other sampling rates?
I tried speaker-test with a number of sampling rates and had no
issues. I couldn't try it in mono, since sun4i-i2s supports minimum of
2 channels.
Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help