Skip to content

Improvements and Enhancements for AD5791 DAC Driver

[email protected] linux-devicetree linux-iio lkml 2 versions – Applied

Status from this message: Applied. Thanks,

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 1 replyApplied
  2. v16 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- v2 is missing the version prefix. Im sending v3 just with the added review-by tag.
- Add review-by tag from David Lechner
- Link to V2: https://lore.kernel.org/all/[email protected]/

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/6dt-bindings: iio: dac: ad5791: Add optional reset, clr and ldac gpiosDocumentation/devicetree/bindings/iio/dac/adi,ad5791.yaml+15 -00 replies
2/6dt-bindings: iio: dac: ad5791: Add required voltage suppliesDocumentation/devicetree/bindings/iio/dac/adi,ad5791.yaml+24 -00 replies
3/6iio: dac: ad5791: Include chip_info in device match tablesdrivers/iio/dac/ad5791.c+53 -570 replies
4/6iio: dac: ad5791: Add reset, clr and ldac gpiosdrivers/iio/dac/ad5791.c+31 -30 replies
5/6iio: dac: ad5791: Use devm_regulator_get_enable_read_voltagedrivers/iio/dac/ad5791.c+14 -440 replies
6/6iio: dac: ad5791: Use devm_iio_device_registerdrivers/iio/dac/ad5791.c+1 -140 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchDavid LechnerKrzysztof Kozlowski
1/6R-b R-b
2/6R-b R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

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

Read the v3 thread

Cover letter [PATCH v3 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 hardwired on the setup/PCB.
- simplify probe by using the devm_* functions to automatically free resources.
---
Changes in v3:
- v2 is missing the version prefix. Im sending v3 just with the added review-by tag.
- Add review-by tag from David Lechner
- Link to V2: https://lore.kernel.org/all/[email protected]/

Changes in v2:
- Fix probe error print using uninitialized ret.
- Add documentation for new struct parameters
- Add review-by tags to device tree bindings
- Link to V1: https://lore.kernel.org/all/CAKXjFTPwN2TYW6sq1kj3miZ0f5OqKX0aTk8eGf1sj9TBk1_e=A@mail.gmail.com/T/

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                      | 203 ++++++++----------
 2 files changed, 131 insertions(+), 111 deletions(-)
Signature · 1 line
2.34.1