linux/drivers/iio/magnetometer
Neil Armstrong 3c9b6fd741 iio: magnetometer: add Allegro MicroSystems ALS31300 3-D Linear Hall Effect driver
The Allegro MicroSystems ALS31300 is a 3-D Linear Hall Effect Sensor
mainly used for 3D head-on motion sensing applications.

The device is configured over I2C, and as part of the Sensor data the
temperature core is also provided.

While the device provides an IRQ gpio, it depends on a configuration
programmed into the internal EEPROM, thus only the default mode is
supported and buffered input via trigger is also supported to allow
streaming values with the same sensing timestamp.

The device can be configured with different sensitivities in factory,
but the sensitivity value used to calculate value into the Gauss
unit is not available from registers, thus the sensitivity is provided
by the compatible/device-id string which is based on the part number
as described in the datasheet page 2.

Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20241030-topic-input-upstream-als31300-v4-3-494297c9e50a@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-11-03 20:33:44 +00:00
..
af8133j.c iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-27 09:48:57 +01:00
ak8974.c iio: magn: ak8974: use irq_get_trigger_type() 2024-09-30 09:20:59 +01:00
ak8975.c iio: magnetometer: ak8975: Add AK09118 support 2024-09-03 18:49:43 +01:00
als31300.c iio: magnetometer: add Allegro MicroSystems ALS31300 3-D Linear Hall Effect driver 2024-11-03 20:33:44 +00:00
bmc150_magn_i2c.c iio: magnetometer: bmc150_magn: Drop most likely fake ACPI IDs 2024-10-21 19:19:24 +01:00
bmc150_magn_spi.c iio: magnetometer: bmc150_magn: Drop most likely fake ACPI IDs 2024-10-21 19:19:24 +01:00
bmc150_magn.c iio: magnetometer: bmc150: Drop dead code from the driver 2024-10-28 20:04:11 +00:00
bmc150_magn.h iio:magnetometer:mbc150: Make bmc150_magn_remove() return void 2022-06-11 14:35:27 +01:00
hid-sensor-magn-3d.c iio: Switch back to struct platform_driver::remove() 2024-10-10 19:31:50 +01:00
hmc5843_core.c iio: magn: hmc5843: Move struct dev_pm_ops out of header 2022-08-15 22:30:02 +01:00
hmc5843_i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
hmc5843_spi.c iio: magn: hmc5843: Move struct dev_pm_ops out of header 2022-08-15 22:30:02 +01:00
hmc5843.h iio: magn: hmc5843: Move struct dev_pm_ops out of header 2022-08-15 22:30:02 +01:00
Kconfig iio: magnetometer: add Allegro MicroSystems ALS31300 3-D Linear Hall Effect driver 2024-11-03 20:33:44 +00:00
mag3110.c iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-27 09:48:57 +01:00
Makefile iio: magnetometer: add Allegro MicroSystems ALS31300 3-D Linear Hall Effect driver 2024-11-03 20:33:44 +00:00
mmc35240.c iio: magnetometer: mmc35240: make use of regmap_set_bits() 2024-06-25 21:04:47 +01:00
rm3100-core.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
rm3100-i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
rm3100-spi.c iio:magnetometer:rm3100: Move exports to IIO_RM3100 namespace 2022-02-18 11:42:27 +00:00
rm3100.h iio: magnetometer: Add driver support for PNI RM3100 2018-11-16 18:32:31 +00:00
st_magn_buffer.c iio:st-sensors: Remove duplicate MODULE_* 2022-02-18 11:36:54 +00:00
st_magn_core.c iio: magnetometer: st_accel: Add LSM303D 2023-05-13 17:56:04 +01:00
st_magn_i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
st_magn_spi.c iio: magnetometer: st_magn: Add LSM303C 2023-01-08 13:01:02 +00:00
st_magn.h iio: magnetometer: st_magn: Add LSM303C 2023-01-08 13:01:02 +00:00
tmag5273.c iio: tmag5273: Remove some unused field in struct tmag5273_data 2024-05-27 09:48:56 +01:00
yamaha-yas530.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00