]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: accel: bma220: add i2c module
authorPetre Rodan <petre.rodan@subdimension.ro>
Sun, 5 Oct 2025 13:12:23 +0000 (16:12 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Oct 2025 10:59:20 +0000 (11:59 +0100)
commit7a23e6d922efc77e783084c4f3b2859c2a0bc7f3
tree7b14f8ff43715e9d8110a2b58788d43ee78db41f
parent0e3c7fd44244a1dbb925ade1a87e699bdea03dab
iio: accel: bma220: add i2c module

Add the bma220_i2c module.

Note that this kernel module transparently shifts all register addresses
1 bit to the left, so all functions will operate based on the SPI memory
map.

Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/Kconfig
drivers/iio/accel/Makefile
drivers/iio/accel/bma220.h
drivers/iio/accel/bma220_core.c
drivers/iio/accel/bma220_i2c.c [new file with mode: 0644]