Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: tas2781: Add tas5822 support

TAS5822 has on-chip DSP without current/voltage feedback.

Signed-off-by: Baojun Xu <baojun.xu@ti.com>
Link: https://patch.msgid.link/20251104041314.792-1-baojun.xu@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Baojun Xu and committed by
Mark Brown
ecaba8b7 3b071bdd

+7 -1
+1
include/sound/tas2781.h
··· 122 122 TAS2781, 123 123 TAS5802, 124 124 TAS5815, 125 + TAS5822, 125 126 TAS5825, 126 127 TAS5827, 127 128 TAS5828,
+6 -1
sound/soc/codecs/tas2781-i2c.c
··· 110 110 { "tas2781", TAS2781 }, 111 111 { "tas5802", TAS5802 }, 112 112 { "tas5815", TAS5815 }, 113 + { "tas5822", TAS5822 }, 113 114 { "tas5825", TAS5825 }, 114 115 { "tas5827", TAS5827 }, 115 116 { "tas5828", TAS5828 }, ··· 130 129 { .compatible = "ti,tas2781" }, 131 130 { .compatible = "ti,tas5802" }, 132 131 { .compatible = "ti,tas5815" }, 132 + { .compatible = "ti,tas5822" }, 133 133 { .compatible = "ti,tas5825" }, 134 134 { .compatible = "ti,tas5827" }, 135 135 { .compatible = "ti,tas5828" }, ··· 1671 1669 tas_priv->fw_state = TASDEVICE_DSP_FW_ALL_OK; 1672 1670 1673 1671 /* There is no calibration required for 1674 - * TAS5802/TAS5815/TAS5825/TAS5827/TAS5828. 1672 + * TAS5802/TAS5815/TAS5822/TAS5825/TAS5827/TAS5828. 1675 1673 */ 1676 1674 if (tas_priv->chip_id < TAS5802) { 1677 1675 ret = tasdevice_create_cali_ctrls(tas_priv); ··· 1729 1727 case TAS2781: 1730 1728 case TAS5802: 1731 1729 case TAS5815: 1730 + case TAS5822: 1732 1731 case TAS5825: 1733 1732 case TAS5827: 1734 1733 case TAS5828: ··· 1895 1892 break; 1896 1893 case TAS5802: 1897 1894 case TAS5815: 1895 + case TAS5822: 1898 1896 case TAS5825: 1899 1897 case TAS5827: 1900 1898 case TAS5828: ··· 2072 2068 { "TXNW2781", TAS2781 }, 2073 2069 { "TXNW5802", TAS5802 }, 2074 2070 { "TXNW5815", TAS5815 }, 2071 + { "TXNW5822", TAS5822 }, 2075 2072 { "TXNW5825", TAS5825 }, 2076 2073 { "TXNW5827", TAS5827 }, 2077 2074 { "TXNW5828", TAS5828 },