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

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-s3c/s3c6410.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-s3c/s3c6410.c (Version linux-6.12-rc7) and /arch/ppc/mach-s3c/s3c6410.c (Version linux-4.19.323)


  1 // SPDX-License-Identifier: GPL-2.0                 1 
  2 //                                                
  3 // Copyright 2008 Simtec Electronics              
  4 // Copyright 2008 Simtec Electronics              
  5 //      Ben Dooks <ben@simtec.co.uk>              
  6 //      http://armlinux.simtec.co.uk/             
  7                                                   
  8 /*                                                
  9  * NOTE: Code in this file is not used when bo    
 10  */                                               
 11                                                   
 12 #include <linux/kernel.h>                         
 13 #include <linux/types.h>                          
 14 #include <linux/interrupt.h>                      
 15 #include <linux/list.h>                           
 16 #include <linux/timer.h>                          
 17 #include <linux/init.h>                           
 18 #include <linux/clk.h>                            
 19 #include <linux/io.h>                             
 20 #include <linux/device.h>                         
 21 #include <linux/serial_core.h>                    
 22 #include <linux/serial_s3c.h>                     
 23 #include <linux/platform_device.h>                
 24 #include <linux/of.h>                             
 25                                                   
 26 #include <asm/mach/arch.h>                        
 27 #include <asm/mach/map.h>                         
 28 #include <asm/mach/irq.h>                         
 29                                                   
 30 #include <asm/irq.h>                              
 31                                                   
 32 #include <linux/soc/samsung/s3c-pm.h>             
 33 #include "regs-clock.h"                           
 34                                                   
 35 #include "cpu.h"                                  
 36 #include "devs.h"                                 
 37 #include "sdhci.h"                                
 38 #include "iic-core.h"                             
 39                                                   
 40 #include "s3c64xx.h"                              
 41                                                   
 42 void __init s3c6410_map_io(void)                  
 43 {                                                 
 44         /* initialise device information early    
 45         s3c6410_default_sdhci0();                 
 46         s3c6410_default_sdhci1();                 
 47         s3c6410_default_sdhci2();                 
 48                                                   
 49         /* the i2c devices are directly compat    
 50         s3c_i2c0_setname("s3c2440-i2c");          
 51         s3c_i2c1_setname("s3c2440-i2c");          
 52 }                                                 
 53                                                   
 54 void __init s3c6410_init_irq(void)                
 55 {                                                 
 56         /* VIC0 is missing IRQ7, VIC1 is fully    
 57         s3c64xx_init_irq(~0 & ~(1 << 7), ~0);     
 58 }                                                 
 59                                                   
 60 const struct bus_type s3c6410_subsys = {          
 61         .name           = "s3c6410-core",         
 62         .dev_name       = "s3c6410-core",         
 63 };                                                
 64                                                   
 65 static struct device s3c6410_dev = {              
 66         .bus    = &s3c6410_subsys,                
 67 };                                                
 68                                                   
 69 static int __init s3c6410_core_init(void)         
 70 {                                                 
 71         /* Not applicable when using DT. */       
 72         if (of_have_populated_dt() || !soc_is_    
 73                 return 0;                         
 74                                                   
 75         return subsys_system_register(&s3c6410    
 76 }                                                 
 77                                                   
 78 core_initcall(s3c6410_core_init);                 
 79                                                   
 80 int __init s3c6410_init(void)                     
 81 {                                                 
 82         printk("S3C6410: Initialising architec    
 83                                                   
 84         return device_register(&s3c6410_dev);     
 85 }                                                 
 86                                                   

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