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

2022-02-10 Thread Philippe Mathieu-Daudé via
Hi Kevin, On 30/1/22 10:50, 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 mag-x, mag-y and mag-z properties, as well as the 12-bit temperature output via the temperature property. Sensor

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

2022-02-07 Thread Peter Maydell
On Sun, 30 Jan 2022 at 09:53, 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 > mag-x, mag-y and mag-z properties, as well as the 12-bit > temperature output via the temperature

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

2022-01-30 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 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'.