-
- Downloads
iio: accel: adxl345: Split driver into core and I2C
Move I2C-specific code into its own file and rely on regmap to access registers. The core code provides access to x, y, z and scale readings. Signed-off-by:Eva Rachel Retuya <eraretuya@gmail.com> Reviewed-by:
Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
Showing
- drivers/iio/accel/Kconfig 9 additions, 4 deletionsdrivers/iio/accel/Kconfig
- drivers/iio/accel/Makefile 2 additions, 1 deletiondrivers/iio/accel/Makefile
- drivers/iio/accel/adxl345.h 18 additions, 0 deletionsdrivers/iio/accel/adxl345.h
- drivers/iio/accel/adxl345_core.c 11 additions, 46 deletionsdrivers/iio/accel/adxl345_core.c
- drivers/iio/accel/adxl345_i2c.c 73 additions, 0 deletionsdrivers/iio/accel/adxl345_i2c.c
Loading
Please register or sign in to comment