xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/es8328.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunEverest ES8328 audio CODEC
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis device supports both I2C and SPI.
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunRequired properties:
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun  - compatible  : Should be "everest,es8328" or "everest,es8388"
8*4882a593Smuzhiyun  - DVDD-supply : Regulator providing digital core supply voltage 1.8 - 3.6V
9*4882a593Smuzhiyun  - AVDD-supply : Regulator providing analog supply voltage 3.3V
10*4882a593Smuzhiyun  - PVDD-supply : Regulator providing digital IO supply voltage 1.8 - 3.6V
11*4882a593Smuzhiyun  - IPVDD-supply : Regulator providing analog output voltage 3.3V
12*4882a593Smuzhiyun  - clocks : A 22.5792 or 11.2896 MHz clock
13*4882a593Smuzhiyun  - reg : the I2C address of the device for I2C, the chip select number for SPI
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunPins on the device (for linking into audio routes):
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun  * LOUT1
18*4882a593Smuzhiyun  * LOUT2
19*4882a593Smuzhiyun  * ROUT1
20*4882a593Smuzhiyun  * ROUT2
21*4882a593Smuzhiyun  * LINPUT1
22*4882a593Smuzhiyun  * RINPUT1
23*4882a593Smuzhiyun  * LINPUT2
24*4882a593Smuzhiyun  * RINPUT2
25*4882a593Smuzhiyun  * Mic Bias
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunExample:
29*4882a593Smuzhiyun
30*4882a593Smuzhiyuncodec: es8328@11 {
31*4882a593Smuzhiyun	compatible = "everest,es8328";
32*4882a593Smuzhiyun	DVDD-supply = <&reg_3p3v>;
33*4882a593Smuzhiyun	AVDD-supply = <&reg_3p3v>;
34*4882a593Smuzhiyun	PVDD-supply = <&reg_3p3v>;
35*4882a593Smuzhiyun	HPVDD-supply = <&reg_3p3v>;
36*4882a593Smuzhiyun	clocks = <&clks 169>;
37*4882a593Smuzhiyun	reg = <0x11>;
38*4882a593Smuzhiyun};
39