| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/sound/everest,es8316.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Everest ES8311, ES8316 and ES8323 audio CODECs |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Daniel Drake <[email protected]> |
| 11 |
- Katsuhiro Suzuki <[email protected]> |
| 12 |
- Matteo Martelli <[email protected]> |
| 13 |
- Binbin Zhou <[email protected]> |
| 14 |
|
| 15 |
description: | |
| 16 |
Everest ES8311, ES8316 and ES8323 audio CODECs |
| 17 |
|
| 18 |
Pins on the device (for linking into audio routes): |
| 19 |
|
| 20 |
Outputs: |
| 21 |
* LOUT: Left Analog Output |
| 22 |
* ROUT: Right Analog Output |
| 23 |
* MICBIAS: Microphone Bias |
| 24 |
|
| 25 |
Inputs: |
| 26 |
* MIC1P: Microphone 1 Positive Analog Input |
| 27 |
* MIC1N: Microphone 1 Negative Analog Input |
| 28 |
* MIC2P: Microphone 2 Positive Analog Input |
| 29 |
* MIC2N: Microphone 2 Negative Analog Input |
| 30 |
|
| 31 |
allOf: |
| 32 |
- $ref: dai-common.yaml# |
| 33 |
|
| 34 |
properties: |
| 35 |
compatible: |
| 36 |
enum: |
| 37 |
- everest,es8311 |
| 38 |
- everest,es8316 |
| 39 |
- everest,es8323 |
| 40 |
|
| 41 |
reg: |
| 42 |
maxItems: 1 |
| 43 |
|
| 44 |
clocks: |
| 45 |
items: |
| 46 |
- description: clock for master clock (MCLK) |
| 47 |
|
| 48 |
clock-names: |
| 49 |
items: |
| 50 |
- const: mclk |
| 51 |
|
| 52 |
interrupts: |
| 53 |
maxItems: 1 |
| 54 |
description: Headphone detect interrupt |
| 55 |
|
| 56 |
port: |
| 57 |
$ref: audio-graph-port.yaml# |
| 58 |
unevaluatedProperties: false |
| 59 |
|
| 60 |
"#sound-dai-cells": |
| 61 |
const: 0 |
| 62 |
|
| 63 |
required: |
| 64 |
- compatible |
| 65 |
- reg |
| 66 |
- "#sound-dai-cells" |
| 67 |
|
| 68 |
unevaluatedProperties: false |
| 69 |
|
| 70 |
examples: |
| 71 |
- | |
| 72 |
i2c { |
| 73 |
#address-cells = <1>; |
| 74 |
#size-cells = <0>; |
| 75 |
es8316: codec@11 { |
| 76 |
compatible = "everest,es8316"; |
| 77 |
reg = <0x11>; |
| 78 |
clocks = <&clks 10>; |
| 79 |
clock-names = "mclk"; |
| 80 |
#sound-dai-cells = <0>; |
| 81 |
}; |
| 82 |
}; |