Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25 lines
642 B
C
25 lines
642 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
//
|
|
// ALSA SoC Texas Instruments TAS5825 Audio Smart Amplifier
|
|
//
|
|
// Copyright (C) 2025 Texas Instruments Incorporated
|
|
// https://www.ti.com
|
|
//
|
|
// The TAS5825 hda driver implements for one or two TAS5825 chips.
|
|
//
|
|
// Author: Baojun Xu <baojun.xu@ti.com>
|
|
//
|
|
|
|
#ifndef __TAS5825_TLV_H__
|
|
#define __TAS5825_TLV_H__
|
|
|
|
#define TAS5825_DVC_LEVEL TASDEVICE_REG(0x0, 0x0, 0x4c)
|
|
#define TAS5825_AMP_LEVEL TASDEVICE_REG(0x0, 0x0, 0x54)
|
|
|
|
static const __maybe_unused DECLARE_TLV_DB_SCALE(
|
|
tas5825_dvc_tlv, -10300, 50, 0);
|
|
static const __maybe_unused DECLARE_TLV_DB_SCALE(
|
|
tas5825_amp_tlv, -1550, 50, 0);
|
|
|
|
#endif
|