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

TOMOYO Linux Cross Reference
Linux/Documentation/iio/ad4000.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/iio/ad4000.rst (Version linux-6.12-rc7) and /Documentation/iio/ad4000.rst (Version linux-4.13.16)


  1 .. SPDX-License-Identifier: GPL-2.0-only          
  2                                                   
  3 =============                                     
  4 AD4000 driver                                     
  5 =============                                     
  6                                                   
  7 Device driver for Analog Devices Inc. AD4000 s    
  8                                                   
  9 Supported devices                                 
 10 =================                                 
 11                                                   
 12 * `AD4000 <https://www.analog.com/AD4000>`_       
 13 * `AD4001 <https://www.analog.com/AD4001>`_       
 14 * `AD4002 <https://www.analog.com/AD4002>`_       
 15 * `AD4003 <https://www.analog.com/AD4003>`_       
 16 * `AD4004 <https://www.analog.com/AD4004>`_       
 17 * `AD4005 <https://www.analog.com/AD4005>`_       
 18 * `AD4006 <https://www.analog.com/AD4006>`_       
 19 * `AD4007 <https://www.analog.com/AD4007>`_       
 20 * `AD4008 <https://www.analog.com/AD4008>`_       
 21 * `AD4010 <https://www.analog.com/AD4010>`_       
 22 * `AD4011 <https://www.analog.com/AD4011>`_       
 23 * `AD4020 <https://www.analog.com/AD4020>`_       
 24 * `AD4021 <https://www.analog.com/AD4021>`_       
 25 * `AD4022 <https://www.analog.com/AD4022>`_       
 26 * `ADAQ4001 <https://www.analog.com/ADAQ4001>`    
 27 * `ADAQ4003 <https://www.analog.com/ADAQ4003>`    
 28                                                   
 29 Wiring connections                                
 30 ------------------                                
 31                                                   
 32 Devices of the AD4000 series can be connected     
 33 few different modes.                              
 34                                                   
 35 CS mode, 3-wire turbo mode                        
 36 ^^^^^^^^^^^^^^^^^^^^^^^^^^                        
 37                                                   
 38 Datasheet "3-wire" mode is what most resembles    
 39 for these devices, comprises of connecting the    
 40 pin and other SPI lines as usual. This configu    
 41 "CS Mode, 3-Wire Turbo Mode" connection in dat    
 42 NOTE: The datasheet definition of 3-wire mode     
 43 same of standard spi-3wire mode.                  
 44 This is the only connection mode that allows c    
 45 it requires the SPI controller to support the     
 46                                                   
 47 Omit the ``adi,sdi-pin`` property in device tr    
 48                                                   
 49 ::                                                
 50                                                   
 51                                          +----    
 52      + ----------------------------------| SDO    
 53      |                                   |        
 54      |               +-------------------| CS     
 55      |               v                   |        
 56      |    +--------------------+         |        
 57      |    |        CNV         |         |        
 58      +--->| SDI   AD4000   SDO |-------->| SDI    
 59           |        SCK         |         |        
 60           +--------------------+         |        
 61                     ^                    |        
 62                     +--------------------| SCL    
 63                                          +----    
 64                                                   
 65 CS mode, 3-wire, without busy indicator           
 66 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^           
 67                                                   
 68 Another wiring configuration supported as "3-w    
 69 hard-wired to digital input/output interface s    
 70 controller is not required to support ``SPI_MO    
 71 is not possible. This connection mode saves on    
 72 controller.                                       
 73                                                   
 74 Set the ``adi,sdi-pin`` device tree property t    
 75                                                   
 76 ::                                                
 77                                                   
 78                                          +----    
 79                     +--------------------| CS     
 80                     v                    |        
 81     VIO   +--------------------+         |        
 82      |    |        CNV         |         |        
 83      +--->| SDI   AD4000   SDO |-------->| SDI    
 84           |        SCK         |         |        
 85           +--------------------+         |        
 86                     ^                    |        
 87                     +--------------------| SCL    
 88                                          +----    
 89                                                   
 90 Alternatively, a GPIO may be connected to the     
 91 the previous wiring configuration but saves th    
 92                                                   
 93 ::                                                
 94                                                   
 95                                          +----    
 96                     +--------------------| GPI    
 97                     v                    |        
 98     VIO   +--------------------+         |        
 99      |    |        CNV         |         |        
100      +--->| SDI   AD4000   SDO |-------->| SDI    
101           |        SCK         |         |        
102           +--------------------+         |        
103                     ^                    |        
104                     +--------------------| SCL    
105                                          +----    
106                                                   
107 CS mode, 4-wire without busy indicator            
108 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^            
109                                                   
110 In datasheet "4-wire" mode, the controller CS     
111 pin and a GPIO is connected to the ADC CNV pin    
112 suit scenarios where multiple ADCs can share o    
113                                                   
114 Set ``adi,sdi-pin`` to ``"cs"`` to select this    
115                                                   
116                                                   
117 ::                                                
118                                                   
119                                          +----    
120      + ----------------------------------| CS     
121      |                                   |        
122      |               +-------------------| GPI    
123      |               v                   |        
124      |    +--------------------+         |        
125      |    |        CNV         |         |        
126      +--->| SDI   AD4000   SDO |-------->| SDI    
127           |        SCK         |         |        
128           +--------------------+         |        
129                     ^                    |        
130                     +--------------------| SCL    
131                                          +----    
                                                      

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