linux/sound/soc/codecs/wm2000.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * wm2000.h  --  WM2000 Soc Audio driver
 */

#ifndef _WM2000_H
#define _WM2000_H

#define WM2000_REG_SYS_START
#define WM2000_REG_ANC_GAIN_CTRL
#define WM2000_REG_MSE_TH2
#define WM2000_REG_MSE_TH1
#define WM2000_REG_SPEECH_CLARITY
#define WM2000_REG_SYS_WATCHDOG
#define WM2000_REG_ANA_VMID_PD_TIME
#define WM2000_REG_ANA_VMID_PU_TIME
#define WM2000_REG_CAT_FLTR_INDX
#define WM2000_REG_CAT_GAIN_0
#define WM2000_REG_SYS_STATUS
#define WM2000_REG_SYS_MODE_CNTRL
#define WM2000_REG_SYS_START0
#define WM2000_REG_SYS_START1
#define WM2000_REG_ID1
#define WM2000_REG_ID2
#define WM2000_REG_REVISON
#define WM2000_REG_SYS_CTL1
#define WM2000_REG_SYS_CTL2
#define WM2000_REG_ANC_STAT
#define WM2000_REG_IF_CTL
#define WM2000_REG_ANA_MIC_CTL
#define WM2000_REG_SPK_CTL

/* SPEECH_CLARITY */
#define WM2000_SPEECH_CLARITY

/* SYS_STATUS */
#define WM2000_STATUS_MOUSE_ACTIVE
#define WM2000_STATUS_CAT_FREQ_COMPLETE
#define WM2000_STATUS_CAT_GAIN_COMPLETE
#define WM2000_STATUS_THERMAL_SHUTDOWN_COMPLETE
#define WM2000_STATUS_ANC_DISABLED
#define WM2000_STATUS_POWER_DOWN_COMPLETE
#define WM2000_STATUS_BOOT_COMPLETE

/* SYS_MODE_CNTRL */
#define WM2000_MODE_ANA_SEQ_INCLUDE
#define WM2000_MODE_MOUSE_ENABLE
#define WM2000_MODE_CAT_FREQ_ENABLE
#define WM2000_MODE_CAT_GAIN_ENABLE
#define WM2000_MODE_BYPASS_ENTRY
#define WM2000_MODE_STANDBY_ENTRY
#define WM2000_MODE_THERMAL_ENABLE
#define WM2000_MODE_POWER_DOWN

/* SYS_CTL1 */
#define WM2000_SYS_STBY

/* SYS_CTL2 */
#define WM2000_MCLK_DIV2_ENA_CLR
#define WM2000_MCLK_DIV2_ENA_SET
#define WM2000_ANC_ENG_CLR
#define WM2000_ANC_ENG_SET
#define WM2000_ANC_INT_N_CLR
#define WM2000_ANC_INT_N_SET
#define WM2000_RAM_CLR
#define WM2000_RAM_SET

/* ANC_STAT */
#define WM2000_ANC_ENG_IDLE

#endif