diff options
| author | Kim Seer Paller <kimseer.paller@analog.com> | 2026-07-03 18:10:09 +0800 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-07-05 00:53:08 +0100 |
| commit | d373ecd2347f6b8b82b8cefa3a267cef569f5c2b (patch) | |
| tree | dcc9ae65508661bde4b6e41487c7a30f1c3fdbd4 /tools/perf/scripts/python/task-analyzer.py | |
| parent | f1d92ca09f35cc07740e2ba95afe109218f7c9e7 (diff) | |
iio: dac: ad3530r: Refactor setup to table-driven register banks
Devices with a multi-bank register map repeat the same configuration
across several banks, which the hardcoded register addresses in
ad3530r_setup() cannot cover.
Move the addresses into per-chip arrays and add ad3530r_set_reg_bank_bits()
and ad3530r_write_reg_banks() to apply an operation to every bank. Each
current device has a single bank, so no functional change.
Signed-off-by: Kim Seer Paller <kimseer.paller@analog.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
