Skip to content

Texas Instruments 8/10/12-bit 2/4-channel DAC driver

Lukas Wunner linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 5 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: iio: dac: ti-dac082s085: Document new driverDocumentation/devicetree/bindings/iio/dac/ti-dac082s085.txt+34 -01 reply
2/3iio: dac: Add Texas Instruments 8/10/12-bit 2/4-channel DAC driverDocumentation/ABI/testing/sysfs-bus-iio drivers/iio/dac/Kconfig drivers/iio/dac/Makefile +1 more+363 -03 replies
3/3iio: dac: ti-dac082s085: Read chip spec from device tabledrivers/iio/dac/ti-dac082s085.c+26 -91 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] Texas Instruments 8/10/12-bit 2/4-channel DAC driver

Changes v1 -> v2:

Patch [1/3] was acked by Rob Herring.

Patch [2/3]:
- Enable vref regulator before initializing outputs to 0 in ti_dac_probe().
- Add channel datasheet names "A", "B", "C", "D".
- Use goto in ti_dac_set_powerdown_mode(). (Jonathan)
- Return -EBUSY instead of -ESHUTDOWN in ti_dac_write_raw(). (Jonathan)

Patch [3/3]:
- Look up chip properties in table indexed by the modalias instead of gleaning them from the modalias directly. (Jonathan) Separate patch for opinionatedness. ;-)

Link to v1:

https://www.spinics.net/lists/linux-iio/msg34885.html

Lukas Wunner (3):
dt-bindings: iio: dac: ti-dac082s085: Document new driver
iio: dac: Add Texas Instruments 8/10/12-bit 2/4-channel DAC driver
iio: dac: ti-dac082s085: Read chip spec from device table

 Documentation/ABI/testing/sysfs-bus-iio            |   1 +
 .../devicetree/bindings/iio/dac/ti-dac082s085.txt  |  34 ++
 drivers/iio/dac/Kconfig                            |  10 +
 drivers/iio/dac/Makefile                           |   1 +
 drivers/iio/dac/ti-dac082s085.c                    | 368 +++++++++++++++++++++
 5 files changed, 414 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/dac/ti-dac082s085.txt
 create mode 100644 drivers/iio/dac/ti-dac082s085.c
Signature · 1 line
2.11.0