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

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


** Warning: Cannot open xref database.

  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 
  2 /*                                                
  3  * Copyright (C) 2015 Texas Instruments Incorp    
  4  *      Andrew F. Davis <afd@ti.com>              
  5  *                                                
  6  * Based on the TPS65912 driver                   
  7  */                                               
  8                                                   
  9 #ifndef __LINUX_MFD_TPS65086_H                    
 10 #define __LINUX_MFD_TPS65086_H                    
 11                                                   
 12 #include <linux/device.h>                         
 13 #include <linux/regmap.h>                         
 14                                                   
 15 /* List of registers for TPS65086 */              
 16 #define TPS65086_DEVICEID1              0x00      
 17 #define TPS65086_DEVICEID2              0x01      
 18 #define TPS65086_IRQ            0x02              
 19 #define TPS65086_IRQ_MASK               0x03      
 20 #define TPS65086_PMICSTAT               0x04      
 21 #define TPS65086_SHUTDNSRC              0x05      
 22 #define TPS65086_BUCK1CTRL              0x20      
 23 #define TPS65086_BUCK2CTRL              0x21      
 24 #define TPS65086_BUCK3DECAY             0x22      
 25 #define TPS65086_BUCK3VID               0x23      
 26 #define TPS65086_BUCK3SLPCTRL           0x24      
 27 #define TPS65086_BUCK4CTRL              0x25      
 28 #define TPS65086_BUCK5CTRL              0x26      
 29 #define TPS65086_BUCK6CTRL              0x27      
 30 #define TPS65086_LDOA2CTRL              0x28      
 31 #define TPS65086_LDOA3CTRL              0x29      
 32 #define TPS65086_DISCHCTRL1             0x40      
 33 #define TPS65086_DISCHCTRL2             0x41      
 34 #define TPS65086_DISCHCTRL3             0x42      
 35 #define TPS65086_PG_DELAY1              0x43      
 36 #define TPS65086_FORCESHUTDN            0x91      
 37 #define TPS65086_BUCK1SLPCTRL           0x92      
 38 #define TPS65086_BUCK2SLPCTRL           0x93      
 39 #define TPS65086_BUCK4VID               0x94      
 40 #define TPS65086_BUCK4SLPVID            0x95      
 41 #define TPS65086_BUCK5VID               0x96      
 42 #define TPS65086_BUCK5SLPVID            0x97      
 43 #define TPS65086_BUCK6VID               0x98      
 44 #define TPS65086_BUCK6SLPVID            0x99      
 45 #define TPS65086_LDOA2VID               0x9A      
 46 #define TPS65086_LDOA3VID               0x9B      
 47 #define TPS65086_BUCK123CTRL            0x9C      
 48 #define TPS65086_PG_DELAY2              0x9D      
 49 #define TPS65086_PIN_EN_MASK1           0x9E      
 50 #define TPS65086_PIN_EN_MASK2           0x9F      
 51 #define TPS65086_SWVTT_EN               0x9F      
 52 #define TPS65086_PIN_EN_OVR1            0xA0      
 53 #define TPS65086_PIN_EN_OVR2            0xA1      
 54 #define TPS65086_GPOCTRL                0xA1      
 55 #define TPS65086_PWR_FAULT_MASK1        0xA2      
 56 #define TPS65086_PWR_FAULT_MASK2        0xA3      
 57 #define TPS65086_GPO1PG_CTRL1           0xA4      
 58 #define TPS65086_GPO1PG_CTRL2           0xA5      
 59 #define TPS65086_GPO4PG_CTRL1           0xA6      
 60 #define TPS65086_GPO4PG_CTRL2           0xA7      
 61 #define TPS65086_GPO2PG_CTRL1           0xA8      
 62 #define TPS65086_GPO2PG_CTRL2           0xA9      
 63 #define TPS65086_GPO3PG_CTRL1           0xAA      
 64 #define TPS65086_GPO3PG_CTRL2           0xAB      
 65 #define TPS65086_LDOA1CTRL              0xAE      
 66 #define TPS65086_PG_STATUS1             0xB0      
 67 #define TPS65086_PG_STATUS2             0xB1      
 68 #define TPS65086_PWR_FAULT_STATUS1      0xB2      
 69 #define TPS65086_PWR_FAULT_STATUS2      0xB3      
 70 #define TPS65086_TEMPCRIT               0xB4      
 71 #define TPS65086_TEMPHOT                0xB5      
 72 #define TPS65086_OC_STATUS              0xB6      
 73                                                   
 74 /* IRQ Register field definitions */              
 75 #define TPS65086_IRQ_DIETEMP_MASK       BIT(0)    
 76 #define TPS65086_IRQ_SHUTDN_MASK        BIT(3)    
 77 #define TPS65086_IRQ_FAULT_MASK         BIT(7)    
 78                                                   
 79 /* DEVICEID1 Register field definitions */        
 80 #define TPS6508640_ID                   0x00      
 81 #define TPS65086401_ID                  0x01      
 82 #define TPS6508641_ID                   0x10      
 83 #define TPS65086470_ID                  0x70      
 84                                                   
 85 /* DEVICEID2 Register field definitions */        
 86 #define TPS65086_DEVICEID2_PART_MASK    GENMAS    
 87 #define TPS65086_DEVICEID2_OTP_MASK     GENMAS    
 88 #define TPS65086_DEVICEID2_REV_MASK     GENMAS    
 89                                                   
 90 /* VID Masks */                                   
 91 #define BUCK_VID_MASK                   GENMAS    
 92 #define VDOA1_VID_MASK                  GENMAS    
 93 #define VDOA23_VID_MASK                 GENMAS    
 94                                                   
 95 /* Define the TPS65086 IRQ numbers */             
 96 enum tps65086_irqs {                              
 97         TPS65086_IRQ_DIETEMP,                     
 98         TPS65086_IRQ_SHUTDN,                      
 99         TPS65086_IRQ_FAULT,                       
100 };                                                
101                                                   
102 struct tps65086_regulator_config;                 
103                                                   
104 /**                                               
105  * struct tps65086 - state holder for the tps6    
106  *                                                
107  * Device data may be used to access the TPS65    
108  */                                               
109 struct tps65086 {                                 
110         struct device *dev;                       
111         struct regmap *regmap;                    
112         unsigned int chip_id;                     
113         const struct tps65086_regulator_config    
114                                                   
115         /* IRQ Data */                            
116         int irq;                                  
117         struct regmap_irq_chip_data *irq_data;    
118 };                                                
119                                                   
120 #endif /* __LINUX_MFD_TPS65086_H */               
121                                                   

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