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

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


  1 // SPDX-License-Identifier: GPL-2.0                 1 
  2 /*                                                
  3  * Device Tree support for Allwinner A1X SoCs     
  4  *                                                
  5  * Copyright (C) 2012 Maxime Ripard               
  6  *                                                
  7  * Maxime Ripard <maxime.ripard@free-electrons    
  8  *                                                
  9  */                                               
 10                                                   
 11 #include <linux/clocksource.h>                    
 12 #include <linux/init.h>                           
 13 #include <linux/of_clk.h>                         
 14 #include <linux/platform_device.h>                
 15 #include <linux/reset/sunxi.h>                    
 16                                                   
 17 #include <asm/mach/arch.h>                        
 18 #include <asm/secure_cntvoff.h>                   
 19                                                   
 20 static const char * const sunxi_board_dt_compa    
 21         "allwinner,sun4i-a10",                    
 22         "allwinner,sun5i-a10s",                   
 23         "allwinner,sun5i-a13",                    
 24         "allwinner,sun5i-r8",                     
 25         "nextthing,gr8",                          
 26         NULL,                                     
 27 };                                                
 28                                                   
 29 DT_MACHINE_START(SUNXI_DT, "Allwinner sun4i/su    
 30         .dt_compat      = sunxi_board_dt_compa    
 31 MACHINE_END                                       
 32                                                   
 33 static const char * const sun6i_board_dt_compa    
 34         "allwinner,sun6i-a31",                    
 35         "allwinner,sun6i-a31s",                   
 36         NULL,                                     
 37 };                                                
 38                                                   
 39 static void __init sun6i_timer_init(void)         
 40 {                                                 
 41         of_clk_init(NULL);                        
 42         if (IS_ENABLED(CONFIG_RESET_CONTROLLER    
 43                 sun6i_reset_init();               
 44         timer_probe();                            
 45 }                                                 
 46                                                   
 47 DT_MACHINE_START(SUN6I_DT, "Allwinner sun6i (A    
 48         .init_time      = sun6i_timer_init,       
 49         .dt_compat      = sun6i_board_dt_compa    
 50 MACHINE_END                                       
 51                                                   
 52 static const char * const sun7i_board_dt_compa    
 53         "allwinner,sun7i-a20",                    
 54         NULL,                                     
 55 };                                                
 56                                                   
 57 DT_MACHINE_START(SUN7I_DT, "Allwinner sun7i (A    
 58         .dt_compat      = sun7i_board_dt_compa    
 59 MACHINE_END                                       
 60                                                   
 61 static const char * const sun8i_board_dt_compa    
 62         "allwinner,sun8i-a23",                    
 63         "allwinner,sun8i-a33",                    
 64         "allwinner,sun8i-h2-plus",                
 65         "allwinner,sun8i-h3",                     
 66         "allwinner,sun8i-r40",                    
 67         "allwinner,sun8i-v3",                     
 68         "allwinner,sun8i-v3s",                    
 69         NULL,                                     
 70 };                                                
 71                                                   
 72 DT_MACHINE_START(SUN8I_DT, "Allwinner sun8i Fa    
 73         .init_time      = sun6i_timer_init,       
 74         .dt_compat      = sun8i_board_dt_compa    
 75 MACHINE_END                                       
 76                                                   
 77 static void __init sun8i_a83t_cntvoff_init(voi    
 78 {                                                 
 79 #ifdef CONFIG_SMP                                 
 80         secure_cntvoff_init();                    
 81 #endif                                            
 82 }                                                 
 83                                                   
 84 static const char * const sun8i_a83t_cntvoff_b    
 85         "allwinner,sun8i-a83t",                   
 86         NULL,                                     
 87 };                                                
 88                                                   
 89 DT_MACHINE_START(SUN8I_A83T_CNTVOFF_DT, "Allwi    
 90         .init_early     = sun8i_a83t_cntvoff_i    
 91         .init_time      = sun6i_timer_init,       
 92         .dt_compat      = sun8i_a83t_cntvoff_b    
 93 MACHINE_END                                       
 94                                                   
 95 static const char * const sun9i_board_dt_compa    
 96         "allwinner,sun9i-a80",                    
 97         NULL,                                     
 98 };                                                
 99                                                   
100 DT_MACHINE_START(SUN9I_DT, "Allwinner sun9i Fa    
101         .dt_compat      = sun9i_board_dt_compa    
102 MACHINE_END                                       
103                                                   
104 static const char * const suniv_board_dt_compa    
105         "allwinner,suniv-f1c100s",                
106         NULL,                                     
107 };                                                
108                                                   
109 DT_MACHINE_START(SUNIV_DT, "Allwinner suniv Fa    
110         .dt_compat      = suniv_board_dt_compa    
111 MACHINE_END                                       
112                                                   

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