Some minimal chagnes where made when upstreaming was done.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
tristate "Audio support for the the Xilinx I2S"
help
Select this option to enable Xilinx I2S Audio. This enables
+ I2S playback and capture using xilinx soft IP. In transmitter
+ mode, IP receives audio in AES format, extracts PCM and sends
+ PCM data. In receiver mode, IP receives PCM audio and
+ encapsulates PCM in AES format and sends AES data.
I2S playback and capture using xilinx soft IP
config SND_SOC_XILINX_SPDIF
obj-$(CONFIG_SND_SOC_XILINX_DP) += xilinx-dp-card.o
obj-$(CONFIG_SND_SOC_XILINX_AUDIO_FORMATTER) += xlnx_formatter_pcm.o
obj-$(CONFIG_SND_SOC_XILINX_SDI) += xlnx_sdi_audio.o
-obj-$(CONFIG_SND_SOC_XILINX_I2S) += xlnx_i2s.o
+snd-soc-xlnx-i2s-objs := xlnx_i2s.o
+obj-$(CONFIG_SND_SOC_XILINX_I2S) += snd-soc-xlnx-i2s.o
obj-$(CONFIG_SND_SOC_XILINX_SPDIF) += xlnx_spdif.o
obj-$(CONFIG_SND_SOC_XILINX_PL_SND_CARD) += xlnx_pl_snd_card.o
#include <sound/pcm_params.h>
#include <sound/soc.h>
+#define DRV_NAME "xlnx_i2s"
+
#define I2S_CORE_CTRL_OFFSET 0x08
#define I2S_I2STIM_OFFSET 0x20
#define I2S_CH0_OFFSET 0x30
};
static const struct snd_soc_component_driver xlnx_i2s_component = {
- .name = "xlnx_i2s",
+ .name = DRV_NAME,
};
static const struct of_device_id xlnx_i2s_of_match[] = {
static struct platform_driver xlnx_i2s_aud_driver = {
.driver = {
- .name = "xlnx_i2s",
+ .name = DRV_NAME,
.of_match_table = xlnx_i2s_of_match,
},
.probe = xlnx_i2s_probe,
module_platform_driver(xlnx_i2s_aud_driver);
MODULE_LICENSE("GPL v2");
-MODULE_AUTHOR("Praveen Vuppala");
-MODULE_AUTHOR("Maruthi Srinivas Bayyavarapu");
+MODULE_AUTHOR("Praveen Vuppala <praveenv@xilinx.com>");
+MODULE_AUTHOR("Maruthi Srinivas Bayyavarapu <maruthis@xilinx.com>");