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

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-omap2/prm3xxx.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 /arch/arm/mach-omap2/prm3xxx.h (Version linux-6.12-rc7) and /arch/ppc/mach-omap2/prm3xxx.h (Version linux-4.14.336)


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 
  2 /*                                                
  3  * OMAP3xxx Power/Reset Management (PRM) regis    
  4  *                                                
  5  * Copyright (C) 2007-2009, 2011-2012 Texas In    
  6  * Copyright (C) 2008-2010 Nokia Corporation      
  7  * Paul Walmsley                                  
  8  *                                                
  9  * The PRM hardware modules on the OMAP2/3 are    
 10  * other.  The PRM on OMAP4 has a new register    
 11  * in a separate file.                            
 12  */                                               
 13 #ifndef __ARCH_ARM_MACH_OMAP2_PRM3XXX_H           
 14 #define __ARCH_ARM_MACH_OMAP2_PRM3XXX_H           
 15                                                   
 16 #include "prcm-common.h"                          
 17 #include "prm.h"                                  
 18 #include "prm2xxx_3xxx.h"                         
 19                                                   
 20 #define OMAP34XX_PRM_REGADDR(module, reg)         
 21                 OMAP2_L4_IO_ADDRESS(OMAP3430_P    
 22                                                   
 23                                                   
 24 /*                                                
 25  * OMAP3-specific global PRM registers            
 26  * Use {read,write}l_relaxed() with these regi    
 27  *                                                
 28  * With a few exceptions, these are the regist    
 29  * PRM_* on 34xx.  (The exceptions are the IRQ    
 30  * bits.)                                         
 31  */                                               
 32                                                   
 33 #define OMAP3_PRM_REVISION_OFFSET       0x0004    
 34 #define OMAP3430_PRM_REVISION           OMAP34    
 35 #define OMAP3_PRM_SYSCONFIG_OFFSET      0x0014    
 36 #define OMAP3430_PRM_SYSCONFIG          OMAP34    
 37                                                   
 38 #define OMAP3_PRM_IRQSTATUS_MPU_OFFSET  0x0018    
 39 #define OMAP3430_PRM_IRQSTATUS_MPU      OMAP34    
 40 #define OMAP3_PRM_IRQENABLE_MPU_OFFSET  0x001c    
 41 #define OMAP3430_PRM_IRQENABLE_MPU      OMAP34    
 42                                                   
 43                                                   
 44 #define OMAP3_PRM_VC_SMPS_SA_OFFSET     0x0020    
 45 #define OMAP3430_PRM_VC_SMPS_SA         OMAP34    
 46 #define OMAP3_PRM_VC_SMPS_VOL_RA_OFFSET 0x0024    
 47 #define OMAP3430_PRM_VC_SMPS_VOL_RA     OMAP34    
 48 #define OMAP3_PRM_VC_SMPS_CMD_RA_OFFSET 0x0028    
 49 #define OMAP3430_PRM_VC_SMPS_CMD_RA     OMAP34    
 50 #define OMAP3_PRM_VC_CMD_VAL_0_OFFSET   0x002c    
 51 #define OMAP3430_PRM_VC_CMD_VAL_0       OMAP34    
 52 #define OMAP3_PRM_VC_CMD_VAL_1_OFFSET   0x0030    
 53 #define OMAP3430_PRM_VC_CMD_VAL_1       OMAP34    
 54 #define OMAP3_PRM_VC_CH_CONF_OFFSET     0x0034    
 55 #define OMAP3430_PRM_VC_CH_CONF         OMAP34    
 56 #define OMAP3_PRM_VC_I2C_CFG_OFFSET     0x0038    
 57 #define OMAP3430_PRM_VC_I2C_CFG         OMAP34    
 58 #define OMAP3_PRM_VC_BYPASS_VAL_OFFSET  0x003c    
 59 #define OMAP3430_PRM_VC_BYPASS_VAL      OMAP34    
 60 #define OMAP3_PRM_RSTCTRL_OFFSET        0x0050    
 61 #define OMAP3430_PRM_RSTCTRL            OMAP34    
 62 #define OMAP3_PRM_RSTTIME_OFFSET        0x0054    
 63 #define OMAP3430_PRM_RSTTIME            OMAP34    
 64 #define OMAP3_PRM_RSTST_OFFSET  0x0058            
 65 #define OMAP3430_PRM_RSTST              OMAP34    
 66 #define OMAP3_PRM_VOLTCTRL_OFFSET       0x0060    
 67 #define OMAP3430_PRM_VOLTCTRL           OMAP34    
 68 #define OMAP3_PRM_SRAM_PCHARGE_OFFSET   0x0064    
 69 #define OMAP3430_PRM_SRAM_PCHARGE       OMAP34    
 70 #define OMAP3_PRM_CLKSRC_CTRL_OFFSET    0x0070    
 71 #define OMAP3430_PRM_CLKSRC_CTRL        OMAP34    
 72 #define OMAP3_PRM_VOLTSETUP1_OFFSET     0x0090    
 73 #define OMAP3430_PRM_VOLTSETUP1         OMAP34    
 74 #define OMAP3_PRM_VOLTOFFSET_OFFSET     0x0094    
 75 #define OMAP3430_PRM_VOLTOFFSET         OMAP34    
 76 #define OMAP3_PRM_CLKSETUP_OFFSET       0x0098    
 77 #define OMAP3430_PRM_CLKSETUP           OMAP34    
 78 #define OMAP3_PRM_POLCTRL_OFFSET        0x009c    
 79 #define OMAP3430_PRM_POLCTRL            OMAP34    
 80 #define OMAP3_PRM_VOLTSETUP2_OFFSET     0x00a0    
 81 #define OMAP3430_PRM_VOLTSETUP2         OMAP34    
 82 #define OMAP3_PRM_VP1_CONFIG_OFFSET     0x00b0    
 83 #define OMAP3430_PRM_VP1_CONFIG         OMAP34    
 84 #define OMAP3_PRM_VP1_VSTEPMIN_OFFSET   0x00b4    
 85 #define OMAP3430_PRM_VP1_VSTEPMIN       OMAP34    
 86 #define OMAP3_PRM_VP1_VSTEPMAX_OFFSET   0x00b8    
 87 #define OMAP3430_PRM_VP1_VSTEPMAX       OMAP34    
 88 #define OMAP3_PRM_VP1_VLIMITTO_OFFSET   0x00bc    
 89 #define OMAP3430_PRM_VP1_VLIMITTO       OMAP34    
 90 #define OMAP3_PRM_VP1_VOLTAGE_OFFSET    0x00c0    
 91 #define OMAP3430_PRM_VP1_VOLTAGE        OMAP34    
 92 #define OMAP3_PRM_VP1_STATUS_OFFSET     0x00c4    
 93 #define OMAP3430_PRM_VP1_STATUS         OMAP34    
 94 #define OMAP3_PRM_VP2_CONFIG_OFFSET     0x00d0    
 95 #define OMAP3430_PRM_VP2_CONFIG         OMAP34    
 96 #define OMAP3_PRM_VP2_VSTEPMIN_OFFSET   0x00d4    
 97 #define OMAP3430_PRM_VP2_VSTEPMIN       OMAP34    
 98 #define OMAP3_PRM_VP2_VSTEPMAX_OFFSET   0x00d8    
 99 #define OMAP3430_PRM_VP2_VSTEPMAX       OMAP34    
100 #define OMAP3_PRM_VP2_VLIMITTO_OFFSET   0x00dc    
101 #define OMAP3430_PRM_VP2_VLIMITTO       OMAP34    
102 #define OMAP3_PRM_VP2_VOLTAGE_OFFSET    0x00e0    
103 #define OMAP3430_PRM_VP2_VOLTAGE        OMAP34    
104 #define OMAP3_PRM_VP2_STATUS_OFFSET     0x00e4    
105 #define OMAP3430_PRM_VP2_STATUS         OMAP34    
106                                                   
107 #define OMAP3_PRM_CLKSEL_OFFSET 0x0040            
108 #define OMAP3430_PRM_CLKSEL             OMAP34    
109 #define OMAP3_PRM_CLKOUT_CTRL_OFFSET    0x0070    
110 #define OMAP3430_PRM_CLKOUT_CTRL        OMAP34    
111                                                   
112 /* OMAP3 specific register offsets */             
113 #define OMAP3430ES2_PM_WKEN3                      
114 #define OMAP3430ES2_PM_WKST3                      
115                                                   
116 #define OMAP3430_PM_MPUGRPSEL                     
117 #define OMAP3430_PM_MPUGRPSEL1                    
118 #define OMAP3430ES2_PM_MPUGRPSEL3                 
119                                                   
120 #define OMAP3430_PM_IVAGRPSEL                     
121 #define OMAP3430_PM_IVAGRPSEL1                    
122 #define OMAP3430ES2_PM_IVAGRPSEL3                 
123                                                   
124 #define OMAP3430_PM_PREPWSTST                     
125                                                   
126 #define OMAP3430_PRM_IRQSTATUS_IVA2               
127 #define OMAP3430_PRM_IRQENABLE_IVA2               
128                                                   
129                                                   
130 #ifndef __ASSEMBLER__                             
131                                                   
132 /*                                                
133  * OMAP3 access functions for voltage controll    
134  * voltage proccessor (VP) in the PRM.            
135  */                                               
136 extern u32 omap3_prm_vcvp_read(u8 offset);        
137 extern void omap3_prm_vcvp_write(u32 val, u8 o    
138 extern u32 omap3_prm_vcvp_rmw(u32 mask, u32 bi    
139                                                   
140 int __init omap3xxx_prm_init(const struct omap    
141 int omap3xxx_prm_clear_global_cold_reset(void)    
142 void omap3_prm_save_scratchpad_contents(u32 *p    
143 void omap3_prm_init_pm(bool has_uart4, bool ha    
144                                                   
145 #endif /* __ASSEMBLER */                          
146                                                   
147                                                   
148 #endif                                            
149                                                   

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