summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_dsp_cpu.h
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2018-11-27 10:44:13 +0200
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:52:14 +0800
commitb9668d7af2016b052dd5ac7c8ccb64303935bb86 (patch)
tree03909654b1b28b7a66b99268fa5c1e0c10eb35d1 /sound/soc/fsl/fsl_dsp_cpu.h
parent1ac4dce34cf9962638a8f7378a0ca8db50517325 (diff)
MLK-20095-3: ASoC: fsl: dsp: Add ASRC clocks
We enable the ASRC clocks from CPU side. We only need the following clocks: "mem", "ipg" and "asrc0..3". Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_dsp_cpu.h')
-rw-r--r--sound/soc/fsl/fsl_dsp_cpu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_dsp_cpu.h b/sound/soc/fsl/fsl_dsp_cpu.h
index ef2813868be8..a6c1043a5908 100644
--- a/sound/soc/fsl/fsl_dsp_cpu.h
+++ b/sound/soc/fsl/fsl_dsp_cpu.h
@@ -8,10 +8,15 @@
#ifndef __FSL_DSP_CPU_H
#define __FSL_DSP_CPU_H
+#define ASRC_CLK_MAX_NUM 4
+
struct fsl_dsp_audio {
struct platform_device *pdev;
struct clk *bus_clk;
struct clk *m_clk;
+ struct clk *asrc_mem_clk;
+ struct clk *asrc_ipg_clk;
+ struct clk *asrck_clk[ASRC_CLK_MAX_NUM];
};
#endif /*__FSL_DSP_CPU_H*/