Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/4] Support ROHM BD7971x family of DACs
@ 2026-12-02 13:38 Matti Vaittinen
  2026-12-02 13:38 ` [PATCH 1/4] dt-bindings: iio: bd79703: Fix VFS explanation Matti Vaittinen
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Matti Vaittinen @ 2026-12-02 13:38 UTC (permalink / raw)
  To: Matti Vaittinen, Matti Vaittinen, Matti Vaittinen
  Cc: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matti Vaittinen,
	linux-iio, devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1838 bytes --]

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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-12-02 13:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 13:38 [PATCH 0/4] Support ROHM BD7971x family of DACs Matti Vaittinen
2026-12-02 13:38 ` [PATCH 1/4] dt-bindings: iio: bd79703: Fix VFS explanation Matti Vaittinen
2026-12-02 13:38 ` [PATCH 2/4] dt-bindings: iio: dac: Add ROHM BD7971x Matti Vaittinen
2026-12-02 13:39 ` [PATCH 3/4] iio: dac: rohm-bd79703: Avoid copying chip-data Matti Vaittinen
2026-12-02 13:39 ` [PATCH 4/4] bd79703: Support ROHM BD7971x DACs Matti Vaittinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox