xref: /freebsd/sys/contrib/device-tree/Bindings/sound/mt8183-mt6358-ts3a227-max98357.txt (revision 2eb4d8dc723da3cf7d735a3226ae49da4c8c5dbc)
1c66ec88fSEmmanuel VadotMT8183 with MT6358, TS3A227, MAX98357, and RT1015 CODECS
2c66ec88fSEmmanuel Vadot
3c66ec88fSEmmanuel VadotRequired properties:
4c66ec88fSEmmanuel Vadot- compatible : "mediatek,mt8183_mt6358_ts3a227_max98357" for MAX98357A codec
5c66ec88fSEmmanuel Vadot               "mediatek,mt8183_mt6358_ts3a227_max98357b" for MAX98357B codec
6c66ec88fSEmmanuel Vadot               "mediatek,mt8183_mt6358_ts3a227_rt1015" for RT1015 codec
7*2eb4d8dcSEmmanuel Vadot               "mediatek,mt8183_mt6358_ts3a227_rt1015p" for RT1015P codec
8c66ec88fSEmmanuel Vadot- mediatek,platform: the phandle of MT8183 ASoC platform
9c66ec88fSEmmanuel Vadot
10c66ec88fSEmmanuel VadotOptional properties:
11c66ec88fSEmmanuel Vadot- mediatek,headset-codec: the phandles of ts3a227 codecs
12c66ec88fSEmmanuel Vadot- mediatek,ec-codec: the phandle of EC codecs.
13c66ec88fSEmmanuel Vadot                     See google,cros-ec-codec.txt for more details.
14c66ec88fSEmmanuel Vadot- mediatek,hdmi-codec: the phandles of HDMI codec
15c66ec88fSEmmanuel Vadot
16c66ec88fSEmmanuel VadotExample:
17c66ec88fSEmmanuel Vadot
18c66ec88fSEmmanuel Vadot	sound {
19c66ec88fSEmmanuel Vadot		compatible = "mediatek,mt8183_mt6358_ts3a227_max98357";
20c66ec88fSEmmanuel Vadot		mediatek,headset-codec = <&ts3a227>;
21c66ec88fSEmmanuel Vadot		mediatek,ec-codec = <&ec_codec>;
22c66ec88fSEmmanuel Vadot		mediatek,hdmi-codec = <&it6505dptx>;
23c66ec88fSEmmanuel Vadot		mediatek,platform = <&afe>;
24c66ec88fSEmmanuel Vadot	};
25c66ec88fSEmmanuel Vadot
26