diff options
| author | 2026-07-03 18:10:09 +0800 | |
|---|---|---|
| committer | 2026-07-05 00:53:08 +0100 | |
| commit | d373ecd2347f6b8b82b8cefa3a267cef569f5c2b (patch) | |
| tree | dcc9ae65508661bde4b6e41487c7a30f1c3fdbd4 /scripts/Makefile.thinlto | |
| parent | iio: dac: ad3530r: Convert sw_ldac_trig_reg to a function pointer (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
