Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43fa8e53 authored by Leon Romanovsky's avatar Leon Romanovsky Committed by Mark Brown
Browse files

ASoC: alc5632: Remove unrelevant registers and name the relevant

parent 6d10c914
Loading
Loading
Loading
Loading
+49 −112
Original line number Diff line number Diff line
@@ -36,118 +36,55 @@
 * ALC5632 register cache
 */
static struct reg_default  alc5632_reg_defaults[] = {
	{   0, 0x59B4 },
	{   1, 0x0000 },
	{   2, 0x8080 },
	{   3, 0x0000 },
	{   4, 0x8080 },
	{   5, 0x0000 },
	{   6, 0x8080 },
	{   7, 0x0000 },
	{   8, 0xC800 },
	{   9, 0x0000 },
	{  10, 0xE808 },
	{  11, 0x0000 },
	{  12, 0x1010 },
	{  13, 0x0000 },
	{  14, 0x0808 },
	{  15, 0x0000 },
	{  16, 0xEE0F },
	{  17, 0x0000 },
	{  18, 0xCBCB },
	{  19, 0x0000 },
	{  20, 0x7F7F },
	{  21, 0x0000 },
	{  22, 0x0000 },
	{  23, 0x0000 },
	{  24, 0xE010 },
	{  25, 0x0000 },
	{  26, 0x0000 },
	{  27, 0x0000 },
	{  28, 0x8008 },
	{  29, 0x0000 },
	{  30, 0x0000 },
	{  31, 0x0000 },
	{  32, 0x0000 },
	{  33, 0x0000 },
	{  34, 0x0000 },
	{  35, 0x0000 },
	{  36, 0x00C0 },
	{  37, 0x0000 },
	{  38, 0xEF00 },
	{  39, 0x0000 },
	{  40, 0x0000 },
	{  41, 0x0000 },
	{  42, 0x0000 },
	{  43, 0x0000 },
	{  44, 0x0000 },
	{  45, 0x0000 },
	{  46, 0x0000 },
	{  47, 0x0000 },
	{  48, 0x0000 },
	{  49, 0x0000 },
	{  50, 0x0000 },
	{  51, 0x0000 },
	{  52, 0x8000 },
	{  53, 0x0000 },
	{  54, 0x0000 },
	{  55, 0x0000 },
	{  56, 0x0000 },
	{  57, 0x0000 },
	{  58, 0x0000 },
	{  59, 0x0000 },
	{  60, 0x0000 },
	{  61, 0x0000 },
	{  62, 0x8000 },
	{  63, 0x0000 },
	{  64, 0x0C0A },
	{  65, 0x0000 },
	{  66, 0x0000 },
	{  67, 0x0000 },
	{  68, 0x0000 },
	{  69, 0x0000 },
	{  70, 0x0000 },
	{  71, 0x0000 },
	{  72, 0x0000 },
	{  73, 0x0000 },
	{  74, 0x0000 },
	{  75, 0x0000 },
	{  76, 0xBE3E },
	{  77, 0x0000 },
	{  78, 0xBE3E },
	{  79, 0x0000 },
	{  80, 0x0000 },
	{  81, 0x0000 },
	{  82, 0x0000 },
	{  83, 0x0000 },
	{  84, 0x803A },
	{  85, 0x0000 },
	{  86, 0x0000 },
	{  87, 0x0000 },
	{  88, 0x0000 },
	{  89, 0x0000 },
	{  90, 0x0009 },
	{  91, 0x0000 },
	{  92, 0x0000 },
	{  93, 0x0000 },
	{  94, 0x3000 },
	{  95, 0x0000 },
	{  96, 0x3075 },
	{  97, 0x0000 },
	{  98, 0x1010 },
	{  99, 0x0000 },
	{ 100, 0x3110 },
	{ 101, 0x0000 },
	{ 102, 0x0000 },
	{ 103, 0x0000 },
	{ 104, 0x0553 },
	{ 105, 0x0000 },
	{ 106, 0x0000 },
	{ 107, 0x0000 },
	{ 108, 0x0000 },
	{ 109, 0x0000 },
	{ 110, 0x0000 },
	{ 111, 0x0000 },
	{   0, 0x59B4 },	/* R0   - Reset */
	{   2, 0x8080 },	/* R2   - Speaker Output Volume */
	{   4, 0x8080 },	/* R4   - Headphone Output Volume */
	{   6, 0x8080 },	/* R6   - AUXOUT Volume */
	{   8, 0xC800 },	/* R8   - Phone Input */
	{  10, 0xE808 },	/* R10  - LINE_IN Volume */
	{  12, 0x1010 },	/* R12  - STEREO DAC Input Volume */
	{  14, 0x0808 },	/* R14  - MIC Input Volume */
	{  16, 0xEE0F },	/* R16  - Stereo DAC and MIC Routing Control */
	{  18, 0xCBCB },	/* R18  - ADC Record Gain */
	{  20, 0x7F7F },	/* R20  - ADC Record Mixer Control */
	{  24, 0xE010 },	/* R24  - Voice DAC Volume */
	{  28, 0x8008 },	/* R28  - Output Mixer Control */
	{  34, 0x0000 },	/* R34  - Microphone Control */
	{  36, 0x00C0 },    /* R36  - Codec Digital MIC/Digital Boost
						   Control */
	{  38, 0xEF00 },	/* R38  - Power Down Control/Status */
	{  46, 0x0000 },	/* R46  - Stereo DAC/Voice DAC/Stereo ADC
						   Function Select */
	{  52, 0x8000 },	/* R52  - Main Serial Data Port Control
						   (Stereo I2S) */
	{  54, 0x0000 },	/* R54  - Extend Serial Data Port Control
						   (VoDAC_I2S/PCM) */
	{  58, 0x0000 },	/* R58  - Power Management Addition 1 */
	{  60, 0x0000 },	/* R60  - Power Management Addition 2 */
	{  62, 0x8000 },	/* R62  - Power Management Addition 3 */
	{  64, 0x0C0A },	/* R64  - General Purpose Control Register 1 */
	{  66, 0x0000 },	/* R66  - General Purpose Control Register 2 */
	{  68, 0x0000 },	/* R68  - PLL1 Control */
	{  70, 0x0000 },	/* R70  - PLL2 Control */
	{  76, 0xBE3E },	/* R76  - GPIO Pin Configuration */
	{  78, 0xBE3E },	/* R78  - GPIO Pin Polarity */
	{  80, 0x0000 },	/* R80  - GPIO Pin Sticky */
	{  82, 0x0000 },	/* R82  - GPIO Pin Wake Up */
	{  84, 0x803A },	/* R84  - GPIO Pin Status */
	{  86, 0x0000 },	/* R86  - Pin Sharing */
	{  88, 0x0000 },	/* R88  - Over-Temp/Current Status */
	{  90, 0x0009 },	/* R90  - Soft Volume Control Setting */
	{  92, 0x0000 },	/* R92  - GPIO_Output Pin Control */
	{  94, 0x3000 },	/* R94  - MISC Control */
	{  96, 0x3075 },	/* R96  - Stereo DAC Clock Control_1 */
	{  98, 0x1010 },	/* R98  - Stereo DAC Clock Control_2 */
	{ 100, 0x3110 },	/* R100 - VoDAC_PCM Clock Control_1 */
	{ 104, 0x0553 },	/* R104 - Pseudo Stereo and Spatial Effect
						   Block Control */
	{ 106, 0x0000 },	/* R106 - Private Register Address */
	{ 108, 0x0000 },	/* R108 - Private Register Data */
	{ 110, 0x0000 },	/* R110 - EQ Control and Status/ADC
							HPF Control */
};

/* codec private data */