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

TOMOYO Linux Cross Reference
Linux/include/linux/mfd/max77541.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 /include/linux/mfd/max77541.h (Version linux-6.12-rc7) and /include/linux/mfd/max77541.h (Version linux-5.17.15)


  1 /* SPDX-License-Identifier: GPL-2.0-or-later *      1 
  2                                                   
  3 #ifndef __MFD_MAX77541_H                          
  4 #define __MFD_MAX77541_H                          
  5                                                   
  6 #include <linux/bits.h>                           
  7 #include <linux/types.h>                          
  8                                                   
  9 /* REGISTERS */                                   
 10 #define MAX77541_REG_INT_SRC                      
 11 #define MAX77541_REG_INT_SRC_M                    
 12                                                   
 13 #define MAX77541_BIT_INT_SRC_TOPSYS               
 14 #define MAX77541_BIT_INT_SRC_BUCK                 
 15                                                   
 16 #define MAX77541_REG_TOPSYS_INT                   
 17 #define MAX77541_REG_TOPSYS_INT_M                 
 18                                                   
 19 #define MAX77541_BIT_TOPSYS_INT_TJ_120C           
 20 #define MAX77541_BIT_TOPSYS_INT_TJ_140C           
 21 #define MAX77541_BIT_TOPSYS_INT_TSHDN             
 22 #define MAX77541_BIT_TOPSYS_INT_UVLO              
 23 #define MAX77541_BIT_TOPSYS_INT_ALT_SWO           
 24 #define MAX77541_BIT_TOPSYS_INT_EXT_FREQ_DET      
 25                                                   
 26 /* REGULATORS */                                  
 27 #define MAX77541_REG_BUCK_INT                     
 28 #define MAX77541_REG_BUCK_INT_M                   
 29                                                   
 30 #define MAX77541_BIT_BUCK_INT_M1_POK_FLT          
 31 #define MAX77541_BIT_BUCK_INT_M2_POK_FLT          
 32 #define MAX77541_BIT_BUCK_INT_M1_SCFLT            
 33 #define MAX77541_BIT_BUCK_INT_M2_SCFLT            
 34                                                   
 35 #define MAX77541_REG_EN_CTRL                      
 36                                                   
 37 #define MAX77541_BIT_M1_EN                        
 38 #define MAX77541_BIT_M2_EN                        
 39                                                   
 40 #define MAX77541_REG_M1_VOUT                      
 41 #define MAX77541_REG_M2_VOUT                      
 42                                                   
 43 #define MAX77541_BITS_MX_VOUT                     
 44                                                   
 45 #define MAX77541_REG_M1_CFG1                      
 46 #define MAX77541_REG_M2_CFG1                      
 47                                                   
 48 #define MAX77541_BITS_MX_CFG1_RNG                 
 49                                                   
 50 /* ADC */                                         
 51 #define MAX77541_REG_ADC_INT                      
 52 #define MAX77541_REG_ADC_INT_M                    
 53                                                   
 54 #define MAX77541_BIT_ADC_INT_CH1_I                
 55 #define MAX77541_BIT_ADC_INT_CH2_I                
 56 #define MAX77541_BIT_ADC_INT_CH3_I                
 57 #define MAX77541_BIT_ADC_INT_CH6_I                
 58                                                   
 59 #define MAX77541_REG_ADC_DATA_CH1                 
 60 #define MAX77541_REG_ADC_DATA_CH2                 
 61 #define MAX77541_REG_ADC_DATA_CH3                 
 62 #define MAX77541_REG_ADC_DATA_CH6                 
 63                                                   
 64 /* INTERRUPT MASKS*/                              
 65 #define MAX77541_REG_INT_SRC_MASK                 
 66 #define MAX77541_REG_TOPSYS_INT_MASK              
 67 #define MAX77541_REG_BUCK_INT_MASK                
 68                                                   
 69 #define MAX77541_MAX_REGULATORS 2                 
 70                                                   
 71 enum max7754x_ids {                               
 72         MAX77540 = 1,                             
 73         MAX77541,                                 
 74 };                                                
 75                                                   
 76 struct regmap;                                    
 77 struct regmap_irq_chip_data;                      
 78 struct i2c_client;                                
 79                                                   
 80 struct max77541 {                                 
 81         struct i2c_client *i2c;                   
 82         struct regmap *regmap;                    
 83         enum max7754x_ids id;                     
 84                                                   
 85         struct regmap_irq_chip_data *irq_data;    
 86         struct regmap_irq_chip_data *irq_buck;    
 87         struct regmap_irq_chip_data *irq_topsy    
 88         struct regmap_irq_chip_data *irq_adc;     
 89 };                                                
 90                                                   
 91 #endif /* __MFD_MAX77541_H */                     
 92                                                   

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