ALSA: hda: Add TAS2770 support
Subsystems (2)
Baojun Xu
maintainerPATCH 1/1 ALSA: hda: Add TAS2770 support
Add TAS2770 support in TI's HDA driver.
And add hda_chip_id for more product support in the future. Separated DSP and non-DSP in firmware load function.
--- include/sound/tas2770-tlv.h | 23 +++++ sound/pci/hda/tas2781_hda_i2c.c | 157 ++++++++++++++++++++++---------- 2 files changed, 133 insertions(+), 47 deletions(-) create mode 100644 include/sound/tas2770-tlv.h
include/sound/tas2770-tlv.h new file +23 -0
@@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +// +// ALSA SoC Texas Instruments TAS2770 Audio Smart Amplifier +// +// Copyright (C) 2025 Texas Instruments Incorporated +// https://www.ti.com +// +// The TAS2770 hda driver implements for one, two, or even multiple +// TAS2770 chips. +// +// Author: Baojun Xu <[email protected]> +// + +#ifndef __TAS2770_TLV_H__ +#define __TAS2770_TLV_H__ + +#define TAS2770_DVC_LEVEL TASDEVICE_REG(0x0, 0x0, 0x17) +#define TAS2770_AMP_LEVEL TASDEVICE_REG(0x0, 0x0, 0x03) + +static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2770_dvc_tlv, 1650, 50, 0); +static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2770_amp_tlv, 1100, 50, 0); + +#endif
sound/pci/hda/tas2781_hda_i2c.c +110 -47
265 lines not on this page · raw message
Signature · 1 line
2.34.1
Quoted 6 lines · Baojun Xu
Add TAS2770 support in TI's HDA driver.
And addhda_chip_idfor more product support in the future. Separated DSP and non-DSP in firmware load function.Signed-off-by Baojun Xu <[email protected]>
Any reason of the submission of the very same patch?
It was requested to resubmit after rebasing to the new location for HD-audio (sound/hda/*) as found in for-next branch of sound.git tree.
thanks,
Takashi
Xu, Baojun
maintainerQuoted 30 lines
________________________________________
From: Takashi Iwai <[email protected]>
Sent: 18 July 2025 20:29
To: Xu, Baojun
Cc: [email protected]; [email protected]; [email protected]; Ding, Shenghao; Navada Kanyana, Mukund; [email protected]; Hampiholi, Vallabha; P O, Vijeth; [email protected]; [email protected]
Subject: [EXTERNAL] Re: [PATCH v1] ALSA: hda: Add TAS2770 supportOn Fri, 18 Jul 2025 11: 44: 54 +0200, Baojun Xu wrote:
Add TAS2770 support in TI's HDA driver.
And addhda_chip_idfor more product support in the future. Separated DSP and non-DSP in firmware load function.Signed-off-by:
ZjQcmQRYFpfptBannerStart
This message was sent from outside of Texas Instruments.
Do not click links or open attachments unless you recognize the source of this email and know the content is safe.
<https://us-phishalarm-ewt.proofpoint.com/EWT/v1/G3vK!vxdrHfwnF007wWzvvxtoX6USmVeMCYVcebtNTsaFw2PGCzl2HC8-5XErXla_Mkw92m8ysw$>
Report SuspiciousZjQcmQRYFpfptBannerEnd
Quoted 5 lines · Baojun Xu
Add TAS2770 support in TI's HDA driver.
And addhda_chip_idfor more product support in the future. Separated DSP and non-DSP in firmware load function.
Quoted 6 lines
Quoted 1 line
Signed-off-by Baojun Xu <[email protected]>Any reason of the submission of the very same patch?
It was requested to resubmit after rebasing to the new location for HD-audio (sound/hda/*) as found in for-next branch of sound.git tree.
I have uploaded to:
git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git, and you said:
"Takashi Iwai <[email protected]>, Sat 12/07/2025 16:29
The whole HD-audio stuff has been moved under sound/hda recently. Please create a patch based on for-next branch of the sound git tree."
So I re-patched it to for-next:
git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.
Do I have a misunderstanding about it? Do I still need patch on /next/linux-next.git, just after the code was moved to sound/hda/codecs/side-codecs?
Quoted 5 lines
thanks,
Takashi
Best Regards
Jim