This patchset add support for ad3541/42r, 16MUPS, respectively single and dual channel DACs, together with some minor fixes. The ad354xr connect through a DSPI bus (while ad355xr through QSPI), so a new fpga HDL supporting bus mode switch has been developed to support them. Signed-off-by: Angelo Dureghello <adureghello@xxxxxxxxxxxx> --- Changes in v2: - reproposing the patchset using platform data for bus mode change functionality, - improve commit messages, - add separate patch for instruction mode, - add separate patch for sharing model data structures, - remove error on wrong id, - fix id detection info message in case of wrong id. Changes in v3: - improve commit messages, - removed some not useful dev_err, - comment syntax fixes, - add lock guards for bus mode change, - remove externs for range tables. Signed-off-by: Angelo Dureghello <adureghello@xxxxxxxxxxxx> --- Angelo Dureghello (9): iio: dac: ad3552r-common: fix ad3541/2r ranges iio: dac: ad3552r-hs: clear reset status flag iio: dac: adi-axi-dac: modify stream enable iio: dac: adi-axi-dac: add bus mode setup iio: dac: ad3552r-hs: fix message on wrong chip id iio: dac: ad3552r-hs: use instruction mode for configuration iio: dac: ad3552r: share model data structures iio: dac: ad3552r-hs: add ad3541/2r support iio: dac: ad3552r-hs: update function name (non functional) drivers/iio/dac/ad3552r-common.c | 55 +++++++- drivers/iio/dac/ad3552r-hs.c | 296 ++++++++++++++++++++++++++++++--------- drivers/iio/dac/ad3552r-hs.h | 8 ++ drivers/iio/dac/ad3552r.c | 36 ----- drivers/iio/dac/ad3552r.h | 17 ++- drivers/iio/dac/adi-axi-dac.c | 30 +++- 6 files changed, 326 insertions(+), 116 deletions(-) --- base-commit: 74022f59b0a17567c0d7bad8f197977d24d06525 change-id: 20250110-wip-bl-ad3552r-axi-v0-iio-testing-carlos-db63c474ca9e Best regards, -- Angelo Dureghello <adureghello@xxxxxxxxxxxx>