62 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/sound/mt6359.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Mediatek MT6359 Codec8 9maintainers:10 - Eason Yen <eason.yen@mediatek.com>11 - Jiaxin Yu <jiaxin.yu@mediatek.com>12 - Shane Chien <shane.chien@mediatek.com>13 14description: |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 19properties:20 mediatek,dmic-mode:21 $ref: /schemas/types.yaml#/definitions/uint3222 description: |23 Indicates how many data pins are used to transmit two channels of PDM24 signal. 0 means two wires, 1 means one wire. Default value is 0.25 enum:26 - 0 # one wire27 - 1 # two wires28 29 mediatek,mic-type-0:30 $ref: /schemas/types.yaml#/definitions/uint3231 description: |32 Specifies the type of mic type connected to adc033 34 enum:35 - 0 # IDLE - mic in turn-off status36 - 1 # ACC - analog mic with alternating coupling37 - 2 # DMIC - digital mic38 - 3 # DCC - analog mic with direct couping39 - 4 # DCC_ECM_DIFF - analog electret condenser mic with differential mode40 - 5 # DCC_ECM_SINGLE - analog electret condenser mic with single mode41 42 mediatek,mic-type-1:43 $ref: /schemas/types.yaml#/definitions/uint3244 description: |45 Specifies the type of mic type connected to adc146 47 mediatek,mic-type-2:48 $ref: /schemas/types.yaml#/definitions/uint3249 description: |50 Specifies the type of mic type connected to adc251 52additionalProperties: false53 54examples:55 - |56 mt6359codec: mt6359codec {57 mediatek,dmic-mode = <0>;58 mediatek,mic-type-0 = <2>;59 };60 61...62