Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
23 - bosch,bmp085
24 - bosch,bmp180
25 - bosch,bmp280
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/chemical/
Dbme680.txt1 Bosch Sensortec BME680 pressure/temperature/humidity/voc sensors
4 - compatible: must be "bosch,bme680"
9 compatible = "bosch,bme680";
/kernel/linux/linux-5.10/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
40 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500
41 Mix-Sig PMIC.
44 will be called ab8500-ponkey.
64 module will be called ad714x-i2c.
74 module will be called ad714x-spi.
84 module will be called arizona-haptics.
104 Say Y here if you have Bosch Sensortec's BMA150 or SMB380
142 will be called pm8941-pwrkey.
150 on Qualcomm PM8xxx chip. This driver supports ff-memless interface
[all …]
/kernel/linux/linux-5.10/drivers/iio/chemical/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
23 module will be called atlas-ph-sensor.
34 module will be called atlas-ezo-sensor.
37 tristate "Bosch Sensortec BME680 sensor driver"
43 Say yes here to build support for Bosch Sensortec BME680 sensor with
69 tristate "AMS iAQ-Core VOC sensors"
73 iAQ-Core Continuous/Pulsed VOC (Volatile Organic Compounds)
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
111 struct device *dev = regmap_get_device(data->regmap); in bme680_read_calib()
117 ret = regmap_bulk_read(data->regmap, BME680_T1_LSB_REG, in bme680_read_calib()
123 calib->par_t1 = le16_to_cpu(buf); in bme680_read_calib()
125 ret = regmap_bulk_read(data->regmap, BME680_T2_LSB_REG, in bme680_read_calib()
131 calib->par_t2 = le16_to_cpu(buf); in bme680_read_calib()
133 ret = regmap_read(data->regmap, BME680_T3_REG, &tmp); in bme680_read_calib()
[all …]
/kernel/linux/linux-5.10/drivers/iio/pressure/
Dbmp280-i2c.c1 // SPDX-License-Identifier: GPL-2.0-only
14 switch (id->driver_data) { in bmp280_i2c_probe()
23 return -EINVAL; in bmp280_i2c_probe()
28 dev_err(&client->dev, "failed to allocate register map\n"); in bmp280_i2c_probe()
32 return bmp280_common_probe(&client->dev, in bmp280_i2c_probe()
34 id->driver_data, in bmp280_i2c_probe()
35 id->name, in bmp280_i2c_probe()
36 client->irq); in bmp280_i2c_probe()
40 { .compatible = "bosch,bme280", .data = (void *)BME280_CHIP_ID },
41 { .compatible = "bosch,bmp280", .data = (void *)BMP280_CHIP_ID },
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
20 tristate "Bosch Sensortec BMP180/BMP280 pressure sensor I2C driver"
26 Say yes here to build support for Bosch Sensortec BMP180 and BMP280
31 will be called bmp280 and you will also get bmp280-i2c for I2C
32 and/or bmp280-spi for SPI support.
90 will be called hid-sensor-press.
104 tristate "InvenSense ICP-101xx pressure and temperature sensor"
108 Say yes here to build support for InvenSense ICP-101xx barometric
206 - st_pressure (core functions for the driver [it is mandatory]);
207 - st_pressure_i2c (necessary for the I2C devices [optional*]);
[all …]
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://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMP180-DS000-121.pdf
13 * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMP280-DS001-12.pdf
14 * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280_DS001-11.pdf
158 struct device *dev = data->dev; in bmp280_read_calib()
163 ret = regmap_bulk_read(data->regmap, BMP280_REG_COMP_TEMP_START, in bmp280_read_calib()
166 dev_err(data->dev, in bmp280_read_calib()
174 calib->T1 = le16_to_cpu(t_buf[T1]); in bmp280_read_calib()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/imu/
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
19 const: bosch,bmi160
27 interrupt-names:
29 - INT1
[all …]
/kernel/linux/linux-5.10/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
27 dev_err(&client->dev, "Failed to initialize i2c regmap\n"); in bmc150_magn_i2c_probe()
32 name = id->name; in bmc150_magn_i2c_probe()
34 return bmc150_magn_probe(&client->dev, regmap, client->irq, name); in bmc150_magn_i2c_probe()
39 return bmc150_magn_remove(&client->dev); in bmc150_magn_i2c_remove()
59 { .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
25 dev_err(&spi->dev, "Failed to register spi regmap: %pe\n", in bmc150_magn_spi_probe()
29 return bmc150_magn_probe(&spi->dev, regmap, spi->irq, id->name); in bmc150_magn_spi_probe()
34 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
85 #define BMC150_MAGN_XY_OVERFLOW_VAL -4096
86 #define BMC150_MAGN_Z_OVERFLOW_VAL -16384
95 #define BMC150_MAGN_REPXY_TO_REGVAL(rep) (((rep) - 1) / 2)
96 #define BMC150_MAGN_REPZ_TO_REGVAL(rep) ((rep) - 1)
237 ret = regmap_update_bits(data->regmap, BMC150_MAGN_REG_POWER, in bmc150_magn_set_power_mode()
244 return regmap_update_bits(data->regmap, in bmc150_magn_set_power_mode()
[all …]
/kernel/linux/linux-5.10/drivers/iio/accel/
Dbmc150-accel-i2c.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * 3-axis accelerometer driver supporting following I2C Bosch-Sensortec chips:
4 * - BMC150
5 * - BMI055
6 * - BMA255
7 * - BMA250E
8 * - BMA222E
9 * - BMA280
21 #include "bmc150-accel.h"
29 i2c_check_functionality(client->adapter, I2C_FUNC_I2C) || in bmc150_accel_probe()
[all …]
Dbmc150-accel-spi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * 3-axis accelerometer driver supporting SPI Bosch-Sensortec accelerometer chip
14 #include "bmc150-accel.h"
23 dev_err(&spi->dev, "Failed to initialize spi regmap\n"); in bmc150_accel_probe()
27 return bmc150_accel_core_probe(&spi->dev, regmap, spi->irq, id->name, in bmc150_accel_probe()
33 return bmc150_accel_core_remove(&spi->dev); in bmc150_accel_remove()
Dbmc150-accel-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * 3-axis accelerometer driver supporting following Bosch-Sensortec chips:
4 * - BMC150
5 * - BMI055
6 * - BMA255
7 * - BMA250E
8 * - BMA222E
9 * - BMA280
31 #include "bmc150-accel.h"
262 struct device *dev = regmap_get_device(data->regmap); in bmc150_accel_set_mode()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/
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|devbus|dmacap|dsa|exynos|fsi[ab]|gpio-fan|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
38 "^active-semi,.*":
[all …]
/kernel/linux/linux-5.10/
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]