[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241028071118.699951-1-ahaslam@baylibre.com>
Date: Mon, 28 Oct 2024 08:11:12 +0100
From: ahaslam@...libre.com
To: lars@...afoo.de,
Michael.Hennerich@...log.com,
jic23@...nel.org,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
nuno.sa@...log.com,
dlechner@...libre.com
Cc: linux-iio@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Axel Haslam <ahaslam@...libre.com>
Subject: [PATCH 0/6] Improvements and Enhancements for AD5791 DAC Driver
From: Axel Haslam <ahaslam@...libre.com>
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(-)
--
2.34.1
Powered by blists - more mailing lists