Support ROHM BD7971x family of DACs (and fix existing binding doc) The ROHM BD7971[0-3] are 10-bit DACs which have similar SPI command logic, channel numbering, and VCC / VFS pin logic with the 8-bit ROHM BD7970[0-3] family DACs. Both families use 16-bit SPI transactions where the channel which DAC word is being set, can be specified by the SPI command. The SPI command resides in the first half of the transaction, and DAC word to be set follows. The of the SPI command and the DAC word differ, (as does the length of the DAC word). While adding the support for the new family of DACs, I noticed I had misread the existing BD7970x family of DACs data-sheet. As a result, the information about VFS pin usage on BD79702 and BD79703 is incorrect. First patch in the series is a fix to the documentation. Rest of the patches add support to the BD7971x family of the DACs to the existing BD7970x driver. The series is based on the v7.4-rc1 + driver VFS fix, which is identical to the one in the IIO tree's 'fixes-togreg' -branch: 7b9c4d1c895f ("iio: dac: rohm-bd79703: Fix full-scale voltages") The driver-fix patch shouldn't be needed for the binding part as I forgot to fix the bindings at the same time, hence missing it from the base shouldn't conflict (what comes to the code). I can do rebasing / split the series as (if) needed. Matti Vaittinen (4): dt-bindings: iio: bd79703: Fix VFS explanation dt-bindings: iio: dac: Add ROHM BD7971x iio: dac: rohm-bd79703: Avoid copying chip-data bd79703: Support ROHM BD7971x DACs .../bindings/iio/dac/rohm,bd79703.yaml | 34 ++++-- drivers/iio/dac/rohm-bd79703.c | 108 ++++++++++++++++-- 2 files changed, 120 insertions(+), 22 deletions(-) base-commit: 0723d51fa973f0204e1c436c08a784b7b1cca795 -- 2.56.1