ASoC: es8316: add codec driver
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / sound / es8316.txt
1 Everest ES8316 audio CODEC
2
3 Required 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
9 Optional properties:
10
11 - clocks: The phandle of the master clock to the CODEC
12 - clock-names: Should be "mclk"
13
14 Example:
15
16 codec: 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 };