Home
last modified time | relevance | path

Searched +full:motion +full:- +full:sensors (Results 1 – 25 of 41) sorted by relevance

12

/OK3568_Linux_fs/kernel/include/linux/iio/common/
H A Dcros_ec_sensors_core.h1 /* SPDX-License-Identifier: GPL-2.0-only */
29 * Good enough for current sensors, they use up to 3 16 bit vectors.
36 * struct cros_ec_sensors_core_state - state data for EC sensors IIO driver
41 * @param: motion sensor parameters structure
42 * @resp: motion sensor response structure
43 * @type: type of motion sensor
44 * @loc: location where the motion sensor is placed
55 * is always 8-byte aligned.
56 * @read_ec_sensors_data: function used for accessing sensors values
127 /* List of extended channel specification for all sensors. */
/OK3568_Linux_fs/kernel/Documentation/admin-guide/media/
H A Dimx.rst1 .. SPDX-License-Identifier: GPL-2.0
7 ------------
15 - Image DMA Controller (IDMAC)
16 - Camera Serial Interface (CSI)
17 - Image Converter (IC)
18 - Sensor Multi-FIFO Controller (SMFC)
19 - Image Rotator (IRT)
20 - Video De-Interlacing or Combining Block (VDIC)
26 re-ordering (for example UYVY to YUYV) within the same colorspace, and
27 packed <--> planar conversion. The IDMAC can also perform a simple
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-driver-hid-wiimote19 motionp is the official Nintendo Motion+ extension, nunchuck is
24 Starting with kernel-version 3.11 Motion Plus hotplugging is
26 extension. You will get uevent notifications for the motion-plus
40 Other strings for each device-type are available and may be
41 added if new device-specific detections are added.
57 values for all 4 sensors. The values are separated by colons and
59 First, 0kg values for all 4 sensors are written, followed by the
60 17kg values for all 4 sensors and last the 34kg values for all 4
61 sensors.
64 values but may be used by user-space to perform other
[all …]
H A Dsysfs-bus-iio-mpu60505 Contact: linux-iio@vger.kernel.org
7 This is mounting matrix for motion sensors. Mounting matrix
9 [0, 1, 0; 1, 0, 0; 0, 0, -1]. Using this information, it would be
10 easy to tell the relative positions among sensors as well as their
11 positions relative to the board that holds these sensors. Identity matrix
H A Dsysfs-bus-iio-cros-ec4 Contact: linux-iio@vger.kernel.org
13 Contact: linux-iio@vger.kernel.org
16 the motion sensor is placed. For example, in a laptop a motion
23 Contact: linux-iio@vger.kernel.org
25 This attribute is exposed by the CrOS EC sensors driver and
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/imu/
H A Dnxp,fxos8700.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Robert Jones <rjones@gateworks.com>
14 …https://www.nxp.com/products/sensors/motion-sensors/6-axis/digital-motion-sensor-3d-accelerometer-
19 - nxp,fxos8700
28 interrupt-names:
33 - INT1
34 - INT2
36 drive-open-drain:
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/media/drivers/
H A Dcpia2_devel.rst1 .. SPDX-License-Identifier: GPL-2.0
15 - This is a driver version stripped of the 2.4 back compatibility
26 CMOS sensors - the vvl6410 CIF sensor and the vvl6500 VGA sensor. These will
27 be referred to as the 410 and the 500 sensors, or the CIF and VGA sensors.
47 compressed as Motion JPEG (JPEGA). The VC controls all of the compression
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dimx6sx-udoo-neo-extended.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "imx6sx-udoo-neo.dtsi"
20 &i2c4 { /* Onboard Motion sensors */
H A Dimx6sx-udoo-neo-full.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "imx6sx-udoo-neo.dtsi"
21 phy-handle = <&ethphy1>;
25 #address-cells = <1>;
26 #size-cells = <0>;
28 ethphy1: ethernet-phy@0 {
29 compatible = "ethernet-phy-ieee802.3-c22";
35 &i2c4 { /* Onboard Motion sensors */
H A Dimx6sx-udoo-neo.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
12 stdout-path = "serial0:115200n8";
16 compatible = "gpio-leds";
19 label = "udoo-neo:red:mmc";
21 default-state = "off";
22 linux,default-trigger = "mmc0";
26 label = "udoo-neo:orange:user";
28 default-state = "keep";
32 reg_sdio_pwr: regulator-sdio-pwr {
33 compatible = "regulator-fixed";
[all …]
/OK3568_Linux_fs/kernel/Documentation/hid/
H A Dhid-sensor.rst2 HID Sensors Framework
9 "Standardization of HID usages for sensors would allow (but not require) sensor
26 Logical Minimum(-32767)
35 The report is indicating "sensor page (0x20)" contains an accelerometer-3D (0x73).
36 This accelerometer-3D has some fields. Here for example field 2 is motion intensity
37 (0x045f) with a logical minimum value of -32767 and logical maximum of 32767. The
45 This specification defines many different types of sensors with different sets of
47 for different sensors. For example an accelerometer can send X,Y and Z data, whereas
51 - Core hid driver
52 - Individual sensor processing part (sensor drivers)
[all …]
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-playstation.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 #include <linux/led-class-multicolor.h>
20 #include "hid-ids.h"
52 /* Calibration data for playstation motion sensors. */
147 struct input_dev *sensors; member
208 /* Motion sensors */
222 static_assert(sizeof(struct dualsense_input_report) == DS_INPUT_REPORT_USB_SIZE - 1);
308 {0, -1}, {1, -1}, {1, 0}, {1, 1}, {0, 1}, {-1, 1}, {-1, 0}, {-1, -1},
326 if (!memcmp(entry->mac_address, dev->mac_address, sizeof(dev->mac_address))) { in ps_devices_list_add()
327 hid_err(dev->hdev, "Duplicate device found for MAC address %pMR.\n", in ps_devices_list_add()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
15 most commonly used to refer to the USB-HID specification, but other
20 removed from the HID bus by the transport-layer drivers, such as
53 to work on raw hid events when they want to, and avoid using transport-specific
59 tristate "User-space I/O driver support for HID subsystem"
63 Say Y here if you want to provide HID I/O Drivers from user-space.
64 This allows to write I/O drivers in user-space and feed the data from
67 user-space device.
69 This driver cannot be used to parse HID-reports in user-space and write
70 special HID-drivers. You should use hidraw for that.
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/light/
H A Dcros_ec_light_prox.c1 // SPDX-License-Identifier: GPL-2.0
3 * cros_ec_light_prox - Driver for light and prox sensors behing CrosEC.
25 * light sensors to return the what the eye would see. For proximity, we
32 /* Shared by all sensors */
46 int idx = chan->scan_index; in cros_ec_light_prox_read()
48 mutex_lock(&st->core.cmd_lock); in cros_ec_light_prox_read()
52 if (chan->type == IIO_PROXIMITY) { in cros_ec_light_prox_read()
60 ret = -EINVAL; in cros_ec_light_prox_read()
64 if (chan->type == IIO_LIGHT) { in cros_ec_light_prox_read()
71 * pre-processed and represents the ambient light in cros_ec_light_prox_read()
[all …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-camera.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _camera-controls:
10 digital) features of a device such as controllable lenses or sensors.
13 .. _camera-control-id:
23 .. _v4l2-exposure-auto-type:
28 enum v4l2_exposure_auto_type -
36 .. flat-table::
37 :header-rows: 0
38 :stub-columns: 0
40 * - ``V4L2_EXPOSURE_AUTO``
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/common/cros_ec_sensors/
H A Dcros_ec_sensors.c1 // SPDX-License-Identifier: GPL-2.0
3 * cros_ec_sensors - Driver for Chrome OS Embedded Controller sensors.
7 * This driver uses the cros-ec interface to communicate with the Chrome OS
8 * EC about sensors data. Data access is presented through iio sysfs.
29 /* Shared by all sensors */
44 int idx = chan->scan_index; in cros_ec_sensors_read()
46 mutex_lock(&st->core.cmd_lock); in cros_ec_sensors_read()
50 ret = st->core.read_ec_sensors_data(indio_dev, 1 << idx, &data); in cros_ec_sensors_read()
57 st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_OFFSET; in cros_ec_sensors_read()
58 st->core.param.sensor_offset.flags = 0; in cros_ec_sensors_read()
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/imu/st_lsm6dsr/
H A Dst_lsm6dsr_embfunc.c1 // SPDX-License-Identifier: GPL-2.0+
82 * will be managed as event sensors
107 /* motion */
117 /* no motion */
200 err = hw->tf->write(hw->dev, in st_lsm6dsr_fsm_write()
207 err = hw->tf->write(hw->dev, in st_lsm6dsr_fsm_write()
215 err = hw->tf->write(hw->dev, in st_lsm6dsr_fsm_write()
224 err = hw->tf->write(hw->dev, in st_lsm6dsr_fsm_write()
240 struct st_lsm6dsr_hw *hw = sensor->hw; in st_lsm6dsr_ef_pg1_sensor_set_enable()
247 mutex_lock(&hw->page_lock); in st_lsm6dsr_ef_pg1_sensor_set_enable()
[all …]
H A Dst_lsm6dsr_core.c1 // SPDX-License-Identifier: GPL-2.0+
361 * sensors. ODR value can be also decimal (i.e 12.5 Hz)
405 * and Temp sensors.
575 * Significant Motion IIO channels description
577 * Significant Motion exports to IIO framework the following event channels:
578 * Significant Motion event detection
633 * Motion IIO channels description
635 * Motion exports to IIO framework the following event channels:
636 * Motion event detection
643 * No Motion IIO channels description
[all …]
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
13 can include temperature sensors, voltage sensors, fan speed
14 sensors and various additional features such as the ability to
17 sensors chip(s) below.
20 sensors-detect script from the lm_sensors package. Read
21 <file:Documentation/hwmon/userspace-tools.rst> for details.
49 used to access sensors outside the AB8500 chip.
52 will be called abx500-temp.
74 third revision of the Abit uGuru chip. Only reading the sensors
88 AD7314, ADT7301 and ADT7302 temperature sensors.
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/pressure/
H A Dcros_ec_baro.c1 // SPDX-License-Identifier: GPL-2.0
3 * cros_ec_baro - Driver for barometer sensor behind CrosEC.
30 /* Shared by all sensors */
43 int idx = chan->scan_index; in cros_ec_baro_read()
45 mutex_lock(&st->core.cmd_lock); in cros_ec_baro_read()
58 st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_RANGE; in cros_ec_baro_read()
59 st->core.param.sensor_range.data = EC_MOTION_SENSE_NO_VALUE; in cros_ec_baro_read()
61 ret = cros_ec_motion_send_host_cmd(&st->core, 0); in cros_ec_baro_read()
65 *val = st->core.resp->sensor_range.ret; in cros_ec_baro_read()
67 /* scale * in_pressure_raw --> kPa */ in cros_ec_baro_read()
[all …]
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dcros_ec_commands.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * NOTE: This file is auto-generated from ChromeOS EC Open Source code from
52 * The actual block is 0x800-0x8ff, but some BIOSes think it's 0x880-0x8ff
73 #define EC_MEMMAP_TEMP_SENSOR 0x00 /* Temp sensors 0x00 - 0x0f */
74 #define EC_MEMMAP_FAN 0x10 /* Fan speeds 0x10 - 0x17 */
75 #define EC_MEMMAP_TEMP_SENSOR_B 0x18 /* More temp sensors 0x18 - 0x1f */
77 #define EC_MEMMAP_ID_VERSION 0x22 /* Version of data in 0x20 - 0x2f */
78 #define EC_MEMMAP_THERMAL_VERSION 0x23 /* Version of data in 0x00 - 0x1f */
79 #define EC_MEMMAP_BATTERY_VERSION 0x24 /* Version of data in 0x40 - 0x7f */
80 #define EC_MEMMAP_SWITCHES_VERSION 0x25 /* Version of data in 0x30 - 0x33 */
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/
H A 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>
28 - enum:
29 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin
30 - ad,ad7414
31 # ADM9240: Complete System Hardware Monitor for uProcessor-Based Systems
32 - ad,adm9240
[all …]
/OK3568_Linux_fs/kernel/drivers/input/rmi4/
H A Drmi_f11.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2011-2015 Synaptics Incorporated
42 * by parsing that sensors query registers.
46 * sensors data registers must be determined by parsing its query registers.
66 * @rezero - writing this to the F11 command register will cause the sensor to
183 * @nr_fingers - describes the maximum number of fingers the 2-D sensor
185 * @has_rel - the sensor supports relative motion reporting.
186 * @has_abs - the sensor supports absolute poition reporting.
187 * @has_gestures - the sensor supports gesture reporting.
188 * @has_sensitivity_adjust - the sensor supports a global sensitivity
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/accel/
H A Dsca3000.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * sca3000_core.c -- support VTI sca3000 series accelerometers via SPI
44 /* Temp read untested - the e05 doesn't have the sensor */
62 * In motion detection mode the accelerations are band pass filtered
63 * (approx 1 - 25Hz) and then a programmable threshold used to trigger
82 /* Only available for SCA3000-D03 and SCA3000-D01 */
104 * Control which motion detector interrupts are on.
138 * Bypass - Bypass the low-pass filter in the signal channel so as to increase
141 * Narrow - Narrow low-pass filtering of the signal channel and half output
144 * Wide - Widen low-pass filtering of signal channel to increase bandwidth
[all …]
/OK3568_Linux_fs/kernel/drivers/input/sensors/angle/
H A Dangle_lis3dh.c1 /* drivers/input/sensors/access/kxtik.c
3 * Copyright (C) 2012-2015 ROCKCHIP.
4 * Author: luowei <lw@rock-chips.com>
32 #include <linux/sensor-dev.h>
38 /* full scale setting - register & mask */
68 #define LIS3DH_BOUNDARY (0x1 << (LIS3DH_PRECISION - 1))
96 sensor->ops->ctrl_data = sensor_read_reg(client, sensor->ops->ctrl_reg); in sensor_active()
98 sensor->ops->ctrl_data |= ODR100; //100HZ,if 0 then power down in sensor_active()
104 sensor->ops->ctrl_data |= status; in sensor_active()
109 sensor->ops->ctrl_data &= status; in sensor_active()
[all …]

12