Home
last modified time | relevance | path

Searched +full:sensors +full:- +full:mems (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/iio/
H A Dst,st-sensors.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/st,st-sensors.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics MEMS sensors
9 description: The STMicroelectronics sensor devices are pretty straight-forward
12 Note that whilst this covers many STMicro MEMs sensors, some more complex
16 - Denis Ciocca <denis.ciocca@st.com>
17 - Linus Walleij <linus.walleij@linaro.org>
22 - description: STMicroelectronics Accelerometers
[all …]
/openbmc/linux/Documentation/devicetree/bindings/iio/accel/
H A Dadi,adxl345.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices ADXL345/ADXL375 3-Axis Digital Accelerometers
10 - Michael Hennerich <michael.hennerich@analog.com>
13 Analog Devices ADXL345/ADXL375 3-Axis Digital Accelerometers that supports
15 https://www.analog.com/en/products/mems/accelerometers/adxl345.html
16 https://www.analog.com/en/products/sensors-mems/accelerometers/adxl375.html
21 - items:
22 - const: adi,adxl346
[all …]
/openbmc/linux/include/linux/platform_data/
H A Dcros_ec_sensorhub.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Chrome OS EC MEMS Sensor Hub driver.
19 * struct cros_ec_sensor_platform - ChromeOS EC sensor platform information.
27 * typedef cros_ec_sensorhub_push_data_cb_t - Callback function to send datum
28 * to specific sensors.
67 * struct cros_ec_sensors_ts_filter_state - Timestamp filetr state.
94 /* struct cros_ec_sensors_ts_batch_state - State of batch of a single sensor.
115 * struct cros_ec_sensorhub - Sensor Hub device data.
119 * @sensor_num: Number of MEMS sensors present in the EC.
/openbmc/linux/drivers/iio/imu/st_lsm6dsx/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
4 tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors"
16 lsm6ds3tr-c, ism330dhcx, lsm6dsrx, lsm6ds0, lsm6dsop, lsm6dstx,
H A Dst_lsm6dsx.h1 /* SPDX-License-Identifier: GPL-2.0-only */
27 #define ST_LSM6DS3TRC_DEV_NAME "lsm6ds3tr-c"
29 #define ST_LSM9DS1_DEV_NAME "lsm9ds1-imu"
163 * struct st_lsm6dsx_fifo_ops - ST IMU FIFO settings
187 * struct st_lsm6dsx_hw_ts_settings - ST IMU hw timer settings
203 * struct st_lsm6dsx_shub_settings - ST IMU hw i2c controller settings
206 * @pullup_en: i2c controller pull-up register info (addr + mask).
258 * struct st_lsm6dsx_ext_dev_settings - i2c controller slave settings
294 * struct st_lsm6dsx_settings - ST IMU sensor settings
301 * @drdy_mask: register info for data-ready mask (addr + mask).
[all …]
H A Dst_lsm6dsx_core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * The ST LSM6DSx IMU MEMS series consists of 3D digital accelerometer
6 * and 3D digital gyroscope system-in-package with a digital I2C/SPI serial
8 * LSM6DSx IMU MEMS series has a dynamic user-selectable full-scale
9 * acceleration range of +-2/+-4/+-8/+-16 g and an angular rate range of
10 * +-125/+-245/+-500/+-1000/+-2000 dps
11 * LSM6DSx series has an integrated First-In-First-Out (FIFO) buffer
16 * Supported sensors:
17 * - LSM6DS3:
18 * - Accelerometer/Gyroscope supported ODR [Hz]: 12.5, 26, 52, 104, 208, 416
[all …]
/openbmc/linux/Documentation/devicetree/bindings/iio/imu/
H A Dst,lsm6dsx.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STM 6-axis (acc + gyro) IMU Mems sensors
10 - Lorenzo Bianconi <lorenzo@kernel.org>
18 - enum:
19 - st,lsm6ds3
20 - st,lsm6ds3h
21 - st,lsm6dsl
22 - st,lsm6dsm
[all …]
/openbmc/linux/drivers/iio/gyro/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
7 menu "Digital gyroscope sensors"
39 ADIS16250 ADIS16255 and ADIS16251 programmable digital gyroscope sensors.
45 tristate "Analog Devices ADXRS290 Dual-Axis MEMS Gyroscope SPI driver"
74 Say yes here to build support for BOSCH BMG160 Tri-axis Gyro Sensor
97 Say yes here to build support for NXP FXAS21002C Tri-axis Gyro
136 inv-mpu3050-i2c.
139 tristate "STMicroelectronics gyroscopes 3-Axis Driver"
151 tristate "STMicroelectronics gyroscopes 3-Axis I2C Interface"
163 tristate "STMicroelectronics gyroscopes 3-Axis SPI Interface"
[all …]
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_sensorhub.c1 // SPDX-License-Identifier: GPL-2.0
3 * Sensor HUB driver that discovers sensors behind a ChromeOS Embedded
19 #define DRV_NAME "cros-ec-sensorhub"
53 struct cros_ec_command *msg = sensorhub->msg; in cros_ec_sensorhub_register()
54 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_register()
59 msg->version = 1; in cros_ec_sensorhub_register()
60 msg->insize = sizeof(struct ec_response_motion_sense); in cros_ec_sensorhub_register()
61 msg->outsize = sizeof(struct ec_params_motion_sense); in cros_ec_sensorhub_register()
63 for (i = 0; i < sensorhub->sensor_num; i++) { in cros_ec_sensorhub_register()
64 sensorhub->params->cmd = MOTIONSENSE_CMD_INFO; in cros_ec_sensorhub_register()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
26 If you have an ACPI-compatible Chromebook, say Y or M here.
34 light sensors and touchpads.
47 The range of memory used is 0xf00000-0x1000000, traditionally
83 EC through an I2C bus. This uses a simple byte-level protocol with
92 through rpmsg. This uses a simple byte-level protocol with a
93 checksum. Also since there's no addition EC-to-host interrupt, this
106 ISH Transport protocol (ISH-TP). This uses a simple byte-level
118 through a SPI bus, using a byte-level protocol. Since the EC's
120 'pre-amble' bytes before the response actually starts.
[all …]
H A Dcros_ec_proto.c1 // SPDX-License-Identifier: GPL-2.0
19 [EC_RES_INVALID_COMMAND] = -EOPNOTSUPP,
20 [EC_RES_ERROR] = -EIO,
21 [EC_RES_INVALID_PARAM] = -EINVAL,
22 [EC_RES_ACCESS_DENIED] = -EACCES,
23 [EC_RES_INVALID_RESPONSE] = -EPROTO,
24 [EC_RES_INVALID_VERSION] = -ENOPROTOOPT,
25 [EC_RES_INVALID_CHECKSUM] = -EBADMSG,
26 [EC_RES_IN_PROGRESS] = -EINPROGRESS,
27 [EC_RES_UNAVAILABLE] = -ENODATA,
[all …]
/openbmc/linux/drivers/iio/imu/bno055/
H A Dbno055.c1 // SPDX-License-Identifier: GPL-2.0
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()
306 dev_dbg(priv->dev, "loading cal data: %*ph", BNO055_CALDATA_LEN, data); in bno055_calibration_load()
[all …]