linux/sound/soc/codecs/wm8983.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * wm8983.h  --  WM8983 ALSA SoC Audio driver
 *
 * Copyright 2011 Wolfson Microelectronics plc
 *
 * Author: Dimitris Papastamos <[email protected]>
 */

#ifndef _WM8983_H
#define _WM8983_H

/*
 * Register values.
 */
#define WM8983_SOFTWARE_RESET
#define WM8983_POWER_MANAGEMENT_1
#define WM8983_POWER_MANAGEMENT_2
#define WM8983_POWER_MANAGEMENT_3
#define WM8983_AUDIO_INTERFACE
#define WM8983_COMPANDING_CONTROL
#define WM8983_CLOCK_GEN_CONTROL
#define WM8983_ADDITIONAL_CONTROL
#define WM8983_GPIO_CONTROL
#define WM8983_JACK_DETECT_CONTROL_1
#define WM8983_DAC_CONTROL
#define WM8983_LEFT_DAC_DIGITAL_VOL
#define WM8983_RIGHT_DAC_DIGITAL_VOL
#define WM8983_JACK_DETECT_CONTROL_2
#define WM8983_ADC_CONTROL
#define WM8983_LEFT_ADC_DIGITAL_VOL
#define WM8983_RIGHT_ADC_DIGITAL_VOL
#define WM8983_EQ1_LOW_SHELF
#define WM8983_EQ2_PEAK_1
#define WM8983_EQ3_PEAK_2
#define WM8983_EQ4_PEAK_3
#define WM8983_EQ5_HIGH_SHELF
#define WM8983_DAC_LIMITER_1
#define WM8983_DAC_LIMITER_2
#define WM8983_NOTCH_FILTER_1
#define WM8983_NOTCH_FILTER_2
#define WM8983_NOTCH_FILTER_3
#define WM8983_NOTCH_FILTER_4
#define WM8983_ALC_CONTROL_1
#define WM8983_ALC_CONTROL_2
#define WM8983_ALC_CONTROL_3
#define WM8983_NOISE_GATE
#define WM8983_PLL_N
#define WM8983_PLL_K_1
#define WM8983_PLL_K_2
#define WM8983_PLL_K_3
#define WM8983_3D_CONTROL
#define WM8983_OUT4_TO_ADC
#define WM8983_BEEP_CONTROL
#define WM8983_INPUT_CTRL
#define WM8983_LEFT_INP_PGA_GAIN_CTRL
#define WM8983_RIGHT_INP_PGA_GAIN_CTRL
#define WM8983_LEFT_ADC_BOOST_CTRL
#define WM8983_RIGHT_ADC_BOOST_CTRL
#define WM8983_OUTPUT_CTRL
#define WM8983_LEFT_MIXER_CTRL
#define WM8983_RIGHT_MIXER_CTRL
#define WM8983_LOUT1_HP_VOLUME_CTRL
#define WM8983_ROUT1_HP_VOLUME_CTRL
#define WM8983_LOUT2_SPK_VOLUME_CTRL
#define WM8983_ROUT2_SPK_VOLUME_CTRL
#define WM8983_OUT3_MIXER_CTRL
#define WM8983_OUT4_MONO_MIX_CTRL
#define WM8983_BIAS_CTRL

#define WM8983_REGISTER_COUNT
#define WM8983_MAX_REGISTER

/*
 * Field Definitions.
 */

/*
 * R0 (0x00) - Software Reset
 */
#define WM8983_SOFTWARE_RESET_MASK
#define WM8983_SOFTWARE_RESET_SHIFT
#define WM8983_SOFTWARE_RESET_WIDTH

/*
 * R1 (0x01) - Power management 1
 */
#define WM8983_BUFDCOPEN
#define WM8983_BUFDCOPEN_MASK
#define WM8983_BUFDCOPEN_SHIFT
#define WM8983_BUFDCOPEN_WIDTH
#define WM8983_OUT4MIXEN
#define WM8983_OUT4MIXEN_MASK
#define WM8983_OUT4MIXEN_SHIFT
#define WM8983_OUT4MIXEN_WIDTH
#define WM8983_OUT3MIXEN
#define WM8983_OUT3MIXEN_MASK
#define WM8983_OUT3MIXEN_SHIFT
#define WM8983_OUT3MIXEN_WIDTH
#define WM8983_PLLEN
#define WM8983_PLLEN_MASK
#define WM8983_PLLEN_SHIFT
#define WM8983_PLLEN_WIDTH
#define WM8983_MICBEN
#define WM8983_MICBEN_MASK
#define WM8983_MICBEN_SHIFT
#define WM8983_MICBEN_WIDTH
#define WM8983_BIASEN
#define WM8983_BIASEN_MASK
#define WM8983_BIASEN_SHIFT
#define WM8983_BIASEN_WIDTH
#define WM8983_BUFIOEN
#define WM8983_BUFIOEN_MASK
#define WM8983_BUFIOEN_SHIFT
#define WM8983_BUFIOEN_WIDTH
#define WM8983_VMIDSEL_MASK
#define WM8983_VMIDSEL_SHIFT
#define WM8983_VMIDSEL_WIDTH

/*
 * R2 (0x02) - Power management 2
 */
#define WM8983_ROUT1EN
#define WM8983_ROUT1EN_MASK
#define WM8983_ROUT1EN_SHIFT
#define WM8983_ROUT1EN_WIDTH
#define WM8983_LOUT1EN
#define WM8983_LOUT1EN_MASK
#define WM8983_LOUT1EN_SHIFT
#define WM8983_LOUT1EN_WIDTH
#define WM8983_SLEEP
#define WM8983_SLEEP_MASK
#define WM8983_SLEEP_SHIFT
#define WM8983_SLEEP_WIDTH
#define WM8983_BOOSTENR
#define WM8983_BOOSTENR_MASK
#define WM8983_BOOSTENR_SHIFT
#define WM8983_BOOSTENR_WIDTH
#define WM8983_BOOSTENL
#define WM8983_BOOSTENL_MASK
#define WM8983_BOOSTENL_SHIFT
#define WM8983_BOOSTENL_WIDTH
#define WM8983_INPGAENR
#define WM8983_INPGAENR_MASK
#define WM8983_INPGAENR_SHIFT
#define WM8983_INPGAENR_WIDTH
#define WM8983_INPPGAENL
#define WM8983_INPPGAENL_MASK
#define WM8983_INPPGAENL_SHIFT
#define WM8983_INPPGAENL_WIDTH
#define WM8983_ADCENR
#define WM8983_ADCENR_MASK
#define WM8983_ADCENR_SHIFT
#define WM8983_ADCENR_WIDTH
#define WM8983_ADCENL
#define WM8983_ADCENL_MASK
#define WM8983_ADCENL_SHIFT
#define WM8983_ADCENL_WIDTH

/*
 * R3 (0x03) - Power management 3
 */
#define WM8983_OUT4EN
#define WM8983_OUT4EN_MASK
#define WM8983_OUT4EN_SHIFT
#define WM8983_OUT4EN_WIDTH
#define WM8983_OUT3EN
#define WM8983_OUT3EN_MASK
#define WM8983_OUT3EN_SHIFT
#define WM8983_OUT3EN_WIDTH
#define WM8983_LOUT2EN
#define WM8983_LOUT2EN_MASK
#define WM8983_LOUT2EN_SHIFT
#define WM8983_LOUT2EN_WIDTH
#define WM8983_ROUT2EN
#define WM8983_ROUT2EN_MASK
#define WM8983_ROUT2EN_SHIFT
#define WM8983_ROUT2EN_WIDTH
#define WM8983_RMIXEN
#define WM8983_RMIXEN_MASK
#define WM8983_RMIXEN_SHIFT
#define WM8983_RMIXEN_WIDTH
#define WM8983_LMIXEN
#define WM8983_LMIXEN_MASK
#define WM8983_LMIXEN_SHIFT
#define WM8983_LMIXEN_WIDTH
#define WM8983_DACENR
#define WM8983_DACENR_MASK
#define WM8983_DACENR_SHIFT
#define WM8983_DACENR_WIDTH
#define WM8983_DACENL
#define WM8983_DACENL_MASK
#define WM8983_DACENL_SHIFT
#define WM8983_DACENL_WIDTH

/*
 * R4 (0x04) - Audio Interface
 */
#define WM8983_BCP
#define WM8983_BCP_MASK
#define WM8983_BCP_SHIFT
#define WM8983_BCP_WIDTH
#define WM8983_LRCP
#define WM8983_LRCP_MASK
#define WM8983_LRCP_SHIFT
#define WM8983_LRCP_WIDTH
#define WM8983_WL_MASK
#define WM8983_WL_SHIFT
#define WM8983_WL_WIDTH
#define WM8983_FMT_MASK
#define WM8983_FMT_SHIFT
#define WM8983_FMT_WIDTH
#define WM8983_DLRSWAP
#define WM8983_DLRSWAP_MASK
#define WM8983_DLRSWAP_SHIFT
#define WM8983_DLRSWAP_WIDTH
#define WM8983_ALRSWAP
#define WM8983_ALRSWAP_MASK
#define WM8983_ALRSWAP_SHIFT
#define WM8983_ALRSWAP_WIDTH
#define WM8983_MONO
#define WM8983_MONO_MASK
#define WM8983_MONO_SHIFT
#define WM8983_MONO_WIDTH

/*
 * R5 (0x05) - Companding control
 */
#define WM8983_WL8
#define WM8983_WL8_MASK
#define WM8983_WL8_SHIFT
#define WM8983_WL8_WIDTH
#define WM8983_DAC_COMP_MASK
#define WM8983_DAC_COMP_SHIFT
#define WM8983_DAC_COMP_WIDTH
#define WM8983_ADC_COMP_MASK
#define WM8983_ADC_COMP_SHIFT
#define WM8983_ADC_COMP_WIDTH
#define WM8983_LOOPBACK
#define WM8983_LOOPBACK_MASK
#define WM8983_LOOPBACK_SHIFT
#define WM8983_LOOPBACK_WIDTH

/*
 * R6 (0x06) - Clock Gen control
 */
#define WM8983_CLKSEL
#define WM8983_CLKSEL_MASK
#define WM8983_CLKSEL_SHIFT
#define WM8983_CLKSEL_WIDTH
#define WM8983_MCLKDIV_MASK
#define WM8983_MCLKDIV_SHIFT
#define WM8983_MCLKDIV_WIDTH
#define WM8983_BCLKDIV_MASK
#define WM8983_BCLKDIV_SHIFT
#define WM8983_BCLKDIV_WIDTH
#define WM8983_MS
#define WM8983_MS_MASK
#define WM8983_MS_SHIFT
#define WM8983_MS_WIDTH

/*
 * R7 (0x07) - Additional control
 */
#define WM8983_SR_MASK
#define WM8983_SR_SHIFT
#define WM8983_SR_WIDTH
#define WM8983_SLOWCLKEN
#define WM8983_SLOWCLKEN_MASK
#define WM8983_SLOWCLKEN_SHIFT
#define WM8983_SLOWCLKEN_WIDTH

/*
 * R8 (0x08) - GPIO Control
 */
#define WM8983_OPCLKDIV_MASK
#define WM8983_OPCLKDIV_SHIFT
#define WM8983_OPCLKDIV_WIDTH
#define WM8983_GPIO1POL
#define WM8983_GPIO1POL_MASK
#define WM8983_GPIO1POL_SHIFT
#define WM8983_GPIO1POL_WIDTH
#define WM8983_GPIO1SEL_MASK
#define WM8983_GPIO1SEL_SHIFT
#define WM8983_GPIO1SEL_WIDTH

/*
 * R9 (0x09) - Jack Detect Control 1
 */
#define WM8983_JD_VMID1
#define WM8983_JD_VMID1_MASK
#define WM8983_JD_VMID1_SHIFT
#define WM8983_JD_VMID1_WIDTH
#define WM8983_JD_VMID0
#define WM8983_JD_VMID0_MASK
#define WM8983_JD_VMID0_SHIFT
#define WM8983_JD_VMID0_WIDTH
#define WM8983_JD_EN
#define WM8983_JD_EN_MASK
#define WM8983_JD_EN_SHIFT
#define WM8983_JD_EN_WIDTH
#define WM8983_JD_SEL_MASK
#define WM8983_JD_SEL_SHIFT
#define WM8983_JD_SEL_WIDTH

/*
 * R10 (0x0A) - DAC Control
 */
#define WM8983_SOFTMUTE
#define WM8983_SOFTMUTE_MASK
#define WM8983_SOFTMUTE_SHIFT
#define WM8983_SOFTMUTE_WIDTH
#define WM8983_DACOSR128
#define WM8983_DACOSR128_MASK
#define WM8983_DACOSR128_SHIFT
#define WM8983_DACOSR128_WIDTH
#define WM8983_AMUTE
#define WM8983_AMUTE_MASK
#define WM8983_AMUTE_SHIFT
#define WM8983_AMUTE_WIDTH
#define WM8983_DACRPOL
#define WM8983_DACRPOL_MASK
#define WM8983_DACRPOL_SHIFT
#define WM8983_DACRPOL_WIDTH
#define WM8983_DACLPOL
#define WM8983_DACLPOL_MASK
#define WM8983_DACLPOL_SHIFT
#define WM8983_DACLPOL_WIDTH

/*
 * R11 (0x0B) - Left DAC digital Vol
 */
#define WM8983_DACVU
#define WM8983_DACVU_MASK
#define WM8983_DACVU_SHIFT
#define WM8983_DACVU_WIDTH
#define WM8983_DACLVOL_MASK
#define WM8983_DACLVOL_SHIFT
#define WM8983_DACLVOL_WIDTH

/*
 * R12 (0x0C) - Right DAC digital vol
 */
#define WM8983_DACVU
#define WM8983_DACVU_MASK
#define WM8983_DACVU_SHIFT
#define WM8983_DACVU_WIDTH
#define WM8983_DACRVOL_MASK
#define WM8983_DACRVOL_SHIFT
#define WM8983_DACRVOL_WIDTH

/*
 * R13 (0x0D) - Jack Detect Control 2
 */
#define WM8983_JD_EN1_MASK
#define WM8983_JD_EN1_SHIFT
#define WM8983_JD_EN1_WIDTH
#define WM8983_JD_EN0_MASK
#define WM8983_JD_EN0_SHIFT
#define WM8983_JD_EN0_WIDTH

/*
 * R14 (0x0E) - ADC Control
 */
#define WM8983_HPFEN
#define WM8983_HPFEN_MASK
#define WM8983_HPFEN_SHIFT
#define WM8983_HPFEN_WIDTH
#define WM8983_HPFAPP
#define WM8983_HPFAPP_MASK
#define WM8983_HPFAPP_SHIFT
#define WM8983_HPFAPP_WIDTH
#define WM8983_HPFCUT_MASK
#define WM8983_HPFCUT_SHIFT
#define WM8983_HPFCUT_WIDTH
#define WM8983_ADCOSR128
#define WM8983_ADCOSR128_MASK
#define WM8983_ADCOSR128_SHIFT
#define WM8983_ADCOSR128_WIDTH
#define WM8983_ADCRPOL
#define WM8983_ADCRPOL_MASK
#define WM8983_ADCRPOL_SHIFT
#define WM8983_ADCRPOL_WIDTH
#define WM8983_ADCLPOL
#define WM8983_ADCLPOL_MASK
#define WM8983_ADCLPOL_SHIFT
#define WM8983_ADCLPOL_WIDTH

/*
 * R15 (0x0F) - Left ADC Digital Vol
 */
#define WM8983_ADCVU
#define WM8983_ADCVU_MASK
#define WM8983_ADCVU_SHIFT
#define WM8983_ADCVU_WIDTH
#define WM8983_ADCLVOL_MASK
#define WM8983_ADCLVOL_SHIFT
#define WM8983_ADCLVOL_WIDTH

/*
 * R16 (0x10) - Right ADC Digital Vol
 */
#define WM8983_ADCVU
#define WM8983_ADCVU_MASK
#define WM8983_ADCVU_SHIFT
#define WM8983_ADCVU_WIDTH
#define WM8983_ADCRVOL_MASK
#define WM8983_ADCRVOL_SHIFT
#define WM8983_ADCRVOL_WIDTH

/*
 * R18 (0x12) - EQ1 - low shelf
 */
#define WM8983_EQ3DMODE
#define WM8983_EQ3DMODE_MASK
#define WM8983_EQ3DMODE_SHIFT
#define WM8983_EQ3DMODE_WIDTH
#define WM8983_EQ1C_MASK
#define WM8983_EQ1C_SHIFT
#define WM8983_EQ1C_WIDTH
#define WM8983_EQ1G_MASK
#define WM8983_EQ1G_SHIFT
#define WM8983_EQ1G_WIDTH

/*
 * R19 (0x13) - EQ2 - peak 1
 */
#define WM8983_EQ2BW
#define WM8983_EQ2BW_MASK
#define WM8983_EQ2BW_SHIFT
#define WM8983_EQ2BW_WIDTH
#define WM8983_EQ2C_MASK
#define WM8983_EQ2C_SHIFT
#define WM8983_EQ2C_WIDTH
#define WM8983_EQ2G_MASK
#define WM8983_EQ2G_SHIFT
#define WM8983_EQ2G_WIDTH

/*
 * R20 (0x14) - EQ3 - peak 2
 */
#define WM8983_EQ3BW
#define WM8983_EQ3BW_MASK
#define WM8983_EQ3BW_SHIFT
#define WM8983_EQ3BW_WIDTH
#define WM8983_EQ3C_MASK
#define WM8983_EQ3C_SHIFT
#define WM8983_EQ3C_WIDTH
#define WM8983_EQ3G_MASK
#define WM8983_EQ3G_SHIFT
#define WM8983_EQ3G_WIDTH

/*
 * R21 (0x15) - EQ4 - peak 3
 */
#define WM8983_EQ4BW
#define WM8983_EQ4BW_MASK
#define WM8983_EQ4BW_SHIFT
#define WM8983_EQ4BW_WIDTH
#define WM8983_EQ4C_MASK
#define WM8983_EQ4C_SHIFT
#define WM8983_EQ4C_WIDTH
#define WM8983_EQ4G_MASK
#define WM8983_EQ4G_SHIFT
#define WM8983_EQ4G_WIDTH

/*
 * R22 (0x16) - EQ5 - high shelf
 */
#define WM8983_EQ5C_MASK
#define WM8983_EQ5C_SHIFT
#define WM8983_EQ5C_WIDTH
#define WM8983_EQ5G_MASK
#define WM8983_EQ5G_SHIFT
#define WM8983_EQ5G_WIDTH

/*
 * R24 (0x18) - DAC Limiter 1
 */
#define WM8983_LIMEN
#define WM8983_LIMEN_MASK
#define WM8983_LIMEN_SHIFT
#define WM8983_LIMEN_WIDTH
#define WM8983_LIMDCY_MASK
#define WM8983_LIMDCY_SHIFT
#define WM8983_LIMDCY_WIDTH
#define WM8983_LIMATK_MASK
#define WM8983_LIMATK_SHIFT
#define WM8983_LIMATK_WIDTH

/*
 * R25 (0x19) - DAC Limiter 2
 */
#define WM8983_LIMLVL_MASK
#define WM8983_LIMLVL_SHIFT
#define WM8983_LIMLVL_WIDTH
#define WM8983_LIMBOOST_MASK
#define WM8983_LIMBOOST_SHIFT
#define WM8983_LIMBOOST_WIDTH

/*
 * R27 (0x1B) - Notch Filter 1
 */
#define WM8983_NFU
#define WM8983_NFU_MASK
#define WM8983_NFU_SHIFT
#define WM8983_NFU_WIDTH
#define WM8983_NFEN
#define WM8983_NFEN_MASK
#define WM8983_NFEN_SHIFT
#define WM8983_NFEN_WIDTH
#define WM8983_NFA0_13_7_MASK
#define WM8983_NFA0_13_7_SHIFT
#define WM8983_NFA0_13_7_WIDTH

/*
 * R28 (0x1C) - Notch Filter 2
 */
#define WM8983_NFU
#define WM8983_NFU_MASK
#define WM8983_NFU_SHIFT
#define WM8983_NFU_WIDTH
#define WM8983_NFA0_6_0_MASK
#define WM8983_NFA0_6_0_SHIFT
#define WM8983_NFA0_6_0_WIDTH

/*
 * R29 (0x1D) - Notch Filter 3
 */
#define WM8983_NFU
#define WM8983_NFU_MASK
#define WM8983_NFU_SHIFT
#define WM8983_NFU_WIDTH
#define WM8983_NFA1_13_7_MASK
#define WM8983_NFA1_13_7_SHIFT
#define WM8983_NFA1_13_7_WIDTH

/*
 * R30 (0x1E) - Notch Filter 4
 */
#define WM8983_NFU
#define WM8983_NFU_MASK
#define WM8983_NFU_SHIFT
#define WM8983_NFU_WIDTH
#define WM8983_NFA1_6_0_MASK
#define WM8983_NFA1_6_0_SHIFT
#define WM8983_NFA1_6_0_WIDTH

/*
 * R32 (0x20) - ALC control 1
 */
#define WM8983_ALCSEL_MASK
#define WM8983_ALCSEL_SHIFT
#define WM8983_ALCSEL_WIDTH
#define WM8983_ALCMAX_MASK
#define WM8983_ALCMAX_SHIFT
#define WM8983_ALCMAX_WIDTH
#define WM8983_ALCMIN_MASK
#define WM8983_ALCMIN_SHIFT
#define WM8983_ALCMIN_WIDTH

/*
 * R33 (0x21) - ALC control 2
 */
#define WM8983_ALCHLD_MASK
#define WM8983_ALCHLD_SHIFT
#define WM8983_ALCHLD_WIDTH
#define WM8983_ALCLVL_MASK
#define WM8983_ALCLVL_SHIFT
#define WM8983_ALCLVL_WIDTH

/*
 * R34 (0x22) - ALC control 3
 */
#define WM8983_ALCMODE
#define WM8983_ALCMODE_MASK
#define WM8983_ALCMODE_SHIFT
#define WM8983_ALCMODE_WIDTH
#define WM8983_ALCDCY_MASK
#define WM8983_ALCDCY_SHIFT
#define WM8983_ALCDCY_WIDTH
#define WM8983_ALCATK_MASK
#define WM8983_ALCATK_SHIFT
#define WM8983_ALCATK_WIDTH

/*
 * R35 (0x23) - Noise Gate
 */
#define WM8983_NGEN
#define WM8983_NGEN_MASK
#define WM8983_NGEN_SHIFT
#define WM8983_NGEN_WIDTH
#define WM8983_NGTH_MASK
#define WM8983_NGTH_SHIFT
#define WM8983_NGTH_WIDTH

/*
 * R36 (0x24) - PLL N
 */
#define WM8983_PLL_PRESCALE
#define WM8983_PLL_PRESCALE_MASK
#define WM8983_PLL_PRESCALE_SHIFT
#define WM8983_PLL_PRESCALE_WIDTH
#define WM8983_PLLN_MASK
#define WM8983_PLLN_SHIFT
#define WM8983_PLLN_WIDTH

/*
 * R37 (0x25) - PLL K 1
 */
#define WM8983_PLLK_23_18_MASK
#define WM8983_PLLK_23_18_SHIFT
#define WM8983_PLLK_23_18_WIDTH

/*
 * R38 (0x26) - PLL K 2
 */
#define WM8983_PLLK_17_9_MASK
#define WM8983_PLLK_17_9_SHIFT
#define WM8983_PLLK_17_9_WIDTH

/*
 * R39 (0x27) - PLL K 3
 */
#define WM8983_PLLK_8_0_MASK
#define WM8983_PLLK_8_0_SHIFT
#define WM8983_PLLK_8_0_WIDTH

/*
 * R41 (0x29) - 3D control
 */
#define WM8983_DEPTH3D_MASK
#define WM8983_DEPTH3D_SHIFT
#define WM8983_DEPTH3D_WIDTH

/*
 * R42 (0x2A) - OUT4 to ADC
 */
#define WM8983_OUT4_2ADCVOL_MASK
#define WM8983_OUT4_2ADCVOL_SHIFT
#define WM8983_OUT4_2ADCVOL_WIDTH
#define WM8983_OUT4_2LNR
#define WM8983_OUT4_2LNR_MASK
#define WM8983_OUT4_2LNR_SHIFT
#define WM8983_OUT4_2LNR_WIDTH
#define WM8983_POBCTRL
#define WM8983_POBCTRL_MASK
#define WM8983_POBCTRL_SHIFT
#define WM8983_POBCTRL_WIDTH
#define WM8983_DELEN
#define WM8983_DELEN_MASK
#define WM8983_DELEN_SHIFT
#define WM8983_DELEN_WIDTH
#define WM8983_OUT1DEL
#define WM8983_OUT1DEL_MASK
#define WM8983_OUT1DEL_SHIFT
#define WM8983_OUT1DEL_WIDTH

/*
 * R43 (0x2B) - Beep control
 */
#define WM8983_BYPL2RMIX
#define WM8983_BYPL2RMIX_MASK
#define WM8983_BYPL2RMIX_SHIFT
#define WM8983_BYPL2RMIX_WIDTH
#define WM8983_BYPR2LMIX
#define WM8983_BYPR2LMIX_MASK
#define WM8983_BYPR2LMIX_SHIFT
#define WM8983_BYPR2LMIX_WIDTH
#define WM8983_MUTERPGA2INV
#define WM8983_MUTERPGA2INV_MASK
#define WM8983_MUTERPGA2INV_SHIFT
#define WM8983_MUTERPGA2INV_WIDTH
#define WM8983_INVROUT2
#define WM8983_INVROUT2_MASK
#define WM8983_INVROUT2_SHIFT
#define WM8983_INVROUT2_WIDTH
#define WM8983_BEEPVOL_MASK
#define WM8983_BEEPVOL_SHIFT
#define WM8983_BEEPVOL_WIDTH
#define WM8983_BEEPEN
#define WM8983_BEEPEN_MASK
#define WM8983_BEEPEN_SHIFT
#define WM8983_BEEPEN_WIDTH

/*
 * R44 (0x2C) - Input ctrl
 */
#define WM8983_MBVSEL
#define WM8983_MBVSEL_MASK
#define WM8983_MBVSEL_SHIFT
#define WM8983_MBVSEL_WIDTH
#define WM8983_R2_2INPPGA
#define WM8983_R2_2INPPGA_MASK
#define WM8983_R2_2INPPGA_SHIFT
#define WM8983_R2_2INPPGA_WIDTH
#define WM8983_RIN2INPPGA
#define WM8983_RIN2INPPGA_MASK
#define WM8983_RIN2INPPGA_SHIFT
#define WM8983_RIN2INPPGA_WIDTH
#define WM8983_RIP2INPPGA
#define WM8983_RIP2INPPGA_MASK
#define WM8983_RIP2INPPGA_SHIFT
#define WM8983_RIP2INPPGA_WIDTH
#define WM8983_L2_2INPPGA
#define WM8983_L2_2INPPGA_MASK
#define WM8983_L2_2INPPGA_SHIFT
#define WM8983_L2_2INPPGA_WIDTH
#define WM8983_LIN2INPPGA
#define WM8983_LIN2INPPGA_MASK
#define WM8983_LIN2INPPGA_SHIFT
#define WM8983_LIN2INPPGA_WIDTH
#define WM8983_LIP2INPPGA
#define WM8983_LIP2INPPGA_MASK
#define WM8983_LIP2INPPGA_SHIFT
#define WM8983_LIP2INPPGA_WIDTH

/*
 * R45 (0x2D) - Left INP PGA gain ctrl
 */
#define WM8983_INPGAVU
#define WM8983_INPGAVU_MASK
#define WM8983_INPGAVU_SHIFT
#define WM8983_INPGAVU_WIDTH
#define WM8983_INPPGAZCL
#define WM8983_INPPGAZCL_MASK
#define WM8983_INPPGAZCL_SHIFT
#define WM8983_INPPGAZCL_WIDTH
#define WM8983_INPPGAMUTEL
#define WM8983_INPPGAMUTEL_MASK
#define WM8983_INPPGAMUTEL_SHIFT
#define WM8983_INPPGAMUTEL_WIDTH
#define WM8983_INPPGAVOLL_MASK
#define WM8983_INPPGAVOLL_SHIFT
#define WM8983_INPPGAVOLL_WIDTH

/*
 * R46 (0x2E) - Right INP PGA gain ctrl
 */
#define WM8983_INPGAVU
#define WM8983_INPGAVU_MASK
#define WM8983_INPGAVU_SHIFT
#define WM8983_INPGAVU_WIDTH
#define WM8983_INPPGAZCR
#define WM8983_INPPGAZCR_MASK
#define WM8983_INPPGAZCR_SHIFT
#define WM8983_INPPGAZCR_WIDTH
#define WM8983_INPPGAMUTER
#define WM8983_INPPGAMUTER_MASK
#define WM8983_INPPGAMUTER_SHIFT
#define WM8983_INPPGAMUTER_WIDTH
#define WM8983_INPPGAVOLR_MASK
#define WM8983_INPPGAVOLR_SHIFT
#define WM8983_INPPGAVOLR_WIDTH

/*
 * R47 (0x2F) - Left ADC BOOST ctrl
 */
#define WM8983_PGABOOSTL
#define WM8983_PGABOOSTL_MASK
#define WM8983_PGABOOSTL_SHIFT
#define WM8983_PGABOOSTL_WIDTH
#define WM8983_L2_2BOOSTVOL_MASK
#define WM8983_L2_2BOOSTVOL_SHIFT
#define WM8983_L2_2BOOSTVOL_WIDTH
#define WM8983_AUXL2BOOSTVOL_MASK
#define WM8983_AUXL2BOOSTVOL_SHIFT
#define WM8983_AUXL2BOOSTVOL_WIDTH

/*
 * R48 (0x30) - Right ADC BOOST ctrl
 */
#define WM8983_PGABOOSTR
#define WM8983_PGABOOSTR_MASK
#define WM8983_PGABOOSTR_SHIFT
#define WM8983_PGABOOSTR_WIDTH
#define WM8983_R2_2BOOSTVOL_MASK
#define WM8983_R2_2BOOSTVOL_SHIFT
#define WM8983_R2_2BOOSTVOL_WIDTH
#define WM8983_AUXR2BOOSTVOL_MASK
#define WM8983_AUXR2BOOSTVOL_SHIFT
#define WM8983_AUXR2BOOSTVOL_WIDTH

/*
 * R49 (0x31) - Output ctrl
 */
#define WM8983_DACL2RMIX
#define WM8983_DACL2RMIX_MASK
#define WM8983_DACL2RMIX_SHIFT
#define WM8983_DACL2RMIX_WIDTH
#define WM8983_DACR2LMIX
#define WM8983_DACR2LMIX_MASK
#define WM8983_DACR2LMIX_SHIFT
#define WM8983_DACR2LMIX_WIDTH
#define WM8983_OUT4BOOST
#define WM8983_OUT4BOOST_MASK
#define WM8983_OUT4BOOST_SHIFT
#define WM8983_OUT4BOOST_WIDTH
#define WM8983_OUT3BOOST
#define WM8983_OUT3BOOST_MASK
#define WM8983_OUT3BOOST_SHIFT
#define WM8983_OUT3BOOST_WIDTH
#define WM8983_SPKBOOST
#define WM8983_SPKBOOST_MASK
#define WM8983_SPKBOOST_SHIFT
#define WM8983_SPKBOOST_WIDTH
#define WM8983_TSDEN
#define WM8983_TSDEN_MASK
#define WM8983_TSDEN_SHIFT
#define WM8983_TSDEN_WIDTH
#define WM8983_VROI
#define WM8983_VROI_MASK
#define WM8983_VROI_SHIFT
#define WM8983_VROI_WIDTH

/*
 * R50 (0x32) - Left mixer ctrl
 */
#define WM8983_AUXLMIXVOL_MASK
#define WM8983_AUXLMIXVOL_SHIFT
#define WM8983_AUXLMIXVOL_WIDTH
#define WM8983_AUXL2LMIX
#define WM8983_AUXL2LMIX_MASK
#define WM8983_AUXL2LMIX_SHIFT
#define WM8983_AUXL2LMIX_WIDTH
#define WM8983_BYPLMIXVOL_MASK
#define WM8983_BYPLMIXVOL_SHIFT
#define WM8983_BYPLMIXVOL_WIDTH
#define WM8983_BYPL2LMIX
#define WM8983_BYPL2LMIX_MASK
#define WM8983_BYPL2LMIX_SHIFT
#define WM8983_BYPL2LMIX_WIDTH
#define WM8983_DACL2LMIX
#define WM8983_DACL2LMIX_MASK
#define WM8983_DACL2LMIX_SHIFT
#define WM8983_DACL2LMIX_WIDTH

/*
 * R51 (0x33) - Right mixer ctrl
 */
#define WM8983_AUXRMIXVOL_MASK
#define WM8983_AUXRMIXVOL_SHIFT
#define WM8983_AUXRMIXVOL_WIDTH
#define WM8983_AUXR2RMIX
#define WM8983_AUXR2RMIX_MASK
#define WM8983_AUXR2RMIX_SHIFT
#define WM8983_AUXR2RMIX_WIDTH
#define WM8983_BYPRMIXVOL_MASK
#define WM8983_BYPRMIXVOL_SHIFT
#define WM8983_BYPRMIXVOL_WIDTH
#define WM8983_BYPR2RMIX
#define WM8983_BYPR2RMIX_MASK
#define WM8983_BYPR2RMIX_SHIFT
#define WM8983_BYPR2RMIX_WIDTH
#define WM8983_DACR2RMIX
#define WM8983_DACR2RMIX_MASK
#define WM8983_DACR2RMIX_SHIFT
#define WM8983_DACR2RMIX_WIDTH

/*
 * R52 (0x34) - LOUT1 (HP) volume ctrl
 */
#define WM8983_OUT1VU
#define WM8983_OUT1VU_MASK
#define WM8983_OUT1VU_SHIFT
#define WM8983_OUT1VU_WIDTH
#define WM8983_LOUT1ZC
#define WM8983_LOUT1ZC_MASK
#define WM8983_LOUT1ZC_SHIFT
#define WM8983_LOUT1ZC_WIDTH
#define WM8983_LOUT1MUTE
#define WM8983_LOUT1MUTE_MASK
#define WM8983_LOUT1MUTE_SHIFT
#define WM8983_LOUT1MUTE_WIDTH
#define WM8983_LOUT1VOL_MASK
#define WM8983_LOUT1VOL_SHIFT
#define WM8983_LOUT1VOL_WIDTH

/*
 * R53 (0x35) - ROUT1 (HP) volume ctrl
 */
#define WM8983_OUT1VU
#define WM8983_OUT1VU_MASK
#define WM8983_OUT1VU_SHIFT
#define WM8983_OUT1VU_WIDTH
#define WM8983_ROUT1ZC
#define WM8983_ROUT1ZC_MASK
#define WM8983_ROUT1ZC_SHIFT
#define WM8983_ROUT1ZC_WIDTH
#define WM8983_ROUT1MUTE
#define WM8983_ROUT1MUTE_MASK
#define WM8983_ROUT1MUTE_SHIFT
#define WM8983_ROUT1MUTE_WIDTH
#define WM8983_ROUT1VOL_MASK
#define WM8983_ROUT1VOL_SHIFT
#define WM8983_ROUT1VOL_WIDTH

/*
 * R54 (0x36) - LOUT2 (SPK) volume ctrl
 */
#define WM8983_OUT2VU
#define WM8983_OUT2VU_MASK
#define WM8983_OUT2VU_SHIFT
#define WM8983_OUT2VU_WIDTH
#define WM8983_LOUT2ZC
#define WM8983_LOUT2ZC_MASK
#define WM8983_LOUT2ZC_SHIFT
#define WM8983_LOUT2ZC_WIDTH
#define WM8983_LOUT2MUTE
#define WM8983_LOUT2MUTE_MASK
#define WM8983_LOUT2MUTE_SHIFT
#define WM8983_LOUT2MUTE_WIDTH
#define WM8983_LOUT2VOL_MASK
#define WM8983_LOUT2VOL_SHIFT
#define WM8983_LOUT2VOL_WIDTH

/*
 * R55 (0x37) - ROUT2 (SPK) volume ctrl
 */
#define WM8983_OUT2VU
#define WM8983_OUT2VU_MASK
#define WM8983_OUT2VU_SHIFT
#define WM8983_OUT2VU_WIDTH
#define WM8983_ROUT2ZC
#define WM8983_ROUT2ZC_MASK
#define WM8983_ROUT2ZC_SHIFT
#define WM8983_ROUT2ZC_WIDTH
#define WM8983_ROUT2MUTE
#define WM8983_ROUT2MUTE_MASK
#define WM8983_ROUT2MUTE_SHIFT
#define WM8983_ROUT2MUTE_WIDTH
#define WM8983_ROUT2VOL_MASK
#define WM8983_ROUT2VOL_SHIFT
#define WM8983_ROUT2VOL_WIDTH

/*
 * R56 (0x38) - OUT3 mixer ctrl
 */
#define WM8983_OUT3MUTE
#define WM8983_OUT3MUTE_MASK
#define WM8983_OUT3MUTE_SHIFT
#define WM8983_OUT3MUTE_WIDTH
#define WM8983_OUT4_2OUT3
#define WM8983_OUT4_2OUT3_MASK
#define WM8983_OUT4_2OUT3_SHIFT
#define WM8983_OUT4_2OUT3_WIDTH
#define WM8983_BYPL2OUT3
#define WM8983_BYPL2OUT3_MASK
#define WM8983_BYPL2OUT3_SHIFT
#define WM8983_BYPL2OUT3_WIDTH
#define WM8983_LMIX2OUT3
#define WM8983_LMIX2OUT3_MASK
#define WM8983_LMIX2OUT3_SHIFT
#define WM8983_LMIX2OUT3_WIDTH
#define WM8983_LDAC2OUT3
#define WM8983_LDAC2OUT3_MASK
#define WM8983_LDAC2OUT3_SHIFT
#define WM8983_LDAC2OUT3_WIDTH

/*
 * R57 (0x39) - OUT4 (MONO) mix ctrl
 */
#define WM8983_OUT3_2OUT4
#define WM8983_OUT3_2OUT4_MASK
#define WM8983_OUT3_2OUT4_SHIFT
#define WM8983_OUT3_2OUT4_WIDTH
#define WM8983_OUT4MUTE
#define WM8983_OUT4MUTE_MASK
#define WM8983_OUT4MUTE_SHIFT
#define WM8983_OUT4MUTE_WIDTH
#define WM8983_OUT4ATTN
#define WM8983_OUT4ATTN_MASK
#define WM8983_OUT4ATTN_SHIFT
#define WM8983_OUT4ATTN_WIDTH
#define WM8983_LMIX2OUT4
#define WM8983_LMIX2OUT4_MASK
#define WM8983_LMIX2OUT4_SHIFT
#define WM8983_LMIX2OUT4_WIDTH
#define WM8983_LDAC2OUT4
#define WM8983_LDAC2OUT4_MASK
#define WM8983_LDAC2OUT4_SHIFT
#define WM8983_LDAC2OUT4_WIDTH
#define WM8983_BYPR2OUT4
#define WM8983_BYPR2OUT4_MASK
#define WM8983_BYPR2OUT4_SHIFT
#define WM8983_BYPR2OUT4_WIDTH
#define WM8983_RMIX2OUT4
#define WM8983_RMIX2OUT4_MASK
#define WM8983_RMIX2OUT4_SHIFT
#define WM8983_RMIX2OUT4_WIDTH
#define WM8983_RDAC2OUT4
#define WM8983_RDAC2OUT4_MASK
#define WM8983_RDAC2OUT4_SHIFT
#define WM8983_RDAC2OUT4_WIDTH

/*
 * R61 (0x3D) - BIAS CTRL
 */
#define WM8983_BIASCUT
#define WM8983_BIASCUT_MASK
#define WM8983_BIASCUT_SHIFT
#define WM8983_BIASCUT_WIDTH
#define WM8983_HALFIPBIAS
#define WM8983_HALFIPBIAS_MASK
#define WM8983_HALFIPBIAS_SHIFT
#define WM8983_HALFIPBIAS_WIDTH
#define WM8983_VBBIASTST_MASK
#define WM8983_VBBIASTST_SHIFT
#define WM8983_VBBIASTST_WIDTH
#define WM8983_BUFBIAS_MASK
#define WM8983_BUFBIAS_SHIFT
#define WM8983_BUFBIAS_WIDTH
#define WM8983_ADCBIAS_MASK
#define WM8983_ADCBIAS_SHIFT
#define WM8983_ADCBIAS_WIDTH
#define WM8983_HALFOPBIAS
#define WM8983_HALFOPBIAS_MASK
#define WM8983_HALFOPBIAS_SHIFT
#define WM8983_HALFOPBIAS_WIDTH

enum clk_src {};

#endif /* _WM8983_H */