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.om> 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: << 18 - $ref: dai-common.yaml# << 19 << 20 properties: 17 properties: 21 compatible: 18 compatible: 22 enum: 19 enum: 23 - adi,adau1372 20 - adi,adau1372 24 21 25 reg: 22 reg: 26 maxItems: 1 23 maxItems: 1 27 24 28 "#sound-dai-cells": 25 "#sound-dai-cells": 29 const: 0 26 const: 0 30 27 31 clocks: 28 clocks: 32 maxItems: 1 29 maxItems: 1 33 30 34 clock-names: 31 clock-names: 35 const: mclk !! 32 const: "mclk" 36 33 37 powerdown-gpios: 34 powerdown-gpios: 38 description: GPIO used for hardware power- 35 description: GPIO used for hardware power-down. 39 maxItems: 1 36 maxItems: 1 40 37 41 required: 38 required: 42 - "#sound-dai-cells" 39 - "#sound-dai-cells" 43 - compatible 40 - compatible 44 - reg 41 - reg 45 - clocks 42 - clocks 46 - clock-names 43 - clock-names 47 44 48 unevaluatedProperties: false !! 45 additionalProperties: false 49 46 50 examples: 47 examples: 51 - | 48 - | 52 i2c { 49 i2c { 53 #address-cells = <1>; 50 #address-cells = <1>; 54 #size-cells = <0>; 51 #size-cells = <0>; 55 audio-codec@3c { 52 audio-codec@3c { 56 compatible = "adi,adau1372"; 53 compatible = "adi,adau1372"; 57 reg = <0x3c>; 54 reg = <0x3c>; 58 #sound-dai-cells = <0>; 55 #sound-dai-cells = <0>; 59 clock-names = "mclk"; 56 clock-names = "mclk"; 60 clocks = <&adau1372z_xtal>; 57 clocks = <&adau1372z_xtal>; 61 }; 58 }; 62 }; 59 }; 63 60 64 adau1372z_xtal: clock { 61 adau1372z_xtal: clock { 65 compatible = "fixed-clock"; 62 compatible = "fixed-clock"; 66 #clock-cells = <0>; 63 #clock-cells = <0>; 67 clock-frequency = <12288000>; 64 clock-frequency = <12288000>; 68 }; 65 }; 69 ... 66 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.