dt-bindings: sound: es8311: Add bindings documentation for es8311 audio codec

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: I96d5f780c907257f9b39e1ca879f2234e7623644
This commit is contained in:
Xing Zheng 2020-09-01 20:43:56 +08:00 committed by Tao Huang
parent 9f2a89dd26
commit a0aa4a48fd
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
Everest ES8311 audio CODEC
Required properties:
- compatible: "everest,es8311"
- reg: the I2C address of the device for I2C
- spk-ctl-gpios: control spk enable/disable
Optional properties:
- clocks: The phandle of the master clock to the CODEC
- clock-names: Should be "mclk"
Example:
es8311: es8311@18 {
compatible = "everest,es8311";
reg = <0x18>;
clocks = <&cru MCLK_I2S0_TX_OUT2IO>;
clock-names = "mclk";
spk-ctl-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
};