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