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