linux/sound/soc/codecs/mt6351.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * mt6351.h  --  mt6351 ALSA SoC audio codec driver
 *
 * Copyright (c) 2018 MediaTek Inc.
 * Author: KaiChieh Chuang <[email protected]>
 */

#ifndef __MT6351_H__
#define __MT6351_H__

#define MT6351_AFE_UL_DL_CON0
#define MT6351_AFE_DL_SRC2_CON0_H
#define MT6351_AFE_DL_SRC2_CON0_L
#define MT6351_AFE_DL_SDM_CON0
#define MT6351_AFE_DL_SDM_CON1
#define MT6351_AFE_UL_SRC_CON0_H
#define MT6351_AFE_UL_SRC_CON0_L
#define MT6351_AFE_UL_SRC_CON1_H
#define MT6351_AFE_UL_SRC_CON1_L
#define MT6351_AFE_TOP_CON0
#define MT6351_AUDIO_TOP_CON0
#define MT6351_AFE_DL_SRC_MON0
#define MT6351_AFE_DL_SDM_TEST0
#define MT6351_AFE_MON_DEBUG0
#define MT6351_AFUNC_AUD_CON0
#define MT6351_AFUNC_AUD_CON1
#define MT6351_AFUNC_AUD_CON2
#define MT6351_AFUNC_AUD_CON3
#define MT6351_AFUNC_AUD_CON4
#define MT6351_AFUNC_AUD_MON0
#define MT6351_AFUNC_AUD_MON1
#define MT6351_AFE_UP8X_FIFO_CFG0
#define MT6351_AFE_UP8X_FIFO_LOG_MON0
#define MT6351_AFE_UP8X_FIFO_LOG_MON1
#define MT6351_AFE_DL_DC_COMP_CFG0
#define MT6351_AFE_DL_DC_COMP_CFG1
#define MT6351_AFE_DL_DC_COMP_CFG2
#define MT6351_AFE_PMIC_NEWIF_CFG0
#define MT6351_AFE_PMIC_NEWIF_CFG1
#define MT6351_AFE_PMIC_NEWIF_CFG2
#define MT6351_AFE_PMIC_NEWIF_CFG3
#define MT6351_AFE_SGEN_CFG0
#define MT6351_AFE_SGEN_CFG1
#define MT6351_AFE_ADDA2_UP8X_FIFO_LOG_MON0
#define MT6351_AFE_ADDA2_UP8X_FIFO_LOG_MON1
#define MT6351_AFE_ADDA2_PMIC_NEWIF_CFG0
#define MT6351_AFE_ADDA2_PMIC_NEWIF_CFG1
#define MT6351_AFE_ADDA2_PMIC_NEWIF_CFG2
#define MT6351_AFE_DCCLK_CFG0
#define MT6351_AFE_DCCLK_CFG1
#define MT6351_AFE_HPANC_CFG0
#define MT6351_AFE_NCP_CFG0
#define MT6351_AFE_NCP_CFG1

#define MT6351_TOP_CKPDN_CON0
#define MT6351_TOP_CKPDN_CON0_SET
#define MT6351_TOP_CKPDN_CON0_CLR

#define MT6351_TOP_CLKSQ
#define MT6351_TOP_CLKSQ_SET
#define MT6351_TOP_CLKSQ_CLR

#define MT6351_ZCD_CON0
#define MT6351_ZCD_CON1
#define MT6351_ZCD_CON2
#define MT6351_ZCD_CON3
#define MT6351_ZCD_CON4
#define MT6351_ZCD_CON5

#define MT6351_LDO_VA18_CON0
#define MT6351_LDO_VA18_CON1
#define MT6351_LDO_VUSB33_CON0
#define MT6351_LDO_VUSB33_CON1

#define MT6351_AUDDEC_ANA_CON0
#define MT6351_AUDDEC_ANA_CON1
#define MT6351_AUDDEC_ANA_CON2
#define MT6351_AUDDEC_ANA_CON3
#define MT6351_AUDDEC_ANA_CON4
#define MT6351_AUDDEC_ANA_CON5
#define MT6351_AUDDEC_ANA_CON6
#define MT6351_AUDDEC_ANA_CON7
#define MT6351_AUDDEC_ANA_CON8
#define MT6351_AUDDEC_ANA_CON9
#define MT6351_AUDDEC_ANA_CON10

#define MT6351_AUDENC_ANA_CON0
#define MT6351_AUDENC_ANA_CON1
#define MT6351_AUDENC_ANA_CON2
#define MT6351_AUDENC_ANA_CON3
#define MT6351_AUDENC_ANA_CON4
#define MT6351_AUDENC_ANA_CON5
#define MT6351_AUDENC_ANA_CON6
#define MT6351_AUDENC_ANA_CON7
#define MT6351_AUDENC_ANA_CON8
#define MT6351_AUDENC_ANA_CON9
#define MT6351_AUDENC_ANA_CON10
#define MT6351_AUDENC_ANA_CON11
#define MT6351_AUDENC_ANA_CON12
#define MT6351_AUDENC_ANA_CON13
#define MT6351_AUDENC_ANA_CON14
#define MT6351_AUDENC_ANA_CON15
#define MT6351_AUDENC_ANA_CON16
#endif