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:
parent
9f2a89dd26
commit
a0aa4a48fd
|
|
@ -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>;
|
||||
};
|
||||
Loading…
Reference in New Issue