1 /* SPDX-License-Identifier: GPL-2.0 */ 2 // 3 // ALSA SoC Texas Instruments TAS2770 Audio Smart Amplifier 4 // 5 // Copyright (C) 2025 Texas Instruments Incorporated 6 // https://www.ti.com 7 // 8 // The TAS2770 hda driver implements for one, two, or even multiple 9 // TAS2770 chips. 10 // 11 // Author: Baojun Xu <baojun.xu@ti.com> 12 // 13 14 #ifndef __TAS2770_TLV_H__ 15 #define __TAS2770_TLV_H__ 16 17 #define TAS2770_DVC_LEVEL TASDEVICE_REG(0x0, 0x0, 0x05) 18 #define TAS2770_AMP_LEVEL TASDEVICE_REG(0x0, 0x0, 0x03) 19 20 static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2770_dvc_tlv, -10000, 50, 0); 21 static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2770_amp_tlv, 1100, 50, 0); 22 23 #endif 24