[PATCH 0/4] ASoC: meson: axg-fifo: fix depth handling
From: Jerome Brunet
Date: Wed Dec 18 2019 - 12:24:30 EST
This patchset improves the handling the depth of the different fifos
found in amlogic audio subsystems derived from the axg family.
Initially, it was reported that, when the period is less than 8kB on sm1
and with TODDR A, several period are coming at once. This is because the
field related to the fifo request threshold changed on the sm1 SoC and
also because TODDR A instance is significantly larger compared to the
other instances.
With this initial issue fixed, I used the opportunity to improve the
driver and properly deal with the different fifo depth found in these
SoCs.
Jerome Brunet (4):
ASoC: meson: axg-fifo: fix fifo threshold setup
ASoC: meson: axg-fifo: add fifo depth to the bindings documentation
ASoC: meson: axg-fifo: improve depth handling
ASoC: meson: axg-fifo: relax period size constraints
.../bindings/sound/amlogic,axg-fifo.txt | 4 ++
sound/soc/meson/axg-fifo.c | 50 ++++++++++++++++---
sound/soc/meson/axg-fifo.h | 9 ++--
sound/soc/meson/axg-frddr.c | 33 ++++++------
sound/soc/meson/axg-toddr.c | 21 ++++----
5 files changed, 76 insertions(+), 41 deletions(-)
--
2.23.0