1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 2 /* 3 * ak4671.h -- audio driver for AK4671 4 * 5 * Copyright (C) 2009 Samsung Electronics Co.L 6 * Author: Joonyoung Shim <jy0922.shim@samsung 7 */ 8 9 #ifndef _AK4671_H 10 #define _AK4671_H 11 12 #define AK4671_AD_DA_POWER_MANAGEMENT 13 #define AK4671_PLL_MODE_SELECT0 14 #define AK4671_PLL_MODE_SELECT1 15 #define AK4671_FORMAT_SELECT 16 #define AK4671_MIC_SIGNAL_SELECT 17 #define AK4671_MIC_AMP_GAIN 18 #define AK4671_MIXING_POWER_MANAGEMENT0 19 #define AK4671_MIXING_POWER_MANAGEMENT1 20 #define AK4671_OUTPUT_VOLUME_CONTROL 21 #define AK4671_LOUT1_SIGNAL_SELECT 22 #define AK4671_ROUT1_SIGNAL_SELECT 23 #define AK4671_LOUT2_SIGNAL_SELECT 24 #define AK4671_ROUT2_SIGNAL_SELECT 25 #define AK4671_LOUT3_SIGNAL_SELECT 26 #define AK4671_ROUT3_SIGNAL_SELECT 27 #define AK4671_LOUT1_POWER_MANAGERMENT 28 #define AK4671_LOUT2_POWER_MANAGERMENT 29 #define AK4671_LOUT3_POWER_MANAGERMENT 30 #define AK4671_LCH_INPUT_VOLUME_CONTROL 31 #define AK4671_RCH_INPUT_VOLUME_CONTROL 32 #define AK4671_ALC_REFERENCE_SELECT 33 #define AK4671_DIGITAL_MIXING_CONTROL 34 #define AK4671_ALC_TIMER_SELECT 35 #define AK4671_ALC_MODE_CONTROL 36 #define AK4671_MODE_CONTROL1 37 #define AK4671_MODE_CONTROL2 38 #define AK4671_LCH_OUTPUT_VOLUME_CONTROL 39 #define AK4671_RCH_OUTPUT_VOLUME_CONTROL 40 #define AK4671_SIDETONE_A_CONTROL 41 #define AK4671_DIGITAL_FILTER_SELECT 42 #define AK4671_FIL3_COEFFICIENT0 43 #define AK4671_FIL3_COEFFICIENT1 44 #define AK4671_FIL3_COEFFICIENT2 45 #define AK4671_FIL3_COEFFICIENT3 46 #define AK4671_EQ_COEFFICIENT0 47 #define AK4671_EQ_COEFFICIENT1 48 #define AK4671_EQ_COEFFICIENT2 49 #define AK4671_EQ_COEFFICIENT3 50 #define AK4671_EQ_COEFFICIENT4 51 #define AK4671_EQ_COEFFICIENT5 52 #define AK4671_FIL1_COEFFICIENT0 53 #define AK4671_FIL1_COEFFICIENT1 54 #define AK4671_FIL1_COEFFICIENT2 55 #define AK4671_FIL1_COEFFICIENT3 56 #define AK4671_FIL2_COEFFICIENT0 57 #define AK4671_FIL2_COEFFICIENT1 58 #define AK4671_FIL2_COEFFICIENT2 59 #define AK4671_FIL2_COEFFICIENT3 60 #define AK4671_DIGITAL_FILTER_SELECT2 61 #define AK4671_E1_COEFFICIENT0 62 #define AK4671_E1_COEFFICIENT1 63 #define AK4671_E1_COEFFICIENT2 64 #define AK4671_E1_COEFFICIENT3 65 #define AK4671_E1_COEFFICIENT4 66 #define AK4671_E1_COEFFICIENT5 67 #define AK4671_E2_COEFFICIENT0 68 #define AK4671_E2_COEFFICIENT1 69 #define AK4671_E2_COEFFICIENT2 70 #define AK4671_E2_COEFFICIENT3 71 #define AK4671_E2_COEFFICIENT4 72 #define AK4671_E2_COEFFICIENT5 73 #define AK4671_E3_COEFFICIENT0 74 #define AK4671_E3_COEFFICIENT1 75 #define AK4671_E3_COEFFICIENT2 76 #define AK4671_E3_COEFFICIENT3 77 #define AK4671_E3_COEFFICIENT4 78 #define AK4671_E3_COEFFICIENT5 79 #define AK4671_E4_COEFFICIENT0 80 #define AK4671_E4_COEFFICIENT1 81 #define AK4671_E4_COEFFICIENT2 82 #define AK4671_E4_COEFFICIENT3 83 #define AK4671_E4_COEFFICIENT4 84 #define AK4671_E4_COEFFICIENT5 85 #define AK4671_E5_COEFFICIENT0 86 #define AK4671_E5_COEFFICIENT1 87 #define AK4671_E5_COEFFICIENT2 88 #define AK4671_E5_COEFFICIENT3 89 #define AK4671_E5_COEFFICIENT4 90 #define AK4671_E5_COEFFICIENT5 91 #define AK4671_EQ_CONTROL_250HZ_100HZ 92 #define AK4671_EQ_CONTROL_3500HZ_1KHZ 93 #define AK4671_EQ_CONTRO_10KHZ 94 #define AK4671_PCM_IF_CONTROL0 95 #define AK4671_PCM_IF_CONTROL1 96 #define AK4671_PCM_IF_CONTROL2 97 #define AK4671_DIGITAL_VOLUME_B_CONTROL 98 #define AK4671_DIGITAL_VOLUME_C_CONTROL 99 #define AK4671_SIDETONE_VOLUME_CONTROL 100 #define AK4671_DIGITAL_MIXING_CONTROL2 101 #define AK4671_SAR_ADC_CONTROL 102 103 /* Bitfield Definitions */ 104 105 /* AK4671_AD_DA_POWER_MANAGEMENT (0x00) Fields 106 #define AK4671_PMVCM 107 108 /* AK4671_PLL_MODE_SELECT0 (0x01) Fields */ 109 #define AK4671_PLL 110 #define AK4671_PLL_11_2896MHZ 111 #define AK4671_PLL_12_288MHZ 112 #define AK4671_PLL_12MHZ 113 #define AK4671_PLL_24MHZ 114 #define AK4671_PLL_19_2MHZ 115 #define AK4671_PLL_13_5MHZ 116 #define AK4671_PLL_27MHZ 117 #define AK4671_PLL_13MHZ 118 #define AK4671_PLL_26MHZ 119 #define AK4671_FS 120 #define AK4671_FS_8KHZ 121 #define AK4671_FS_12KHZ 122 #define AK4671_FS_16KHZ 123 #define AK4671_FS_24KHZ 124 #define AK4671_FS_11_025KHZ 125 #define AK4671_FS_22_05KHZ 126 #define AK4671_FS_32KHZ 127 #define AK4671_FS_48KHZ 128 #define AK4671_FS_44_1KHZ 129 130 /* AK4671_PLL_MODE_SELECT1 (0x02) Fields */ 131 #define AK4671_PMPLL 132 #define AK4671_M_S 133 134 /* AK4671_FORMAT_SELECT (0x03) Fields */ 135 #define AK4671_DIF 136 #define AK4671_DIF_DSP_MODE 137 #define AK4671_DIF_MSB_MODE 138 #define AK4671_DIF_I2S_MODE 139 #define AK4671_BCKP 140 #define AK4671_MSBS 141 #define AK4671_SDOD 142 143 /* AK4671_LOUT2_POWER_MANAGEMENT (0x10) Fields 144 #define AK4671_MUTEN 145 146 #endif 147
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.