| 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,es8328.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Everest ES8328 audio CODEC |
| 8 |
|
| 9 |
description: |
| 10 |
Everest Audio Codec, which can be connected via I2C or SPI. |
| 11 |
Pins on the device (for linking into audio routes) are |
| 12 |
* LOUT1 |
| 13 |
* LOUT2 |
| 14 |
* ROUT1 |
| 15 |
* ROUT2 |
| 16 |
* LINPUT1 |
| 17 |
* RINPUT1 |
| 18 |
* LINPUT2 |
| 19 |
* RINPUT2 |
| 20 |
* Mic Bias |
| 21 |
|
| 22 |
maintainers: |
| 23 |
- David Yang <[email protected]> |
| 24 |
|
| 25 |
properties: |
| 26 |
compatible: |
| 27 |
oneOf: |
| 28 |
- enum: |
| 29 |
- everest,es8328 |
| 30 |
- items: |
| 31 |
- enum: |
| 32 |
- everest,es8388 |
| 33 |
- const: everest,es8328 |
| 34 |
|
| 35 |
reg: |
| 36 |
maxItems: 1 |
| 37 |
|
| 38 |
"#sound-dai-cells": |
| 39 |
const: 0 |
| 40 |
|
| 41 |
clocks: |
| 42 |
items: |
| 43 |
- description: A 22.5792 or 11.2896 MHz clock |
| 44 |
|
| 45 |
DVDD-supply: |
| 46 |
description: Regulator providing digital core supply voltage 1.8 - 3.6V |
| 47 |
|
| 48 |
AVDD-supply: |
| 49 |
description: Regulator providing analog supply voltage 3.3V |
| 50 |
|
| 51 |
PVDD-supply: |
| 52 |
description: Regulator providing digital IO supply voltage 1.8 - 3.6V |
| 53 |
|
| 54 |
HPVDD-supply: |
| 55 |
description: Regulator providing analog output voltage 3.3V |
| 56 |
|
| 57 |
port: |
| 58 |
$ref: audio-graph-port.yaml# |
| 59 |
unevaluatedProperties: false |
| 60 |
|
| 61 |
required: |
| 62 |
- compatible |
| 63 |
- reg |
| 64 |
- clocks |
| 65 |
- DVDD-supply |
| 66 |
- AVDD-supply |
| 67 |
- PVDD-supply |
| 68 |
- HPVDD-supply |
| 69 |
|
| 70 |
additionalProperties: false |
| 71 |
|
| 72 |
examples: |
| 73 |
- | |
| 74 |
i2c { |
| 75 |
#address-cells = <1>; |
| 76 |
#size-cells = <0>; |
| 77 |
es8328: codec@11 { |
| 78 |
compatible = "everest,es8328"; |
| 79 |
reg = <0x11>; |
| 80 |
AVDD-supply = <®_3p3v>; |
| 81 |
DVDD-supply = <®_3p3v>; |
| 82 |
HPVDD-supply = <®_3p3v>; |
| 83 |
PVDD-supply = <®_3p3v>; |
| 84 |
clocks = <&clks 169>; |
| 85 |
}; |
| 86 |
}; |