xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/mt8183-afe-pcm.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunMediatek AFE PCM controller for mt8183
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible = "mediatek,mt68183-audio";
5*4882a593Smuzhiyun- reg: register location and size
6*4882a593Smuzhiyun- interrupts: should contain AFE interrupt
7*4882a593Smuzhiyun- resets: Must contain an entry for each entry in reset-names
8*4882a593Smuzhiyun  See ../reset/reset.txt for details.
9*4882a593Smuzhiyun- reset-names: should have these reset names:
10*4882a593Smuzhiyun		"audiosys";
11*4882a593Smuzhiyun- power-domains: should define the power domain
12*4882a593Smuzhiyun- clocks: Must contain an entry for each entry in clock-names
13*4882a593Smuzhiyun- clock-names: should have these clock names:
14*4882a593Smuzhiyun		"infra_sys_audio_clk",
15*4882a593Smuzhiyun		"mtkaif_26m_clk",
16*4882a593Smuzhiyun		"top_mux_audio",
17*4882a593Smuzhiyun		"top_mux_aud_intbus",
18*4882a593Smuzhiyun		"top_sys_pll3_d4",
19*4882a593Smuzhiyun		"top_clk26m_clk";
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunExample:
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun	afe: mt8183-afe-pcm@11220000  {
24*4882a593Smuzhiyun		compatible = "mediatek,mt8183-audio";
25*4882a593Smuzhiyun		reg = <0 0x11220000 0 0x1000>;
26*4882a593Smuzhiyun		interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_LOW>;
27*4882a593Smuzhiyun		resets = <&watchdog MT8183_TOPRGU_AUDIO_SW_RST>;
28*4882a593Smuzhiyun		reset-names = "audiosys";
29*4882a593Smuzhiyun		power-domains = <&scpsys MT8183_POWER_DOMAIN_AUDIO>;
30*4882a593Smuzhiyun		clocks = <&infrasys CLK_INFRA_AUDIO>,
31*4882a593Smuzhiyun			 <&infrasys CLK_INFRA_AUDIO_26M_BCLK>,
32*4882a593Smuzhiyun			 <&topckgen CLK_TOP_MUX_AUDIO>,
33*4882a593Smuzhiyun			 <&topckgen CLK_TOP_MUX_AUD_INTBUS>,
34*4882a593Smuzhiyun			 <&topckgen CLK_TOP_SYSPLL_D2_D4>,
35*4882a593Smuzhiyun			 <&clk26m>;
36*4882a593Smuzhiyun		clock-names = "infra_sys_audio_clk",
37*4882a593Smuzhiyun			      "mtkaif_26m_clk",
38*4882a593Smuzhiyun			      "top_mux_audio",
39*4882a593Smuzhiyun			      "top_mux_aud_intbus",
40*4882a593Smuzhiyun			      "top_sys_pll_d2_d4",
41*4882a593Smuzhiyun			      "top_clk26m_clk";
42*4882a593Smuzhiyun	};
43