mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 04:06:46 +00:00 
			
		
		
		
	 46560cb105
			
		
	
	
		46560cb105
		
	
	
	
	
		
			
			This contains some hardcoded register values that were obtained from the
hardware after reading the temperature.
It does enough to test the Linux kernel driver. The FIFO mode, IRQs and
operation modes other than the default as used by Linux are not modelled.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Message-Id: <20210616073358.750472-2-joel@jms.id.au>
[ clg: - Fixed sequential reading
       - Reworked regs_reset_state array
       - Moved model under hw/sensor/ ]
Message-Id: <20210629142336.750058-4-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
		
	
			
		
			
				
	
	
		
			24 lines
		
	
	
		
			261 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			261 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| config TMP105
 | |
|     bool
 | |
|     depends on I2C
 | |
| 
 | |
| config TMP421
 | |
|     bool
 | |
|     depends on I2C
 | |
| 
 | |
| config DPS310
 | |
|     bool
 | |
|     depends on I2C
 | |
| 
 | |
| config EMC141X
 | |
|     bool
 | |
|     depends on I2C
 | |
| 
 | |
| config ADM1272
 | |
|     bool
 | |
|     depends on I2C
 | |
| 
 | |
| config MAX34451
 | |
|     bool
 | |
|     depends on I2C
 |