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. --- 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 | 49 ++++++- drivers/iio/dac/ad3552r-hs.c | 303 ++++++++++++++++++++++++++++++--------- drivers/iio/dac/ad3552r-hs.h | 8 ++ drivers/iio/dac/ad3552r.c | 36 ----- drivers/iio/dac/ad3552r.h | 16 ++- drivers/iio/dac/adi-axi-dac.c | 37 ++++- 6 files changed, 339 insertions(+), 110 deletions(-) --- base-commit: 5f8c6f117400b7b21ad248959ae2cb6e0d634e97 change-id: 20250108-wip-bl-ad3552r-axi-v0-iio-testing-carlos-9fae2ab88a12 Best regards, -- Angelo Dureghello <adureghello@xxxxxxxxxxxx>