mt8186-clk.h 517 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
  2. /*
  3. * Copyright (c) 2022 MediaTek Corporation. All rights reserved.
  4. *
  5. * Header file for the mt8186 DSP clock definition
  6. */
  7. #ifndef __MT8186_CLK_H
  8. #define __MT8186_CLK_H
  9. struct snd_sof_dev;
  10. /* DSP clock */
  11. enum adsp_clk_id {
  12. CLK_TOP_AUDIODSP,
  13. CLK_TOP_ADSP_BUS,
  14. ADSP_CLK_MAX
  15. };
  16. int mt8186_adsp_init_clock(struct snd_sof_dev *sdev);
  17. int mt8186_adsp_clock_on(struct snd_sof_dev *sdev);
  18. void mt8186_adsp_clock_off(struct snd_sof_dev *sdev);
  19. #endif