Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: adc: add ADI ad4030, ad4630 and ad4632

This adds a binding specification for the Analog Devices Inc. AD4030,
AD4630 and AD4632 families of ADCs.

- ad4030-24 is a 1 channel SAR ADC with 24 bits of precision and a
sampling rate of 2M samples per second
- ad4032-24 is a 1 channel SAR ADC with 24 bits of precision and a
sampling rate of 500K samples per second
- ad4630-16 is a 2 channels SAR ADC with 16 bits of precision and a
sampling rate of 2M samples per second
- ad4630-24 is a 2 channels SAR ADC with 24 bits of precision and a
sampling rate of 2M samples per second
- ad4632-16 is a 2 channels SAR ADC with 16 bits of precision and a
sampling rate of 500K samples per second
- ad4632-24 is a 2 channels SAR ADC with 24 bits of precision and a
sampling rate of 500K samples per second

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Esteban Blanc <eblanc@baylibre.com>
Link: https://patch.msgid.link/20250214-eblanc-ad4630_v1-v4-1-135dd66cab6a@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Esteban Blanc and committed by
Jonathan Cameron
8de148c0 6250803f

+119
+110
Documentation/devicetree/bindings/iio/adc/adi,ad4030.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + # Copyright 2024 Analog Devices Inc. 3 + # Copyright 2024 BayLibre, SAS. 4 + %YAML 1.2 5 + --- 6 + $id: http://devicetree.org/schemas/iio/adc/adi,ad4030.yaml# 7 + $schema: http://devicetree.org/meta-schemas/core.yaml# 8 + 9 + title: Analog Devices AD4030 and AD4630 ADC families 10 + 11 + maintainers: 12 + - Michael Hennerich <michael.hennerich@analog.com> 13 + - Nuno Sa <nuno.sa@analog.com> 14 + 15 + description: | 16 + Analog Devices AD4030 single channel and AD4630/AD4632 dual channel precision 17 + SAR ADC families 18 + 19 + * https://www.analog.com/media/en/technical-documentation/data-sheets/ad4030-24-4032-24.pdf 20 + * https://www.analog.com/media/en/technical-documentation/data-sheets/ad4630-24_ad4632-24.pdf 21 + * https://www.analog.com/media/en/technical-documentation/data-sheets/ad4630-16-4632-16.pdf 22 + 23 + properties: 24 + compatible: 25 + enum: 26 + - adi,ad4030-24 27 + - adi,ad4032-24 28 + - adi,ad4630-16 29 + - adi,ad4630-24 30 + - adi,ad4632-16 31 + - adi,ad4632-24 32 + 33 + reg: 34 + maxItems: 1 35 + 36 + spi-max-frequency: 37 + maximum: 102040816 38 + 39 + spi-rx-bus-width: 40 + enum: [1, 2, 4] 41 + 42 + vdd-5v-supply: true 43 + vdd-1v8-supply: true 44 + vio-supply: true 45 + 46 + ref-supply: 47 + description: 48 + Optional External unbuffered reference. Used when refin-supply is not 49 + connected. 50 + 51 + refin-supply: 52 + description: 53 + Internal buffered Reference. Used when ref-supply is not connected. 54 + 55 + cnv-gpios: 56 + description: 57 + The Convert Input (CNV). It initiates the sampling conversions. 58 + maxItems: 1 59 + 60 + reset-gpios: 61 + description: 62 + The Reset Input (/RST). Used for asynchronous device reset. 63 + maxItems: 1 64 + 65 + interrupts: 66 + description: 67 + The BUSY pin is used to signal that the conversions results are available 68 + to be transferred when in SPI Clocking Mode. This nodes should be 69 + connected to an interrupt that is triggered when the BUSY line goes low. 70 + maxItems: 1 71 + 72 + interrupt-names: 73 + const: busy 74 + 75 + required: 76 + - compatible 77 + - reg 78 + - vdd-5v-supply 79 + - vdd-1v8-supply 80 + - vio-supply 81 + - cnv-gpios 82 + 83 + oneOf: 84 + - required: 85 + - ref-supply 86 + - required: 87 + - refin-supply 88 + 89 + unevaluatedProperties: false 90 + 91 + examples: 92 + - | 93 + #include <dt-bindings/gpio/gpio.h> 94 + 95 + spi { 96 + #address-cells = <1>; 97 + #size-cells = <0>; 98 + 99 + adc@0 { 100 + compatible = "adi,ad4030-24"; 101 + reg = <0>; 102 + spi-max-frequency = <80000000>; 103 + vdd-5v-supply = <&supply_5V>; 104 + vdd-1v8-supply = <&supply_1_8V>; 105 + vio-supply = <&supply_1_8V>; 106 + ref-supply = <&supply_5V>; 107 + cnv-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; 108 + reset-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; 109 + }; 110 + };
+9
MAINTAINERS
··· 1306 1306 F: Documentation/iio/ad4000.rst 1307 1307 F: drivers/iio/adc/ad4000.c 1308 1308 1309 + AD4030 ADC DRIVER (AD4030-24/AD4630-16/AD4630-24/AD4632-16/AD4632-24) 1310 + M: Michael Hennerich <michael.hennerich@analog.com> 1311 + M: Nuno Sá <nuno.sa@analog.com> 1312 + R: Esteban Blanc <eblanc@baylibre.com> 1313 + L: linux-iio@vger.kernel.org 1314 + S: Supported 1315 + W: https://ez.analog.com/linux-software-drivers 1316 + F: Documentation/devicetree/bindings/iio/adc/adi,ad4030.yaml 1317 + 1309 1318 ANALOG DEVICES INC AD4130 DRIVER 1310 1319 M: Cosmin Tanislav <cosmin.tanislav@analog.com> 1311 1320 L: linux-iio@vger.kernel.org