132025c7cSAlexandre Belloni# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
232025c7cSAlexandre Belloni%YAML 1.2
332025c7cSAlexandre Belloni---
432025c7cSAlexandre Belloni$id: http://devicetree.org/schemas/sound/adi,adau1372.yaml#
532025c7cSAlexandre Belloni$schema: http://devicetree.org/meta-schemas/core.yaml#
632025c7cSAlexandre Belloni
732025c7cSAlexandre Belloni
832025c7cSAlexandre Bellonititle: Analog Devices ADAU1372 CODEC
932025c7cSAlexandre Belloni
1032025c7cSAlexandre Bellonimaintainers:
111cd7de44SKrzysztof Kozlowski  - Alexandre Belloni <alexandre.belloni@bootlin.com>
1232025c7cSAlexandre Belloni
1332025c7cSAlexandre Bellonidescription: |
1432025c7cSAlexandre Belloni  Analog Devices ADAU1372 four inputs and two outputs codec.
1532025c7cSAlexandre Belloni  https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1372.pdf
1632025c7cSAlexandre Belloni
1758ae9a2aSKrzysztof KozlowskiallOf:
1858ae9a2aSKrzysztof Kozlowski  - $ref: dai-common.yaml#
1958ae9a2aSKrzysztof Kozlowski
2032025c7cSAlexandre Belloniproperties:
2132025c7cSAlexandre Belloni  compatible:
2232025c7cSAlexandre Belloni    enum:
2332025c7cSAlexandre Belloni      - adi,adau1372
2432025c7cSAlexandre Belloni
2532025c7cSAlexandre Belloni  reg:
2632025c7cSAlexandre Belloni    maxItems: 1
2732025c7cSAlexandre Belloni
2832025c7cSAlexandre Belloni  "#sound-dai-cells":
2932025c7cSAlexandre Belloni    const: 0
3032025c7cSAlexandre Belloni
3132025c7cSAlexandre Belloni  clocks:
3232025c7cSAlexandre Belloni    maxItems: 1
3332025c7cSAlexandre Belloni
3432025c7cSAlexandre Belloni  clock-names:
35*d9e909e2SRob Herring    const: mclk
3632025c7cSAlexandre Belloni
3732025c7cSAlexandre Belloni  powerdown-gpios:
3832025c7cSAlexandre Belloni    description: GPIO used for hardware power-down.
3932025c7cSAlexandre Belloni    maxItems: 1
4032025c7cSAlexandre Belloni
4132025c7cSAlexandre Bellonirequired:
4232025c7cSAlexandre Belloni  - "#sound-dai-cells"
4332025c7cSAlexandre Belloni  - compatible
4432025c7cSAlexandre Belloni  - reg
4532025c7cSAlexandre Belloni  - clocks
4632025c7cSAlexandre Belloni  - clock-names
4732025c7cSAlexandre Belloni
4858ae9a2aSKrzysztof KozlowskiunevaluatedProperties: false
4932025c7cSAlexandre Belloni
5032025c7cSAlexandre Belloniexamples:
5132025c7cSAlexandre Belloni  - |
5232025c7cSAlexandre Belloni    i2c {
5332025c7cSAlexandre Belloni        #address-cells = <1>;
5432025c7cSAlexandre Belloni        #size-cells = <0>;
5532025c7cSAlexandre Belloni        audio-codec@3c {
5632025c7cSAlexandre Belloni                compatible = "adi,adau1372";
5732025c7cSAlexandre Belloni                reg = <0x3c>;
5832025c7cSAlexandre Belloni                #sound-dai-cells = <0>;
5932025c7cSAlexandre Belloni                clock-names = "mclk";
6032025c7cSAlexandre Belloni                clocks = <&adau1372z_xtal>;
6132025c7cSAlexandre Belloni        };
6232025c7cSAlexandre Belloni    };
6332025c7cSAlexandre Belloni
6432025c7cSAlexandre Belloni    adau1372z_xtal: clock {
6532025c7cSAlexandre Belloni        compatible = "fixed-clock";
6632025c7cSAlexandre Belloni        #clock-cells = <0>;
6732025c7cSAlexandre Belloni        clock-frequency = <12288000>;
6832025c7cSAlexandre Belloni    };
6932025c7cSAlexandre Belloni...
70