mtk-afe-pcm.txt 1.0 KB

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