blob: 4f5b49eb18d8ddf22e668cf89c59b025815d520e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright 2017-2021 NXP
*/
#ifndef __FSL_RPMSG_H
#define __FSL_RPMSG_H
/*
* struct fsl_rpmsg - rpmsg private data
*
* @ipg: ipg clock for cpu dai (SAI)
* @mclk: master clock for cpu dai (SAI)
* @dma: clock for dma device
* @pll8k: parent clock for multiple of 8kHz frequency
* @pll11k: parent clock for multiple of 11kHz frequency
* @card_pdev: Platform_device pointer to register a sound card
* @mclk_streams: Active streams that are using baudclk
* @force_lpa: force enable low power audio routine if condition satisfy
* @enable_lpa: enable low power audio routine according to dts setting
* @buffer_size: pre allocated dma buffer size
*/
struct fsl_rpmsg {
struct clk *ipg;
struct clk *mclk;
struct clk *dma;
struct clk *pll8k;
struct clk *pll11k;
struct platform_device *card_pdev;
unsigned int mclk_streams;
int force_lpa;
int enable_lpa;
int buffer_size;
};
#endif /* __FSL_RPMSG_H */
|