2020-11-03 15:59:38 +08:00
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id : http://devicetree.org/schemas/sound/mt8192-mt6359-rt1015-rt5682.yaml#
$schema : http://devicetree.org/meta-schemas/core.yaml#
title : Mediatek MT8192 with MT6359, RT1015 and RT5682 ASoC sound card driver
maintainers :
2021-01-16 02:34:03 +01:00
- Jiaxin Yu <jiaxin.yu@mediatek.com>
- Shane Chien <shane.chien@mediatek.com>
2020-11-03 15:59:38 +08:00
description :
This binding describes the MT8192 sound card.
properties :
compatible :
2020-12-01 21:26:13 +08:00
enum :
- mediatek,mt8192_mt6359_rt1015_rt5682
- mediatek,mt8192_mt6359_rt1015p_rt5682
2022-04-08 14:05:49 +08:00
- mediatek,mt8192_mt6359_rt1015p_rt5682s
2020-11-03 15:59:38 +08:00
mediatek,platform :
2023-03-17 18:36:10 -05:00
$ref : /schemas/types.yaml#/definitions/phandle
2020-11-03 15:59:38 +08:00
description : The phandle of MT8192 ASoC platform.
2021-01-20 16:08:49 +08:00
mediatek,hdmi-codec :
2023-03-17 18:36:10 -05:00
$ref : /schemas/types.yaml#/definitions/phandle
2021-01-20 16:08:49 +08:00
description : The phandle of HDMI codec.
2022-04-08 14:05:49 +08:00
headset-codec :
type : object
2022-08-23 09:56:39 -05:00
additionalProperties : false
2022-04-08 14:05:49 +08:00
properties :
sound-dai :
2022-10-24 19:06:57 -04:00
maxItems : 1
2022-04-08 14:05:49 +08:00
required :
- sound-dai
speaker-codecs :
type : object
2022-08-23 09:56:39 -05:00
additionalProperties : false
2022-04-08 14:05:49 +08:00
properties :
sound-dai :
minItems : 1
maxItems : 2
items :
maxItems : 1
required :
- sound-dai
2020-11-03 15:59:38 +08:00
additionalProperties : false
required :
- compatible
- mediatek,platform
2022-04-08 14:05:49 +08:00
- headset-codec
- speaker-codecs
2020-11-03 15:59:38 +08:00
examples :
- |
sound : mt8192-sound {
2020-12-01 21:26:12 +08:00
compatible = "mediatek,mt8192_mt6359_rt1015_rt5682";
2020-11-03 15:59:38 +08:00
mediatek,platform = <&afe>;
2021-01-20 16:08:49 +08:00
mediatek,hdmi-codec = <&anx_bridge_dp>;
2020-11-03 15:59:38 +08:00
pinctrl-names = "aud_clk_mosi_off",
"aud_clk_mosi_on" ;
pinctrl-0 = <&aud_clk_mosi_off>;
pinctrl-1 = <&aud_clk_mosi_on>;
2022-04-08 14:05:49 +08:00
headset-codec {
sound-dai = <&rt5682>;
};
speaker-codecs {
sound-dai = <&rt1015_l>,
<&rt1015_r>;
};
2020-11-03 15:59:38 +08:00
};
...