Support ROHM BD7971x family of DACs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | dt-bindings: iio: bd79703: Fix VFS explanationDocumentation/ | +5 | 0 replies | |
| 2/4 | dt-bindings: iio: dac: Add ROHM BD7971xDocumentation/ | +23 | 6 replies | |
| 3/4 | iio: dac: rohm-bd79703: Avoid copying chip-datadrivers/ | +11 | 1 reply | |
| 4/4 | bd79703: Support ROHM BD7971x DACsdrivers/ | +87 | 1 reply |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Conor Dooley | Andy Shevchenko |
|---|---|---|
| 1/4 | ||
| 2/4 | A-b | |
| 3/4 | R-b | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] Support ROHM BD7971x family of DACs
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
Signature · 1 line
2.56.1