• Shenghao Ding's avatar
    ASoC: tas2781: Add tas2563 into driver · 9f1bcd16
    Shenghao Ding authored
    Move tas2563 from tas2562 driver to tas2781 driver to unbind tas2563 from
    tas2562 driver code and bind it to tas2781 driver code, because tas2563
    only work in bypass-DSP mode with tas2562 driver. In order to enable DSP
    mode for tas2563, it has been moved to tas2781 driver. As to the hardware
    part, such as register setting and DSP firmware, all these are stored in
    the binary firmware. What tas2781 drivder does is to parse the firmware
    and download it to the chip, then power on the chip. So, tas2781 driver
    can be resued as tas2563 driver. Only attention will be paid to downloading
    corresponding firmware.
    Signed-off-by: default avatarShenghao Ding <shenghao-ding@ti.com>
    Link: https://msgid.link/r/20240104145721.1398-4-shenghao-ding@ti.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
    9f1bcd16
tas2781-i2c.c 20.5 KB