Commit | Line | Data |
---|---|---|
ee0bcaff KC |
1 | Mediatek AFE PCM controller |
2 | ||
3 | Required properties: | |
4 | - compatible = "mediatek,mt8173-afe-pcm"; | |
5 | - reg: register location and size | |
6 | - interrupts: Should contain AFE interrupt | |
7 | - clock-names: should have these clock names: | |
8 | "infra_sys_audio_clk", | |
9 | "top_pdn_audio", | |
10 | "top_pdn_aud_intbus", | |
11 | "bck0", | |
12 | "bck1", | |
13 | "i2s0_m", | |
14 | "i2s1_m", | |
15 | "i2s2_m", | |
16 | "i2s3_m", | |
17 | "i2s3_b"; | |
18 | ||
19 | Example: | |
20 | ||
21 | afe: mt8173-afe-pcm@11220000 { | |
22 | compatible = "mediatek,mt8173-afe-pcm"; | |
23 | reg = <0 0x11220000 0 0x1000>; | |
24 | interrupts = <GIC_SPI 134 IRQ_TYPE_EDGE_FALLING>; | |
25 | clocks = <&infracfg INFRA_AUDIO>, | |
26 | <&topckgen TOP_AUDIO_SEL>, | |
27 | <&topckgen TOP_AUD_INTBUS_SEL>, | |
28 | <&topckgen TOP_APLL1_DIV0>, | |
29 | <&topckgen TOP_APLL2_DIV0>, | |
30 | <&topckgen TOP_I2S0_M_CK_SEL>, | |
31 | <&topckgen TOP_I2S1_M_CK_SEL>, | |
32 | <&topckgen TOP_I2S2_M_CK_SEL>, | |
33 | <&topckgen TOP_I2S3_M_CK_SEL>, | |
34 | <&topckgen TOP_I2S3_B_CK_SEL>; | |
35 | clock-names = "infra_sys_audio_clk", | |
36 | "top_pdn_audio", | |
37 | "top_pdn_aud_intbus", | |
38 | "bck0", | |
39 | "bck1", | |
40 | "i2s0_m", | |
41 | "i2s1_m", | |
42 | "i2s2_m", | |
43 | "i2s3_m", | |
44 | "i2s3_b"; | |
45 | }; |