forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
855 B
32 lines
855 B
/* SPDX-License-Identifier: GPL-2.0-only */ |
|
/* |
|
* omap-mcbsp.h |
|
* |
|
* Copyright (C) 2008 Nokia Corporation |
|
* |
|
* Contact: Jarkko Nikula <[email protected]> |
|
* Peter Ujfalusi <[email protected]> |
|
*/ |
|
|
|
#ifndef __OMAP_MCBSP_H__ |
|
#define __OMAP_MCBSP_H__ |
|
|
|
#include <sound/dmaengine_pcm.h> |
|
|
|
/* Source clocks for McBSP sample rate generator */ |
|
enum omap_mcbsp_clksrg_clk { |
|
OMAP_MCBSP_SYSCLK_CLKS_FCLK, /* Internal FCLK */ |
|
OMAP_MCBSP_SYSCLK_CLKS_EXT, /* External CLKS pin */ |
|
OMAP_MCBSP_SYSCLK_CLK, /* Internal ICLK */ |
|
OMAP_MCBSP_SYSCLK_CLKX_EXT, /* External CLKX pin */ |
|
OMAP_MCBSP_SYSCLK_CLKR_EXT, /* External CLKR pin */ |
|
}; |
|
|
|
/* McBSP dividers */ |
|
enum omap_mcbsp_div { |
|
OMAP_MCBSP_CLKGDV, /* Sample rate generator divider */ |
|
}; |
|
|
|
int omap_mcbsp_st_add_controls(struct snd_soc_pcm_runtime *rtd, int port_id); |
|
|
|
#endif /* __OMAP_MCBSP_H__ */
|
|
|