summaryrefslogtreecommitdiff
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorMatti Vaittinen <mazziesaccount@gmail.com>2024-11-28 11:02:15 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-12-07 17:49:11 +0000
commit64eb1c6fae9423747e37887dec6aeee413490f00 (patch)
tree0193fd13de0e20a1d338bc2e06b74a8c26a08e82 /drivers/iio/trigger/stm32-timer-trigger.c
parent725521e1f485d4687790f2e459271f1ad6af64d5 (diff)
iio: accel: kx022a: Support ICs with different G-ranges
The register interface of the ROHM KX134ACR-LBZ accelerometer is almost identical to the KX132ACR-LBZ. Main difference between these accelerometers is that the KX134ACR-LBZ supports G-ranges +/- 8, 16, 32 and 64G. All the other sensors supported by the kx022a driver can measure +/- 2, 4, 8 and 16G. Prepare supporting the KX134ACR-LBZ with different G-ranges by storing a pointer to the scale tables in IC specific structure. Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com> Link: https://patch.msgid.link/fc667b1495adf4e3f29ecbb336495c1f18b47e61.1732783834.git.mazziesaccount@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions