~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/sound/soc/mediatek/mt2701/mt2701-reg.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /sound/soc/mediatek/mt2701/mt2701-reg.h (Version linux-6.12-rc7) and /sound/soc/mediatek/mt2701/mt2701-reg.h (Version ccs-tools-1.8.12)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 
  2 /*                                                
  3  * mt2701-reg.h  --  Mediatek 2701 audio drive    
  4  *                                                
  5  * Copyright (c) 2016 MediaTek Inc.               
  6  * Author: Garlic Tseng <garlic.tseng@mediatek    
  7  */                                               
  8                                                   
  9 #ifndef _MT2701_REG_H_                            
 10 #define _MT2701_REG_H_                            
 11                                                   
 12 #define AUDIO_TOP_CON0 0x0000                     
 13 #define AUDIO_TOP_CON4 0x0010                     
 14 #define AUDIO_TOP_CON5 0x0014                     
 15 #define AFE_DAIBT_CON0 0x001c                     
 16 #define AFE_MRGIF_CON 0x003c                      
 17 #define ASMI_TIMING_CON1 0x0100                   
 18 #define ASMO_TIMING_CON1 0x0104                   
 19 #define PWR1_ASM_CON1 0x0108                      
 20 #define ASYS_TOP_CON 0x0600                       
 21 #define ASYS_I2SIN1_CON 0x0604                    
 22 #define ASYS_I2SIN2_CON 0x0608                    
 23 #define ASYS_I2SIN3_CON 0x060c                    
 24 #define ASYS_I2SIN4_CON 0x0610                    
 25 #define ASYS_I2SIN5_CON 0x0614                    
 26 #define ASYS_I2SO1_CON 0x061C                     
 27 #define ASYS_I2SO2_CON 0x0620                     
 28 #define ASYS_I2SO3_CON 0x0624                     
 29 #define ASYS_I2SO4_CON 0x0628                     
 30 #define ASYS_I2SO5_CON 0x062c                     
 31 #define PWR2_TOP_CON 0x0634                       
 32 #define AFE_CONN0 0x06c0                          
 33 #define AFE_CONN1 0x06c4                          
 34 #define AFE_CONN2 0x06c8                          
 35 #define AFE_CONN3 0x06cc                          
 36 #define AFE_CONN14 0x06f8                         
 37 #define AFE_CONN15 0x06fc                         
 38 #define AFE_CONN16 0x0700                         
 39 #define AFE_CONN17 0x0704                         
 40 #define AFE_CONN18 0x0708                         
 41 #define AFE_CONN19 0x070c                         
 42 #define AFE_CONN20 0x0710                         
 43 #define AFE_CONN21 0x0714                         
 44 #define AFE_CONN22 0x0718                         
 45 #define AFE_CONN23 0x071c                         
 46 #define AFE_CONN24 0x0720                         
 47 #define AFE_CONN41 0x0764                         
 48 #define ASYS_IRQ1_CON 0x0780                      
 49 #define ASYS_IRQ2_CON 0x0784                      
 50 #define ASYS_IRQ3_CON 0x0788                      
 51 #define ASYS_IRQ_CLR 0x07c0                       
 52 #define ASYS_IRQ_STATUS 0x07c4                    
 53 #define PWR2_ASM_CON1 0x1070                      
 54 #define AFE_DAC_CON0 0x1200                       
 55 #define AFE_DAC_CON1 0x1204                       
 56 #define AFE_DAC_CON2 0x1208                       
 57 #define AFE_DAC_CON3 0x120c                       
 58 #define AFE_DAC_CON4 0x1210                       
 59 #define AFE_MEMIF_HD_CON1 0x121c                  
 60 #define AFE_MEMIF_PBUF_SIZE 0x1238                
 61 #define AFE_MEMIF_HD_CON0 0x123c                  
 62 #define AFE_DL1_BASE 0x1240                       
 63 #define AFE_DL1_CUR 0x1244                        
 64 #define AFE_DL2_BASE 0x1250                       
 65 #define AFE_DL2_CUR 0x1254                        
 66 #define AFE_DL3_BASE 0x1260                       
 67 #define AFE_DL3_CUR 0x1264                        
 68 #define AFE_DL4_BASE 0x1270                       
 69 #define AFE_DL4_CUR 0x1274                        
 70 #define AFE_DL5_BASE 0x1280                       
 71 #define AFE_DL5_CUR 0x1284                        
 72 #define AFE_DLMCH_BASE 0x12a0                     
 73 #define AFE_DLMCH_CUR 0x12a4                      
 74 #define AFE_ARB1_BASE 0x12b0                      
 75 #define AFE_ARB1_CUR 0x12b4                       
 76 #define AFE_VUL_BASE 0x1300                       
 77 #define AFE_VUL_CUR 0x130c                        
 78 #define AFE_UL2_BASE 0x1310                       
 79 #define AFE_UL2_END 0x1318                        
 80 #define AFE_UL2_CUR 0x131c                        
 81 #define AFE_UL3_BASE 0x1320                       
 82 #define AFE_UL3_END 0x1328                        
 83 #define AFE_UL3_CUR 0x132c                        
 84 #define AFE_UL4_BASE 0x1330                       
 85 #define AFE_UL4_END 0x1338                        
 86 #define AFE_UL4_CUR 0x133c                        
 87 #define AFE_UL5_BASE 0x1340                       
 88 #define AFE_UL5_END 0x1348                        
 89 #define AFE_UL5_CUR 0x134c                        
 90 #define AFE_DAI_BASE 0x1370                       
 91 #define AFE_DAI_CUR 0x137c                        
 92                                                   
 93 /* AFE_DAIBT_CON0 (0x001c) */                     
 94 #define AFE_DAIBT_CON0_DAIBT_EN         (0x1 <    
 95 #define AFE_DAIBT_CON0_BT_FUNC_EN       (0x1 <    
 96 #define AFE_DAIBT_CON0_BT_FUNC_RDY      (0x1 <    
 97 #define AFE_DAIBT_CON0_BT_WIDE_MODE_EN  (0x1 <    
 98 #define AFE_DAIBT_CON0_MRG_USE          (0x1 <    
 99                                                   
100 /* PWR1_ASM_CON1 (0x0108) */                      
101 #define PWR1_ASM_CON1_INIT_VAL          (0x492    
102                                                   
103 /* AFE_MRGIF_CON (0x003c) */                      
104 #define AFE_MRGIF_CON_MRG_EN            (0x1 <    
105 #define AFE_MRGIF_CON_MRG_I2S_EN        (0x1 <    
106 #define AFE_MRGIF_CON_I2S_MODE_MASK     (0xf <    
107 #define AFE_MRGIF_CON_I2S_MODE_32K      (0x4 <    
108                                                   
109 /* ASYS_TOP_CON (0x0600) */                       
110 #define ASYS_TOP_CON_ASYS_TIMING_ON               
111                                                   
112 /* PWR2_ASM_CON1 (0x1070) */                      
113 #define PWR2_ASM_CON1_INIT_VAL          (0x492    
114                                                   
115 /* AFE_DAC_CON0 (0x1200) */                       
116 #define AFE_DAC_CON0_AFE_ON             (0x1 <    
117                                                   
118 /* AFE_MEMIF_PBUF_SIZE (0x1238) */                
119 #define AFE_MEMIF_PBUF_SIZE_DLM_MASK              
120 #define AFE_MEMIF_PBUF_SIZE_PAIR_INTERLEAVE       
121 #define AFE_MEMIF_PBUF_SIZE_FULL_INTERLEAVE       
122 #define DLMCH_BIT_WIDTH_MASK                      
123 #define AFE_MEMIF_PBUF_SIZE_DLM_CH_MASK           
124 #define AFE_MEMIF_PBUF_SIZE_DLM_CH(x)             
125 #define AFE_MEMIF_PBUF_SIZE_DLM_BYTE_MASK         
126 #define AFE_MEMIF_PBUF_SIZE_DLM_32BYTES           
127                                                   
128 /* I2S in/out register bit control */             
129 #define ASYS_I2S_CON_FS                 (0x1f     
130 #define ASYS_I2S_CON_FS_SET(x)          ((x) <    
131 #define ASYS_I2S_CON_RESET              (0x1 <    
132 #define ASYS_I2S_CON_I2S_EN             (0x1 <    
133 #define ASYS_I2S_CON_ONE_HEART_MODE     (0x1 <    
134 #define ASYS_I2S_CON_I2S_COUPLE_MODE    (0x1 <    
135 /* 0:EIAJ 1:I2S */                                
136 #define ASYS_I2S_CON_I2S_MODE           (0x1 <    
137 #define ASYS_I2S_CON_WIDE_MODE          (0x1 <    
138 #define ASYS_I2S_CON_WIDE_MODE_SET(x)   ((x) <    
139 #define ASYS_I2S_IN_PHASE_FIX           (0x1 <    
140                                                   
141 #endif                                            
142                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php