linux-stable/drivers/iio/accel
Matti Vaittinen 7c1d1677b3 iio: accel: Support Kionix/ROHM KX022A accelerometer
KX022A is a 3-axis accelerometer from ROHM/Kionix. The sensor features
include variable ODRs, I2C and SPI control, FIFO/LIFO with watermark IRQ,
tap/motion detection, wake-up & back-to-sleep events, four acceleration
ranges (2, 4, 8 and 16g), and probably some other cool features.

Add support for the basic accelerometer features such as getting the
acceleration data via IIO. (raw reads, triggered buffer [data-ready] or
using the WMI IRQ).

Important things to be added include the double-tap, motion
detection and wake-up as well as the runtime power management.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/758b00d6aea0a6431a5a3a78d557d449c113b21e.1666614295.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-11-23 19:44:03 +00:00
..
adis16201.c iio:imu:adis: Move exports into IIO_ADISLIB namespace 2022-02-18 11:42:26 +00:00
adis16209.c iio:imu:adis: Move exports into IIO_ADISLIB namespace 2022-02-18 11:42:26 +00:00
adxl313.h drivers: iio: accel: adxl312 and adxl314 support 2022-09-21 18:42:53 +01:00
adxl313_core.c drivers: iio: accel: adxl312 and adxl314 support 2022-09-21 18:42:53 +01:00
adxl313_i2c.c drivers: iio: accel: adxl312 and adxl314 support 2022-09-21 18:42:53 +01:00
adxl313_spi.c drivers: iio: accel: adxl312 and adxl314 support 2022-09-21 18:42:53 +01:00
adxl345.h iio: accel: adxl345: Make use of device properties 2022-02-26 19:11:13 +00:00
adxl345_core.c iio: accel: adxl345: use HZ macro from units.h 2022-08-28 16:57:37 +01:00
adxl345_i2c.c iio: accel: adxl345: Remove unneeded blank lines 2022-02-26 19:11:39 +00:00
adxl345_spi.c iio: accel: adxl345: Remove unneeded blank lines 2022-02-26 19:11:39 +00:00
adxl355.h iio: accel: Add driver support for ADXL355 2021-09-14 12:00:30 +01:00
adxl355_core.c iio: accel: adxl355: Fix alignment for DMA safety 2022-06-14 11:53:11 +01:00
adxl355_i2c.c iio:accel:adxl355: Move exports into IIO_ADXL355 namespace 2022-02-18 11:36:54 +00:00
adxl355_spi.c iio:accel:adxl355: Move exports into IIO_ADXL355 namespace 2022-02-18 11:36:54 +00:00
adxl367.c iio: accel: adxl367: Use devm_regulator_bulk_get_enable() 2022-11-23 19:44:01 +00:00
adxl367.h iio: accel: add ADXL367 driver 2022-02-21 19:33:06 +00:00
adxl367_i2c.c iio: accel: adxl367: Convert to i2c's .probe_new() 2022-11-23 19:44:02 +00:00
adxl367_spi.c iio: accel: adxl367: Fix alignment for DMA safety 2022-06-14 11:53:11 +01:00
adxl372.c iio: adxl372: Fix unsafe buffer attributes 2022-10-17 08:51:26 +01:00
adxl372.h
adxl372_i2c.c iio:accel:adxl372: Move exports into IIO_ADXL372 namespace 2022-02-18 11:36:54 +00:00
adxl372_spi.c iio:accel:adxl372: Move exports into IIO_ADXL372 namespace 2022-02-18 11:36:54 +00:00
bma180.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
bma220_spi.c iio: accel: bma220: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-07-18 18:48:17 +01:00
bma400.h iio: accel: bma400: Add support for single and double tap events 2022-09-05 18:08:42 +01:00
bma400_core.c iio: accel: bma400: Switch to use dev_err_probe() helper 2022-11-23 19:43:56 +00:00
bma400_i2c.c iio: accel: bma400: Add triggered buffer support 2022-06-11 14:35:26 +01:00
bma400_spi.c iio: accel: bma400: Add triggered buffer support 2022-06-11 14:35:26 +01:00
bmc150-accel-core.c iio: bmc150-accel-core: Fix unsafe buffer attributes 2022-10-17 08:51:26 +01:00
bmc150-accel-i2c.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
bmc150-accel-spi.c Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
bmc150-accel.h iio: accel: bmc150: Make bmc150_accel_core_remove() return void 2021-10-19 08:30:45 +01:00
bmi088-accel-core.c iio: accel: bmi088: Use EXPORT_NS_GPL_RUNTIME_DEV_PM_OPS() and pm_ptr() 2022-09-21 18:42:57 +01:00
bmi088-accel-spi.c iio: accel: bmi088: Use EXPORT_NS_GPL_RUNTIME_DEV_PM_OPS() and pm_ptr() 2022-09-21 18:42:57 +01:00
bmi088-accel.h iio: accel: bmi088: Add support for bmi090l accel 2022-06-11 14:35:28 +01:00
cros_ec_accel_legacy.c iio: cros: Register FIFO callback after sensor is registered 2022-07-18 18:29:13 +01:00
da280.c iio:accel:da280: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:43:11 +00:00
da311.c iio: accel: da311: Convert to i2c's .probe_new() 2022-11-23 19:44:02 +00:00
dmard06.c iio: accel: dmard06: Convert to i2c's .probe_new() 2022-11-23 19:44:02 +00:00
dmard09.c iio: accel: dmard09: Convert to i2c's .probe_new() 2022-11-23 19:44:02 +00:00
dmard10.c iio: accel: dmard10: Convert to i2c's .probe_new() 2022-11-23 19:44:02 +00:00
fxls8962af-core.c iio: accel: fxls8962af: Use devm_regulator_get_enable() 2022-11-23 19:44:01 +00:00
fxls8962af-i2c.c iio: accel: fxls8962af: Use new EXPORT_NS_GPL_DEV_PM_OPS() 2022-11-23 19:44:00 +00:00
fxls8962af-spi.c iio: accel: fxls8962af: Use new EXPORT_NS_GPL_DEV_PM_OPS() 2022-11-23 19:44:00 +00:00
fxls8962af.h iio: accel: fxls8962af: add padding to regmap for SPI 2022-01-23 18:23:48 +00:00
hid-sensor-accel-3d.c iio: hid-sensors: bind IIO channels alloc to device object 2021-07-13 18:21:53 +01:00
Kconfig iio: accel: Support Kionix/ROHM KX022A accelerometer 2022-11-23 19:44:03 +00:00
kionix-kx022a-i2c.c iio: accel: Support Kionix/ROHM KX022A accelerometer 2022-11-23 19:44:03 +00:00
kionix-kx022a-spi.c iio: accel: Support Kionix/ROHM KX022A accelerometer 2022-11-23 19:44:03 +00:00
kionix-kx022a.c iio: accel: Support Kionix/ROHM KX022A accelerometer 2022-11-23 19:44:03 +00:00
kionix-kx022a.h iio: accel: Support Kionix/ROHM KX022A accelerometer 2022-11-23 19:44:03 +00:00
kxcjk-1013.c iio: accel: kxcjk-1013: Use devm_regulator_bulk_get_enable() 2022-11-23 19:44:01 +00:00
kxsd9-i2c.c iio: accel: kxsd9: Convert to i2c's .probe_new() 2022-11-23 19:44:02 +00:00
kxsd9-spi.c iio:accel:kxsd9: Switch from CONFIG_PM guards to pm_ptr() etc 2022-06-15 22:07:09 +01:00
kxsd9.c iio:accel:kxsd9: Switch from CONFIG_PM guards to pm_ptr() etc 2022-06-15 22:07:09 +01:00
kxsd9.h iio: accel: kxsd9: Make kxsd9_common_remove() return void 2021-10-19 08:30:45 +01:00
Makefile iio: accel: Support Kionix/ROHM KX022A accelerometer 2022-11-23 19:44:03 +00:00
mc3230.c iio: accel: mc3230: Convert to i2c's .probe_new() 2022-11-23 19:44:02 +00:00
mma7455.h iio: accel: mma7455: Make mma7455_core_remove() return void 2021-10-19 08:30:45 +01:00
mma7455_core.c iio:accel:mma7455_core: Move exports into IIO_MMA7455 namespace 2022-02-18 11:36:53 +00:00
mma7455_i2c.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
mma7455_spi.c Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
mma7660.c iio: accel: mma7660: Convert to i2c's .probe_new() 2022-11-23 19:44:02 +00:00
mma8452.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
mma9551.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
mma9551_core.c iio:accel:mma9551_core: Move exports into IIO_MMA9551 namespace 2022-02-18 11:36:53 +00:00
mma9551_core.h
mma9553.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
msa311.c iio: accel: msa311: Use devm_regulator_get_enable() 2022-11-23 19:44:01 +00:00
mxc4005.c iio: accel: mxc4005: Convert to i2c's .probe_new() 2022-11-23 19:44:02 +00:00
mxc6255.c iio: accel: mxc6255: Convert to i2c's .probe_new() 2022-11-23 19:44:02 +00:00
sca3000.c iio: accel: sca3000: Fix alignment for DMA safety 2022-06-14 11:53:12 +01:00
sca3300.c iio: accel: sca3300: Silence no spi_device_id warning 2022-11-23 19:43:57 +00:00
ssp_accel_sensor.c iio: core: Simplify the registration of kfifo buffers 2022-04-10 16:25:46 +01:00
st_accel.h iio: accel: add support for LIS302DL variant 2022-04-04 09:11:23 +01:00
st_accel_buffer.c iio:st-sensors: Remove duplicate MODULE_* 2022-02-18 11:36:54 +00:00
st_accel_core.c iio: st_sensors: Stop abusing mlock to ensure internal coherency 2022-04-10 16:21:45 +01:00
st_accel_i2c.c iio: accel: add support for LIS302DL variant 2022-04-04 09:11:23 +01:00
st_accel_spi.c iio: accel: add support for LIS302DL variant 2022-04-04 09:11:23 +01:00
stk8ba50.c iio: accel: stk8ba50: Convert to i2c's .probe_new() 2022-11-23 19:44:03 +00:00
stk8312.c iio: accel: stk8312: Convert to i2c's .probe_new() 2022-11-23 19:44:02 +00:00