Add support for AD777x family
From: | Ramona Alexandra Nechita <ramona.nechita-AT-analog.com> | |
To: | Jonathan Cameron <jic23-AT-kernel.org>, Lars-Peter Clausen <lars-AT-metafoo.de>, Cosmin Tanislav <cosmin.tanislav-AT-analog.com>, Michael Hennerich <Michael.Hennerich-AT-analog.com>, Alexandru Ardelean <alexandru.ardelean-AT-analog.com>, Rob Herring <robh+dt-AT-kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt-AT-linaro.org>, Nuno Sa <nuno.sa-AT-analog.com>, David Lechner <dlechner-AT-baylibre.com>, Andy Shevchenko <andy.shevchenko-AT-gmail.com>, Ana-Maria Cusco <ana-maria.cusco-AT-analog.com>, Ramona Alexandra Nechita <ramona.nechita-AT-analog.com>, George Mois <george.mois-AT-analog.com>, <linux-iio-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>, <devicetree-AT-vger.kernel.org> | |
Subject: | [PATCH v7 0/3] Add support for AD777x family | |
Date: | Mon, 14 Oct 2024 17:31:57 +0300 | |
Message-ID: | <20241014143204.30195-1-ramona.nechita@analog.com> | |
Archive-link: | Article |
v6: * https://lore.kernel.org/all/20240926135418.8342-1-ramona.... v6: * Patch3: - miscellanous changes regarding coding style - switched timestamp type to aligned_s64 - removed length variable from spi_write/read - modified the cast from reg_access - used mult_frac from math.h in the calculation of the frequency function - declared struct device in probe funcrion and reduced the number of lines - removed shadowed error codes - renamed spi_transfer structures to 't' - added comments to all the fsleep function calls Ramona Alexandra Nechita (3): dt-bindings: iio: adc: add a7779 doc Documentation: ABI: added filter mode doc in sysfs-bus-iio drivers: iio: adc: add support for ad777x family Documentation/ABI/testing/sysfs-bus-iio | 22 + .../ABI/testing/sysfs-bus-iio-adc-ad4130 | 46 - .../bindings/iio/adc/adi,ad7779.yaml | 110 +++ MAINTAINERS | 1 - drivers/iio/adc/Kconfig | 11 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/ad7779.c | 909 ++++++++++++++++++ 7 files changed, 1053 insertions(+), 47 deletions(-) delete mode 100644 Documentation/ABI/testing/sysfs-bus-iio-adc-ad4130 create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7779.yaml create mode 100644 drivers/iio/adc/ad7779.c -- 2.43.0