tas5825-tlv.h 642 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. //
  3. // ALSA SoC Texas Instruments TAS5825 Audio Smart Amplifier
  4. //
  5. // Copyright (C) 2025 Texas Instruments Incorporated
  6. // https://www.ti.com
  7. //
  8. // The TAS5825 hda driver implements for one or two TAS5825 chips.
  9. //
  10. // Author: Baojun Xu <baojun.xu@ti.com>
  11. //
  12. #ifndef __TAS5825_TLV_H__
  13. #define __TAS5825_TLV_H__
  14. #define TAS5825_DVC_LEVEL TASDEVICE_REG(0x0, 0x0, 0x4c)
  15. #define TAS5825_AMP_LEVEL TASDEVICE_REG(0x0, 0x0, 0x54)
  16. static const __maybe_unused DECLARE_TLV_DB_SCALE(
  17. tas5825_dvc_tlv, -10300, 50, 0);
  18. static const __maybe_unused DECLARE_TLV_DB_SCALE(
  19. tas5825_amp_tlv, -1550, 50, 0);
  20. #endif