[PATCH v5 1/2] dt-bindings: iio: adc: add Axiado AX3000/AX3005 SARADC
Petar Stepanovic <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260810-axiado-ax3000-ax3005-saradc-v5-1-bb0df3ecedaa@axiado.com> |
The Axiado AX3000 and AX3005 SoCs include a 10-bit SAR ADC controller. AX3000 supports 16 input channels, while AX3005 supports 8 input channels. Document the compatible strings, register region, clock, reference voltage supply, and IIO channel cells. Signed-off-by: Petar Stepanovic <[email protected]> Acked-by: Conor Dooley <[email protected]> --- .../bindings/iio/adc/axiado,ax3000-saradc.yaml | 63 ++++++++++++++++++++++ MAINTAINERS | 8 +++ 2 files changed, 71 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/adc/axiado,ax3000-saradc.yaml b/Documentation/devicetree/bindings/iio/adc/axiado,ax3000-saradc.yaml new file mode 100644 index 000000000000..b910852aa56f --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/axiado,ax3000-saradc.yaml @@ -0,0 +1,63 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/axiado,ax3000-saradc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Axiado AX3000/AX3005 Successive Approximation Register ADC + +description: + The Axiado AX3000/AX3005 SAR ADC is a 10-bit ADC with sixteen input + channels on AX3000 and eight input channels on AX3005. + +maintainers: + - Petar Stepanovic <[email protected]> + - Akhila Kavi <[email protected]> + - Prasad Bolisetty <[email protected]> + +properties: + compatible: + enum: + - axiado,ax3000-saradc + - axiado,ax3005-saradc + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: saradc + + '#io-channel-cells': + const: 1 + + vref-supply: + description: Reference voltage regulator supplying the ADC + +required: + - compatible + - reg + - clocks + - clock-names + - '#io-channel-cells' + - vref-supply + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + adc@806a0000 { + compatible = "axiado,ax3000-saradc"; + reg = <0x0 0x806a0000 0x0 0x400>; + clocks = <&pclk>; + clock-names = "saradc"; + vref-supply = <&vref_reg>; + #io-channel-cells = <1>; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index b2040011a386..d6f4febfe4fd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4312,6 +4312,14 @@ S: Orphan F: Documentation/devicetree/bindings/sound/axentia,* F: sound/soc/atmel/tse850-pcm5142.c +AXIADO SARADC DRIVER +M: Petar Stepanovic <[email protected]> +M: Akhila Kavi <[email protected]> +M: Prasad Bolisetty <[email protected]> +L: [email protected] +S: Maintained +F: Documentation/devicetree/bindings/iio/adc/axiado,ax3000-saradc.yaml + AXIS ARTPEC ARM64 SoC SUPPORT M: Jesper Nilsson <[email protected]> M: Lars Persson <[email protected]> -- 2.34.1