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

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


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 
  2 /* Copyright (C) 2017 Intel Corporation */        
  3 /* Functions to access TPS68470 power manageme    
  4                                                   
  5 #ifndef __LINUX_MFD_TPS68470_H                    
  6 #define __LINUX_MFD_TPS68470_H                    
  7                                                   
  8 /* Register addresses */                          
  9 #define TPS68470_REG_POSTDIV2           0x06      
 10 #define TPS68470_REG_BOOSTDIV           0x07      
 11 #define TPS68470_REG_BUCKDIV            0x08      
 12 #define TPS68470_REG_PLLSWR             0x09      
 13 #define TPS68470_REG_XTALDIV            0x0A      
 14 #define TPS68470_REG_PLLDIV             0x0B      
 15 #define TPS68470_REG_POSTDIV            0x0C      
 16 #define TPS68470_REG_PLLCTL             0x0D      
 17 #define TPS68470_REG_PLLCTL2            0x0E      
 18 #define TPS68470_REG_CLKCFG1            0x0F      
 19 #define TPS68470_REG_CLKCFG2            0x10      
 20 #define TPS68470_REG_GPCTL0A            0x14      
 21 #define TPS68470_REG_GPCTL0B            0x15      
 22 #define TPS68470_REG_GPCTL1A            0x16      
 23 #define TPS68470_REG_GPCTL1B            0x17      
 24 #define TPS68470_REG_GPCTL2A            0x18      
 25 #define TPS68470_REG_GPCTL2B            0x19      
 26 #define TPS68470_REG_GPCTL3A            0x1A      
 27 #define TPS68470_REG_GPCTL3B            0x1B      
 28 #define TPS68470_REG_GPCTL4A            0x1C      
 29 #define TPS68470_REG_GPCTL4B            0x1D      
 30 #define TPS68470_REG_GPCTL5A            0x1E      
 31 #define TPS68470_REG_GPCTL5B            0x1F      
 32 #define TPS68470_REG_GPCTL6A            0x20      
 33 #define TPS68470_REG_GPCTL6B            0x21      
 34 #define TPS68470_REG_SGPO               0x22      
 35 #define TPS68470_REG_GPDI               0x26      
 36 #define TPS68470_REG_GPDO               0x27      
 37 #define TPS68470_REG_VCMVAL             0x3C      
 38 #define TPS68470_REG_VAUX1VAL           0x3D      
 39 #define TPS68470_REG_VAUX2VAL           0x3E      
 40 #define TPS68470_REG_VIOVAL             0x3F      
 41 #define TPS68470_REG_VSIOVAL            0x40      
 42 #define TPS68470_REG_VAVAL              0x41      
 43 #define TPS68470_REG_VDVAL              0x42      
 44 #define TPS68470_REG_S_I2C_CTL          0x43      
 45 #define TPS68470_REG_VCMCTL             0x44      
 46 #define TPS68470_REG_VAUX1CTL           0x45      
 47 #define TPS68470_REG_VAUX2CTL           0x46      
 48 #define TPS68470_REG_VACTL              0x47      
 49 #define TPS68470_REG_VDCTL              0x48      
 50 #define TPS68470_REG_RESET              0x50      
 51 #define TPS68470_REG_REVID              0xFF      
 52                                                   
 53 #define TPS68470_REG_MAX                TPS684    
 54                                                   
 55 /* Register field definitions */                  
 56                                                   
 57 #define TPS68470_REG_RESET_MASK         GENMAS    
 58 #define TPS68470_VAVAL_AVOLT_MASK       GENMAS    
 59                                                   
 60 #define TPS68470_VDVAL_DVOLT_MASK       GENMAS    
 61 #define TPS68470_VCMVAL_VCVOLT_MASK     GENMAS    
 62 #define TPS68470_VIOVAL_IOVOLT_MASK     GENMAS    
 63 #define TPS68470_VSIOVAL_IOVOLT_MASK    GENMAS    
 64 #define TPS68470_VAUX1VAL_AUX1VOLT_MASK GENMAS    
 65 #define TPS68470_VAUX2VAL_AUX2VOLT_MASK GENMAS    
 66                                                   
 67 #define TPS68470_VACTL_EN_MASK          GENMAS    
 68 #define TPS68470_VDCTL_EN_MASK          GENMAS    
 69 #define TPS68470_VCMCTL_EN_MASK         GENMAS    
 70 #define TPS68470_S_I2C_CTL_EN_MASK      GENMAS    
 71 #define TPS68470_VAUX1CTL_EN_MASK       GENMAS    
 72 #define TPS68470_VAUX2CTL_EN_MASK       GENMAS    
 73 #define TPS68470_PLL_EN_MASK            GENMAS    
 74                                                   
 75 #define TPS68470_CLKCFG1_MODE_A_MASK    GENMAS    
 76 #define TPS68470_CLKCFG1_MODE_B_MASK    GENMAS    
 77                                                   
 78 #define TPS68470_CLKCFG2_DRV_STR_2MA    0x05      
 79 #define TPS68470_PLL_OUTPUT_ENABLE      0x02      
 80 #define TPS68470_CLK_SRC_XTAL           BIT(0)    
 81 #define TPS68470_PLLSWR_DEFAULT         GENMAS    
 82 #define TPS68470_OSC_EXT_CAP_DEFAULT    0x05      
 83                                                   
 84 #define TPS68470_OUTPUT_A_SHIFT         0x00      
 85 #define TPS68470_OUTPUT_B_SHIFT         0x02      
 86 #define TPS68470_CLK_SRC_SHIFT          GENMAS    
 87 #define TPS68470_OSC_EXT_CAP_SHIFT      BIT(2)    
 88                                                   
 89 #define TPS68470_GPIO_CTL_REG_A(x)      (TPS68    
 90 #define TPS68470_GPIO_CTL_REG_B(x)      (TPS68    
 91 #define TPS68470_GPIO_MODE_MASK         GENMAS    
 92 #define TPS68470_GPIO_MODE_IN           0         
 93 #define TPS68470_GPIO_MODE_IN_PULLUP    1         
 94 #define TPS68470_GPIO_MODE_OUT_CMOS     2         
 95 #define TPS68470_GPIO_MODE_OUT_ODRAIN   3         
 96                                                   
 97 #endif /* __LINUX_MFD_TPS68470_H */               
 98                                                   

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