lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251219-max22007-dev-v1-0-242da2c2b868@analog.com>
Date: Fri, 19 Dec 2025 16:31:14 +0100
From: Janani Sunil <janani.sunil@...log.com>
To: Lars-Peter Clausen <lars@...afoo.de>,
        Michael Hennerich
	<Michael.Hennerich@...log.com>,
        Alexandru Ardelean
	<alexandru.ardelean@...log.com>,
        Jonathan Cameron <jic23@...nel.org>, Rob
 Herring <robh@...nel.org>,
        Krzysztof Kozlowski <krzk+dt@...nel.org>,
        Conor
 Dooley <conor+dt@...nel.org>, Jonathan Corbet <corbet@....net>
CC: <linux-iio@...r.kernel.org>, <devicetree@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>, <linux-doc@...r.kernel.org>,
        Janani Sunil
	<janani.sunil@...log.com>
Subject: [PATCH 0/3] Subject: [PATCH v1 0/3] iio: dac: Add support for
 MAX22007 DAC

This patch series introduces support for the Analog Devices MAX22007, a
quad-channel, 12-bit digital-to-analog converter (DAC) with integrated
precision output amplifiers and configurable voltage/current output capability.

**Device Overview:**
The MAX22007 features four independent DAC channels that can each be configured
for either voltage output (0-12.5V) or current output (0-25mA) mode. The device
communicates via SPI interface with built-in CRC8 error checking for data integrity.

**Features Implemented:**
- Support for all 4 DAC channels with 12-bit resolution
- Per-channel voltage/current mode configuration via device tree
  property `adi,type = [voltage, current]`
- Independent power control for each channel (attribute)
- Hardware reset support via GPIO (during probe)
- CRC8 error checking for SPI communication

**Patch Summary:**
1. dt-bindings: Binding documentation with channel configuration
2. documentation: Driver documentation with usage examples
3. driver: Implement IIO DAC driver

**Testing:**
The driver was hardware tested on a Raspberry Pi4 on top of v6.12.y
kernel using the MAX22007EVKIT evaluation board.

Janani Sunil (3):
dt-bindings: iio: dac: Add max22007
iio: dac: Add MAX22007 DAC driver support
docs: iio: Add documentation for MAX22007 driver

.../bindings/iio/dac/adi,max22007.yaml       | 117 ++++
   Documentation/iio/index.rst                  |   1 +
   Documentation/iio/max22007.rst                | 170 ++++++
   drivers/iio/dac/Kconfig                       |  12 +
   drivers/iio/dac/Makefile                      |   1 +
   drivers/iio/dac/max22007.c                    | 522 ++++++++++++++++++
   6 files changed, 823 insertions(+)
   create mode 100644 Documentation/devicetree/bindings/iio/dac/adi,max22007.yaml
   create mode 100644 Documentation/iio/max22007.rst
   create mode 100644 drivers/iio/dac/max22007.c

---
To: Lars-Peter Clausen <lars@...afoo.de>
To: Michael Hennerich <Michael.Hennerich@...log.com>
To: Alexandru Ardelean <alexandru.ardelean@...log.com>
To: Jonathan Cameron <jic23@...nel.org>
To: Rob Herring <robh@...nel.org>
To: Krzysztof Kozlowski <krzk+dt@...nel.org>
To: Conor Dooley <conor+dt@...nel.org>
To: Jonathan Corbet <corbet@....net>
Cc: linux-iio@...r.kernel.org
Cc: devicetree@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Cc: linux-doc@...r.kernel.org
Signed-off-by: Janani Sunil <janani.sunil@...log.com>

---
Janani Sunil (3):
      dt-bindings: iio: dac: Add max22007
      docs: iio: Add documentation for MAX22007 driver
      iio: dac: Add MAX22007 DAC driver support

 .../devicetree/bindings/iio/dac/adi,max22007.yaml  | 116 +++++
 Documentation/iio/index.rst                        |   1 +
 Documentation/iio/max22007.rst                     | 145 ++++++
 MAINTAINERS                                        |   9 +
 drivers/iio/dac/Kconfig                            |  13 +
 drivers/iio/dac/Makefile                           |   1 +
 drivers/iio/dac/max22007.c                         | 487 +++++++++++++++++++++
 7 files changed, 772 insertions(+)
---
base-commit: a7b10f0963c651a6406d958a5f64b9c5594f84da
change-id: 20251219-max22007-dev-1aaf08db7890

Best regards,
-- 
Janani Sunil <janani.sunil@...log.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ