[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240912095435.18639-1-Mariel.Tinaco@analog.com>
Date: Thu, 12 Sep 2024 17:54:33 +0800
From: Mariel Tinaco <Mariel.Tinaco@...log.com>
To: <linux-iio@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Michael Hennerich
<Michael.Hennerich@...log.com>,
Conor Dooley <conor+dt@...nel.org>,
"Marcelo
Schmitt" <marcelo.schmitt1@...il.com>,
Dimitri Fedrau
<dima.fedrau@...il.com>,
David Lechner <dlechner@...libre.com>,
Nuno Sá <noname.nuno@...il.com>
Subject: [PATCH v4 0/2] add AD8460 DAC driver
Apply comments for adding support to AD8460 Waveform Generator DAC
changes in v4
ad8460:
* Fixed spacing issues and tab format of includes.
* Changed data type of spi_tx_buffer to __le16. Then used le16_to_cpu and
cpu_to_le16 functions for bulk read and write access.
* Changed print format in sysfs_emit for unsigned int.
* Added comments on powerdown write function to describe logic.
* Omitted "_shared" parameter in AD8460_CHAN_EXT_INFO.
* Applied further changes to channel definition (endianness = IIO_CPU and
AD8460_CURRENT_CHAN output = 1).
* Reformatted section that reads REFIO_1P2V voltage.
* Fixed upper and lower limits for checking of REFIO_1P2V.
* Removed comment for arming the device in probe function.
* Created a section for IIO related includes.
* Replaced mutex_init with devm_mutex_init.
* Added and enabled the other supplies using regulator bulk enable
* Handled devm_iio_channel_get error -EPROBE_DEFER by returning
-EPROBE_DEFER
Bindings:
* Removed description on clocks
* Reverted GPIO pin name to shutdown-reset-GPIO
* Added minimum, maximum and default for setting voltage, current and
temperature
* Added required supplies
* Changed additionalProperties to unevaluatedProperties
Mariel Tinaco (2):
dt-bindings: iio: dac: add docs for ad8460
iio: dac: support the ad8460 Waveform DAC
.../bindings/iio/dac/adi,ad8460.yaml | 164 +++
MAINTAINERS | 8 +
drivers/iio/dac/Kconfig | 13 +
drivers/iio/dac/Makefile | 1 +
drivers/iio/dac/ad8460.c | 947 ++++++++++++++++++
5 files changed, 1133 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/dac/adi,ad8460.yaml
create mode 100644 drivers/iio/dac/ad8460.c
base-commit: fec496684388685647652ab4213454fbabdab099
--
2.34.1
Powered by blists - more mailing lists