Mediatek MT6359 Codec
Schema identifier ($id): "http://devicetree.org/schemas/sound/mt6359.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eason Yen <eason.yen@mediatek.com>", "Jiaxin Yu <jiaxin.yu@mediatek.com>", "Shane Chien <shane.chien@mediatek.com>"
The communication between MT6359 and SoC is through Mediatek PMIC wrapper. For more detail, please visit Mediatek PMIC wrapper documentation. Must be a child node of PMIC wrapper.
Properties and child nodes (properties) #
mediatek,dmic-mode — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Indicates how many data pins are used to transmit two channels of PDM signal. 0 means two wires, 1 means one wire. Default value is 0.
mediatek,mic-type-0 — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Specifies the type of mic type connected to adc0
Allowed values (enum): 0, 1, 2, 3, 4, 5
mediatek,mic-type-1 — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Specifies the type of mic type connected to adc1
mediatek,mic-type-2 — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Specifies the type of mic type connected to adc2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
mt6359codec: audio-codec {
mediatek,dmic-mode = <0>;
mediatek,mic-type-0 = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 26: two wires
Line 27: one wire
Line 35: IDLE - mic in turn-off status
Line 36: ACC - analog mic with alternating coupling
Line 37: DMIC - digital mic
Line 38: DCC - analog mic with direct couping
Line 39: DCC_ECM_DIFF - analog electret condenser mic with differential mode
Line 40: DCC_ECM_SINGLE - analog electret condenser mic with single mode