xref: /freebsd/sys/contrib/device-tree/Bindings/sound/adi,adau1372.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/adi,adau1372.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadot
85def4c47SEmmanuel Vadottitle: Analog Devices ADAU1372 CODEC
95def4c47SEmmanuel Vadot
105def4c47SEmmanuel Vadotmaintainers:
118bab661aSEmmanuel Vadot  - Alexandre Belloni <alexandre.belloni@bootlin.com>
125def4c47SEmmanuel Vadot
135def4c47SEmmanuel Vadotdescription: |
145def4c47SEmmanuel Vadot  Analog Devices ADAU1372 four inputs and two outputs codec.
155def4c47SEmmanuel Vadot  https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1372.pdf
165def4c47SEmmanuel Vadot
178bab661aSEmmanuel VadotallOf:
188bab661aSEmmanuel Vadot  - $ref: dai-common.yaml#
198bab661aSEmmanuel Vadot
205def4c47SEmmanuel Vadotproperties:
215def4c47SEmmanuel Vadot  compatible:
225def4c47SEmmanuel Vadot    enum:
235def4c47SEmmanuel Vadot      - adi,adau1372
245def4c47SEmmanuel Vadot
255def4c47SEmmanuel Vadot  reg:
265def4c47SEmmanuel Vadot    maxItems: 1
275def4c47SEmmanuel Vadot
285def4c47SEmmanuel Vadot  "#sound-dai-cells":
295def4c47SEmmanuel Vadot    const: 0
305def4c47SEmmanuel Vadot
315def4c47SEmmanuel Vadot  clocks:
325def4c47SEmmanuel Vadot    maxItems: 1
335def4c47SEmmanuel Vadot
345def4c47SEmmanuel Vadot  clock-names:
35*fac71e4eSEmmanuel Vadot    const: mclk
365def4c47SEmmanuel Vadot
375def4c47SEmmanuel Vadot  powerdown-gpios:
385def4c47SEmmanuel Vadot    description: GPIO used for hardware power-down.
395def4c47SEmmanuel Vadot    maxItems: 1
405def4c47SEmmanuel Vadot
415def4c47SEmmanuel Vadotrequired:
425def4c47SEmmanuel Vadot  - "#sound-dai-cells"
435def4c47SEmmanuel Vadot  - compatible
445def4c47SEmmanuel Vadot  - reg
455def4c47SEmmanuel Vadot  - clocks
465def4c47SEmmanuel Vadot  - clock-names
475def4c47SEmmanuel Vadot
488bab661aSEmmanuel VadotunevaluatedProperties: false
495def4c47SEmmanuel Vadot
505def4c47SEmmanuel Vadotexamples:
515def4c47SEmmanuel Vadot  - |
525def4c47SEmmanuel Vadot    i2c {
535def4c47SEmmanuel Vadot        #address-cells = <1>;
545def4c47SEmmanuel Vadot        #size-cells = <0>;
555def4c47SEmmanuel Vadot        audio-codec@3c {
565def4c47SEmmanuel Vadot                compatible = "adi,adau1372";
575def4c47SEmmanuel Vadot                reg = <0x3c>;
585def4c47SEmmanuel Vadot                #sound-dai-cells = <0>;
595def4c47SEmmanuel Vadot                clock-names = "mclk";
605def4c47SEmmanuel Vadot                clocks = <&adau1372z_xtal>;
615def4c47SEmmanuel Vadot        };
625def4c47SEmmanuel Vadot    };
635def4c47SEmmanuel Vadot
645def4c47SEmmanuel Vadot    adau1372z_xtal: clock {
655def4c47SEmmanuel Vadot        compatible = "fixed-clock";
665def4c47SEmmanuel Vadot        #clock-cells = <0>;
675def4c47SEmmanuel Vadot        clock-frequency = <12288000>;
685def4c47SEmmanuel Vadot    };
695def4c47SEmmanuel Vadot...
70