mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 23:14:31 +08:00
c86d50f9dc
This patch adds support for setting source clock of the "Core CLK" of the IIS Multi Audio Interface. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>
24 lines
638 B
C
24 lines
638 B
C
/* sound/soc/samsung/i2s.h
|
|
*
|
|
* ALSA SoC Audio Layer - Samsung I2S Controller driver
|
|
*
|
|
* Copyright (c) 2010 Samsung Electronics Co. Ltd.
|
|
* Jaswinder Singh <jassisinghbrar@gmail.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __SND_SOC_SAMSUNG_I2S_H
|
|
#define __SND_SOC_SAMSUNG_I2S_H
|
|
|
|
#define SAMSUNG_I2S_DIV_BCLK 1
|
|
|
|
#define SAMSUNG_I2S_RCLKSRC_0 0
|
|
#define SAMSUNG_I2S_RCLKSRC_1 1
|
|
#define SAMSUNG_I2S_CDCLK 2
|
|
#define SAMSUNG_I2S_OPCLK 3
|
|
|
|
#endif /* __SND_SOC_SAMSUNG_I2S_H */
|