linux/sound/soc/codecs/max98390.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) 2020, Maxim Integrated.
 */

#ifndef _MAX98390_H
#define _MAX98390_H

/* MAX98390 Register Address */
#define MAX98390_SOFTWARE_RESET
#define MAX98390_INT_RAW1
#define MAX98390_INT_RAW2
#define MAX98390_INT_RAW3
#define MAX98390_INT_STATE1
#define MAX98390_INT_STATE2
#define MAX98390_INT_STATE3
#define MAX98390_INT_FLAG1
#define MAX98390_INT_FLAG2
#define MAX98390_INT_FLAG3
#define MAX98390_INT_EN1
#define MAX98390_INT_EN2
#define MAX98390_INT_EN3
#define MAX98390_INT_FLAG_CLR1
#define MAX98390_INT_FLAG_CLR2
#define MAX98390_INT_FLAG_CLR3
#define MAX98390_IRQ_CTRL
#define MAX98390_CLK_MON
#define MAX98390_DAT_MON
#define MAX98390_WDOG_CTRL
#define MAX98390_WDOG_RST
#define MAX98390_MEAS_ADC_THERM_WARN_THRESH
#define MAX98390_MEAS_ADC_THERM_SHDN_THRESH
#define MAX98390_MEAS_ADC_THERM_HYSTERESIS
#define MAX98390_PIN_CFG
#define MAX98390_PCM_RX_EN_A
#define MAX98390_PCM_RX_EN_B
#define MAX98390_PCM_TX_EN_A
#define MAX98390_PCM_TX_EN_B
#define MAX98390_PCM_TX_HIZ_CTRL_A
#define MAX98390_PCM_TX_HIZ_CTRL_B
#define MAX98390_PCM_CH_SRC_1
#define MAX98390_PCM_CH_SRC_2
#define MAX98390_PCM_CH_SRC_3
#define MAX98390_PCM_MODE_CFG
#define MAX98390_PCM_MASTER_MODE
#define MAX98390_PCM_CLK_SETUP
#define MAX98390_PCM_SR_SETUP
#define MAX98390_ICC_RX_EN_A
#define MAX98390_ICC_RX_EN_B
#define MAX98390_ICC_TX_EN_A
#define MAX98390_ICC_TX_EN_B
#define MAX98390_ICC_HIZ_MANUAL_MODE
#define MAX98390_ICC_TX_HIZ_EN_A
#define MAX98390_ICC_TX_HIZ_EN_B
#define MAX98390_ICC_LNK_EN
#define MAX98390_R2039_AMP_DSP_CFG
#define MAX98390_R203A_AMP_EN
#define MAX98390_TONE_GEN_DC_CFG
#define MAX98390_SPK_SRC_SEL
#define MAX98390_R203D_SPK_GAIN
#define MAX98390_SSM_CFG
#define MAX98390_MEAS_EN
#define MAX98390_MEAS_DSP_CFG
#define MAX98390_BOOST_CTRL0
#define MAX98390_BOOST_CTRL3
#define MAX98390_BOOST_CTRL1
#define MAX98390_MEAS_ADC_CFG
#define MAX98390_MEAS_ADC_BASE_MSB
#define MAX98390_MEAS_ADC_BASE_LSB
#define MAX98390_ADC_CH0_DIVIDE
#define MAX98390_ADC_CH1_DIVIDE
#define MAX98390_ADC_CH2_DIVIDE
#define MAX98390_ADC_CH0_FILT_CFG
#define MAX98390_ADC_CH1_FILT_CFG
#define MAX98390_ADC_CH2_FILT_CFG
#define MAX98390_MEAS_ADC_CH0_READ
#define MAX98390_MEAS_ADC_CH1_READ
#define MAX98390_MEAS_ADC_CH2_READ
#define MAX98390_PWR_GATE_CTL
#define MAX98390_PWR_GATE_STATUS
#define MAX98390_VBAT_LOW_STATUS
#define MAX98390_PVDD_LOW_STATUS
#define MAX98390_BROWNOUT_STATUS
#define MAX98390_BROWNOUT_EN
#define MAX98390_BROWNOUT_INFINITE_HOLD
#define MAX98390_BROWNOUT_INFINITE_HOLD_CLR
#define MAX98390_BROWNOUT_LVL_HOLD
#define MAX98390_BROWNOUT_LVL1_THRESH
#define MAX98390_BROWNOUT_LVL2_THRESH
#define MAX98390_BROWNOUT_LVL3_THRESH
#define MAX98390_BROWNOUT_LVL4_THRESH
#define MAX98390_BROWNOUT_THRESH_HYSTERYSIS
#define MAX98390_BROWNOUT_AMP_LIMITER_ATK_REL
#define MAX98390_BROWNOUT_AMP_GAIN_ATK_REL
#define MAX98390_BROWNOUT_AMP1_CLIP_MODE
#define MAX98390_BROWNOUT_LVL1_CUR_LIMIT
#define MAX98390_BROWNOUT_LVL1_AMP1_CTRL1
#define MAX98390_BROWNOUT_LVL1_AMP1_CTRL2
#define MAX98390_BROWNOUT_LVL1_AMP1_CTRL3
#define MAX98390_BROWNOUT_LVL2_CUR_LIMIT
#define MAX98390_BROWNOUT_LVL2_AMP1_CTRL1
#define MAX98390_BROWNOUT_LVL2_AMP1_CTRL2
#define MAX98390_BROWNOUT_LVL2_AMP1_CTRL3
#define MAX98390_BROWNOUT_LVL3_CUR_LIMIT
#define MAX98390_BROWNOUT_LVL3_AMP1_CTRL1
#define MAX98390_BROWNOUT_LVL3_AMP1_CTRL2
#define MAX98390_BROWNOUT_LVL3_AMP1_CTRL3
#define MAX98390_BROWNOUT_LVL4_CUR_LIMIT
#define MAX98390_BROWNOUT_LVL4_AMP1_CTRL1
#define MAX98390_BROWNOUT_LVL4_AMP1_CTRL2
#define MAX98390_BROWNOUT_LVL4_AMP1_CTRL3
#define MAX98390_BROWNOUT_LOWEST_STATUS
#define MAX98390_BROWNOUT_ILIM_HLD
#define MAX98390_BROWNOUT_LIM_HLD
#define MAX98390_BROWNOUT_CLIP_HLD
#define MAX98390_BROWNOUT_GAIN_HLD
#define MAX98390_ENV_TRACK_VOUT_HEADROOM
#define MAX98390_ENV_TRACK_BOOST_VOUT_DELAY
#define MAX98390_ENV_TRACK_REL_RATE
#define MAX98390_ENV_TRACK_HOLD_RATE
#define MAX98390_ENV_TRACK_CTRL
#define MAX98390_ENV_TRACK_BOOST_VOUT_READ
#define MAX98390_BOOST_BYPASS1
#define MAX98390_BOOST_BYPASS2
#define MAX98390_BOOST_BYPASS3
#define MAX98390_FET_SCALING1
#define MAX98390_FET_SCALING2
#define MAX98390_FET_SCALING3
#define MAX98390_FET_SCALING4
#define MAX98390_SPK_SPEEDUP

#define DSM_STBASS_HPF_B0_BYTE0
#define DSM_STBASS_HPF_B0_BYTE1
#define DSM_STBASS_HPF_B0_BYTE2
#define DSM_STBASS_HPF_B1_BYTE0
#define DSM_STBASS_HPF_B1_BYTE1
#define DSM_STBASS_HPF_B1_BYTE2
#define DSM_STBASS_HPF_B2_BYTE0
#define DSM_STBASS_HPF_B2_BYTE1
#define DSM_STBASS_HPF_B2_BYTE2
#define DSM_STBASS_HPF_A1_BYTE0
#define DSM_STBASS_HPF_A1_BYTE1
#define DSM_STBASS_HPF_A1_BYTE2
#define DSM_STBASS_HPF_A2_BYTE0
#define DSM_STBASS_HPF_A2_BYTE1
#define DSM_STBASS_HPF_A2_BYTE2
#define DSM_STBASS_LPF_B0_BYTE0
#define DSM_STBASS_LPF_B0_BYTE1
#define DSM_STBASS_LPF_B0_BYTE2
#define DSM_STBASS_LPF_B1_BYTE0
#define DSM_STBASS_LPF_B1_BYTE1
#define DSM_STBASS_LPF_B1_BYTE2
#define DSM_STBASS_LPF_B2_BYTE0
#define DSM_STBASS_LPF_B2_BYTE1
#define DSM_STBASS_LPF_B2_BYTE2
#define DSM_STBASS_LPF_A1_BYTE0
#define DSM_STBASS_LPF_A1_BYTE1
#define DSM_STBASS_LPF_A1_BYTE2
#define DSM_STBASS_LPF_A2_BYTE0
#define DSM_STBASS_LPF_A2_BYTE1
#define DSM_STBASS_LPF_A2_BYTE2
#define DSM_EQ_BQ1_B0_BYTE0
#define DSM_EQ_BQ1_B0_BYTE1
#define DSM_EQ_BQ1_B0_BYTE2
#define DSM_EQ_BQ1_B1_BYTE0
#define DSM_EQ_BQ1_B1_BYTE1
#define DSM_EQ_BQ1_B1_BYTE2
#define DSM_EQ_BQ1_B2_BYTE0
#define DSM_EQ_BQ1_B2_BYTE1
#define DSM_EQ_BQ1_B2_BYTE2
#define DSM_EQ_BQ1_A1_BYTE0
#define DSM_EQ_BQ1_A1_BYTE1
#define DSM_EQ_BQ1_A1_BYTE2
#define DSM_EQ_BQ1_A2_BYTE0
#define DSM_EQ_BQ1_A2_BYTE1
#define DSM_EQ_BQ1_A2_BYTE2
#define DSM_EQ_BQ2_B0_BYTE0
#define DSM_EQ_BQ2_B0_BYTE1
#define DSM_EQ_BQ2_B0_BYTE2
#define DSM_EQ_BQ2_B1_BYTE0
#define DSM_EQ_BQ2_B1_BYTE1
#define DSM_EQ_BQ2_B1_BYTE2
#define DSM_EQ_BQ2_B2_BYTE0
#define DSM_EQ_BQ2_B2_BYTE1
#define DSM_EQ_BQ2_B2_BYTE2
#define DSM_EQ_BQ2_A1_BYTE0
#define DSM_EQ_BQ2_A1_BYTE1
#define DSM_EQ_BQ2_A1_BYTE2
#define DSM_EQ_BQ2_A2_BYTE0
#define DSM_EQ_BQ2_A2_BYTE1
#define DSM_EQ_BQ2_A2_BYTE2
#define DSM_EQ_BQ3_B0_BYTE0
#define DSM_EQ_BQ3_B0_BYTE1
#define DSM_EQ_BQ3_B0_BYTE2
#define DSM_EQ_BQ3_B1_BYTE0
#define DSM_EQ_BQ3_B1_BYTE1
#define DSM_EQ_BQ3_B1_BYTE2
#define DSM_EQ_BQ3_B2_BYTE0
#define DSM_EQ_BQ3_B2_BYTE1
#define DSM_EQ_BQ3_B2_BYTE2
#define DSM_EQ_BQ3_A1_BYTE0
#define DSM_EQ_BQ3_A1_BYTE1
#define DSM_EQ_BQ3_A1_BYTE2
#define DSM_EQ_BQ3_A2_BYTE0
#define DSM_EQ_BQ3_A2_BYTE1
#define DSM_EQ_BQ3_A2_BYTE2
#define DSM_EQ_BQ4_B0_BYTE0
#define DSM_EQ_BQ4_B0_BYTE1
#define DSM_EQ_BQ4_B0_BYTE2
#define DSM_EQ_BQ4_B1_BYTE0
#define DSM_EQ_BQ4_B1_BYTE1
#define DSM_EQ_BQ4_B1_BYTE2
#define DSM_EQ_BQ4_B2_BYTE0
#define DSM_EQ_BQ4_B2_BYTE1
#define DSM_EQ_BQ4_B2_BYTE2
#define DSM_EQ_BQ4_A1_BYTE0
#define DSM_EQ_BQ4_A1_BYTE1
#define DSM_EQ_BQ4_A1_BYTE2
#define DSM_EQ_BQ4_A2_BYTE0
#define DSM_EQ_BQ4_A2_BYTE1
#define DSM_EQ_BQ4_A2_BYTE2
#define DSM_EQ_BQ5_B0_BYTE0
#define DSM_EQ_BQ5_B0_BYTE1
#define DSM_EQ_BQ5_B0_BYTE2
#define DSM_EQ_BQ5_B1_BYTE0
#define DSM_EQ_BQ5_B1_BYTE1
#define DSM_EQ_BQ5_B1_BYTE2
#define DSM_EQ_BQ5_B2_BYTE0
#define DSM_EQ_BQ5_B2_BYTE1
#define DSM_EQ_BQ5_B2_BYTE2
#define DSM_EQ_BQ5_A1_BYTE0
#define DSM_EQ_BQ5_A1_BYTE1
#define DSM_EQ_BQ5_A1_BYTE2
#define DSM_EQ_BQ5_A2_BYTE0
#define DSM_EQ_BQ5_A2_BYTE1
#define DSM_EQ_BQ5_A2_BYTE2
#define DSM_EQ_BQ6_B0_BYTE0
#define DSM_EQ_BQ6_B0_BYTE1
#define DSM_EQ_BQ6_B0_BYTE2
#define DSM_EQ_BQ6_B1_BYTE0
#define DSM_EQ_BQ6_B1_BYTE1
#define DSM_EQ_BQ6_B1_BYTE2
#define DSM_EQ_BQ6_B2_BYTE0
#define DSM_EQ_BQ6_B2_BYTE1
#define DSM_EQ_BQ6_B2_BYTE2
#define DSM_EQ_BQ6_A1_BYTE0
#define DSM_EQ_BQ6_A1_BYTE1
#define DSM_EQ_BQ6_A1_BYTE2
#define DSM_EQ_BQ6_A2_BYTE0
#define DSM_EQ_BQ6_A2_BYTE1
#define DSM_EQ_BQ6_A2_BYTE2
#define DSM_EQ_BQ7_B0_BYTE0
#define DSM_EQ_BQ7_B0_BYTE1
#define DSM_EQ_BQ7_B0_BYTE2
#define DSM_EQ_BQ7_B1_BYTE0
#define DSM_EQ_BQ7_B1_BYTE1
#define DSM_EQ_BQ7_B1_BYTE2
#define DSM_EQ_BQ7_B2_BYTE0
#define DSM_EQ_BQ7_B2_BYTE1
#define DSM_EQ_BQ7_B2_BYTE2
#define DSM_EQ_BQ7_A1_BYTE0
#define DSM_EQ_BQ7_A1_BYTE1
#define DSM_EQ_BQ7_A1_BYTE2
#define DSM_EQ_BQ7_A2_BYTE0
#define DSM_EQ_BQ7_A2_BYTE1
#define DSM_EQ_BQ7_A2_BYTE2
#define DSM_EQ_BQ8_B0_BYTE0
#define DSM_EQ_BQ8_B0_BYTE1
#define DSM_EQ_BQ8_B0_BYTE2
#define DSM_EQ_BQ8_B1_BYTE0
#define DSM_EQ_BQ8_B1_BYTE1
#define DSM_EQ_BQ8_B1_BYTE2
#define DSM_EQ_BQ8_B2_BYTE0
#define DSM_EQ_BQ8_B2_BYTE1
#define DSM_EQ_BQ8_B2_BYTE2
#define DSM_EQ_BQ8_A1_BYTE0
#define DSM_EQ_BQ8_A1_BYTE1
#define DSM_EQ_BQ8_A1_BYTE2
#define DSM_EQ_BQ8_A2_BYTE0
#define DSM_EQ_BQ8_A2_BYTE1
#define DSM_EQ_BQ8_A2_BYTE2
#define DSM_LFX_BQ_B0_BYTE0
#define DSM_LFX_BQ_B0_BYTE1
#define DSM_LFX_BQ_B0_BYTE2
#define DSM_LFX_BQ_B1_BYTE0
#define DSM_LFX_BQ_B1_BYTE1
#define DSM_LFX_BQ_B1_BYTE2
#define DSM_LFX_BQ_B2_BYTE0
#define DSM_LFX_BQ_B2_BYTE1
#define DSM_LFX_BQ_B2_BYTE2
#define DSM_LFX_BQ_A1_BYTE0
#define DSM_LFX_BQ_A1_BYTE1
#define DSM_LFX_BQ_A1_BYTE2
#define DSM_LFX_BQ_A2_BYTE0
#define DSM_LFX_BQ_A2_BYTE1
#define DSM_LFX_BQ_A2_BYTE2
#define DSM_PPR_HPF_B0_BYTE0
#define DSM_PPR_HPF_B0_BYTE1
#define DSM_PPR_HPF_B0_BYTE2
#define DSM_PPR_HPF_B1_BYTE0
#define DSM_PPR_HPF_B1_BYTE1
#define DSM_PPR_HPF_B1_BYTE2
#define DSM_PPR_HPF_B2_BYTE0
#define DSM_PPR_HPF_B2_BYTE1
#define DSM_PPR_HPF_B2_BYTE2
#define DSM_PPR_HPF_A1_BYTE0
#define DSM_PPR_HPF_A1_BYTE1
#define DSM_PPR_HPF_A1_BYTE2
#define DSM_PPR_HPF_A2_BYTE0
#define DSM_PPR_HPF_A2_BYTE1
#define DSM_PPR_HPF_A2_BYTE2
#define DSM_PPR_LPF_B0_BYTE0
#define DSM_PPR_LPF_B0_BYTE1
#define DSM_PPR_LPF_B0_BYTE2
#define DSM_PPR_LPF_B1_BYTE0
#define DSM_PPR_LPF_B1_BYTE1
#define DSM_PPR_LPF_B1_BYTE2
#define DSM_PPR_LPF_B2_BYTE0
#define DSM_PPR_LPF_B2_BYTE1
#define DSM_PPR_LPF_B2_BYTE2
#define DSM_PPR_LPF_A1_BYTE0
#define DSM_PPR_LPF_A1_BYTE1
#define DSM_PPR_LPF_A1_BYTE2
#define DSM_PPR_LPF_A2_BYTE0
#define DSM_PPR_LPF_A2_BYTE1
#define DSM_PPR_LPF_A2_BYTE2
#define DSM_SPL_BQ_B0_BYTE0
#define DSM_SPL_BQ_B0_BYTE1
#define DSM_SPL_BQ_B0_BYTE2
#define DSM_SPL_BQ_B1_BYTE0
#define DSM_SPL_BQ_B1_BYTE1
#define DSM_SPL_BQ_B1_BYTE2
#define DSM_SPL_BQ_B2_BYTE0
#define DSM_SPL_BQ_B2_BYTE1
#define DSM_SPL_BQ_B2_BYTE2
#define DSM_SPL_BQ_A1_BYTE0
#define DSM_SPL_BQ_A1_BYTE1
#define DSM_SPL_BQ_A1_BYTE2
#define DSM_SPL_BQ_A2_BYTE0
#define DSM_SPL_BQ_A2_BYTE1
#define DSM_SPL_BQ_A2_BYTE2
#define DSM_EXCUR_BQ_B0_BYTE0
#define DSM_EXCUR_BQ_B0_BYTE1
#define DSM_EXCUR_BQ_B0_BYTE2
#define DSM_EXCUR_BQ_B1_BYTE0
#define DSM_EXCUR_BQ_B1_BYTE1
#define DSM_EXCUR_BQ_B1_BYTE2
#define DSM_EXCUR_BQ_B2_BYTE0
#define DSM_EXCUR_BQ_B2_BYTE1
#define DSM_EXCUR_BQ_B2_BYTE2
#define DSM_EXCUR_BQ_A1_BYTE0
#define DSM_EXCUR_BQ_A1_BYTE1
#define DSM_EXCUR_BQ_A1_BYTE2
#define DSM_EXCUR_BQ_A2_BYTE0
#define DSM_EXCUR_BQ_A2_BYTE1
#define DSM_EXCUR_BQ_A2_BYTE2
#define DSM_EXCPROT_HPF1_B0_BYTE0
#define DSM_EXCPROT_HPF1_B0_BYTE1
#define DSM_EXCPROT_HPF1_B0_BYTE2
#define DSM_EXCPROT_HPF1_B1_BYTE0
#define DSM_EXCPROT_HPF1_B1_BYTE1
#define DSM_EXCPROT_HPF1_B1_BYTE2
#define DSM_EXCPROT_HPF1_B2_BYTE0
#define DSM_EXCPROT_HPF1_B2_BYTE1
#define DSM_EXCPROT_HPF1_B2_BYTE2
#define DSM_EXCPROT_HPF1_A1_BYTE0
#define DSM_EXCPROT_HPF1_A1_BYTE1
#define DSM_EXCPROT_HPF1_A1_BYTE2
#define DSM_EXCPROT_HPF1_A2_BYTE0
#define DSM_EXCPROT_HPF1_A2_BYTE1
#define DSM_EXCPROT_HPF1_A2_BYTE2
#define DSM_EXCPROT_HPF2_B0_BYTE0
#define DSM_EXCPROT_HPF2_B0_BYTE1
#define DSM_EXCPROT_HPF2_B0_BYTE2
#define DSM_EXCPROT_HPF2_B1_BYTE0
#define DSM_EXCPROT_HPF2_B1_BYTE1
#define DSM_EXCPROT_HPF2_B1_BYTE2
#define DSM_EXCPROT_HPF2_B2_BYTE0
#define DSM_EXCPROT_HPF2_B2_BYTE1
#define DSM_EXCPROT_HPF2_B2_BYTE2
#define DSM_EXCPROT_HPF2_A1_BYTE0
#define DSM_EXCPROT_HPF2_A1_BYTE1
#define DSM_EXCPROT_HPF2_A1_BYTE2
#define DSM_EXCPROT_HPF2_A2_BYTE0
#define DSM_EXCPROT_HPF2_A2_BYTE1
#define DSM_EXCPROT_HPF2_A2_BYTE2
#define DSM_EXCPROT_HPF3_B0_BYTE0
#define DSM_EXCPROT_HPF3_B0_BYTE1
#define DSM_EXCPROT_HPF3_B0_BYTE2
#define DSM_EXCPROT_HPF3_B1_BYTE0
#define DSM_EXCPROT_HPF3_B1_BYTE1
#define DSM_EXCPROT_HPF3_B1_BYTE2
#define DSM_EXCPROT_HPF3_B2_BYTE0
#define DSM_EXCPROT_HPF3_B2_BYTE1
#define DSM_EXCPROT_HPF3_B2_BYTE2
#define DSM_EXCPROT_HPF3_A1_BYTE0
#define DSM_EXCPROT_HPF3_A1_BYTE1
#define DSM_EXCPROT_HPF3_A1_BYTE2
#define DSM_EXCPROT_HPF3_A2_BYTE0
#define DSM_EXCPROT_HPF3_A2_BYTE1
#define DSM_EXCPROT_HPF3_A2_BYTE2
#define DSM_EXCPROT_HPF4_B0_BYTE0
#define DSM_EXCPROT_HPF4_B0_BYTE1
#define DSM_EXCPROT_HPF4_B0_BYTE2
#define DSM_EXCPROT_HPF4_B1_BYTE0
#define DSM_EXCPROT_HPF4_B1_BYTE1
#define DSM_EXCPROT_HPF4_B1_BYTE2
#define DSM_EXCPROT_HPF4_B2_BYTE0
#define DSM_EXCPROT_HPF4_B2_BYTE1
#define DSM_EXCPROT_HPF4_B2_BYTE2
#define DSM_EXCPROT_HPF4_A1_BYTE0
#define DSM_EXCPROT_HPF4_A1_BYTE1
#define DSM_EXCPROT_HPF4_A1_BYTE2
#define DSM_EXCPROT_HPF4_A2_BYTE0
#define DSM_EXCPROT_HPF4_A2_BYTE1
#define DSM_EXCPROT_HPF4_A2_BYTE2
#define DSM_EXCPROT_HPF5_B0_BYTE0
#define DSM_EXCPROT_HPF5_B0_BYTE1
#define DSM_EXCPROT_HPF5_B0_BYTE2
#define DSM_EXCPROT_HPF5_B1_BYTE0
#define DSM_EXCPROT_HPF5_B1_BYTE1
#define DSM_EXCPROT_HPF5_B1_BYTE2
#define DSM_EXCPROT_HPF5_B2_BYTE0
#define DSM_EXCPROT_HPF5_B2_BYTE1
#define DSM_EXCPROT_HPF5_B2_BYTE2
#define DSM_EXCPROT_HPF5_A1_BYTE0
#define DSM_EXCPROT_HPF5_A1_BYTE1
#define DSM_EXCPROT_HPF5_A1_BYTE2
#define DSM_EXCPROT_HPF5_A2_BYTE0
#define DSM_EXCPROT_HPF5_A2_BYTE1
#define DSM_EXCPROT_HPF5_A2_BYTE2
#define DSM_DEBUZZ_BPF_B0_BYTE0
#define DSM_DEBUZZ_BPF_B0_BYTE1
#define DSM_DEBUZZ_BPF_B0_BYTE2
#define DSM_DEBUZZ_BPF_B1_BYTE0
#define DSM_DEBUZZ_BPF_B1_BYTE1
#define DSM_DEBUZZ_BPF_B1_BYTE2
#define DSM_DEBUZZ_BPF_B2_BYTE0
#define DSM_DEBUZZ_BPF_B2_BYTE1
#define DSM_DEBUZZ_BPF_B2_BYTE2
#define DSM_DEBUZZ_BPF_A1_BYTE0
#define DSM_DEBUZZ_BPF_A1_BYTE1
#define DSM_DEBUZZ_BPF_A1_BYTE2
#define DSM_DEBUZZ_BPF_A2_BYTE0
#define DSM_DEBUZZ_BPF_A2_BYTE1
#define DSM_DEBUZZ_BPF_A2_BYTE2
#define DSM_DEBUZZ_PORT_B0_BYTE0
#define DSM_DEBUZZ_PORT_B0_BYTE1
#define DSM_DEBUZZ_PORT_B0_BYTE2
#define DSM_DEBUZZ_PORT_B1_BYTE0
#define DSM_DEBUZZ_PORT_B1_BYTE1
#define DSM_DEBUZZ_PORT_B1_BYTE2
#define DSM_DEBUZZ_PORT_B2_BYTE0
#define DSM_DEBUZZ_PORT_B2_BYTE1
#define DSM_DEBUZZ_PORT_B2_BYTE2
#define DSM_DEBUZZ_PORT_A1_BYTE0
#define DSM_DEBUZZ_PORT_A1_BYTE1
#define DSM_DEBUZZ_PORT_A1_BYTE2
#define DSM_DEBUZZ_PORT_A2_BYTE0
#define DSM_DEBUZZ_PORT_A2_BYTE1
#define DSM_DEBUZZ_PORT_A2_BYTE2
#define DSM_DEBUZZ_NOTCH_B0_BYTE0
#define DSM_DEBUZZ_NOTCH_B0_BYTE1
#define DSM_DEBUZZ_NOTCH_B0_BYTE2
#define DSM_DEBUZZ_NOTCH_B1_BYTE0
#define DSM_DEBUZZ_NOTCH_B1_BYTE1
#define DSM_DEBUZZ_NOTCH_B1_BYTE2
#define DSM_DEBUZZ_NOTCH_B2_BYTE0
#define DSM_DEBUZZ_NOTCH_B2_BYTE1
#define DSM_DEBUZZ_NOTCH_B2_BYTE2
#define DSM_DEBUZZ_NOTCH_A1_BYTE0
#define DSM_DEBUZZ_NOTCH_A1_BYTE1
#define DSM_DEBUZZ_NOTCH_A1_BYTE2
#define DSM_DEBUZZ_NOTCH_A2_BYTE0
#define DSM_DEBUZZ_NOTCH_A2_BYTE1
#define DSM_DEBUZZ_NOTCH_A2_BYTE2
#define DSM_THERMAL_BQ_B0_BYTE0
#define DSM_THERMAL_BQ_B0_BYTE1
#define DSM_THERMAL_BQ_B0_BYTE2
#define DSM_THERMAL_BQ_B1_BYTE0
#define DSM_THERMAL_BQ_B1_BYTE1
#define DSM_THERMAL_BQ_B1_BYTE2
#define DSM_THERMAL_BQ_B2_BYTE0
#define DSM_THERMAL_BQ_B2_BYTE1
#define DSM_THERMAL_BQ_B2_BYTE2
#define DSM_THERMAL_BQ_A1_BYTE0
#define DSM_THERMAL_BQ_A1_BYTE1
#define DSM_THERMAL_BQ_A1_BYTE2
#define DSM_THERMAL_BQ_A2_BYTE0
#define DSM_THERMAL_BQ_A2_BYTE1
#define DSM_THERMAL_BQ_A2_BYTE2
#define DSM_WBDRC_FILT1_B0_BYTE0
#define DSM_WBDRC_FILT1_B0_BYTE1
#define DSM_WBDRC_FILT1_B0_BYTE2
#define DSM_WBDRC_FILT1_B1_BYTE0
#define DSM_WBDRC_FILT1_B1_BYTE1
#define DSM_WBDRC_FILT1_B1_BYTE2
#define DSM_WBDRC_FILT1_B2_BYTE0
#define DSM_WBDRC_FILT1_B2_BYTE1
#define DSM_WBDRC_FILT1_B2_BYTE2
#define DSM_WBDRC_FILT1_A1_BYTE0
#define DSM_WBDRC_FILT1_A1_BYTE1
#define DSM_WBDRC_FILT1_A1_BYTE2
#define DSM_WBDRC_FILT1_A2_BYTE0
#define DSM_WBDRC_FILT1_A2_BYTE1
#define DSM_WBDRC_FILT1_A2_BYTE2
#define DSM_WBDRC_FILT2_B0_BYTE0
#define DSM_WBDRC_FILT2_B0_BYTE1
#define DSM_WBDRC_FILT2_B0_BYTE2
#define DSM_WBDRC_FILT2_B1_BYTE0
#define DSM_WBDRC_FILT2_B1_BYTE1
#define DSM_WBDRC_FILT2_B1_BYTE2
#define DSM_WBDRC_FILT2_B2_BYTE0
#define DSM_WBDRC_FILT2_B2_BYTE1
#define DSM_WBDRC_FILT2_B2_BYTE2
#define DSM_WBDRC_FILT2_A1_BYTE0
#define DSM_WBDRC_FILT2_A1_BYTE1
#define DSM_WBDRC_FILT2_A1_BYTE2
#define DSM_WBDRC_FILT2_A2_BYTE0
#define DSM_WBDRC_FILT2_A2_BYTE1
#define DSM_WBDRC_FILT2_A2_BYTE2
#define DSM_PPR_RELEASE_TIME_BYTE0
#define DSM_PPR_RELEASE_TIME_BYTE1
#define DSM_PPR_RELEASE_TIME_BYTE2
#define DSM_PPR_ATTACK_TIME_BYTE0
#define DSM_PPR_ATTACK_TIME_BYTE1
#define DSM_PPR_ATTACK_TIME_BYTE2
#define DSM_DEBUZZER_RELEASE_TIME_BYTE0
#define DSM_DEBUZZER_RELEASE_TIME_BYTE1
#define DSM_DEBUZZER_RELEASE_TIME_BYTE2
#define DSM_DEBUZZER_ATTACK_TIME_BYTE0
#define DSM_DEBUZZER_ATTACK_TIME_BYTE1
#define DSM_DEBUZZER_ATTACK_TIME_BYTE2

#define DSMIG_WB_DRC_RELEASE_TIME_1
#define DSMIG_WB_DRC_RELEASE_TIME_2
#define DSMIG_WB_DRC_ATTACK_TIME_1
#define DSMIG_WB_DRC_ATTACK_TIME_2
#define DSMIG_WB_DRC_COMPRESSION_RATIO
#define DSMIG_WB_DRC_COMPRESSION_THRESHOLD
#define DSMIG_WB_DRC_MAKEUPGAIN
#define DSMIG_WB_DRC_NOISE_GATE_THRESHOLD
#define DSMIG_WBDRC_HPF_ENABLE
#define DSMIG_WB_DRC_TEST_SMOOTHER_OUT_EN
#define DSMIG_PPR_THRESHOLD
#define DSM_STEREO_BASS_CHANNEL_SELECT
#define DSM_TPROT_THRESHOLD_BYTE0
#define DSM_TPROT_THRESHOLD_BYTE1
#define DSM_TPROT_ROOM_TEMPERATURE_BYTE0
#define DSM_TPROT_ROOM_TEMPERATURE_BYTE1
#define DSM_TPROT_RECIP_RDC_ROOM_BYTE0
#define DSM_TPROT_RECIP_RDC_ROOM_BYTE1
#define DSM_TPROT_RECIP_RDC_ROOM_BYTE2
#define DSM_TPROT_RECIP_TCONST_BYTE0
#define DSM_TPROT_RECIP_TCONST_BYTE1
#define DSM_TPROT_RECIP_TCONST_BYTE2
#define DSM_THERMAL_ATTENUATION_SETTINGS
#define DSM_THERMAL_PILOT_TONE_ATTENUATION
#define DSM_TPROT_PG_TEMP_THRESH_BYTE0
#define DSM_TPROT_PG_TEMP_THRESH_BYTE1

#define THERMAL_RDC_RD_BACK_BYTE1
#define THERMAL_RDC_RD_BACK_BYTE0
#define THERMAL_COILTEMP_RD_BACK_BYTE1
#define THERMAL_COILTEMP_RD_BACK_BYTE0

#define DSMIG_DEBUZZER_THRESHOLD
#define DSMIG_DEBUZZER_ALPHA_COEF_TEST_ONLY
#define DSM_VOL_ENA
#define DSM_VOL_CTRL

#define DSMIG_EN
#define MAX98390_R23E1_DSP_GLOBAL_EN

#define DSM_THERMAL_GAIN
#define DSM_PPR_GAIN
#define DSM_DBZ_GAIN
#define DSM_WBDRC_GAIN

#define MAX98390_R23FF_GLOBAL_EN
#define MAX98390_R24FF_REV_ID

/* MAX98390_R2021_PCM_RX_SRC_1 */
#define MAX98390_PCM_RX_CH_SRC_SHIFT
#define MAX98390_PCM_RX_CH_SRC_BASS_SHIFT

/* MAX98390_R2022_PCM_TX_SRC_1 */
#define MAX98390_PCM_TX_CH_SRC_A_V_SHIFT
#define MAX98390_PCM_TX_CH_SRC_A_I_SHIFT

/* MAX98390_R2024_PCM_DATA_FMT_CFG */
#define MAX98390_PCM_MODE_CFG_FORMAT_MASK
#define MAX98390_PCM_MODE_CFG_FORMAT_SHIFT
#define MAX98390_PCM_TX_CH_INTERLEAVE_MASK
#define MAX98390_PCM_FORMAT_I2S
#define MAX98390_PCM_FORMAT_LJ
#define MAX98390_PCM_FORMAT_TDM_MODE0
#define MAX98390_PCM_FORMAT_TDM_MODE1
#define MAX98390_PCM_FORMAT_TDM_MODE2
#define MAX98390_PCM_MODE_CFG_CHANSZ_MASK
#define MAX98390_PCM_MODE_CFG_CHANSZ_16
#define MAX98390_PCM_MODE_CFG_CHANSZ_24
#define MAX98390_PCM_MODE_CFG_CHANSZ_32

/* MAX98390_R2039_AMP_DSP_CFG */
#define MAX98390_AMP_DSP_CFG_RMP_UP_SHIFT
#define MAX98390_AMP_DSP_CFG_RMP_DN_SHIFT

/* MAX98390_R203A_AMP_EN */
#define MAX98390_R203A_AMP_EN_SHIFT

/* MAX98390_PCM_MASTER_MODE */
#define MAX98390_PCM_MASTER_MODE_MASK
#define MAX98390_PCM_MASTER_MODE_SLAVE
#define MAX98390_PCM_MASTER_MODE_MASTER

#define MAX98390_PCM_MASTER_MODE_MCLK_MASK
#define MAX98390_PCM_MASTER_MODE_MCLK_RATE_SHIFT

/* PCM_CLK_SETUP */
#define MAX98390_PCM_MODE_CFG_PCM_BCLKEDGE
#define MAX98390_PCM_CLK_SETUP_BSEL_MASK

/* PCM_SR_SETUP */
#define MAX98390_PCM_SR_SET1_SR_MASK
#define MAX98390_PCM_SR_SET1_SR_8000
#define MAX98390_PCM_SR_SET1_SR_11025
#define MAX98390_PCM_SR_SET1_SR_12000
#define MAX98390_PCM_SR_SET1_SR_16000
#define MAX98390_PCM_SR_SET1_SR_22050
#define MAX98390_PCM_SR_SET1_SR_24000
#define MAX98390_PCM_SR_SET1_SR_32000
#define MAX98390_PCM_SR_SET1_SR_44100
#define MAX98390_PCM_SR_SET1_SR_48000

/* PCM_TO_SPK_MONO_MIX_1 */
#define MAX98390_PCM_TO_SPK_MONOMIX_CFG_MASK
#define MAX98390_PCM_TO_SPK_MONOMIX_CFG_SHIFT
#define MAX98390_PCM_TO_SPK_CH0_SRC_MASK
#define MAX98390_PCM_TO_SPK_CH1_SRC_MASK

/* MAX98390_BOOST_CTRL3 */
#define MAX98390_BOOST_CLK_PHASE_CFG_SHIFT

/* SOFT_RESET */
#define MAX98390_SOFT_RESET_MASK

#define MAX98390_GLOBAL_EN_MASK
#define MAX98390_AMP_EN_MASK

/* DSM register offset */
#define MAX98390_DSM_PAYLOAD_OFFSET
#define MAX98390_DSM_PARAM_MAX_SIZE
#define MAX98390_DSM_PARAM_MIN_SIZE

struct max98390_priv {};
#endif