Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
62 lines
1.7 KiB
YAML
62 lines
1.7 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/sound/mt6359.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Mediatek MT6359 Codec
|
|
|
|
maintainers:
|
|
- Eason Yen <eason.yen@mediatek.com>
|
|
- Jiaxin Yu <jiaxin.yu@mediatek.com>
|
|
- Shane Chien <shane.chien@mediatek.com>
|
|
|
|
description: |
|
|
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:
|
|
mediatek,dmic-mode:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description: |
|
|
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.
|
|
enum:
|
|
- 0 # two wires
|
|
- 1 # one wire
|
|
|
|
mediatek,mic-type-0:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description: |
|
|
Specifies the type of mic type connected to adc0
|
|
|
|
enum:
|
|
- 0 # IDLE - mic in turn-off status
|
|
- 1 # ACC - analog mic with alternating coupling
|
|
- 2 # DMIC - digital mic
|
|
- 3 # DCC - analog mic with direct couping
|
|
- 4 # DCC_ECM_DIFF - analog electret condenser mic with differential mode
|
|
- 5 # DCC_ECM_SINGLE - analog electret condenser mic with single mode
|
|
|
|
mediatek,mic-type-1:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description: |
|
|
Specifies the type of mic type connected to adc1
|
|
|
|
mediatek,mic-type-2:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description: |
|
|
Specifies the type of mic type connected to adc2
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
mt6359codec: audio-codec {
|
|
mediatek,dmic-mode = <0>;
|
|
mediatek,mic-type-0 = <2>;
|
|
};
|
|
|
|
...
|