Re: [PATCH v1 2/2] ASoC: tas2781: Add tas5832 support
From: Krzysztof Kozlowski
Date: Fri Feb 27 2026 - 05:34:27 EST
On Thu, Feb 26, 2026 at 03:57:37PM +0800, Baojun Xu wrote:
> TAS5832 is in same family with TAS5827/28/30.
>
> Signed-off-by: Baojun Xu <baojun.xu@xxxxxx>
> ---
> include/sound/tas2781.h | 1 +
> sound/soc/codecs/tas2781-i2c.c | 5 +++++
> 2 files changed, 6 insertions(+)
>
> diff --git a/include/sound/tas2781.h b/include/sound/tas2781.h
> index 7c03bdc951bb..c9152a950483 100644
> --- a/include/sound/tas2781.h
> +++ b/include/sound/tas2781.h
> @@ -131,6 +131,7 @@ enum audio_device {
> TAS5827,
> TAS5828,
> TAS5830,
> + TAS5832,
> TAS_OTHERS,
> };
>
> diff --git a/sound/soc/codecs/tas2781-i2c.c b/sound/soc/codecs/tas2781-i2c.c
> index 41b89fcc69c3..9228b3b6383b 100644
> --- a/sound/soc/codecs/tas2781-i2c.c
> +++ b/sound/soc/codecs/tas2781-i2c.c
> @@ -119,6 +119,7 @@ static const struct i2c_device_id tasdevice_id[] = {
> { "tas5827", TAS5827 },
> { "tas5828", TAS5828 },
> { "tas5830", TAS5830 },
> + { "tas5832", TAS5832 },
> {}
> };
> MODULE_DEVICE_TABLE(i2c, tasdevice_id);
> @@ -144,6 +145,7 @@ static const struct of_device_id tasdevice_of_match[] = {
> { .compatible = "ti,tas5827" },
> { .compatible = "ti,tas5828" },
> { .compatible = "ti,tas5830" },
> + { .compatible = "ti,tas5832" },
So it is fully compatible with tas5830 and most of the changes here are
not needed?
Best regards,
Krzysztof