mt8195-clk.h 564 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (c) 2021 MediaTek Corporation. All rights reserved.
  4. *
  5. * Header file for the mt8195 DSP clock definition
  6. */
  7. #ifndef __MT8195_CLK_H
  8. #define __MT8195_CLK_H
  9. struct snd_sof_dev;
  10. /*DSP clock*/
  11. enum adsp_clk_id {
  12. CLK_TOP_ADSP,
  13. CLK_TOP_CLK26M,
  14. CLK_TOP_AUDIO_LOCAL_BUS,
  15. CLK_TOP_MAINPLL_D7_D2,
  16. CLK_SCP_ADSP_AUDIODSP,
  17. CLK_TOP_AUDIO_H,
  18. ADSP_CLK_MAX
  19. };
  20. int mt8195_adsp_init_clock(struct snd_sof_dev *sdev);
  21. int adsp_clock_on(struct snd_sof_dev *sdev);
  22. int adsp_clock_off(struct snd_sof_dev *sdev);
  23. #endif