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

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-omap2/clockdomains81xx_data.c

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 /arch/arm/mach-omap2/clockdomains81xx_data.c (Version linux-6.12-rc7) and /arch/i386/mach-omap2/clockdomains81xx_data.c (Version linux-5.14.21)


  1 // SPDX-License-Identifier: GPL-2.0-only            1 
  2 /*                                                
  3  * TI81XX Clock Domain data.                      
  4  *                                                
  5  * Copyright (C) 2010 Texas Instruments, Inc.     
  6  * Copyright (C) 2013 SKTB SKiT, http://www.sk    
  7  */                                               
  8                                                   
  9 #ifndef __ARCH_ARM_MACH_OMAP2_CLOCKDOMAINS_81X    
 10 #define __ARCH_ARM_MACH_OMAP2_CLOCKDOMAINS_81X    
 11                                                   
 12 #include <linux/kernel.h>                         
 13 #include <linux/io.h>                             
 14                                                   
 15 #include "clockdomain.h"                          
 16 #include "cm81xx.h"                               
 17                                                   
 18 /*                                                
 19  * Note that 814x seems to have HWSUP_SWSUP fo    
 20  * while 816x does not. According to the TRM,     
 21  * for ALWON_L3_FAST. Also note that the TI tr    
 22  * seems to have the related ifdef the wrong w    
 23  * 816x supports HWSUP while 814x does not. Fo    
 24  * HWSUP for ALWON_L3_FAST as that seems to be    
 25  * dm814x and dm816x.                             
 26  */                                               
 27                                                   
 28 /* Common for 81xx */                             
 29                                                   
 30 static struct clockdomain alwon_l3_slow_81xx_c    
 31         .name           = "alwon_l3s_clkdm",      
 32         .pwrdm          = { .name = "alwon_pwr    
 33         .cm_inst        = TI81XX_CM_ALWON_MOD,    
 34         .clkdm_offs     = TI81XX_CM_ALWON_L3_S    
 35         .flags          = CLKDM_CAN_SWSUP,        
 36 };                                                
 37                                                   
 38 static struct clockdomain alwon_l3_med_81xx_cl    
 39         .name           = "alwon_l3_med_clkdm"    
 40         .pwrdm          = { .name = "alwon_pwr    
 41         .cm_inst        = TI81XX_CM_ALWON_MOD,    
 42         .clkdm_offs     = TI81XX_CM_ALWON_L3_M    
 43         .flags          = CLKDM_CAN_SWSUP,        
 44 };                                                
 45                                                   
 46 static struct clockdomain alwon_l3_fast_81xx_c    
 47         .name           = "alwon_l3_fast_clkdm    
 48         .pwrdm          = { .name = "alwon_pwr    
 49         .cm_inst        = TI81XX_CM_ALWON_MOD,    
 50         .clkdm_offs     = TI81XX_CM_ALWON_L3_F    
 51         .flags          = CLKDM_CAN_HWSUP_SWSU    
 52 };                                                
 53                                                   
 54 static struct clockdomain alwon_ethernet_81xx_    
 55         .name           = "alwon_ethernet_clkd    
 56         .pwrdm          = { .name = "alwon_pwr    
 57         .cm_inst        = TI81XX_CM_ALWON_MOD,    
 58         .clkdm_offs     = TI81XX_CM_ETHERNET_C    
 59         .flags          = CLKDM_CAN_SWSUP,        
 60 };                                                
 61                                                   
 62 static struct clockdomain mmu_81xx_clkdm = {      
 63         .name           = "mmu_clkdm",            
 64         .pwrdm          = { .name = "alwon_pwr    
 65         .cm_inst        = TI81XX_CM_ALWON_MOD,    
 66         .clkdm_offs     = TI81XX_CM_MMU_CLKDM,    
 67         .flags          = CLKDM_CAN_SWSUP,        
 68 };                                                
 69                                                   
 70 static struct clockdomain mmu_cfg_81xx_clkdm =    
 71         .name           = "mmu_cfg_clkdm",        
 72         .pwrdm          = { .name = "alwon_pwr    
 73         .cm_inst        = TI81XX_CM_ALWON_MOD,    
 74         .clkdm_offs     = TI81XX_CM_MMUCFG_CLK    
 75         .flags          = CLKDM_CAN_SWSUP,        
 76 };                                                
 77                                                   
 78 static struct clockdomain default_l3_slow_81xx    
 79         .name           = "default_l3_slow_clk    
 80         .pwrdm          = { .name = "default_p    
 81         .cm_inst        = TI81XX_CM_DEFAULT_MO    
 82         .clkdm_offs     = TI816X_CM_DEFAULT_L3    
 83         .flags          = CLKDM_CAN_SWSUP,        
 84 };                                                
 85                                                   
 86 static struct clockdomain default_sata_81xx_cl    
 87         .name           = "default_clkdm",        
 88         .pwrdm          = { .name = "default_p    
 89         .cm_inst        = TI81XX_CM_DEFAULT_MO    
 90         .clkdm_offs     = TI816X_CM_DEFAULT_SA    
 91         .flags          = CLKDM_CAN_SWSUP,        
 92 };                                                
 93                                                   
 94 /* 816x only */                                   
 95                                                   
 96 static struct clockdomain alwon_mpu_816x_clkdm    
 97         .name           = "alwon_mpu_clkdm",      
 98         .pwrdm          = { .name = "alwon_pwr    
 99         .cm_inst        = TI81XX_CM_ALWON_MOD,    
100         .clkdm_offs     = TI81XX_CM_ALWON_MPU_    
101         .flags          = CLKDM_CAN_SWSUP,        
102 };                                                
103                                                   
104 static struct clockdomain active_gem_816x_clkd    
105         .name           = "active_gem_clkdm",     
106         .pwrdm          = { .name = "active_pw    
107         .cm_inst        = TI81XX_CM_ACTIVE_MOD    
108         .clkdm_offs     = TI816X_CM_ACTIVE_GEM    
109         .flags          = CLKDM_CAN_SWSUP,        
110 };                                                
111                                                   
112 static struct clockdomain ivahd0_816x_clkdm =     
113         .name           = "ivahd0_clkdm",         
114         .pwrdm          = { .name = "ivahd0_pw    
115         .cm_inst        = TI816X_CM_IVAHD0_MOD    
116         .clkdm_offs     = TI816X_CM_IVAHD0_CLK    
117         .flags          = CLKDM_CAN_SWSUP,        
118 };                                                
119                                                   
120 static struct clockdomain ivahd1_816x_clkdm =     
121         .name           = "ivahd1_clkdm",         
122         .pwrdm          = { .name = "ivahd1_pw    
123         .cm_inst        = TI816X_CM_IVAHD1_MOD    
124         .clkdm_offs     = TI816X_CM_IVAHD1_CLK    
125         .flags          = CLKDM_CAN_SWSUP,        
126 };                                                
127                                                   
128 static struct clockdomain ivahd2_816x_clkdm =     
129         .name           = "ivahd2_clkdm",         
130         .pwrdm          = { .name = "ivahd2_pw    
131         .cm_inst        = TI816X_CM_IVAHD2_MOD    
132         .clkdm_offs     = TI816X_CM_IVAHD2_CLK    
133         .flags          = CLKDM_CAN_SWSUP,        
134 };                                                
135                                                   
136 static struct clockdomain sgx_816x_clkdm = {      
137         .name           = "sgx_clkdm",            
138         .pwrdm          = { .name = "sgx_pwrdm    
139         .cm_inst        = TI81XX_CM_SGX_MOD,      
140         .clkdm_offs     = TI816X_CM_SGX_CLKDM,    
141         .flags          = CLKDM_CAN_SWSUP,        
142 };                                                
143                                                   
144 static struct clockdomain default_l3_med_816x_    
145         .name           = "default_l3_med_clkd    
146         .pwrdm          = { .name = "default_p    
147         .cm_inst        = TI81XX_CM_DEFAULT_MO    
148         .clkdm_offs     = TI816X_CM_DEFAULT_L3    
149         .flags          = CLKDM_CAN_SWSUP,        
150 };                                                
151                                                   
152 static struct clockdomain default_ducati_816x_    
153         .name           = "default_ducati_clkd    
154         .pwrdm          = { .name = "default_p    
155         .cm_inst        = TI81XX_CM_DEFAULT_MO    
156         .clkdm_offs     = TI816X_CM_DEFAULT_DU    
157         .flags          = CLKDM_CAN_SWSUP,        
158 };                                                
159                                                   
160 static struct clockdomain default_pci_816x_clk    
161         .name           = "default_pci_clkdm",    
162         .pwrdm          = { .name = "default_p    
163         .cm_inst        = TI81XX_CM_DEFAULT_MO    
164         .clkdm_offs     = TI816X_CM_DEFAULT_PC    
165         .flags          = CLKDM_CAN_SWSUP,        
166 };                                                
167                                                   
168 static struct clockdomain *clockdomains_ti814x    
169         &alwon_l3_slow_81xx_clkdm,                
170         &alwon_l3_med_81xx_clkdm,                 
171         &alwon_l3_fast_81xx_clkdm,                
172         &alwon_ethernet_81xx_clkdm,               
173         &mmu_81xx_clkdm,                          
174         &mmu_cfg_81xx_clkdm,                      
175         &default_l3_slow_81xx_clkdm,              
176         &default_sata_81xx_clkdm,                 
177         NULL,                                     
178 };                                                
179                                                   
180 void __init ti814x_clockdomains_init(void)        
181 {                                                 
182         clkdm_register_platform_funcs(&am33xx_    
183         clkdm_register_clkdms(clockdomains_ti8    
184         clkdm_complete_init();                    
185 }                                                 
186                                                   
187 static struct clockdomain *clockdomains_ti816x    
188         &alwon_mpu_816x_clkdm,                    
189         &alwon_l3_slow_81xx_clkdm,                
190         &alwon_l3_med_81xx_clkdm,                 
191         &alwon_l3_fast_81xx_clkdm,                
192         &alwon_ethernet_81xx_clkdm,               
193         &mmu_81xx_clkdm,                          
194         &mmu_cfg_81xx_clkdm,                      
195         &active_gem_816x_clkdm,                   
196         &ivahd0_816x_clkdm,                       
197         &ivahd1_816x_clkdm,                       
198         &ivahd2_816x_clkdm,                       
199         &sgx_816x_clkdm,                          
200         &default_l3_med_816x_clkdm,               
201         &default_ducati_816x_clkdm,               
202         &default_pci_816x_clkdm,                  
203         &default_l3_slow_81xx_clkdm,              
204         &default_sata_81xx_clkdm,                 
205         NULL,                                     
206 };                                                
207                                                   
208 void __init ti816x_clockdomains_init(void)        
209 {                                                 
210         clkdm_register_platform_funcs(&am33xx_    
211         clkdm_register_clkdms(clockdomains_ti8    
212         clkdm_complete_init();                    
213 }                                                 
214 #endif                                            
215                                                   

~ [ 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