diff options
| author | Valerio Setti <vsetti@baylibre.com> | 2026-06-10 23:29:26 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-06-29 19:43:27 +0100 |
| commit | 9335117a221a7886bb6cac8a15905cf567d3413b (patch) | |
| tree | 2ea541734aea37f0778bcf9752e69cf51248f5ce /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | a295be8d6210ab6a6ec9710b5b146cba34f36c6f (diff) | |
ASoC: meson: aiu-encoder-i2s: prepare for multiple streams
aiu-encoder-i2s is going to be the interface that handles both playback
and capture, so this commit does all the required changes to prepare
for that since so far it only handled playback:
- probe/remove functions are added to allocate/free per stream data,
respectively.
- 'struc gx_iface' and 'struct gx_stream' are used to store interface or
stream associated data, respecively.
- interface wide rate symmetry is enforced.
- quirks on bclk are also enforced if/when necessary.
Clock-wise instead of bulk enabling all the clocks on startup and disabling
them on shutdown, only the peripheral's internal ones are enabled/disabled
in those functions, whereas MCLK and I2S clock divider are handled in
prepare/hw_free.
Finally a trigger() callback is also added to start/stop the associated
I2S data formatter.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://patch.msgid.link/20260610-reshape-aiu-as-axg-v2-2-cac3663a8b51@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
