Skip to content

Improvements and Enhancements for AD5791 DAC Driver

[email protected] linux-devicetree linux-iio lkml llvm oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dt-bindings: iio: dac: ad5791: Add optional reset, clr and ldac gpiosDocumentation/devicetree/bindings/iio/dac/adi,ad5791.yaml+15 -01 reply
2/6dt-bindings: iio: dac: ad5791: Add required voltage suppliesDocumentation/devicetree/bindings/iio/dac/adi,ad5791.yaml+24 -03 replies
3/6iio: dac: ad5791: Include chip_info in device match tablesdrivers/iio/dac/ad5791.c+51 -561 reply
4/6iio: dac: ad5791: Add reset, clr and ldac gpiosdrivers/iio/dac/ad5791.c+28 -30 replies
5/6iio: dac: ad5791: Use devm_regulator_get_enable_read_voltagedrivers/iio/dac/ad5791.c+12 -440 replies
6/6iio: dac: ad5791: Use devm_iio_device_registerdrivers/iio/dac/ad5791.c+1 -141 reply

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/6R-b
2/6R-b
3/6
4/6
5/6
6/6

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

Read the v1 thread

Cover letter [PATCH 0/6] Improvements and Enhancements for AD5791 DAC Driver

From: Axel Haslam <[email protected]>

These patches aim to improve on the ad5791 driver:
- make use of chip_info / match tables, and drop device enum id.
- Add reset, clr and ldac gpios that have to be set to the correct level in case they are not not hardwired on the setup/PCB.
- simplify probe by using the devm_* functions to automatically free resources.

Axel Haslam (6):
dt-bindings: iio: dac: ad5791: Add optional reset, clr and ldac gpios
dt-bindings: iio: dac: ad5791: Add required voltage supplies
iio: dac: ad5791: Include chip_info in device match tables
iio: dac: ad5791: Add reset, clr and ldac gpios
iio: dac: ad5791: Use devm_regulator_get_enable_read_voltage
iio: dac: ad5791: Use devm_iio_device_register

 .../bindings/iio/dac/adi,ad5791.yaml          |  39 ++++
 drivers/iio/dac/ad5791.c                      | 195 ++++++++----------
 2 files changed, 124 insertions(+), 110 deletions(-)
Signature · 1 line
2.34.1