diff options
Diffstat (limited to 'sound/soc/xilinx/xlnx_snd_common.h')
-rw-r--r-- | sound/soc/xilinx/xlnx_snd_common.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sound/soc/xilinx/xlnx_snd_common.h b/sound/soc/xilinx/xlnx_snd_common.h new file mode 100644 index 000000000000..39461fac0d96 --- /dev/null +++ b/sound/soc/xilinx/xlnx_snd_common.h @@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Xilinx ASoC sound card support + * + * Copyright (C) 2018 Xilinx, Inc. + */ + +#ifndef _XLNX_SND_COMMON_H +#define _XLNX_SND_COMMON_H + +enum { + XLNX_PLAYBACK, + XLNX_CAPTURE, + XLNX_MAX_PATHS +}; + +struct pl_card_data { + u32 mclk_val; + u32 mclk_ratio; + int xlnx_snd_dev_id; + struct clk *mclk; +}; +#endif /* _XLNX_SND_COMMON_H */ |