15033f43cSJassi Brar /* sound/soc/samsung/i2s.h 25033f43cSJassi Brar * 35033f43cSJassi Brar * ALSA SoC Audio Layer - Samsung I2S Controller driver 45033f43cSJassi Brar * 55033f43cSJassi Brar * Copyright (c) 2010 Samsung Electronics Co. Ltd. 65033f43cSJassi Brar * Jaswinder Singh <jassi.brar@samsung.com> 75033f43cSJassi Brar * 85033f43cSJassi Brar * This program is free software; you can redistribute it and/or modify 95033f43cSJassi Brar * it under the terms of the GNU General Public License version 2 as 105033f43cSJassi Brar * published by the Free Software Foundation. 115033f43cSJassi Brar */ 125033f43cSJassi Brar 135033f43cSJassi Brar #ifndef __SND_SOC_SAMSUNG_I2S_H 145033f43cSJassi Brar #define __SND_SOC_SAMSUNG_I2S_H 155033f43cSJassi Brar 165033f43cSJassi Brar /* 175033f43cSJassi Brar * Maximum number of I2S blocks that any SoC can have. 185033f43cSJassi Brar * The secondary interface of a CPU dai(if there exists any), 195033f43cSJassi Brar * is indexed at [cpu-dai's ID + SAMSUNG_I2S_SECOFF] 205033f43cSJassi Brar */ 215033f43cSJassi Brar #define SAMSUNG_I2S_SECOFF 4 225033f43cSJassi Brar 235033f43cSJassi Brar #define SAMSUNG_I2S_DIV_BCLK 1 245033f43cSJassi Brar 255033f43cSJassi Brar #define SAMSUNG_I2S_RCLKSRC_0 0 265033f43cSJassi Brar #define SAMSUNG_I2S_RCLKSRC_1 1 275033f43cSJassi Brar #define SAMSUNG_I2S_CDCLK 2 285033f43cSJassi Brar 295033f43cSJassi Brar #endif /* __SND_SOC_SAMSUNG_I2S_H */ 30