mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 04:06:46 +00:00 
			
		
		
		
	 4fd1ebb105
			
		
	
	
		4fd1ebb105
		
	
	
	
	
		
			
			This commit adds emulation of the magnetometer on the LSM303DLHC. It allows the magnetometer's X, Y and Z outputs to be set via the mag-x, mag-y and mag-z properties, as well as the 12-bit temperature output via the temperature property. Sensor can be enabled with 'CONFIG_LSM303DLHC_MAG=y'. Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org> Message-id: 20220130095032.35392-1-kevin.townsend@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
		
			
				
	
	
		
			28 lines
		
	
	
		
			312 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			312 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
 | |
| 
 | |
| config LSM303DLHC_MAG
 | |
|     bool
 | |
|     depends on I2C
 |