17d5b1b8aSSylwester Nawrocki /* SPDX-License-Identifier: GPL-2.0 */ 27d5b1b8aSSylwester Nawrocki /* 35033f43cSJassi Brar * ALSA SoC Audio Layer - Samsung I2S Controller driver 45033f43cSJassi Brar * 55033f43cSJassi Brar * Copyright (c) 2010 Samsung Electronics Co. Ltd. 6df8ad335SJaswinder Singh * Jaswinder Singh <jassisinghbrar@gmail.com> 75033f43cSJassi Brar */ 85033f43cSJassi Brar 95033f43cSJassi Brar #ifndef __SND_SOC_SAMSUNG_I2S_H 105033f43cSJassi Brar #define __SND_SOC_SAMSUNG_I2S_H 115033f43cSJassi Brar 1222289ddcSJaechul Lee #define SAMSUNG_I2S_DAI "samsung-i2s" 1322289ddcSJaechul Lee #define SAMSUNG_I2S_DAI_SEC "samsung-i2s-sec" 1422289ddcSJaechul Lee 155033f43cSJassi Brar #define SAMSUNG_I2S_DIV_BCLK 1 165033f43cSJassi Brar 175033f43cSJassi Brar #define SAMSUNG_I2S_RCLKSRC_0 0 185033f43cSJassi Brar #define SAMSUNG_I2S_RCLKSRC_1 1 195033f43cSJassi Brar #define SAMSUNG_I2S_CDCLK 2 2045ae70e8SSylwester Nawrocki /* Operation clock for IIS logic */ 21c86d50f9SSylwester Nawrocki #define SAMSUNG_I2S_OPCLK 3 2245ae70e8SSylwester Nawrocki #define SAMSUNG_I2S_OPCLK_CDCLK_OUT 0 /* CODEC clock out */ 2345ae70e8SSylwester Nawrocki #define SAMSUNG_I2S_OPCLK_CDCLK_IN 1 /* CODEC clock in */ 2445ae70e8SSylwester Nawrocki #define SAMSUNG_I2S_OPCLK_BCLK_OUT 2 /* Bit clock out */ 2545ae70e8SSylwester Nawrocki #define SAMSUNG_I2S_OPCLK_PCLK 3 /* Audio bus clock */ 265033f43cSJassi Brar 275033f43cSJassi Brar #endif /* __SND_SOC_SAMSUNG_I2S_H */ 28