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