tas2770-tlv.h 654 B

1234567891011121314151617181920212223
  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. #ifndef __TAS2770_TLV_H__
  14. #define __TAS2770_TLV_H__
  15. #define TAS2770_DVC_LEVEL TASDEVICE_REG(0x0, 0x0, 0x05)
  16. #define TAS2770_AMP_LEVEL TASDEVICE_REG(0x0, 0x0, 0x03)
  17. static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2770_dvc_tlv, -10000, 50, 0);
  18. static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2770_amp_tlv, 1100, 50, 0);
  19. #endif