xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/es8316.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunEverest ES8316 audio CODEC
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun  - compatible: "everest,es8316"
6*4882a593Smuzhiyun  - reg: the I2C address of the device for I2C
7*4882a593Smuzhiyun  - spk-con-gpio: spk mute enable/disable
8*4882a593Smuzhiyun  - hp-det-gpio: headphone detect gpio
9*4882a593SmuzhiyunOptional properties:
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun- clocks: The phandle of the master clock to the CODEC
12*4882a593Smuzhiyun- clock-names: Should be "mclk"
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyuncodec: es8316@10 {
17*4882a593Smuzhiyun	compatible = "everest,es8316";
18*4882a593Smuzhiyun	reg = <0x10>;
19*4882a593Smuzhiyun	clocks = <&cru SCLK_I2S_8CH_OUT>;
20*4882a593Smuzhiyun	clock-names = "mclk";
21*4882a593Smuzhiyun	spk-con-gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
22*4882a593Smuzhiyun	hp-det-gpio = <&gpio4 28 GPIO_ACTIVE_HIGH>;
23*4882a593Smuzhiyun};
24