| 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 |
title: Analog Devices ADAU1372 CODEC |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Alexandre Belloni <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
Analog Devices ADAU1372 four inputs and two outputs codec. |
| 14 |
https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1372.pdf |
| 15 |
|
| 16 |
allOf: |
| 17 |
- $ref: dai-common.yaml# |
| 18 |
|
| 19 |
properties: |
| 20 |
compatible: |
| 21 |
enum: |
| 22 |
- adi,adau1372 |
| 23 |
|
| 24 |
reg: |
| 25 |
maxItems: 1 |
| 26 |
|
| 27 |
"#sound-dai-cells": |
| 28 |
const: 0 |
| 29 |
|
| 30 |
clocks: |
| 31 |
maxItems: 1 |
| 32 |
|
| 33 |
clock-names: |
| 34 |
const: mclk |
| 35 |
|
| 36 |
powerdown-gpios: |
| 37 |
description: GPIO used for hardware power-down. |
| 38 |
maxItems: 1 |
| 39 |
|
| 40 |
required: |
| 41 |
- "#sound-dai-cells" |
| 42 |
- compatible |
| 43 |
- reg |
| 44 |
- clocks |
| 45 |
- clock-names |
| 46 |
|
| 47 |
unevaluatedProperties: false |
| 48 |
|
| 49 |
examples: |
| 50 |
- | |
| 51 |
i2c { |
| 52 |
#address-cells = <1>; |
| 53 |
#size-cells = <0>; |
| 54 |
audio-codec@3c { |
| 55 |
compatible = "adi,adau1372"; |
| 56 |
reg = <0x3c>; |
| 57 |
#sound-dai-cells = <0>; |
| 58 |
clock-names = "mclk"; |
| 59 |
clocks = <&adau1372z_xtal>; |
| 60 |
}; |
| 61 |
}; |
| 62 |
|
| 63 |
adau1372z_xtal: clock { |
| 64 |
compatible = "fixed-clock"; |
| 65 |
#clock-cells = <0>; |
| 66 |
clock-frequency = <12288000>; |
| 67 |
}; |
| 68 |
... |