@@ -143,7 +143,7 @@ config BMC150_ACCEL
select BMC150_ACCEL_SPI if SPI
help
Say yes here to build support for the following Bosch accelerometers:
- BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
+ BMC150, BMI055, BMA250E, BMA222E, BMA253, BMA255, BMA280.
This is a combo module with both accelerometer and magnetometer.
This driver is only implementing accelerometer part, which has
@@ -3,7 +3,7 @@
* 3-axis accelerometer driver supporting following Bosch-Sensortec chips:
* - BMC150
* - BMI055
- * - BMA255
+ * - BMA253/BMA255
* - BMA250E
* - BMA222
* - BMA222E
@@ -1098,7 +1098,7 @@ static const struct iio_chan_spec bma280_accel_channels[] =
static const struct bmc150_accel_chip_info bmc150_accel_chip_info_tbl[] = {
{
- .name = "BMC150/BMI055/BMA255",
+ .name = "BMC150/BMI055/BMA253/BMA255",
.chip_id = 0xFA,
.channels = bmc150_accel_channels,
.num_channels = ARRAY_SIZE(bmc150_accel_channels),
@@ -238,6 +238,7 @@ MODULE_DEVICE_TABLE(acpi, bmc150_accel_acpi_match);
static const struct i2c_device_id bmc150_accel_id[] = {
{"bmc150_accel"},
{"bmi055_accel"},
+ {"bma253"},
{"bma255"},
{"bma250e"},
{"bma222"},
@@ -251,6 +252,7 @@ MODULE_DEVICE_TABLE(i2c, bmc150_accel_id);
static const struct of_device_id bmc150_accel_of_match[] = {
{ .compatible = "bosch,bmc150_accel" },
{ .compatible = "bosch,bmi055_accel" },
+ { .compatible = "bosch,bma253" },
{ .compatible = "bosch,bma255" },
{ .compatible = "bosch,bma250e" },
{ .compatible = "bosch,bma222" },
@@ -49,6 +49,7 @@ MODULE_DEVICE_TABLE(acpi, bmc150_accel_acpi_match);
static const struct spi_device_id bmc150_accel_id[] = {
{"bmc150_accel"},
{"bmi055_accel"},
+ {"bma253"},
{"bma255"},
{"bma250e"},
{"bma222"},