devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] add AD8460 DAC driver
@ 2024-05-10  6:40 Mariel Tinaco
  2024-05-10  6:40 ` [PATCH 1/2] dt-bindings: iio: dac: add docs for ad8460 Mariel Tinaco
                   ` (2 more replies)
  0 siblings, 3 replies; 29+ messages in thread
From: Mariel Tinaco @ 2024-05-10  6:40 UTC (permalink / raw)
  To: linux-iio, devicetree, linux-kernel
  Cc: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Liam Girdwood, Mark Brown,
	Michael Hennerich, Marcelo Schmitt, Dimitri Fedrau, Guenter Roeck

The AD8460 is a 14-bit, high power +-40V 1A, high-speed DAC,
with dual digital input modes, programmable supply current and
fault monitoring and protection settings for output current,
output voltage and junction temperature.

The fault monitoring and shutdown protection features were
supported in the earlier versions of the IIO driver but was
scrapped due to uncertainties if the functionalities belong to
the IIO driver. However, it would be best to implement it for
the device's quality of life. I'd like to know if it's better
suited as a stand-alone HWMON driver.

The following are the configurable and readable parameters
through SPI that could be implemented on the HWMON driver:
  * An enable bit to arm/protect the device on overcurrent,
overvoltage or overtemperature events. The device is shut down
upon detection.
  * A configurable range/threshold for voltage, current and
temperature that raises alarm when exceeded while the device is
armed.
  * Flags that can be polled to raise alarm upon detection of
overcurrent, overvoltage or overtemperature events, and apply
additional protective measures.
  * Programmable quiescent current (optional)
  * Thermal monitoring is done by measuring voltage on TMP pin
(unlikely to be included)

Mariel Tinaco (2):
  dt-bindings: iio: dac: add docs for ad8460
  iio: dac: support the ad8460 Waveform DAC

 .../bindings/iio/dac/adi,ad8460.yaml          |  67 ++
 MAINTAINERS                                   |   8 +
 drivers/iio/dac/Kconfig                       |  13 +
 drivers/iio/dac/Makefile                      |   1 +
 drivers/iio/dac/ad8460.c                      | 652 ++++++++++++++++++
 5 files changed, 741 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/dac/adi,ad8460.yaml
 create mode 100644 drivers/iio/dac/ad8460.c


base-commit: 9900e7a54764998ba3a22f06ec629f7b5fe0b422
-- 
2.34.1


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2024-07-14  6:17 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-10  6:40 [PATCH 0/2] add AD8460 DAC driver Mariel Tinaco
2024-05-10  6:40 ` [PATCH 1/2] dt-bindings: iio: dac: add docs for ad8460 Mariel Tinaco
2024-05-10  7:21   ` Rob Herring (Arm)
2024-05-10 17:28   ` David Lechner
2024-05-11 16:25     ` Jonathan Cameron
2024-05-11 18:47       ` David Lechner
2024-05-21  7:07         ` Nuno Sá
2024-06-24  4:20       ` Tinaco, Mariel
2024-05-10  6:40 ` [PATCH 2/2] iio: dac: support the ad8460 Waveform DAC Mariel Tinaco
2024-05-10 17:30   ` David Lechner
2024-05-11 16:44   ` Jonathan Cameron
2024-06-24  4:19     ` Tinaco, Mariel
2024-06-28 18:45       ` Jonathan Cameron
2024-07-08  5:17         ` Tinaco, Mariel
2024-07-08 16:05           ` Jonathan Cameron
2024-07-11  9:20             ` Nuno Sá
2024-07-11 21:31               ` David Lechner
2024-07-12  6:57                 ` Nuno Sá
2024-07-13  9:57                   ` Jonathan Cameron
2024-07-14  6:17                     ` Nuno Sá
2024-06-24  4:56     ` Tinaco, Mariel
2024-06-28 18:51       ` Jonathan Cameron
2024-07-07 23:32         ` Tinaco, Mariel
2024-07-07 23:37           ` Tinaco, Mariel
2024-05-10 17:30 ` [PATCH 0/2] add AD8460 DAC driver David Lechner
2024-05-11 16:21   ` Jonathan Cameron
2024-06-24  4:38     ` Tinaco, Mariel
2024-06-28 18:39       ` Jonathan Cameron
2024-07-07 23:29         ` Tinaco, Mariel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).