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

TOMOYO Linux Cross Reference
Linux/Documentation/misc-devices/tps6594-pfsm.rst

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 /Documentation/misc-devices/tps6594-pfsm.rst (Version linux-6.12-rc7) and /Documentation/misc-devices/tps6594-pfsm.rst (Version linux-5.4.285)


  1 .. SPDX-License-Identifier: GPL-2.0               
  2                                                   
  3 =====================================             
  4 Texas Instruments TPS6594 PFSM driver             
  5 =====================================             
  6                                                   
  7 Author: Julien Panis (jpanis@baylibre.com)        
  8                                                   
  9 Overview                                          
 10 ========                                          
 11                                                   
 12 Strictly speaking, PFSM (Pre-configurable Fini    
 13 hardware. It is a piece of code.                  
 14                                                   
 15 The TPS6594 PMIC (Power Management IC) integra    
 16 manages operational modes. Depending on the cu    
 17 some voltage domains remain energized while ot    
 18                                                   
 19 The PFSM driver can be used to trigger transit    
 20 states. It also provides R/W access to the dev    
 21                                                   
 22 Supported chips                                   
 23 ---------------                                   
 24                                                   
 25 - tps6594-q1                                      
 26 - tps6593-q1                                      
 27 - lp8764-q1                                       
 28                                                   
 29 Driver location                                   
 30 ===============                                   
 31                                                   
 32 drivers/misc/tps6594-pfsm.c                       
 33                                                   
 34 Driver type definitions                           
 35 =======================                           
 36                                                   
 37 include/uapi/linux/tps6594_pfsm.h                 
 38                                                   
 39 Driver IOCTLs                                     
 40 =============                                     
 41                                                   
 42 :c:macro::`PMIC_GOTO_STANDBY`                     
 43 All device resources are powered down. The pro    
 44 no voltage domains are energized.                 
 45                                                   
 46 :c:macro::`PMIC_GOTO_LP_STANDBY`                  
 47 The digital and analog functions of the PMIC,     
 48 required to be always-on, are turned off (low-    
 49                                                   
 50 :c:macro::`PMIC_UPDATE_PGM`                       
 51 Triggers a firmware update.                       
 52                                                   
 53 :c:macro::`PMIC_SET_ACTIVE_STATE`                 
 54 One of the operational modes.                     
 55 The PMICs are fully functional and supply powe    
 56 All voltage domains are energized in both MCU     
 57 sections.                                         
 58                                                   
 59 :c:macro::`PMIC_SET_MCU_ONLY_STATE`               
 60 One of the operational modes.                     
 61 Only the power resources assigned to the MCU S    
 62                                                   
 63 :c:macro::`PMIC_SET_RETENTION_STATE`              
 64 One of the operational modes.                     
 65 Depending on the triggers set, some DDR/GPIO v    
 66 remain energized, while all other domains are     
 67 total system power.                               
 68                                                   
 69 Driver usage                                      
 70 ============                                      
 71                                                   
 72 See available PFSMs::                             
 73                                                   
 74     # ls /dev/pfsm*                               
 75                                                   
 76 Dump the registers of pages 0 and 1::             
 77                                                   
 78     # hexdump -C /dev/pfsm-0-0x48                 
 79                                                   
 80 See PFSM events::                                 
 81                                                   
 82     # cat /proc/interrupts                        
 83                                                   
 84 Userspace code example                            
 85 ----------------------                            
 86                                                   
 87 samples/pfsm/pfsm-wakeup.c                        
                                                      

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