summaryrefslogtreecommitdiff
path: root/drivers/iio/magnetometer/Makefile
diff options
context:
space:
mode:
authorGerald Loacker <gerald.loacker@wolfvision.net>2022-12-01 10:22:20 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-12-28 20:19:44 +0300
commit866a1389174bbb71591bb0c927f1d63e7cc469c8 (patch)
tree0d0d2476c91f29e9743e4a0c7a66ba351c628907 /drivers/iio/magnetometer/Makefile
parentfbb6d04eab99020c63810225bdbd1fa40f02e6b9 (diff)
downloadlinux-866a1389174bbb71591bb0c927f1d63e7cc469c8.tar.xz
iio: magnetometer: add ti tmag5273 driver
Add support for TI TMAG5273 Low-Power Linear 3D Hall-Effect Sensor. Additionally to temperature and magnetic X, Y and Z-axes the angle and magnitude are reported. The sensor is operating in continuous measurement mode and changes to sleep mode if not used for 5 seconds. Datasheet: https://www.ti.com/lit/gpn/tmag5273 Signed-off-by: Gerald Loacker <gerald.loacker@wolfvision.net> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20221201072220.402585-4-gerald.loacker@wolfvision.net Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/magnetometer/Makefile')
-rw-r--r--drivers/iio/magnetometer/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/magnetometer/Makefile b/drivers/iio/magnetometer/Makefile
index b9f45b7fafc3..b1c784ea71c8 100644
--- a/drivers/iio/magnetometer/Makefile
+++ b/drivers/iio/magnetometer/Makefile
@@ -29,4 +29,6 @@ obj-$(CONFIG_SENSORS_RM3100) += rm3100-core.o
obj-$(CONFIG_SENSORS_RM3100_I2C) += rm3100-i2c.o
obj-$(CONFIG_SENSORS_RM3100_SPI) += rm3100-spi.o
+obj-$(CONFIG_TI_TMAG5273) += tmag5273.o
+
obj-$(CONFIG_YAMAHA_YAS530) += yamaha-yas530.o