Home
last modified time | relevance | path

Searched +full:kx132acr +full:- +full:lbz (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/iio/accel/
H A Dkionix-kx022a-spi.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include "kionix-kx022a.h"
17 struct device *dev = &spi->dev; in kx022a_spi_probe()
21 if (!spi->irq) { in kx022a_spi_probe()
23 return -EINVAL; in kx022a_spi_probe()
28 return -EINVAL; in kx022a_spi_probe()
30 regmap = devm_regmap_init_spi(spi, chip_info->regmap_config); in kx022a_spi_probe()
40 { .name = "kx132-1211", .driver_data = (kernel_ulong_t)&kx132_chip_info },
41 { .name = "kx134-1211", .driver_data = (kernel_ulong_t)&kx134_chip_info },
42 { .name = "kx132acr-lbz", .driver_data = (kernel_ulong_t)&kx132acr_chip_info },
[all …]
H A Dkionix-kx022a-i2c.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include "kionix-kx022a.h"
17 struct device *dev = &i2c->dev; in kx022a_i2c_probe()
21 if (!i2c->irq) { in kx022a_i2c_probe()
23 return -EINVAL; in kx022a_i2c_probe()
28 return -EINVAL; in kx022a_i2c_probe()
30 regmap = devm_regmap_init_i2c(i2c, chip_info->regmap_config); in kx022a_i2c_probe()
40 { .name = "kx132-1211", .driver_data = (kernel_ulong_t)&kx132_chip_info },
41 { .name = "kx134-1211", .driver_data = (kernel_ulong_t)&kx134_chip_info },
42 { .name = "kx132acr-lbz", .driver_data = (kernel_ulong_t)&kx132acr_chip_info },
[all …]
H A Dkionix-kx022a.c1 // SPDX-License-Identifier: GPL-2.0-only
39 #include "kionix-kx022a.h"
99 * The HW does not set WHO_AM_I reg as read-only but we don't want to write it
100 * so we still include it in the read-only ranges.
317 return &data->orientation; in kx022a_get_mount_matrix()
403 * range is typically +-2G/4G/8G/16G, distributed over the amount of bits.
406 * => KX022A uses 16 bit (HiRes mode - assume the low 8 bits are zeroed
407 * in low-power mode(?) )
408 * => +/-2G => 4 / 2^16 * 9,80665
409 * => +/-2G - 0.000598550415
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer"
15 Say Y here to build support for Analog Devices adis16201 dual-axis
22 tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer"
27 Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer
37 tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer I2C Driver"
43 ADXL313 3-axis digital accelerometer.
50 tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer SPI Driver"
56 ADXL313 3-axis digital accelerometer.
66 tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer I2C Driver"
[all …]