diff options
author | Srinivas Kandagatla <[email protected]> | 2024-06-13 11:49:31 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-06-14 15:34:15 +0100 |
commit | 378918d5918116b95300dd7f03913a1d0841f223 (patch) | |
tree | 962d3edbc48482deb638cb6c842bced654de9757 /tools/perf/scripts/python/gecko.py | |
parent | 83a7eefedc9b56fe7bfeff13b6c7356688ffa670 (diff) |
ASoC: codecs: lpass-macro: add helpers to get codec version
LPASS Digital codec have changes in register layout across multiple
versions. Add a proper way read the codec version allowint all the lpass
macro drivers (tx, rx, wsa, va) to configure the registers correctly.
LPASS VA macro has the required registers to read the codec version.
Read the the version and make it available to other lpass codec macros
using the common helper functions.
Existing method of using LPASS IP version is not accurate as the same
the codec versioning is totally independent of LPASS IP block versions.
These helper functions should be able to provide a convient way to get
the codec version, and will help scale the drivers in right direction.
Signed-off-by: Srinivas Kandagatla <[email protected]>
Tested-by: Krzysztof Kozlowski <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8650-HDK
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions