• Barry Song's avatar
    ASoC: blackfin I2S(TDM mode) CPU DAI driver · 01e2ab20
    Barry Song authored
    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: default avatarBarry Song <21cnbao@gmail.com>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    01e2ab20
Makefile 964 Bytes