|
|
Log in / Subscribe / Register

Add driver for LTC2664 and LTC2672

From:  Kim Seer Paller <kimseer.paller-AT-analog.com>
To:  <linux-iio-AT-vger.kernel.org>, <devicetree-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>
Subject:  [PATCH 0/4] Add driver for LTC2664 and LTC2672
Date:  Fri, 12 Apr 2024 11:20:58 +0800
Message-ID:  <20240412032102.136071-1-kimseer.paller@analog.com>
Cc:  Jonathan Cameron <jic23-AT-kernel.org>, Lars-Peter Clausen <lars-AT-metafoo.de>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt-AT-linaro.org>, Conor Dooley <conor+dt-AT-kernel.org>, "Liam Girdwood" <lgirdwood-AT-gmail.com>, Mark Brown <broonie-AT-kernel.org>, "David Lechner" <dlechner-AT-baylibre.com>, Michael Hennerich <michael.hennerich-AT-analog.com>
Archive-link:  Article

The LTC2664 is a 4 Channel, Voltage Output SoftSpan DAC while LTC2672 is a 5
channel, Current Output Softspan DAC. The ABI defined for the driver:

LTC2664 - toggle mode channels:
        * out_voltageY_toggle_en
        * out_voltageY_raw0
        * out_voltageY_raw1
        * out_voltageY_symbol

LTC2672 - toggle mode channels:
        * out_currentY_toggle_en
        * out_currentY_raw0
        * out_currentY_raw1
        * out_currentY_symbol

Default channels won't have any of the above ABIs.

Kim Seer Paller (4):
  dt-bindings: iio: dac: Add adi,ltc2664.yaml
  iio: ABI: add ABI file for the LTC2664 DAC
  iio: ABI: add ABI file for the LTC2672 DAC
  iio: dac: ltc2664: Add driver for LTC2664 and LTC2672

 .../ABI/testing/sysfs-bus-iio-dac-ltc2664     |  30 +
 .../ABI/testing/sysfs-bus-iio-dac-ltc2672     |  30 +
 .../bindings/iio/dac/adi,ltc2664.yaml         | 230 +++++
 MAINTAINERS                                   |  11 +
 drivers/iio/dac/Kconfig                       |  11 +
 drivers/iio/dac/Makefile                      |   1 +
 drivers/iio/dac/ltc2664.c                     | 785 ++++++++++++++++++
 7 files changed, 1098 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-dac-ltc2664
 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-dac-ltc2672
 create mode 100644 Documentation/devicetree/bindings/iio/dac/adi,ltc2664.yaml
 create mode 100644 drivers/iio/dac/ltc2664.c


base-commit: 27eea4778db8268cd6dc80a5b853c599bd3099f1
-- 
2.34.1




Copyright © 2024, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds