aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2023-04-18 11:54:45 +0200
committerVinod Koul <[email protected]>2023-05-08 13:01:34 +0530
commit6378fe11207ab1f203d089af3e7db336f0b9f299 (patch)
tree625a96297b7079d806ab5a39f71c1204ead732f4 /tools/perf/scripts/python/export-to-sqlite.py
parent6f76e79153d588ebb00becbfc200ec3b983e353e (diff)
soundwire: qcom: prepare for handling different register layouts
Currently the driver supports Qualcomm Soundwire controller versions from v1.3 till v1.7 which mostly have same register layout. With coming Qualcomm Soundwire v2.0, several registers were moved and changed, thus a different register layout will have to be supported. Prepare for this by: 1. Renaming few register defines to indicate v1.3 (earliest supported) version, 2. Add a simple table for mapping register to its offset, 3. Change the code to use the mapping table. Since only few registers differ, this solution seems easier then switching to regmap fields. Reviewed-by: Srinivas Kandagagatla <[email protected]> Tested-by: Srinivas Kandagagatla <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions