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

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


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 
  2 /*                                                
  3  * Maxim MAX77714 Register and data structures    
  4  *                                                
  5  * Copyright (C) 2022 Luca Ceresoli               
  6  * Author: Luca Ceresoli <luca.ceresoli@bootli    
  7  */                                               
  8                                                   
  9 #ifndef __LINUX_MFD_MAX77714_H_                   
 10 #define __LINUX_MFD_MAX77714_H_                   
 11                                                   
 12 #include <linux/bits.h>                           
 13                                                   
 14 #define MAX77714_INT_TOP        0x00              
 15 #define MAX77714_INT_TOPM       0x07 /* Datash    
 16                                                   
 17 #define MAX77714_INT_TOP_ONOFF          BIT(1)    
 18 #define MAX77714_INT_TOP_RTC            BIT(3)    
 19 #define MAX77714_INT_TOP_GPIO           BIT(4)    
 20 #define MAX77714_INT_TOP_LDO            BIT(5)    
 21 #define MAX77714_INT_TOP_SD             BIT(6)    
 22 #define MAX77714_INT_TOP_GLBL           BIT(7)    
 23                                                   
 24 #define MAX77714_32K_STATUS     0x30              
 25 #define MAX77714_32K_STATUS_SIOSCOK     BIT(5)    
 26 #define MAX77714_32K_STATUS_XOSCOK      BIT(4)    
 27 #define MAX77714_32K_STATUS_32KSOURCE   BIT(3)    
 28 #define MAX77714_32K_STATUS_32KLOAD_MSK 0x3       
 29 #define MAX77714_32K_STATUS_32KLOAD_SHF 1         
 30 #define MAX77714_32K_STATUS_CRYSTAL_CFG BIT(0)    
 31                                                   
 32 #define MAX77714_32K_CONFIG     0x31              
 33 #define MAX77714_32K_CONFIG_XOSC_RETRY  BIT(4)    
 34                                                   
 35 #define MAX77714_CNFG_GLBL2     0x91              
 36 #define MAX77714_WDTEN                  BIT(2)    
 37 #define MAX77714_WDTSLPC                BIT(3)    
 38 #define MAX77714_TWD_MASK               0x3       
 39 #define MAX77714_TWD_2s                 0x0       
 40 #define MAX77714_TWD_16s                0x1       
 41 #define MAX77714_TWD_64s                0x2       
 42 #define MAX77714_TWD_128s               0x3       
 43                                                   
 44 #define MAX77714_CNFG_GLBL3     0x92              
 45 #define MAX77714_WDTC                   BIT(0)    
 46                                                   
 47 #define MAX77714_CNFG2_ONOFF    0x94              
 48 #define MAX77714_WD_RST_WK              BIT(5)    
 49                                                   
 50 /* Interrupts */                                  
 51 enum {                                            
 52         MAX77714_IRQ_TOP_ONOFF,                   
 53         MAX77714_IRQ_TOP_RTC,           /* Rea    
 54         MAX77714_IRQ_TOP_GPIO,          /* GPI    
 55         MAX77714_IRQ_TOP_LDO,           /* Low    
 56         MAX77714_IRQ_TOP_SD,            /* Ste    
 57         MAX77714_IRQ_TOP_GLBL,          /* "Gl    
 58 };                                                
 59                                                   
 60 #endif /* __LINUX_MFD_MAX77714_H_ */              
 61                                                   

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