]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: accel: kx022a: Support KX134-1211
authorMatti Vaittinen <mazziesaccount@gmail.com>
Thu, 28 Nov 2024 09:03:18 +0000 (11:03 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 7 Dec 2024 17:52:39 +0000 (17:52 +0000)
commit0ecb42a16cc42ec7b839ed546a65bbb5a5efefab
tree14b701020954c4c6deb733fe746610ec5811dfe5
parent046b460d059c17fb6642b6ebd074ac1de47103ca
iio: accel: kx022a: Support KX134-1211

The ROHM KX134-1211 has very similar register interface as KX132-1211
does. The main differencies are the content of the "Who am I"
identification register and different g-ranges. The KX132-1211 can
measure ranges from +/- 2g to +/-16g where the KX134-1211 supports
measuring ranges +/- 8g to +/- 64g.

Support the ROHM KX134-1211.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://patch.msgid.link/6e95af6b425df6a5ff5218825ec8923f1341f7c3.1732783834.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/kionix-kx022a-i2c.c
drivers/iio/accel/kionix-kx022a-spi.c
drivers/iio/accel/kionix-kx022a.c
drivers/iio/accel/kionix-kx022a.h