iio: kx022a: Support ROHM KX134ACR-LBZ
authorMatti Vaittinen <mazziesaccount@gmail.com>
Thu, 28 Nov 2024 09:02:45 +0000 (11:02 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 7 Dec 2024 17:51:52 +0000 (17:51 +0000)
commit48e4f3cb67b86c1d5aad18b2d13229a85cb65fd8
tree4d11ac0a58ea09bc55e97446ac3c28d5d2bb6bdc
parent720c8b777a7a5bbbe7904868f236461a431ce283
iio: kx022a: Support ROHM KX134ACR-LBZ

The register interface of the ROHM KX134ACR-LBZ accelerometer is
almost identical to the KX132ACR-LBZ. The main difference between these
accelerometers is that the KX134ACR-LBZ supports different G-ranges. The
driver can model this by informing different scale to users. Also, the
content of the "who_am_I" register is different.

Add an ID and scales for the KX134ACR-LBZ.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://patch.msgid.link/27c43c595de1f3f698ace671922d4f5a48c3cd54.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