| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/ |
| D | st,st-sensors.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/accel/ |
| D | adi,adxl345.yaml | 1 # 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/accel/ |
| D | adi,adxl345.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/ |
| D | st-sensors.txt | 1 STMicroelectronics MEMS sensors 3 The STMicroelectronics sensor devices are pretty straight-forward I2C or 8 - compatible: see the list of valid compatible strings below 9 - reg: the I2C or SPI address the device will respond to 12 - vdd-supply: an optional regulator that needs to be on to provide VDD 14 - vddio-supply: an optional regulator that needs to be on to provide the 16 - st,drdy-int-pin: the pin on the package that will be used to signal 18 on all sensors. 19 - drive-open-drain: the interrupt/data ready line will be configured 20 as open drain, which is useful if several sensors share the same [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/imu/ |
| D | st_lsm6dsx.txt | 1 * ST_LSM6DSx driver for STM 6-axis (acc + gyro) imu Mems sensors 4 - compatible: must be one of: 14 "st,lsm6ds3tr-c" 16 "st,lsm9ds1-imu" 19 - reg: i2c address of the sensor / spi cs line 22 - st,drdy-int-pin: the pin on the package that will be used to signal 24 - st,pullups : enable/disable internal i2c controller pullup resistors. 25 - drive-open-drain: the interrupt/data ready line will be configured 26 as open drain, which is useful if several sensors share the same 28 (This binding is taken from pinctrl/pinctrl-bindings.txt) [all …]
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | cros_ec_sensorhub.h | 1 /* 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.
|
| /kernel/linux/linux-6.6/include/linux/platform_data/ |
| D | cros_ec_sensorhub.h | 1 /* 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.
|
| /kernel/linux/linux-5.10/drivers/iio/imu/st_lsm6dsx/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors" 14 ism330dlc, lsm6dso, lsm6dsox, asm330lhh, lsm6dsr, lsm6ds3tr-c,
|
| D | st_lsm6dsx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 26 #define ST_LSM6DS3TRC_DEV_NAME "lsm6ds3tr-c" 28 #define ST_LSM9DS1_DEV_NAME "lsm9ds1-imu" 136 * struct st_lsm6dsx_fifo_ops - ST IMU FIFO settings 158 * struct st_lsm6dsx_hw_ts_settings - ST IMU hw timer settings 174 * struct st_lsm6dsx_shub_settings - ST IMU hw i2c controller settings 177 * @pullup_en: i2c controller pull-up register info (addr + mask). 229 * struct st_lsm6dsx_ext_dev_settings - i2c controller slave settings 265 * struct st_lsm6dsx_settings - ST IMU sensor settings 274 * @drdy_mask: register info for data-ready mask (addr + mask). [all …]
|
| D | st_lsm6dsx_core.c | 1 // 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]: 13, 26, 52, 104, 208, 416 [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/imu/st_lsm6dsx/ |
| D | Kconfig | 1 # 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,
|
| D | st_lsm6dsx.h | 1 /* 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 …]
|
| D | st_lsm6dsx_core.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/imu/ |
| D | st,lsm6dsx.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/drivers/iio/gyro/ |
| D | Kconfig | 1 # 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 137 inv-mpu3050-i2c. 140 tristate "STMicroelectronics gyroscopes 3-Axis Driver" 152 - st_gyro (core functions for the driver [it is mandatory]); 153 - st_gyro_i2c (necessary for the I2C devices [optional*]); [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/gyro/ |
| D | Kconfig | 1 # 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 …]
|
| /kernel/linux/linux-5.10/drivers/platform/chrome/ |
| D | cros_ec_sensorhub.c | 1 // 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 …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 23 light sensors and touchpads. 36 The range of memory used is 0xf00000-0x1000000, traditionally 72 EC through an I2C bus. This uses a simple byte-level protocol with 81 through rpmsg. This uses a simple byte-level protocol with a 82 checksum. Also since there's no addition EC-to-host interrupt, this 95 ISH Transport protocol (ISH-TP). This uses a simple byte-level 107 through a SPI bus, using a byte-level protocol. Since the EC's 109 'pre-amble' bytes before the response actually starts. 117 This uses a simple byte-level protocol with a checksum. This is [all …]
|
| D | cros_ec_proto.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/platform/chrome/ |
| D | cros_ec_sensorhub.c | 1 // 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 …]
|
| D | Kconfig | 1 # 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 …]
|
| D | cros_ec_proto.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/iio/imu/bno055/ |
| D | bno055.c | 1 // 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 …]
|