01e2ab207c
The I2S DAI driver for blackfin SPORT, but works in TDM mode. I2S is not a special case of TDM with only left and right two slots for SPORT interface. I2S coordinates with TDM in SPORT, but not a part of TDM. TDM require different hardware configuration with I2S, not only different slot number. One is "Stereo Serial Operation" mode of SPORT, the other one is "Multichannel Operation" mode. They are incompatible at the same time. Hardware and DMA description and data transfer flow are much different for I2S and TDM. Merging them as a whole will be very ugly and difficult to maintain. So we don't define a new DAI type, but give two DAI instances for standard I2S and TDM, both in I2S-family DAI type. The TDM instance still uses the I2S-family DAI type. Signed-off-by: Barry Song <21cnbao@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
25 lines
964 B
Makefile
25 lines
964 B
Makefile
# Blackfin Platform Support
|
|
snd-bf5xx-ac97-objs := bf5xx-ac97-pcm.o
|
|
snd-bf5xx-i2s-objs := bf5xx-i2s-pcm.o
|
|
snd-bf5xx-tdm-objs := bf5xx-tdm-pcm.o
|
|
snd-soc-bf5xx-sport-objs := bf5xx-sport.o
|
|
snd-soc-bf5xx-ac97-objs := bf5xx-ac97.o
|
|
snd-soc-bf5xx-i2s-objs := bf5xx-i2s.o
|
|
snd-soc-bf5xx-tdm-objs := bf5xx-tdm.o
|
|
|
|
obj-$(CONFIG_SND_BF5XX_AC97) += snd-bf5xx-ac97.o
|
|
obj-$(CONFIG_SND_BF5XX_I2S) += snd-bf5xx-i2s.o
|
|
obj-$(CONFIG_SND_BF5XX_TDM) += snd-bf5xx-tdm.o
|
|
obj-$(CONFIG_SND_BF5XX_SOC_SPORT) += snd-soc-bf5xx-sport.o
|
|
obj-$(CONFIG_SND_BF5XX_SOC_AC97) += snd-soc-bf5xx-ac97.o
|
|
obj-$(CONFIG_SND_BF5XX_SOC_I2S) += snd-soc-bf5xx-i2s.o
|
|
obj-$(CONFIG_SND_BF5XX_SOC_TDM) += snd-soc-bf5xx-tdm.o
|
|
|
|
# Blackfin Machine Support
|
|
snd-ad1980-objs := bf5xx-ad1980.o
|
|
snd-ssm2602-objs := bf5xx-ssm2602.o
|
|
snd-ad73311-objs := bf5xx-ad73311.o
|
|
|
|
obj-$(CONFIG_SND_BF5XX_SOC_AD1980) += snd-ad1980.o
|
|
obj-$(CONFIG_SND_BF5XX_SOC_SSM2602) += snd-ssm2602.o
|
|
obj-$(CONFIG_SND_BF5XX_SOC_AD73311) += snd-ad73311.o
|