diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2024-08-05 16:08:39 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-08-05 19:26:29 +0200 |
commit | e42066df07c0fcedebb32ed56f8bc39b4bf86337 (patch) | |
tree | 0849bf328a69b36aa2f2d7c209ae89ad27a49ac2 /sound/synth | |
parent | ASoC: codecs: lpass-macro: fix missing codec version (diff) | |
download | linux-e42066df07c0fcedebb32ed56f8bc39b4bf86337.tar.xz linux-e42066df07c0fcedebb32ed56f8bc39b4bf86337.zip |
ASoC: cs35l56: Handle OTP read latency over SoundWire
Use the late-read buffer in the CS35L56 SoundWire interface to
read OTP memory.
The OTP memory has a longer access latency than chip registers
and cannot guarantee to return the data value in the SoundWire
control response if the bus clock is >4.8 MHz. The Cirrus
SoundWire peripheral IP exposes the bridge-to-bus read buffer
and status bits. For a read from OTP the bridge status bits are
polled to wait for the OTP data to be loaded into the read buffer
and the data is then read from there.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Fixes: e1830f66f6c6 ("ASoC: cs35l56: Add helper functions for amp calibration")
Link: https://patch.msgid.link/20240805140839.26042-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/synth')
0 files changed, 0 insertions, 0 deletions