linux/sound/soc/codecs/wm8990.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * wm8990.h  --  audio driver for WM8990
 *
 * Copyright 2007 Wolfson Microelectronics PLC.
 * Author: Graeme Gregory
 *         [email protected] or [email protected]
 */

#ifndef __WM8990REGISTERDEFS_H__
#define __WM8990REGISTERDEFS_H__

/*
 * Register values.
 */
#define WM8990_RESET
#define WM8990_POWER_MANAGEMENT_1
#define WM8990_POWER_MANAGEMENT_2
#define WM8990_POWER_MANAGEMENT_3
#define WM8990_AUDIO_INTERFACE_1
#define WM8990_AUDIO_INTERFACE_2
#define WM8990_CLOCKING_1
#define WM8990_CLOCKING_2
#define WM8990_AUDIO_INTERFACE_3
#define WM8990_AUDIO_INTERFACE_4
#define WM8990_DAC_CTRL
#define WM8990_LEFT_DAC_DIGITAL_VOLUME
#define WM8990_RIGHT_DAC_DIGITAL_VOLUME
#define WM8990_DIGITAL_SIDE_TONE
#define WM8990_ADC_CTRL
#define WM8990_LEFT_ADC_DIGITAL_VOLUME
#define WM8990_RIGHT_ADC_DIGITAL_VOLUME
#define WM8990_GPIO_CTRL_1
#define WM8990_GPIO1_GPIO2
#define WM8990_GPIO3_GPIO4
#define WM8990_GPIO5_GPIO6
#define WM8990_GPIOCTRL_2
#define WM8990_GPIO_POL
#define WM8990_LEFT_LINE_INPUT_1_2_VOLUME
#define WM8990_LEFT_LINE_INPUT_3_4_VOLUME
#define WM8990_RIGHT_LINE_INPUT_1_2_VOLUME
#define WM8990_RIGHT_LINE_INPUT_3_4_VOLUME
#define WM8990_LEFT_OUTPUT_VOLUME
#define WM8990_RIGHT_OUTPUT_VOLUME
#define WM8990_LINE_OUTPUTS_VOLUME
#define WM8990_OUT3_4_VOLUME
#define WM8990_LEFT_OPGA_VOLUME
#define WM8990_RIGHT_OPGA_VOLUME
#define WM8990_SPEAKER_VOLUME
#define WM8990_CLASSD1
#define WM8990_CLASSD3
#define WM8990_CLASSD4
#define WM8990_INPUT_MIXER1
#define WM8990_INPUT_MIXER2
#define WM8990_INPUT_MIXER3
#define WM8990_INPUT_MIXER4
#define WM8990_INPUT_MIXER5
#define WM8990_INPUT_MIXER6
#define WM8990_OUTPUT_MIXER1
#define WM8990_OUTPUT_MIXER2
#define WM8990_OUTPUT_MIXER3
#define WM8990_OUTPUT_MIXER4
#define WM8990_OUTPUT_MIXER5
#define WM8990_OUTPUT_MIXER6
#define WM8990_OUT3_4_MIXER
#define WM8990_LINE_MIXER1
#define WM8990_LINE_MIXER2
#define WM8990_SPEAKER_MIXER
#define WM8990_ADDITIONAL_CONTROL
#define WM8990_ANTIPOP1
#define WM8990_ANTIPOP2
#define WM8990_MICBIAS
#define WM8990_PLL1
#define WM8990_PLL2
#define WM8990_PLL3

#define WM8990_EXT_ACCESS_ENA
#define WM8990_EXT_CTL1

/*
 * Field Definitions.
 */

/*
 * R0 (0x00) - Reset
 */
#define WM8990_SW_RESET_CHIP_ID_MASK

/*
 * R1 (0x01) - Power Management (1)
 */
#define WM8990_SPK_ENA
#define WM8990_SPK_ENA_BIT
#define WM8990_OUT3_ENA
#define WM8990_OUT3_ENA_BIT
#define WM8990_OUT4_ENA
#define WM8990_OUT4_ENA_BIT
#define WM8990_LOUT_ENA
#define WM8990_LOUT_ENA_BIT
#define WM8990_ROUT_ENA
#define WM8990_ROUT_ENA_BIT
#define WM8990_MICBIAS_ENA
#define WM8990_MICBIAS_ENA_BIT
#define WM8990_VMID_MODE_MASK
#define WM8990_VREF_ENA
#define WM8990_VREF_ENA_BIT

/*
 * R2 (0x02) - Power Management (2)
 */
#define WM8990_PLL_ENA
#define WM8990_PLL_ENA_BIT
#define WM8990_TSHUT_ENA
#define WM8990_TSHUT_ENA_BIT
#define WM8990_TSHUT_OPDIS
#define WM8990_TSHUT_OPDIS_BIT
#define WM8990_OPCLK_ENA
#define WM8990_OPCLK_ENA_BIT
#define WM8990_AINL_ENA
#define WM8990_AINL_ENA_BIT
#define WM8990_AINR_ENA
#define WM8990_AINR_ENA_BIT
#define WM8990_LIN34_ENA
#define WM8990_LIN34_ENA_BIT
#define WM8990_LIN12_ENA
#define WM8990_LIN12_ENA_BIT
#define WM8990_RIN34_ENA
#define WM8990_RIN34_ENA_BIT
#define WM8990_RIN12_ENA
#define WM8990_RIN12_ENA_BIT
#define WM8990_ADCL_ENA
#define WM8990_ADCL_ENA_BIT
#define WM8990_ADCR_ENA
#define WM8990_ADCR_ENA_BIT

/*
 * R3 (0x03) - Power Management (3)
 */
#define WM8990_LON_ENA
#define WM8990_LON_ENA_BIT
#define WM8990_LOP_ENA
#define WM8990_LOP_ENA_BIT
#define WM8990_RON_ENA
#define WM8990_RON_ENA_BIT
#define WM8990_ROP_ENA
#define WM8990_ROP_ENA_BIT
#define WM8990_LOPGA_ENA
#define WM8990_LOPGA_ENA_BIT
#define WM8990_ROPGA_ENA
#define WM8990_ROPGA_ENA_BIT
#define WM8990_LOMIX_ENA
#define WM8990_LOMIX_ENA_BIT
#define WM8990_ROMIX_ENA
#define WM8990_ROMIX_ENA_BIT
#define WM8990_DACL_ENA
#define WM8990_DACL_ENA_BIT
#define WM8990_DACR_ENA
#define WM8990_DACR_ENA_BIT

/*
 * R4 (0x04) - Audio Interface (1)
 */
#define WM8990_AIFADCL_SRC
#define WM8990_AIFADCR_SRC
#define WM8990_AIFADC_TDM
#define WM8990_AIFADC_TDM_CHAN
#define WM8990_AIF_BCLK_INV
#define WM8990_AIF_LRCLK_INV
#define WM8990_AIF_WL_MASK
#define WM8990_AIF_WL_16BITS
#define WM8990_AIF_WL_20BITS
#define WM8990_AIF_WL_24BITS
#define WM8990_AIF_WL_32BITS
#define WM8990_AIF_FMT_MASK
#define WM8990_AIF_TMF_RIGHTJ
#define WM8990_AIF_TMF_LEFTJ
#define WM8990_AIF_TMF_I2S
#define WM8990_AIF_TMF_DSP

/*
 * R5 (0x05) - Audio Interface (2)
 */
#define WM8990_DACL_SRC
#define WM8990_DACR_SRC
#define WM8990_AIFDAC_TDM
#define WM8990_AIFDAC_TDM_CHAN
#define WM8990_DAC_BOOST_MASK
#define WM8990_DAC_COMP
#define WM8990_DAC_COMPMODE
#define WM8990_ADC_COMP
#define WM8990_ADC_COMPMODE
#define WM8990_LOOPBACK

/*
 * R6 (0x06) - Clocking (1)
 */
#define WM8990_TOCLK_RATE
#define WM8990_TOCLK_ENA
#define WM8990_OPCLKDIV_MASK
#define WM8990_DCLKDIV_MASK
#define WM8990_BCLK_DIV_MASK
#define WM8990_BCLK_DIV_1
#define WM8990_BCLK_DIV_1_5
#define WM8990_BCLK_DIV_2
#define WM8990_BCLK_DIV_3
#define WM8990_BCLK_DIV_4
#define WM8990_BCLK_DIV_5_5
#define WM8990_BCLK_DIV_6
#define WM8990_BCLK_DIV_8
#define WM8990_BCLK_DIV_11
#define WM8990_BCLK_DIV_12
#define WM8990_BCLK_DIV_16
#define WM8990_BCLK_DIV_22
#define WM8990_BCLK_DIV_24
#define WM8990_BCLK_DIV_32
#define WM8990_BCLK_DIV_44
#define WM8990_BCLK_DIV_48

/*
 * R7 (0x07) - Clocking (2)
 */
#define WM8990_MCLK_SRC
#define WM8990_SYSCLK_SRC
#define WM8990_CLK_FORCE
#define WM8990_MCLK_DIV_MASK
#define WM8990_MCLK_DIV_1
#define WM8990_MCLK_DIV_2
#define WM8990_MCLK_INV
#define WM8990_ADC_CLKDIV_MASK
#define WM8990_ADC_CLKDIV_1
#define WM8990_ADC_CLKDIV_1_5
#define WM8990_ADC_CLKDIV_2
#define WM8990_ADC_CLKDIV_3
#define WM8990_ADC_CLKDIV_4
#define WM8990_ADC_CLKDIV_5_5
#define WM8990_ADC_CLKDIV_6
#define WM8990_DAC_CLKDIV_MASK
#define WM8990_DAC_CLKDIV_1
#define WM8990_DAC_CLKDIV_1_5
#define WM8990_DAC_CLKDIV_2
#define WM8990_DAC_CLKDIV_3
#define WM8990_DAC_CLKDIV_4
#define WM8990_DAC_CLKDIV_5_5
#define WM8990_DAC_CLKDIV_6

/*
 * R8 (0x08) - Audio Interface (3)
 */
#define WM8990_AIF_MSTR1
#define WM8990_AIF_MSTR2
#define WM8990_AIF_SEL
#define WM8990_ADCLRC_DIR
#define WM8990_ADCLRC_RATE_MASK

/*
 * R9 (0x09) - Audio Interface (4)
 */
#define WM8990_ALRCGPIO1
#define WM8990_ALRCBGPIO6
#define WM8990_AIF_TRIS
#define WM8990_DACLRC_DIR
#define WM8990_DACLRC_RATE_MASK

/*
 * R10 (0x0A) - DAC CTRL
 */
#define WM8990_AIF_LRCLKRATE
#define WM8990_DAC_MONO
#define WM8990_DAC_SB_FILT
#define WM8990_DAC_MUTERATE
#define WM8990_DAC_MUTEMODE
#define WM8990_DEEMP_MASK
#define WM8990_DAC_MUTE
#define WM8990_DACL_DATINV
#define WM8990_DACR_DATINV

/*
 * R11 (0x0B) - Left DAC Digital Volume
 */
#define WM8990_DAC_VU
#define WM8990_DACL_VOL_MASK
#define WM8990_DACL_VOL_SHIFT
/*
 * R12 (0x0C) - Right DAC Digital Volume
 */
#define WM8990_DAC_VU
#define WM8990_DACR_VOL_MASK
#define WM8990_DACR_VOL_SHIFT
/*
 * R13 (0x0D) - Digital Side Tone
 */
#define WM8990_ADCL_DAC_SVOL_MASK
#define WM8990_ADCL_DAC_SVOL_SHIFT
#define WM8990_ADCR_DAC_SVOL_MASK
#define WM8990_ADCR_DAC_SVOL_SHIFT
#define WM8990_ADC_TO_DACL_MASK
#define WM8990_ADC_TO_DACL_SHIFT
#define WM8990_ADC_TO_DACR_MASK
#define WM8990_ADC_TO_DACR_SHIFT

/*
 * R14 (0x0E) - ADC CTRL
 */
#define WM8990_ADC_HPF_ENA
#define WM8990_ADC_HPF_ENA_BIT
#define WM8990_ADC_HPF_CUT_MASK
#define WM8990_ADC_HPF_CUT_SHIFT
#define WM8990_ADCL_DATINV
#define WM8990_ADCL_DATINV_BIT
#define WM8990_ADCR_DATINV
#define WM8990_ADCR_DATINV_BIT

/*
 * R15 (0x0F) - Left ADC Digital Volume
 */
#define WM8990_ADC_VU
#define WM8990_ADCL_VOL_MASK
#define WM8990_ADCL_VOL_SHIFT

/*
 * R16 (0x10) - Right ADC Digital Volume
 */
#define WM8990_ADC_VU
#define WM8990_ADCR_VOL_MASK
#define WM8990_ADCR_VOL_SHIFT

/*
 * R18 (0x12) - GPIO CTRL 1
 */
#define WM8990_IRQ
#define WM8990_TEMPOK
#define WM8990_MICSHRT
#define WM8990_MICDET
#define WM8990_PLL_LCK
#define WM8990_GPI8_STATUS
#define WM8990_GPI7_STATUS
#define WM8990_GPIO6_STATUS
#define WM8990_GPIO5_STATUS
#define WM8990_GPIO4_STATUS
#define WM8990_GPIO3_STATUS
#define WM8990_GPIO2_STATUS
#define WM8990_GPIO1_STATUS

/*
 * R19 (0x13) - GPIO1 & GPIO2
 */
#define WM8990_GPIO2_DEB_ENA
#define WM8990_GPIO2_IRQ_ENA
#define WM8990_GPIO2_PU
#define WM8990_GPIO2_PD
#define WM8990_GPIO2_SEL_MASK
#define WM8990_GPIO1_DEB_ENA
#define WM8990_GPIO1_IRQ_ENA
#define WM8990_GPIO1_PU
#define WM8990_GPIO1_PD
#define WM8990_GPIO1_SEL_MASK

/*
 * R20 (0x14) - GPIO3 & GPIO4
 */
#define WM8990_GPIO4_DEB_ENA
#define WM8990_GPIO4_IRQ_ENA
#define WM8990_GPIO4_PU
#define WM8990_GPIO4_PD
#define WM8990_GPIO4_SEL_MASK
#define WM8990_GPIO3_DEB_ENA
#define WM8990_GPIO3_IRQ_ENA
#define WM8990_GPIO3_PU
#define WM8990_GPIO3_PD
#define WM8990_GPIO3_SEL_MASK

/*
 * R21 (0x15) - GPIO5 & GPIO6
 */
#define WM8990_GPIO6_DEB_ENA
#define WM8990_GPIO6_IRQ_ENA
#define WM8990_GPIO6_PU
#define WM8990_GPIO6_PD
#define WM8990_GPIO6_SEL_MASK
#define WM8990_GPIO5_DEB_ENA
#define WM8990_GPIO5_IRQ_ENA
#define WM8990_GPIO5_PU
#define WM8990_GPIO5_PD
#define WM8990_GPIO5_SEL_MASK

/*
 * R22 (0x16) - GPIOCTRL 2
 */
#define WM8990_RD_3W_ENA
#define WM8990_MODE_3W4W
#define WM8990_TEMPOK_IRQ_ENA
#define WM8990_MICSHRT_IRQ_ENA
#define WM8990_MICDET_IRQ_ENA
#define WM8990_PLL_LCK_IRQ_ENA
#define WM8990_GPI8_DEB_ENA
#define WM8990_GPI8_IRQ_ENA
#define WM8990_GPI8_ENA
#define WM8990_GPI7_DEB_ENA
#define WM8990_GPI7_IRQ_ENA
#define WM8990_GPI7_ENA

/*
 * R23 (0x17) - GPIO_POL
 */
#define WM8990_IRQ_INV
#define WM8990_TEMPOK_POL
#define WM8990_MICSHRT_POL
#define WM8990_MICDET_POL
#define WM8990_PLL_LCK_POL
#define WM8990_GPI8_POL
#define WM8990_GPI7_POL
#define WM8990_GPIO6_POL
#define WM8990_GPIO5_POL
#define WM8990_GPIO4_POL
#define WM8990_GPIO3_POL
#define WM8990_GPIO2_POL
#define WM8990_GPIO1_POL

/*
 * R24 (0x18) - Left Line Input 1&2 Volume
 */
#define WM8990_IPVU
#define WM8990_LI12MUTE
#define WM8990_LI12MUTE_BIT
#define WM8990_LI12ZC
#define WM8990_LI12ZC_BIT
#define WM8990_LIN12VOL_MASK
#define WM8990_LIN12VOL_SHIFT
/*
 * R25 (0x19) - Left Line Input 3&4 Volume
 */
#define WM8990_IPVU
#define WM8990_LI34MUTE
#define WM8990_LI34MUTE_BIT
#define WM8990_LI34ZC
#define WM8990_LI34ZC_BIT
#define WM8990_LIN34VOL_MASK
#define WM8990_LIN34VOL_SHIFT

/*
 * R26 (0x1A) - Right Line Input 1&2 Volume
 */
#define WM8990_IPVU
#define WM8990_RI12MUTE
#define WM8990_RI12MUTE_BIT
#define WM8990_RI12ZC
#define WM8990_RI12ZC_BIT
#define WM8990_RIN12VOL_MASK
#define WM8990_RIN12VOL_SHIFT

/*
 * R27 (0x1B) - Right Line Input 3&4 Volume
 */
#define WM8990_IPVU
#define WM8990_RI34MUTE
#define WM8990_RI34MUTE_BIT
#define WM8990_RI34ZC
#define WM8990_RI34ZC_BIT
#define WM8990_RIN34VOL_MASK
#define WM8990_RIN34VOL_SHIFT

/*
 * R28 (0x1C) - Left Output Volume
 */
#define WM8990_OPVU
#define WM8990_LOZC
#define WM8990_LOZC_BIT
#define WM8990_LOUTVOL_MASK
#define WM8990_LOUTVOL_SHIFT
/*
 * R29 (0x1D) - Right Output Volume
 */
#define WM8990_OPVU
#define WM8990_ROZC
#define WM8990_ROZC_BIT
#define WM8990_ROUTVOL_MASK
#define WM8990_ROUTVOL_SHIFT
/*
 * R30 (0x1E) - Line Outputs Volume
 */
#define WM8990_LONMUTE
#define WM8990_LONMUTE_BIT
#define WM8990_LOPMUTE
#define WM8990_LOPMUTE_BIT
#define WM8990_LOATTN
#define WM8990_LOATTN_BIT
#define WM8990_RONMUTE
#define WM8990_RONMUTE_BIT
#define WM8990_ROPMUTE
#define WM8990_ROPMUTE_BIT
#define WM8990_ROATTN
#define WM8990_ROATTN_BIT

/*
 * R31 (0x1F) - Out3/4 Volume
 */
#define WM8990_OUT3MUTE
#define WM8990_OUT3MUTE_BIT
#define WM8990_OUT3ATTN
#define WM8990_OUT3ATTN_BIT
#define WM8990_OUT4MUTE
#define WM8990_OUT4MUTE_BIT
#define WM8990_OUT4ATTN
#define WM8990_OUT4ATTN_BIT

/*
 * R32 (0x20) - Left OPGA Volume
 */
#define WM8990_OPVU
#define WM8990_LOPGAZC
#define WM8990_LOPGAZC_BIT
#define WM8990_LOPGAVOL_MASK
#define WM8990_LOPGAVOL_SHIFT

/*
 * R33 (0x21) - Right OPGA Volume
 */
#define WM8990_OPVU
#define WM8990_ROPGAZC
#define WM8990_ROPGAZC_BIT
#define WM8990_ROPGAVOL_MASK
#define WM8990_ROPGAVOL_SHIFT
/*
 * R34 (0x22) - Speaker Volume
 */
#define WM8990_SPKATTN_MASK
#define WM8990_SPKATTN_SHIFT

/*
 * R35 (0x23) - ClassD1
 */
#define WM8990_CDMODE
#define WM8990_CDMODE_BIT

/*
 * R37 (0x25) - ClassD3
 */
#define WM8990_DCGAIN_MASK
#define WM8990_DCGAIN_SHIFT
#define WM8990_ACGAIN_MASK
#define WM8990_ACGAIN_SHIFT

/*
 * R38 (0x26) - ClassD4
 */
#define WM8990_SPKZC_MASK
#define WM8990_SPKZC_SHIFT
#define WM8990_SPKVOL_MASK
#define WM8990_SPKVOL_SHIFT

/*
 * R39 (0x27) - Input Mixer1
 */
#define WM8990_AINLMODE_MASK
#define WM8990_AINLMODE_SHIFT
#define WM8990_AINRMODE_MASK
#define WM8990_AINRMODE_SHIFT

/*
 * R40 (0x28) - Input Mixer2
 */
#define WM8990_LMP4
#define WM8990_LMP4_BIT
#define WM8990_LMN3
#define WM8990_LMN3_BIT
#define WM8990_LMP2
#define WM8990_LMP2_BIT
#define WM8990_LMN1
#define WM8990_LMN1_BIT
#define WM8990_RMP4
#define WM8990_RMP4_BIT
#define WM8990_RMN3
#define WM8990_RMN3_BIT
#define WM8990_RMP2
#define WM8990_RMP2_BIT
#define WM8990_RMN1
#define WM8990_RMN1_BIT

/*
 * R41 (0x29) - Input Mixer3
 */
#define WM8990_L34MNB
#define WM8990_L34MNB_BIT
#define WM8990_L34MNBST
#define WM8990_L34MNBST_BIT
#define WM8990_L12MNB
#define WM8990_L12MNB_BIT
#define WM8990_L12MNBST
#define WM8990_L12MNBST_BIT
#define WM8990_LDBVOL_MASK
#define WM8990_LDBVOL_SHIFT

/*
 * R42 (0x2A) - Input Mixer4
 */
#define WM8990_R34MNB
#define WM8990_R34MNB_BIT
#define WM8990_R34MNBST
#define WM8990_R34MNBST_BIT
#define WM8990_R12MNB
#define WM8990_R12MNB_BIT
#define WM8990_R12MNBST
#define WM8990_R12MNBST_BIT
#define WM8990_RDBVOL_MASK
#define WM8990_RDBVOL_SHIFT

/*
 * R43 (0x2B) - Input Mixer5
 */
#define WM8990_LI2BVOL_MASK
#define WM8990_LI2BVOL_SHIFT
#define WM8990_LR4BVOL_MASK
#define WM8990_LR4BVOL_SHIFT
#define WM8990_LL4BVOL_MASK
#define WM8990_LL4BVOL_SHIFT

/*
 * R44 (0x2C) - Input Mixer6
 */
#define WM8990_RI2BVOL_MASK
#define WM8990_RI2BVOL_SHIFT
#define WM8990_RL4BVOL_MASK
#define WM8990_RL4BVOL_SHIFT
#define WM8990_RR4BVOL_MASK
#define WM8990_RR4BVOL_SHIFT

/*
 * R45 (0x2D) - Output Mixer1
 */
#define WM8990_LRBLO
#define WM8990_LRBLO_BIT
#define WM8990_LLBLO
#define WM8990_LLBLO_BIT
#define WM8990_LRI3LO
#define WM8990_LRI3LO_BIT
#define WM8990_LLI3LO
#define WM8990_LLI3LO_BIT
#define WM8990_LR12LO
#define WM8990_LR12LO_BIT
#define WM8990_LL12LO
#define WM8990_LL12LO_BIT
#define WM8990_LDLO
#define WM8990_LDLO_BIT

/*
 * R46 (0x2E) - Output Mixer2
 */
#define WM8990_RLBRO
#define WM8990_RLBRO_BIT
#define WM8990_RRBRO
#define WM8990_RRBRO_BIT
#define WM8990_RLI3RO
#define WM8990_RLI3RO_BIT
#define WM8990_RRI3RO
#define WM8990_RRI3RO_BIT
#define WM8990_RL12RO
#define WM8990_RL12RO_BIT
#define WM8990_RR12RO
#define WM8990_RR12RO_BIT
#define WM8990_RDRO
#define WM8990_RDRO_BIT

/*
 * R47 (0x2F) - Output Mixer3
 */
#define WM8990_LLI3LOVOL_MASK
#define WM8990_LLI3LOVOL_SHIFT
#define WM8990_LR12LOVOL_MASK
#define WM8990_LR12LOVOL_SHIFT
#define WM8990_LL12LOVOL_MASK
#define WM8990_LL12LOVOL_SHIFT

/*
 * R48 (0x30) - Output Mixer4
 */
#define WM8990_RRI3ROVOL_MASK
#define WM8990_RRI3ROVOL_SHIFT
#define WM8990_RL12ROVOL_MASK
#define WM8990_RL12ROVOL_SHIFT
#define WM8990_RR12ROVOL_MASK
#define WM8990_RR12ROVOL_SHIFT

/*
 * R49 (0x31) - Output Mixer5
 */
#define WM8990_LRI3LOVOL_MASK
#define WM8990_LRI3LOVOL_SHIFT
#define WM8990_LRBLOVOL_MASK
#define WM8990_LRBLOVOL_SHIFT
#define WM8990_LLBLOVOL_MASK
#define WM8990_LLBLOVOL_SHIFT

/*
 * R50 (0x32) - Output Mixer6
 */
#define WM8990_RLI3ROVOL_MASK
#define WM8990_RLI3ROVOL_SHIFT
#define WM8990_RLBROVOL_MASK
#define WM8990_RLBROVOL_SHIFT
#define WM8990_RRBROVOL_MASK
#define WM8990_RRBROVOL_SHIFT

/*
 * R51 (0x33) - Out3/4 Mixer
 */
#define WM8990_VSEL_MASK
#define WM8990_LI4O3
#define WM8990_LI4O3_BIT
#define WM8990_LPGAO3
#define WM8990_LPGAO3_BIT
#define WM8990_RI4O4
#define WM8990_RI4O4_BIT
#define WM8990_RPGAO4
#define WM8990_RPGAO4_BIT
/*
 * R52 (0x34) - Line Mixer1
 */
#define WM8990_LLOPGALON
#define WM8990_LLOPGALON_BIT
#define WM8990_LROPGALON
#define WM8990_LROPGALON_BIT
#define WM8990_LOPLON
#define WM8990_LOPLON_BIT
#define WM8990_LR12LOP
#define WM8990_LR12LOP_BIT
#define WM8990_LL12LOP
#define WM8990_LL12LOP_BIT
#define WM8990_LLOPGALOP
#define WM8990_LLOPGALOP_BIT
/*
 * R53 (0x35) - Line Mixer2
 */
#define WM8990_RROPGARON
#define WM8990_RROPGARON_BIT
#define WM8990_RLOPGARON
#define WM8990_RLOPGARON_BIT
#define WM8990_ROPRON
#define WM8990_ROPRON_BIT
#define WM8990_RL12ROP
#define WM8990_RL12ROP_BIT
#define WM8990_RR12ROP
#define WM8990_RR12ROP_BIT
#define WM8990_RROPGAROP
#define WM8990_RROPGAROP_BIT

/*
 * R54 (0x36) - Speaker Mixer
 */
#define WM8990_LB2SPK
#define WM8990_LB2SPK_BIT
#define WM8990_RB2SPK
#define WM8990_RB2SPK_BIT
#define WM8990_LI2SPK
#define WM8990_LI2SPK_BIT
#define WM8990_RI2SPK
#define WM8990_RI2SPK_BIT
#define WM8990_LOPGASPK
#define WM8990_LOPGASPK_BIT
#define WM8990_ROPGASPK
#define WM8990_ROPGASPK_BIT
#define WM8990_LDSPK
#define WM8990_LDSPK_BIT
#define WM8990_RDSPK
#define WM8990_RDSPK_BIT

/*
 * R55 (0x37) - Additional Control
 */
#define WM8990_VROI

/*
 * R56 (0x38) - AntiPOP1
 */
#define WM8990_DIS_LLINE
#define WM8990_DIS_RLINE
#define WM8990_DIS_OUT3
#define WM8990_DIS_OUT4
#define WM8990_DIS_LOUT
#define WM8990_DIS_ROUT

/*
 * R57 (0x39) - AntiPOP2
 */
#define WM8990_SOFTST
#define WM8990_BUFIOEN
#define WM8990_BUFDCOPEN
#define WM8990_POBCTRL
#define WM8990_VMIDTOG

/*
 * R58 (0x3A) - MICBIAS
 */
#define WM8990_MCDSCTH_MASK
#define WM8990_MCDTHR_MASK
#define WM8990_MCD
#define WM8990_MBSEL

/*
 * R60 (0x3C) - PLL1
 */
#define WM8990_SDM
#define WM8990_PRESCALE
#define WM8990_PLLN_MASK

/*
 * R61 (0x3D) - PLL2
 */
#define WM8990_PLLK1_MASK

/*
 * R62 (0x3E) - PLL3
 */
#define WM8990_PLLK2_MASK

#define WM8990_MCLK_DIV
#define WM8990_DACCLK_DIV
#define WM8990_ADCCLK_DIV
#define WM8990_BCLK_DIV

#endif	/* __WM8990REGISTERDEFS_H__ */
/*------------------------------ END OF FILE ---------------------------------*/