1f077770bSAlexandru Ardelean# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2f077770bSAlexandru Ardelean%YAML 1.2 3f077770bSAlexandru Ardelean--- 4f077770bSAlexandru Ardelean$id: http://devicetree.org/schemas/sound/adi,adau1977.yaml# 5f077770bSAlexandru Ardelean$schema: http://devicetree.org/meta-schemas/core.yaml# 6f077770bSAlexandru Ardelean 7f077770bSAlexandru Ardeleantitle: Analog Devices ADAU1977/ADAU1978/ADAU1979 Quad ADC with Diagnostics 8f077770bSAlexandru Ardelean 9f077770bSAlexandru Ardeleanmaintainers: 10f077770bSAlexandru Ardelean - Lars-Peter Clausen <lars@metafoo.de> 11f077770bSAlexandru Ardelean - Bogdan Togorean <bogdan.togorean@analog.com> 12f077770bSAlexandru Ardelean 13f077770bSAlexandru Ardeleandescription: | 14f077770bSAlexandru Ardelean Analog Devices ADAU1977 and similar quad ADC with Diagnostics 15f077770bSAlexandru Ardelean https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1977.pdf 16f077770bSAlexandru Ardelean https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1978.pdf 17f077770bSAlexandru Ardelean https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1979.pdf 18f077770bSAlexandru Ardelean 19f077770bSAlexandru Ardeleanproperties: 20f077770bSAlexandru Ardelean compatible: 21f077770bSAlexandru Ardelean enum: 22f077770bSAlexandru Ardelean - adi,adau1977 23f077770bSAlexandru Ardelean - adi,adau1978 24f077770bSAlexandru Ardelean - adi,adau1979 25f077770bSAlexandru Ardelean 26f077770bSAlexandru Ardelean reg: 27f077770bSAlexandru Ardelean maxItems: 1 28f077770bSAlexandru Ardelean 29f077770bSAlexandru Ardelean "#sound-dai-cells": 30f077770bSAlexandru Ardelean const: 0 31f077770bSAlexandru Ardelean 32f077770bSAlexandru Ardelean reset-gpios: 33f077770bSAlexandru Ardelean maxItems: 1 34f077770bSAlexandru Ardelean 35f077770bSAlexandru Ardelean AVDD-supply: 36f077770bSAlexandru Ardelean description: Analog power support for the device. 37f077770bSAlexandru Ardelean 38f077770bSAlexandru Ardelean DVDD-supply: 39f077770bSAlexandru Ardelean description: Supply voltage for digital core. 40f077770bSAlexandru Ardelean 41f077770bSAlexandru Ardelean adi,micbias: 42f077770bSAlexandru Ardelean description: | 43f077770bSAlexandru Ardelean Configures the voltage setting for the MICBIAS pin. 44f077770bSAlexandru Ardelean $ref: /schemas/types.yaml#/definitions/uint32 45f077770bSAlexandru Ardelean enum: [0, 1, 2, 3, 4, 5, 6, 7, 8] 46f077770bSAlexandru Ardelean default: 7 47f077770bSAlexandru Ardelean 48f077770bSAlexandru Ardeleanrequired: 49f077770bSAlexandru Ardelean - reg 50f077770bSAlexandru Ardelean - compatible 51f077770bSAlexandru Ardelean - AVDD-supply 52f077770bSAlexandru Ardelean 53abed2bafSKrzysztof KozlowskiallOf: 54*58ae9a2aSKrzysztof Kozlowski - $ref: dai-common.yaml# 55abed2bafSKrzysztof Kozlowski - $ref: /schemas/spi/spi-peripheral-props.yaml# 56abed2bafSKrzysztof Kozlowski 57abed2bafSKrzysztof KozlowskiunevaluatedProperties: false 58f077770bSAlexandru Ardelean 59f077770bSAlexandru Ardeleanexamples: 60f077770bSAlexandru Ardelean - | 61f077770bSAlexandru Ardelean #include <dt-bindings/gpio/gpio.h> 62f077770bSAlexandru Ardelean 63f077770bSAlexandru Ardelean spi { 64f077770bSAlexandru Ardelean #address-cells = <1>; 65f077770bSAlexandru Ardelean #size-cells = <0>; 66f077770bSAlexandru Ardelean adau1977_spi: adau1977@0 { 67f077770bSAlexandru Ardelean compatible = "adi,adau1977"; 68f077770bSAlexandru Ardelean reg = <0>; 69f077770bSAlexandru Ardelean spi-max-frequency = <600000>; 70f077770bSAlexandru Ardelean 71f077770bSAlexandru Ardelean AVDD-supply = <®ulator>; 72f077770bSAlexandru Ardelean DVDD-supply = <®ulator_digital>; 73f077770bSAlexandru Ardelean 74f077770bSAlexandru Ardelean reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>; 75f077770bSAlexandru Ardelean 76f077770bSAlexandru Ardelean adi,micbias = <3>; 77f077770bSAlexandru Ardelean }; 78f077770bSAlexandru Ardelean }; 79f077770bSAlexandru Ardelean - | 80f077770bSAlexandru Ardelean #include <dt-bindings/gpio/gpio.h> 81f077770bSAlexandru Ardelean 82f077770bSAlexandru Ardelean i2c { 83f077770bSAlexandru Ardelean #address-cells = <1>; 84f077770bSAlexandru Ardelean #size-cells = <0>; 85f077770bSAlexandru Ardelean adau1977_i2c: adau1977@11 { 86f077770bSAlexandru Ardelean compatible = "adi,adau1977"; 87f077770bSAlexandru Ardelean reg = <0x11>; 88f077770bSAlexandru Ardelean 89f077770bSAlexandru Ardelean AVDD-supply = <®ulator>; 90f077770bSAlexandru Ardelean DVDD-supply = <®ulator_digital>; 91f077770bSAlexandru Ardelean 92f077770bSAlexandru Ardelean reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>; 93f077770bSAlexandru Ardelean }; 94f077770bSAlexandru Ardelean }; 95