Home
last modified time | relevance | path

Searched +full:bosch +full:- +full:sensortec (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.12.1/Documentation/devicetree/bindings/iio/pressure/
Dbmp085.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andreas Klinger <ak@it-klinger.de>
16 https://www.bosch-sensortec.com/bst/products/all_products/bmp180
17 https://www.bosch-sensortec.com/bst/products/all_products/bmp280
18 https://www.bosch-sensortec.com/bst/products/all_products/bme280
19 https://www.bosch-sensortec.com/bst/products/all_products/bmp380
20 https://www.bosch-sensortec.com/bst/products/all_products/bmp580
25 - bosch,bmp085
[all …]
/linux-6.12.1/drivers/input/misc/
Dbma150.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2011 Bosch Sensortec GmbH
6 * This driver adds support for Bosch Sensortec's digital acceleration
11 * http://www.bosch-sensortec.com/content/language1/downloads/BST-BMA150-DS000-07.pdf
25 #define ABSMIN_ACC_VAL -(ABSMAX_ACC_VAL)
27 /* Each axis is represented by a 2-byte data word */
83 /* Any-motion interrupt register fields */
99 /* High-G interrupt register fields */
111 /* Low-G interrupt register fields */
131 * are stated and verified by Bosch Sensortec where they are configured
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
47 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500
48 Mix-Sig PMIC.
51 will be called ab8500-ponkey.
71 module will be called ad714x-i2c.
81 module will be called ad714x-spi.
92 will be called ariel-pwrbutton.
102 module will be called arizona-haptics.
113 module will be called atc260x-onkey.
144 Say Y here if you have Bosch Sensortec's BMA150 or SMB380
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/imu/
Dbosch,bno055.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/imu/bosch,bno055.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Bosch BNO055
10 - Andrea Merello <andrea.merello@iit.it>
15 https://www.bosch-sensortec.com/products/smart-sensors/bno055/
20 - bosch,bno055
25 reset-gpios:
32 - compatible
[all …]
Dbosch,bmi160.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/imu/bosch,bmi160.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Bosch BMI160
10 - Jonathan Cameron <jic23@kernel.org>
15 https://www.bosch-sensortec.com/bst/products/all_products/bmi160
20 - const: bosch,bmi160
21 - items:
22 - const: bosch,bmi120
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/accel/
Dbosch,bmi088.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/accel/bosch,bmi088.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Bosch BMI088 IMU accelerometer part
10 - Mike Looijmans <mike.looijmans@topic.nl>
15 https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi088-ds001.pdf
20 - bosch,bmi085-accel
21 - bosch,bmi088-accel
22 - bosch,bmi090l-accel
[all …]
/linux-6.12.1/drivers/iio/pressure/
Dbmp280-i2c.c1 // SPDX-License-Identifier: GPL-2.0-only
16 regmap = devm_regmap_init_i2c(client, chip_info->regmap_config); in bmp280_i2c_probe()
18 dev_err(&client->dev, "failed to allocate register map\n"); in bmp280_i2c_probe()
22 return bmp280_common_probe(&client->dev, in bmp280_i2c_probe()
25 id->name, in bmp280_i2c_probe()
26 client->irq); in bmp280_i2c_probe()
30 { .compatible = "bosch,bmp085", .data = &bmp180_chip_info },
31 { .compatible = "bosch,bmp180", .data = &bmp180_chip_info },
32 { .compatible = "bosch,bmp280", .data = &bmp280_chip_info },
33 { .compatible = "bosch,bme280", .data = &bme280_chip_info },
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
20 tristate "ROHM BM1390GLV-Z pressure sensor driver"
26 Support for the ROHM BM1390 pressure sensor. The BM1390GLV-Z
32 tristate "Bosch Sensortec BMP180/BMP280/BMP380/BMP580 pressure sensor driver"
40 Say yes here to build support for Bosch Sensortec BMP180, BMP280, BMP380
45 will be called bmp280 and you will also get bmp280-i2c for I2C
46 and/or bmp280-spi for SPI support.
104 will be called hid-sensor-press.
142 tristate "InvenSense ICP-101xx pressure and temperature sensor"
146 Say yes here to build support for InvenSense ICP-101xx barometric
Dbmp280-core.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2012 Bosch Sensortec GmbH
9 * Driver for Bosch Sensortec BMP180 and BMP280 digital pressure sensor.
12 * https://cdn-shop.adafruit.com/datasheets/BST-BMP180-DS000-09.pdf
13 * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmp280-ds001.pdf
14 * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme280-ds002.pdf
15 * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmp388-ds001.pdf
16 * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmp390-ds002.pdf
17 * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmp581-ds004.pdf
21 * - Changed document referral from ANP015 to BST-MPS-AN004-00 on page 26
[all …]
/linux-6.12.1/drivers/iio/magnetometer/
Dbmc150_magn_i2c.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * 3-axis magnetometer driver supporting following I2C Bosch-Sensortec chips:
4 * - BMC150
5 * - BMC156
6 * - BMM150
26 dev_err(&client->dev, "Failed to initialize i2c regmap\n"); in bmc150_magn_i2c_probe()
31 name = id->name; in bmc150_magn_i2c_probe()
33 return bmc150_magn_probe(&client->dev, regmap, client->irq, name); in bmc150_magn_i2c_probe()
38 bmc150_magn_remove(&client->dev); in bmc150_magn_i2c_remove()
58 { .compatible = "bosch,bmc150_magn" },
[all …]
Dbmc150_magn_spi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * 3-axis magnetometer driver support following SPI Bosch-Sensortec chips:
4 * - BMC150
5 * - BMC156
6 * - BMM150
24 dev_err(&spi->dev, "Failed to register spi regmap: %pe\n", in bmc150_magn_spi_probe()
28 return bmc150_magn_probe(&spi->dev, regmap, spi->irq, id->name); in bmc150_magn_spi_probe()
33 bmc150_magn_remove(&spi->dev); in bmc150_magn_spi_remove()
Dbmc150_magn.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Bosch BMC150 three-axis magnetic field sensor driver
7 * This code is based on bmm050_api.c authored by contact@bosch.sensortec.com:
9 * (C) Copyright 2011~2014 Bosch Sensortec GmbH All Rights Reserved
86 #define BMC150_MAGN_XY_OVERFLOW_VAL -4096
87 #define BMC150_MAGN_Z_OVERFLOW_VAL -16384
96 #define BMC150_MAGN_REPXY_TO_REGVAL(rep) (((rep) - 1) / 2)
97 #define BMC150_MAGN_REPZ_TO_REGVAL(rep) ((rep) - 1)
239 ret = regmap_update_bits(data->regmap, BMC150_MAGN_REG_POWER, in bmc150_magn_set_power_mode()
246 return regmap_update_bits(data->regmap, in bmc150_magn_set_power_mode()
[all …]
/linux-6.12.1/drivers/iio/accel/
Dbmi088-accel-i2c.c1 // SPDX-License-Identifier: GPL-2.0
3 * 3-axis accelerometer driver supporting following Bosch-Sensortec chips:
4 * - BMI088
5 * - BMI085
6 * - BMI090L
17 #include "bmi088-accel.h"
26 dev_err(&i2c->dev, "Failed to initialize i2c regmap\n"); in bmi088_accel_probe()
30 return bmi088_accel_core_probe(&i2c->dev, regmap, i2c->irq, in bmi088_accel_probe()
31 id->driver_data); in bmi088_accel_probe()
36 bmi088_accel_core_remove(&i2c->dev); in bmi088_accel_remove()
[all …]
Dbmi088-accel-spi.c1 // SPDX-License-Identifier: GPL-2.0
3 * 3-axis accelerometer driver supporting following Bosch-Sensortec chips:
4 * - BMI088
5 * - BMI085
6 * - BMI090L
8 * Copyright (c) 2018-2020, Topic Embedded Products
16 #include "bmi088-accel.h"
49 regmap = devm_regmap_init(&spi->dev, &bmi088_regmap_bus, in bmi088_accel_probe()
53 dev_err(&spi->dev, "Failed to initialize spi regmap\n"); in bmi088_accel_probe()
57 return bmi088_accel_core_probe(&spi->dev, regmap, spi->irq, in bmi088_accel_probe()
[all …]
Dbmc150-accel-i2c.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * 3-axis accelerometer driver supporting many I2C Bosch-Sensortec chips
14 #include "bmc150-accel.h"
24 * The DUAL250E ACPI device for 360° hinges type 2-in-1s with 1 accelerometer
25 * in the display and 1 in the hinge has an ACPI-method (DSM) to tell the
28 * the keyboard being disabled when the 2-in-1 is turned-on or resumed while
29 * fully folded into tablet mode (which gets detected with a HALL-sensor).
30 * If we don't call this then the keyboard won't work even when the 2-in-1 is
31 * changed to be used in laptop mode after the power-on / resume.
40 #define BMC150_DSM_GUID "7681541e-8827-4239-8d9d-36be7fe12542"
[all …]
Dbmc150-accel-spi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * 3-axis accelerometer driver supporting SPI Bosch-Sensortec accelerometer chip
13 #include "bmc150-accel.h"
24 dev_err(&spi->dev, "Failed to initialize spi regmap\n"); in bmc150_accel_probe()
29 name = id->name; in bmc150_accel_probe()
30 type = id->driver_data; in bmc150_accel_probe()
33 return bmc150_accel_core_probe(&spi->dev, regmap, spi->irq, type, name, in bmc150_accel_probe()
39 bmc150_accel_core_remove(&spi->dev); in bmc150_accel_remove()
Dbmi088-accel-core.c1 // SPDX-License-Identifier: GPL-2.0
3 * 3-axis accelerometer driver supporting following Bosch-Sensortec chips:
4 * - BMI088
5 * - BMI085
6 * - BMI090L
8 * Copyright (c) 2018-2021, Topic Embedded Products
23 #include "bmi088-accel.h"
98 /* Available OSR (over sampling rate) sets the 3dB cut-off frequency */
134 /* Mark the RESET as volatile too, it is self-clearing */
157 ret = regmap_write(data->regmap, BMI088_ACCEL_REG_PWR_CTRL, 0x4); in bmi088_accel_power_up()
[all …]
Dbmc150-accel-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * 3-axis accelerometer driver supporting many Bosch-Sensortec chips
26 #include "bmc150-accel.h"
212 struct device *dev = regmap_get_device(data->regmap); in bmc150_accel_set_mode()
216 int dur_val = -1; in bmc150_accel_set_mode()
231 return -EINVAL; in bmc150_accel_set_mode()
238 ret = regmap_write(data->regmap, BMC150_ACCEL_REG_PMU_LPW, lpw_bits); in bmc150_accel_set_mode()
256 ret = regmap_write(data->regmap, in bmc150_accel_set_bw()
262 data->bw_bits = in bmc150_accel_set_bw()
268 return -EINVAL; in bmc150_accel_set_bw()
[all …]
/linux-6.12.1/drivers/iio/chemical/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
34 module will be called atlas-ph-sensor.
45 module will be called atlas-ezo-sensor.
48 tristate "Bosch Sensortec BME680 sensor driver"
54 Say yes here to build support for Bosch Sensortec BME680 sensor with
88 Say yes here to build support for ScioSense ENS160 multi-gas sensor.
102 tristate "AMS iAQ-Core VOC sensors"
106 iAQ-Core Continuous/Pulsed VOC (Volatile Organic Compounds)
220 tristate "Senseair Sunrise 006-0-0007 CO2 sensor"
224 Say yes here to build support for Senseair Sunrise 006-0-0007 CO2
Dbme680_core.c1 // SPDX-License-Identifier: GPL-2.0
3 * Bosch BME680 - Temperature, Pressure, Humidity & Gas Sensor
5 * Copyright (C) 2017 - 2018 Bosch Sensortec GmbH
9 * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME680-DS001-00.pdf
163 struct device *dev = regmap_get_device(data->regmap); in bme680_read_calib()
167 ret = regmap_bulk_read(data->regmap, BME680_T2_LSB_REG, in bme680_read_calib()
168 data->bme680_cal_buf_1, in bme680_read_calib()
169 sizeof(data->bme680_cal_buf_1)); in bme680_read_calib()
175 calib->par_t2 = get_unaligned_le16(&data->bme680_cal_buf_1[T2_LSB]); in bme680_read_calib()
176 calib->par_t3 = data->bme680_cal_buf_1[T3]; in bme680_read_calib()
[all …]
/linux-6.12.1/include/linux/
Dbma150.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) 2011 Bosch Sensortec GmbH
25 bool any_motion_int; /* Set to enable any-motion interrupt */
26 bool hg_int; /* Set to enable high-G interrupt */
27 bool lg_int; /* Set to enable low-G interrupt */
28 unsigned char any_motion_dur; /* Any-motion duration */
29 unsigned char any_motion_thres; /* Any-motion threshold */
30 unsigned char hg_hyst; /* High-G hysterisis */
31 unsigned char hg_dur; /* High-G duration */
32 unsigned char hg_thres; /* High-G threshold */
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/
Dtrivial-devices.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/trivial-devices.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
27 spi-max-frequency: true
32 - enum:
34 - acbel,fsg032
35 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin
36 - ad,ad7414 # Deprecated, use adi,ad7414
[all …]
Dvendor-prefixes.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/vendor-prefixes.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
19 "^(at25|bm|devbus|dmacap|dsa|exynos|fsi[ab]|gpio-fan|gpio-key|gpio|gpmc|hdmi|i2c-gpio),.*": true
21 "^(pinctrl-single|#pinctrl-single|PowerPC),.*": true
22 "^(pl022|pxa-mmc|rcar_sound|rotary-encoder|s5m8767|sdhci),.*": true
23 "^(simple-audio-card|st-plgpio|st-spics|ts),.*": true
50 "^active-semi,.*":
[all …]
/linux-6.12.1/drivers/iio/imu/bno055/
Dbno055.c1 // SPDX-License-Identifier: GPL-2.0
3 * IIO driver for Bosch BNO055 IMU
5 * Copyright (C) 2021-2022 Istituto Italiano di Tecnologia
37 #define BNO055_FW_UID_FMT "bno055-caldata-%*phN.dat"
38 #define BNO055_FW_GENERIC_NAME "bno055-caldata.dat"
67 #define BNO055_SCAN_CH_COUNT ((BNO055_GRAVITY_DATA_Z_LSB_REG - BNO055_ACC_DATA_X_LSB_REG) / 2)
159 …* [0] https://community.bosch-sensortec.com/t5/MEMS-sensors-forum/BNO055-Wrong-sensitivity-resolu…
166 * where k is rad-to-deg factor
301 dev_dbg(priv->dev, "Invalid calibration file size %d (expected %d)", in bno055_calibration_load()
303 return -EINVAL; in bno055_calibration_load()
[all …]
/linux-6.12.1/drivers/iio/imu/bmi323/
Dbmi323_core.c1 // SPDX-License-Identifier: GPL-2.0
3 * IIO core driver for Bosch BMI323 6-Axis IMU.
7 …* Datasheet: https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi323-
83 * The accelerometer supports +-2G/4G/8G/16G ranges, and the resolution of
85 * At +-8G the scale can calculated by
86 * ((8 + 8) * 9.80665 / (2^16 - 1)) * 10^6 = 2394.23819 scale in micro
188 return &data->orientation; in bmi323_get_mount_matrix()
295 .scan_index = -1,
301 .scan_index = -1,
345 return -EINVAL; in bmi323_iio_to_sensor()
[all …]

12