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 7title: Everest ES8328 audio CODEC 8 9description: 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 22maintainers: 23 - David Yang <yangxiaohua@everest-semi.com> 24 25properties: 26 compatible: 27 enum: 28 - everest,es8328 29 - everest,es8388 30 31 reg: 32 maxItems: 1 33 34 "#sound-dai-cells": 35 const: 0 36 37 clocks: 38 items: 39 - description: A 22.5792 or 11.2896 MHz clock 40 41 DVDD-supply: 42 description: Regulator providing digital core supply voltage 1.8 - 3.6V 43 44 AVDD-supply: 45 description: Regulator providing analog supply voltage 3.3V 46 47 PVDD-supply: 48 description: Regulator providing digital IO supply voltage 1.8 - 3.6V 49 50 HPVDD-supply: 51 description: Regulator providing analog output voltage 3.3V 52 53 port: 54 $ref: audio-graph-port.yaml# 55 unevaluatedProperties: false 56 57required: 58 - compatible 59 - clocks 60 - DVDD-supply 61 - AVDD-supply 62 - PVDD-supply 63 - HPVDD-supply 64 65additionalProperties: false 66 67examples: 68 - | 69 i2c { 70 #address-cells = <1>; 71 #size-cells = <0>; 72 es8328: codec@11 { 73 compatible = "everest,es8328"; 74 reg = <0x11>; 75 AVDD-supply = <®_3p3v>; 76 DVDD-supply = <®_3p3v>; 77 HPVDD-supply = <®_3p3v>; 78 PVDD-supply = <®_3p3v>; 79 clocks = <&clks 169>; 80 }; 81 }; 82