1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/mt6359.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Mediatek MT6359 Codec Device Tree Bindings
8
9 maintainers:
10 - Eason Yen <eason.yen@mediatek.com>
11 - Jiaxin Yu <jiaxin.yu@mediatek.com>
12 - Shane Chien <shane.chien@mediatek.com>
13
14 description: |
15 The communication between MT6359 and SoC is through Mediatek PMIC wrapper.
16 For more detail, please visit Mediatek PMIC wrapper documentation.
17 Must be a child node of PMIC wrapper.
18
19 properties:
20 mediatek,dmic-mode:
21 $ref: /schemas/types.yaml#/definitions/uint32
22 description: |
23 Indicates how many data pins are used to transmit two channels of PDM
24 signal. 0 means two wires, 1 means one wire. Default value is 0.
25 enum:
26 - 0 # one wire
27 - 1 # two wires
28
29 mediatek,mic-type-0:
30 $ref: /schemas/types.yaml#/definitions/uint32
31 description: |
32 Specifies the type of mic type connected to adc0
33
34 enum:
35 - 0 # IDLE - mic in turn-off status
36 - 1 # ACC - analog mic with alternating coupling
37 - 2 # DMIC - digital mic
38 - 3 # DCC - analog mic with direct couping
39 - 4 # DCC_ECM_DIFF - analog electret condenser mic with differential mode
40 - 5 # DCC_ECM_SINGLE - analog electret condenser mic with single mode
41
42 mediatek,mic-type-1:
43 $ref: /schemas/types.yaml#/definitions/uint32
44 description: |
45 Specifies the type of mic type connected to adc1
46
47 mediatek,mic-type-2:
48 $ref: /schemas/types.yaml#/definitions/uint32
49 description: |
50 Specifies the type of mic type connected to adc2
51
52 additionalProperties: false
53
54 examples:
55 - |
56 mt6359codec: mt6359codec {
57 mediatek,dmic-mode = <0>;
58 mediatek,mic-type-0 = <2>;
59 };
60
61 ...
Cache object: 6554b79ae16b64d6386d1c1d59f2f30f
|