GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / sound / mt6358.txt
1 Mediatek MT6358 Audio Codec
2
3 The communication between MT6358 and SoC is through Mediatek PMIC wrapper.
4 For more detail, please visit Mediatek PMIC wrapper documentation.
5
6 Must be a child node of PMIC wrapper.
7
8 Required properties:
9
10 - compatible - "string" - One of:
11     "mediatek,mt6358-sound"
12     "mediatek,mt6366-sound"
13 - Avdd-supply : power source of AVDD
14
15 Optional properties:
16 - mediatek,dmic-mode : Indicates how many data pins are used to transmit two
17         channels of PDM signal. 0 means two wires, 1 means one wire. Default
18         value is 0.
19
20 Example:
21
22 mt6358_snd {
23         compatible = "mediatek,mt6358-sound";
24         Avdd-supply = <&mt6358_vaud28_reg>;
25         mediatek,dmic-mode = <0>;
26 };