summaryrefslogtreecommitdiff
path: root/drivers/iio/magnetometer
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/magnetometer')
-rw-r--r--drivers/iio/magnetometer/st_magn_core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/iio/magnetometer/st_magn_core.c b/drivers/iio/magnetometer/st_magn_core.c
index 8745686f233c..72f6d1335a04 100644
--- a/drivers/iio/magnetometer/st_magn_core.c
+++ b/drivers/iio/magnetometer/st_magn_core.c
@@ -322,6 +322,10 @@ static const struct st_sensor_settings st_magn_sensors_settings[] = {
.mask = 0x07,
},
},
+ .sim = {
+ .addr = 0x22,
+ .value = BIT(2),
+ },
.multi_read_bit = true,
.bootime = 2,
},