1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/sound/adi,adau1372.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7 8title: Analog Devices ADAU1372 CODEC 9 10maintainers: 11 - Alexandre Belloni <alexandre.belloni@bootlin.com> 12 13description: | 14 Analog Devices ADAU1372 four inputs and two outputs codec. 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1372.pdf 16 17allOf: 18 - $ref: dai-common.yaml# 19 20properties: 21 compatible: 22 enum: 23 - adi,adau1372 24 25 reg: 26 maxItems: 1 27 28 "#sound-dai-cells": 29 const: 0 30 31 clocks: 32 maxItems: 1 33 34 clock-names: 35 const: "mclk" 36 37 powerdown-gpios: 38 description: GPIO used for hardware power-down. 39 maxItems: 1 40 41required: 42 - "#sound-dai-cells" 43 - compatible 44 - reg 45 - clocks 46 - clock-names 47 48unevaluatedProperties: false 49 50examples: 51 - | 52 i2c { 53 #address-cells = <1>; 54 #size-cells = <0>; 55 audio-codec@3c { 56 compatible = "adi,adau1372"; 57 reg = <0x3c>; 58 #sound-dai-cells = <0>; 59 clock-names = "mclk"; 60 clocks = <&adau1372z_xtal>; 61 }; 62 }; 63 64 adau1372z_xtal: clock { 65 compatible = "fixed-clock"; 66 #clock-cells = <0>; 67 clock-frequency = <12288000>; 68 }; 69... 70