7c62eebbf7
All Samsung SoCs has max 3 i2s controllers. So the i2s secondary fifo interface device id was named as samsung-i2s.4. Renaming this to "samsung-i2s-sec" to support device tree in i2s driver. Signed-off-by: Padmavathi Venna <padma.v@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
22 lines
609 B
C
22 lines
609 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
|
|
|
|
#endif /* __SND_SOC_SAMSUNG_I2S_H */
|