Re: [PATCH] hw/sensor: Add lsm303dlhc magnetometer device

2021-08-15 Thread Philippe Mathieu-Daudé
Hi Kevin, On 8/15/21 12:02 AM, Kevin Townsend wrote: > 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 > magn_x, magn_y and magn_z properties, as well as the 12-bit > temperature output via the temperature proper

[PATCH] hw/sensor: Add lsm303dlhc magnetometer device

2021-08-14 Thread Kevin Townsend
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 magn_x, magn_y and magn_z properties, as well as the 12-bit temperature output via the temperature property. Signed-off-by: Kevin Townsend --- hw/sensor/Kconfig