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

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-class-extcon

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/ABI/testing/sysfs-class-extcon (Version linux-6.12-rc7) and /Documentation/ABI/testing/sysfs-class-extcon (Version linux-2.6.0)


  1 What:           /sys/class/extcon/.../            
  2 Date:           February 2012                     
  3 Contact:        MyungJoo Ham <myungjoo.ham@sams    
  4 Description:                                      
  5                 Provide a place in sysfs for t    
  6                 This allows accessing extcon s    
  7                 The name of extcon object deno    
  8                 with extcon_dev_register.         
  9                                                   
 10                 One extcon device denotes a si    
 11                 port. An external connector ma    
 12                 attached simultaneously. Many     
 13                 accessory cables have such cap    
 14                 the 30-pin port of Nuri board     
 15                 may have both HDMI and Charger    
 16                 video, and USB cables attached    
 17                                                   
 18                 If there are cables mutually e    
 19                 such binary relations may be e    
 20                 mutually_exclusive array.         
 21                                                   
 22 What:           /sys/class/extcon/.../name        
 23 Date:           February 2012                     
 24 Contact:        MyungJoo Ham <myungjoo.ham@sams    
 25 Description:                                      
 26                 The /sys/class/extcon/.../name    
 27                 object. If the extcon object h    
 28                 "show_name" defined, the callb    
 29                 this sysfs node.                  
 30                                                   
 31 What:           /sys/class/extcon/.../state       
 32 Date:           February 2012                     
 33 Contact:        MyungJoo Ham <myungjoo.ham@sams    
 34 Description:                                      
 35                 The /sys/class/extcon/.../stat    
 36                 attach/detach information of t    
 37                 If the extcon object has an op    
 38                 defined, the showing function     
 39                 callback.                         
 40                                                   
 41                 If the default callback for sh    
 42                 format is like this::             
 43                                                   
 44                     # cat state                   
 45                     USB_OTG=1                     
 46                     HDMI=0                        
 47                     TA=1                          
 48                     EAR_JACK=0                    
 49                     #                             
 50                                                   
 51                 In this example, the extcon de    
 52                 cables attached and HDMI and E    
 53                                                   
 54                 In order to update the state o    
 55                 state number starting with 0x:    
 56                                                   
 57                     # echo 0xHEX > state          
 58                                                   
 59                 This updates the whole state o    
 60                 Inputs of all the methods are     
 61                 mutually_exclusive conditions     
 62                                                   
 63                 It is recommended to use this     
 64                 you need to set the value atom    
 65                 interface associated with each    
 66                 multiple cable states of an ex    
 67                                                   
 68 What:           /sys/class/extcon/.../cable.X/    
 69 Date:           February 2012                     
 70 Contact:        MyungJoo Ham <myungjoo.ham@sams    
 71 Description:                                      
 72                 The /sys/class/extcon/.../cabl    
 73                 "X" (integer between 0 and 31)    
 74                                                   
 75 What:           /sys/class/extcon/.../cable.X/    
 76 Date:           February 2012                     
 77 Contact:        MyungJoo Ham <myungjoo.ham@sams    
 78 Description:                                      
 79                 The /sys/class/extcon/.../cabl    
 80                 state of cable "X" (integer be    
 81                 device. The state value is eit    
 82                 (attached).                       
 83                                                   
 84 What:           /sys/class/extcon/.../mutually    
 85 Date:           December 2011                     
 86 Contact:        MyungJoo Ham <myungjoo.ham@sams    
 87 Description:                                      
 88                 Shows the relations of mutuall    
 89                 if the mutually_exclusive arra    
 90                 {0x3, 0x5, 0xC, 0x0}, then the    
 91                                                   
 92                     # ls mutually_exclusive/      
 93                     0x3                           
 94                     0x5                           
 95                     0xc                           
 96                     #                             
 97                                                   
 98                 Note that mutually_exclusive i    
 99                 device and the file names unde    
100                 directory show the mutually-ex    
101                 of the files.                     
                                                      

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