/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (ST) 2012 Rajeev Kumar ([email protected]) */ #ifndef __SOUND_DESIGNWARE_I2S_H #define __SOUND_DESIGNWARE_I2S_H #include <linux/dmaengine.h> #include <linux/types.h> /* * struct i2s_clk_config_data - represent i2s clk configuration data * @chan_nr: number of channel * @data_width: number of bits per sample (8/16/24/32 bit) * @sample_rate: sampling frequency (8Khz, 16Khz, 32Khz, 44Khz, 48Khz) */ struct i2s_clk_config_data { … }; struct dw_i2s_dev; struct i2s_platform_data { … }; struct i2s_dma_data { … }; /* I2S DMA registers */ #define I2S_RXDMA … #define I2S_TXDMA … #define TWO_CHANNEL_SUPPORT … #define FOUR_CHANNEL_SUPPORT … #define SIX_CHANNEL_SUPPORT … #define EIGHT_CHANNEL_SUPPORT … #endif /* __SOUND_DESIGNWARE_I2S_H */