1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/sound/mt6359.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek MT6359 Codec
10 - Eason Yen <eason.yen@mediatek.com>
11 - Jiaxin Yu <jiaxin.yu@mediatek.com>
12 - Shane Chien <shane.chien@mediatek.com>
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.
21 $ref: /schemas/types.yaml#/definitions/uint32
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.
30 $ref: /schemas/types.yaml#/definitions/uint32
32 Specifies the type of mic type connected to adc0
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
43 $ref: /schemas/types.yaml#/definitions/uint32
45 Specifies the type of mic type connected to adc1
48 $ref: /schemas/types.yaml#/definitions/uint32
50 Specifies the type of mic type connected to adc2
52 additionalProperties: false
56 mt6359codec: mt6359codec {
57 mediatek,dmic-mode = <0>;
58 mediatek,mic-type-0 = <2>;