Revert "unicode: Don't special case ignorable code points"
[linux.git] / sound / soc / ti / omap-mcbsp.h
blob9fdba86ba25570fd70d12e18fefbfa02f2574c28
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * omap-mcbsp.h
5 * Copyright (C) 2008 Nokia Corporation
7 * Contact: Jarkko Nikula <jarkko.nikula@bitmer.com>
8 * Peter Ujfalusi <peter.ujfalusi@ti.com>
9 */
11 #ifndef __OMAP_MCBSP_H__
12 #define __OMAP_MCBSP_H__
14 #include <sound/dmaengine_pcm.h>
16 /* Source clocks for McBSP sample rate generator */
17 enum omap_mcbsp_clksrg_clk {
18 OMAP_MCBSP_SYSCLK_CLKS_FCLK, /* Internal FCLK */
19 OMAP_MCBSP_SYSCLK_CLKS_EXT, /* External CLKS pin */
20 OMAP_MCBSP_SYSCLK_CLK, /* Internal ICLK */
21 OMAP_MCBSP_SYSCLK_CLKX_EXT, /* External CLKX pin */
22 OMAP_MCBSP_SYSCLK_CLKR_EXT, /* External CLKR pin */
25 /* McBSP dividers */
26 enum omap_mcbsp_div {
27 OMAP_MCBSP_CLKGDV, /* Sample rate generator divider */
30 int omap_mcbsp_st_add_controls(struct snd_soc_pcm_runtime *rtd, int port_id);
32 #endif /* __OMAP_MCBSP_H__ */