Home
last modified time | relevance | path

Searched +full:3 +full:- +full:axis +full:- +full:digital +full:- +full:gyroscope (Results 1 – 25 of 27) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/iio/gyro/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # IIO Digital Gyroscope Sensor drivers configuration
7 menu "Digital gyroscope sensors"
10 tristate "Analog Devices ADIS16080/100 Yaw Rate Gyroscope with SPI driver"
14 Rate Gyroscope with SPI.
30 ADIS16136 gyroscope devices.
33 tristate "Analog Devices ADIS16260 Digital Gyroscope Sensor SPI driver"
39 ADIS16250 ADIS16255 and ADIS16251 programmable digital gyroscope sensors.
45 tristate "Analog Devices ADXRS290 Dual-Axis MEMS Gyroscope SPI driver"
51 digital output gyroscope.
[all …]
Dadis16260.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ADIS16260/ADIS16265 Programmable Digital Gyroscope Sensor Driver
20 #define ADIS16260_GYRO_OUT 0x04 /* X-axis gyroscope output */
32 #define ADIS16260_GPIO_CTRL 0x32 /* Control, digital I/O line */
33 #define ADIS16260_MSC_CTRL 0x34 /* Control, data ready, self-test settings */
50 /* Internal self-test enable */
72 #define ADIS16260_DIAG_STAT_SPI_FAIL_BIT 3
79 #define ADIS16260_GLOB_CMD_FLASH_UPD (1<<3)
95 #define ADIS16260_SCAN_TEMP 3
175 ret = adis_write_reg_16(&adis16260->adis, ADIS16260_SLP_CNT, val); in adis16260_stop_device()
[all …]
Ditg3200_buffer.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * itg3200_buffer.c -- support InvenSense ITG3200
4 * Digital 3-Axis Gyroscope driver
28 .addr = i2c->addr, in itg3200_read_all_channels()
29 .flags = i2c->flags, in itg3200_read_all_channels()
34 .addr = i2c->addr, in itg3200_read_all_channels()
35 .flags = i2c->flags | I2C_M_RD, in itg3200_read_all_channels()
41 return i2c_transfer(i2c->adapter, msg, 2); in itg3200_read_all_channels()
47 struct iio_dev *indio_dev = pf->indio_dev; in itg3200_trigger_handler()
58 int ret = itg3200_read_all_channels(st->i2c, scan.buf); in itg3200_trigger_handler()
[all …]
Ditg3200_core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * itg3200_core.c -- support InvenSense ITG3200
4 * Digital 3-Axis Gyroscope driver
11 * - Support digital low pass filter
12 * - Support power management
37 return i2c_smbus_write_byte_data(st->i2c, 0x80 | reg_address, val); in itg3200_write_reg_8()
46 ret = i2c_smbus_read_byte_data(st->i2c, reg_address); in itg3200_read_reg_8()
57 struct i2c_client *client = st->i2c; in itg3200_read_reg_s16()
63 .addr = client->addr, in itg3200_read_reg_s16()
64 .flags = client->flags, in itg3200_read_reg_s16()
[all …]
Dmpu3050-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * MPU3050 gyroscope driver
13 * TODO: add support for setting up the low pass 3dB frequency.
39 * Register map: anything suffixed *_H is a big-endian high byte and always
76 /* Bits 8-11 select memory bank */
80 #define MPU3050_MEM_RAM_BANK_3 3
83 #define MPU3050_AXIS_REGS(axis) (MPU3050_XOUT_H + (axis * 2)) argument
91 #define MPU3050_FIFO_EN_AUX_XOUT BIT(3)
98 * Digital Low Pass filter (DLPF)
118 #define MPU3050_FS_SHIFT 3
[all …]
/kernel/linux/linux-5.10/drivers/iio/gyro/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # IIO Digital Gyroscope Sensor drivers configuration
7 menu "Digital gyroscope sensors"
10 tristate "Analog Devices ADIS16080/100 Yaw Rate Gyroscope with SPI driver"
14 Rate Gyroscope with SPI.
30 ADIS16136 gyroscope devices.
33 tristate "Analog Devices ADIS16260 Digital Gyroscope Sensor SPI driver"
39 ADIS16250 ADIS16255 and ADIS16251 programmable digital gyroscope sensors.
45 tristate "Analog Devices ADXRS290 Dual-Axis MEMS Gyroscope SPI driver"
51 digital output gyroscope.
[all …]
Ditg3200_buffer.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * itg3200_buffer.c -- support InvenSense ITG3200
4 * Digital 3-Axis Gyroscope driver
28 .addr = i2c->addr, in itg3200_read_all_channels()
29 .flags = i2c->flags, in itg3200_read_all_channels()
34 .addr = i2c->addr, in itg3200_read_all_channels()
35 .flags = i2c->flags | I2C_M_RD, in itg3200_read_all_channels()
41 return i2c_transfer(i2c->adapter, msg, 2); in itg3200_read_all_channels()
47 struct iio_dev *indio_dev = pf->indio_dev; in itg3200_trigger_handler()
58 int ret = itg3200_read_all_channels(st->i2c, scan.buf); in itg3200_trigger_handler()
[all …]
Dadis16260.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ADIS16260/ADIS16265 Programmable Digital Gyroscope Sensor Driver
25 #define ADIS16260_GYRO_OUT 0x04 /* X-axis gyroscope output */
37 #define ADIS16260_GPIO_CTRL 0x32 /* Control, digital I/O line */
38 #define ADIS16260_MSC_CTRL 0x34 /* Control, data ready, self-test settings */
55 /* Internal self-test enable */
77 #define ADIS16260_DIAG_STAT_SPI_FAIL_BIT 3
84 #define ADIS16260_GLOB_CMD_FLASH_UPD (1<<3)
100 #define ADIS16260_SCAN_TEMP 3
180 ret = adis_write_reg_16(&adis16260->adis, ADIS16260_SLP_CNT, val); in adis16260_stop_device()
[all …]
Ditg3200_core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * itg3200_core.c -- support InvenSense ITG3200
4 * Digital 3-Axis Gyroscope driver
11 * - Support digital low pass filter
12 * - Support power management
36 return i2c_smbus_write_byte_data(st->i2c, 0x80 | reg_address, val); in itg3200_write_reg_8()
45 ret = i2c_smbus_read_byte_data(st->i2c, reg_address); in itg3200_read_reg_8()
56 struct i2c_client *client = st->i2c; in itg3200_read_reg_s16()
62 .addr = client->addr, in itg3200_read_reg_s16()
63 .flags = client->flags, in itg3200_read_reg_s16()
[all …]
Dmpu3050-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * MPU3050 gyroscope driver
13 * TODO: add support for setting up the low pass 3dB frequency.
37 * Register map: anything suffixed *_H is a big-endian high byte and always
74 /* Bits 8-11 select memory bank */
78 #define MPU3050_MEM_RAM_BANK_3 3
81 #define MPU3050_AXIS_REGS(axis) (MPU3050_XOUT_H + (axis * 2)) argument
89 #define MPU3050_FIFO_EN_AUX_XOUT BIT(3)
96 * Digital Low Pass filter (DLPF)
116 #define MPU3050_FS_SHIFT 3
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/gyroscope/
Dnxp,fxas21002c.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/gyroscope/nxp,fxas21002c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP FXAS21002C Gyroscope
10 - Rui Miguel Silva <rmfrfs@gmail.com>
13 3 axis digital gyroscope device with an I2C and SPI interface.
14 http://www.nxp.com/products/sensors/gyroscopes/3-axis-digital-gyroscope:FXAS21002C
23 vdd-supply:
26 vddio-supply:
[all …]
/kernel/linux/linux-6.6/drivers/iio/accel/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer"
15 Say Y here to build support for Analog Devices adis16201 dual-axis
16 digital inclinometer and accelerometer.
22 tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer"
27 Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer
37 tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer I2C Driver"
43 ADXL313 3-axis digital accelerometer.
50 tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer SPI Driver"
56 ADXL313 3-axis digital accelerometer.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/gyroscope/
Dnxp,fxas21002c.txt1 * NXP FXAS21002C Gyroscope device tree bindings
3 http://www.nxp.com/products/sensors/gyroscopes/3-axis-digital-gyroscope:FXAS21002C
6 - compatible : should be "nxp,fxas21002c"
7 - reg : the I2C address of the sensor or SPI chip select number for the
9 - vdd-supply: phandle to the regulator that provides power to the sensor.
10 - vddio-supply: phandle to the regulator that provides power to the bus.
13 - reset-gpios : gpio used to reset the device, see gpio/gpio.txt
14 - interrupts : device support 2 interrupts, INT1 and INT2,
16 See interrupt-controller/interrupts.txt
17 - interrupt-names: should contain "INT1" or "INT2", the gyroscope interrupt
[all …]
/kernel/linux/linux-6.6/drivers/iio/imu/
Dadis16400.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * 3d 2g Linear Accelerometers,
5 * 3d Gyroscopes,
6 * 3d Magnetometers via SPI
31 #define ADIS16400_XGYRO_OUT 0x04 /* X-axis gyroscope output */
32 #define ADIS16400_YGYRO_OUT 0x06 /* Y-axis gyroscope output */
33 #define ADIS16400_ZGYRO_OUT 0x08 /* Z-axis gyroscope output */
34 #define ADIS16400_XACCL_OUT 0x0A /* X-axis accelerometer output */
35 #define ADIS16400_YACCL_OUT 0x0C /* Y-axis accelerometer output */
36 #define ADIS16400_ZACCL_OUT 0x0E /* Z-axis accelerometer output */
[all …]
/kernel/linux/linux-5.10/drivers/iio/imu/
Dadis16400.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * 3d 2g Linear Accelerometers,
5 * 3d Gyroscopes,
6 * 3d Magnetometers via SPI
38 #define ADIS16400_XGYRO_OUT 0x04 /* X-axis gyroscope output */
39 #define ADIS16400_YGYRO_OUT 0x06 /* Y-axis gyroscope output */
40 #define ADIS16400_ZGYRO_OUT 0x08 /* Z-axis gyroscope output */
41 #define ADIS16400_XACCL_OUT 0x0A /* X-axis accelerometer output */
42 #define ADIS16400_YACCL_OUT 0x0C /* Y-axis accelerometer output */
43 #define ADIS16400_ZACCL_OUT 0x0E /* Z-axis accelerometer output */
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/imu/
Dinvensense,icm42600.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: InvenSense ICM-426xx Inertial Measurement Unit
10 - Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
13 6-axis MotionTracking device that combines a 3-axis gyroscope and a 3-axis
18 ultra-low-power wake-on-motion support to minimize system power consumption.
20 Other industry-leading features include InvenSense on-chip APEX Motion
22 pedometer, along with programmable digital filters, and an embedded
25 https://invensense.tdk.com/wp-content/uploads/2020/03/DS-000292-ICM-42605-v1.4.pdf
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/imu/
Dinvensense,icm42600.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: InvenSense ICM-426xx Inertial Measurement Unit
10 - Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
13 6-axis MotionTracking device that combines a 3-axis gyroscope and a 3-axis
18 ultra-low-power wake-on-motion support to minimize system power consumption.
20 Other industry-leading features include InvenSense on-chip APEX Motion
22 pedometer, along with programmable digital filters, and an embedded
25 https://invensense.tdk.com/wp-content/uploads/2020/03/DS-000292-ICM-42605-v1.4.pdf
[all …]
/kernel/linux/linux-5.10/include/linux/iio/gyro/
Ditg3200.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * itg3200.h -- support InvenSense ITG3200
4 * Digital 3-Axis Gyroscope driver
24 /* Digital low pass filter settings */
59 /* Determine the status of ITG-3200 interrupts */
61 /* Status of 'device is ready'-interrupt */
63 /* Status of 'data is available'-interrupt */
79 * power-up-default settings */
83 /* Put according gyroscope in standby mode */
97 * struct itg3200 - device instance specific data
/kernel/linux/linux-6.6/include/linux/iio/gyro/
Ditg3200.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * itg3200.h -- support InvenSense ITG3200
4 * Digital 3-Axis Gyroscope driver
24 /* Digital low pass filter settings */
59 /* Determine the status of ITG-3200 interrupts */
61 /* Status of 'device is ready'-interrupt */
63 /* Status of 'data is available'-interrupt */
79 * power-up-default settings */
83 /* Put according gyroscope in standby mode */
97 * struct itg3200 - device instance specific data
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_iio.h1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include <linux/i2c-mux.h>
23 * struct inv_mpu6050_reg_map - Notable registers.
42 * @gyro_offset: Controls the gyroscope calibration offset.
86 /* chip sensors mask: accelerometer, gyroscope, temperature, magnetometer */
90 #define INV_MPU6050_SENSOR_MAGN BIT(3)
93 * struct inv_mpu6050_chip_config - Cached chip configuration data.
96 * @lpf: Digital low pass filter frequency.
106 * @divider: chip sample rate divider (sample rate divider - 1)
109 unsigned int clk:3;
[all …]
/kernel/linux/linux-6.6/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_iio.h1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include <linux/i2c-mux.h>
25 * struct inv_mpu6050_reg_map - Notable registers.
44 * @gyro_offset: Controls the gyroscope calibration offset.
91 /* chip sensors mask: accelerometer, gyroscope, temperature, magnetometer */
95 #define INV_MPU6050_SENSOR_MAGN BIT(3)
98 * struct inv_mpu6050_chip_config - Cached chip configuration data.
101 * @lpf: Digital low pass filter frequency.
111 * @divider: chip sample rate divider (sample rate divider - 1)
114 unsigned int clk:3;
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-bus-iio3 Contact: linux-iio@vger.kernel.org
11 Contact: linux-iio@vger.kernel.org
25 Contact: linux-iio@vger.kernel.org
31 Contact: linux-iio@vger.kernel.org
38 Contact: linux-iio@vger.kernel.org
44 The contents of the label are free-form, but there are some
51 * "proximity-wifi"
52 * "proximity-lte"
53 * "proximity-wifi-lte"
54 * "proximity-wifi-left"
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-iio3 Contact: linux-iio@vger.kernel.org
11 Contact: linux-iio@vger.kernel.org
25 Contact: linux-iio@vger.kernel.org
31 Contact: linux-iio@vger.kernel.org
38 Contact: linux-iio@vger.kernel.org
48 Contact: linux-iio@vger.kernel.org
65 Contact: linux-iio@vger.kernel.org
70 - a small discrete set of values like "0 2 4 6 8"
71 - a range with minimum, step and maximum frequencies like
76 Contact: linux-iio@vger.kernel.org
[all …]
/kernel/linux/linux-6.6/drivers/hid/
Dhid-nintendo.c1 // SPDX-License-Identifier: GPL-2.0+
3 * HID driver for Nintendo Switch Joy-Cons and Pro Controllers
5 * Copyright (c) 2019-2021 Daniel J. Ogorchock <djogorchock@gmail.com>
9 * https://gitlab.com/pjranki/joycon-linux-kernel (Peter Rankin)
13 * hid-wiimote kernel hid driver
14 * hid-logitech-hidpp driver
15 * hid-sony driver
17 * This driver supports the Nintendo Switch Joy-Cons and Pro Controllers. The
25 #include "hid-ids.h"
113 (JC_CAL_USR_LEFT_DATA_END - JC_CAL_USR_LEFT_DATA_ADDR + 1)
[all …]
/kernel/linux/linux-5.10/drivers/hid/
Dhid-sony.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
7 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
10 * Copyright (c) 2006-2013 Jiri Kosina
12 * Copyright (c) 2014-2016 Frank Praznik <frank.praznik@gmail.com>
40 #include "hid-ids.h"
45 #define BUZZ_CONTROLLER BIT(3)
83 /* PS/3 Motion controller */
122 0x95, 0x03, /* Report Count (3), * 3x Accels */
128 0x95, 0x03, /* Report Count (3), * Skip Accels 2nd frame */
[all …]

12