Home
last modified time | relevance | path

Searched +full:mount +full:- +full:matrix (Results 1 – 25 of 40) sorted by relevance

12

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/
Dmount-matrix.txt2 * is the definition of +/- values practical or counterintuitive?
5 * should we have HOWTO engineer a correct matrix for a new device (without comparing to a different…
10 Mounting matrix
12 The mounting matrix is a device tree property used to orient any device
13 that produce three-dimensional data in relation to the world where it is
16 The purpose of the mounting matrix is to translate the sensor frame of
17 reference into the device frame of reference using a translation matrix as
37 reference. This means that the sensor may be flipped upside-down, left-right,
43 to this world. When using the mounting matrix, the sensor and device orientation
47 Device-to-world examples for some three-dimensional sensor types:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/accel/
Dkionix,kxcjk1013.txt1 Kionix KXCJK-1013 Accelerometer device tree bindings
5 - compatible: Must be one of:
10 - reg: i2c slave address
14 - mount-matrix: an optional 3x3 mounting rotation matrix
21 mount-matrix = "0", "1", "0",
Dkionix,kxsd9.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jonathan Cameron <jic23@kernel.org>
13 3 axis 12 bit accelerometer with +-8G range on all axes. Also has a
23 vdd-supply: true
24 iovdd-supply: true
29 mount-matrix:
30 description: an optional 3x3 mounting rotation matrix.
32 spi-max-frequency: true
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/imu/
Dinv_mpu6050.txt1 InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) MEMS MotionTracking Device
6 - compatible : should be one of
20 - reg : the I2C address of the sensor
21 - interrupts: interrupt mapping for IRQ. It should be configured with flags
25 Refer to interrupt-controller/interrupts.txt for generic interrupt client node
29 - vdd-supply: regulator phandle for VDD supply
30 - vddio-supply: regulator phandle for VDDIO supply
31 - mount-matrix: an optional 3x3 mounting rotation matrix
32 - i2c-gate node. These devices also support an auxiliary i2c bus. This is
33 simple enough to be described using the i2c-gate binding. See
[all …]
Dbosch,bmi160.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jonathan Cameron <jic23@kernel.org>
15 https://www.bosch-sensortec.com/bst/products/all_products/bmi160
27 interrupt-names:
29 - INT1
30 - INT2
35 drive-open-drain:
38 open drain. If not set, defaults to push-pull.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/magnetometer/
Dasahi-kasei,ak8975.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/magnetometer/asahi-kasei,ak8975.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jonathan Albrieux <jonathan.albrieux@gmail.com>
15 - enum:
16 - asahi-kasei,ak8975
17 - asahi-kasei,ak8963
18 - asahi-kasei,ak09911
19 - asahi-kasei,ak09912
[all …]
Dak8974.txt5 - compatible:
6 * "asahi-kasei,ak8974"
8 - reg : the I2C address of the magnetometer
12 - avdd-supply: regulator supply for the analog voltage
14 - dvdd-supply: regulator supply for the digital voltage
16 - interrupts: data ready (DRDY) and interrupt (INT1) lines
20 - mount-matrix: an optional 3x3 mounting rotation matrix
25 compatible = "asahi-kasei,ak8974";
27 avdd-supply = <&foo_reg>;
28 dvdd-supply = <&bar_reg>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/gyroscope/
Dinvensense,mpu3050.txt1 Invensense MPU-3050 Gyroscope device tree bindings
4 - compatible : should be "invensense,mpu3050"
5 - reg : the I2C address of the sensor
8 - interrupts : interrupt mapping for the trigger interrupt from the
13 - vdd-supply : supply regulator for the main power voltage.
14 - vlogic-supply : supply regulator for the signal voltage.
15 - mount-matrix : see iio/mount-matrix.txt
18 - The MPU-3050 will pass through and forward the I2C signals from the
21 i2c gate node. For details see: i2c/i2c-gate.txt
28 interrupt-parent = <&foo>;
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/
Dimx8mq-librem5-r3.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 /dts-v1/;
6 #include "imx8mq-librem5.dtsi"
14 mount-matrix = "1", "0", "0",
16 "0", "0", "-1";
20 ti,battery-regulation-voltage = <4200000>; /* uV */
21 ti,charge-current = <1500000>; /* uA */
22 ti,termination-current = <144000>; /* uA */
26 regulator-always-on;
30 proximity-near-level = <25>;
Dimx8mq-librem5-r2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "imx8mq-librem5.dtsi"
16 ti,battery-regulation-voltage = <4192000>; /* uV */
17 ti,charge-current = <1600000>; /* uA */
18 ti,termination-current = <66000>; /* uA */
22 mount-matrix = "1", "0", "0",
23 "0", "-1", "0",
28 proximity-near-level = <220>;
/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/
Dmsm8916-samsung-a5u-eur.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-samsung-a2015-common.dtsi"
9 compatible = "samsung,a5u-eur", "qcom,msm8916";
13 mount-matrix = "-1", "0", "0",
25 interrupt-parent = <&msmgpio>;
28 touchscreen-size-x = <720>;
29 touchscreen-size-y = <1280>;
31 avdd-supply = <&reg_vdd_tsp>;
32 vdd-supply = <&pm8916_l6>;
[all …]
Dmsm8916-samsung-a3u-eur.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-samsung-a2015-common.dtsi"
9 compatible = "samsung,a3u-eur", "qcom,msm8916";
11 reg_panel_vdd3: regulator-panel-vdd3 {
12 compatible = "regulator-fixed";
13 regulator-name = "panel_vdd3";
14 regulator-min-microvolt = <1800000>;
15 regulator-max-microvolt = <1800000>;
18 enable-active-high;
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dste-href-tvk1281618-r3.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include "ste-href-tvk1281618.dtsi"
12 compatible = "st,lsm303dlhc-accel";
13 st,drdy-int-pin = <1>;
15 vdd-supply = <&ab8500_ldo_aux1_reg>;
16 vddio-supply = <&db8500_vsmps2_reg>;
17 interrupt-parent = <&gpio2>;
20 pinctrl-names = "default";
21 pinctrl-0 = <&accel_tvk_mode>;
22 mount-matrix = "0", "-1", "0",
[all …]
Dtegra20-acer-a500-picasso.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/gpio-keys.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/thermal/thermal.h>
9 #include "tegra20-cpu-opp.dtsi"
10 #include "tegra20-cpu-opp-microvolt.dtsi"
31 * pre-existing /chosen node to be available to insert the
40 reserved-memory {
41 #address-cells = <1>;
[all …]
Dtegra30-asus-nexus7-grouper-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/input/gpio-keys.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/power/summit,smb347-charger.h>
6 #include <dt-bindings/thermal/thermal.h>
9 #include "tegra30-cpu-opp.dtsi"
10 #include "tegra30-cpu-opp-microvolt.dtsi"
26 * pre-existing /chosen node to be available to insert the
35 reserved-memory {
36 #address-cells = <1>;
[all …]
Dste-ux500-samsung-golden.dts1 // SPDX-License-Identifier: GPL-2.0-only
2 /dts-v1/;
4 #include "ste-db8500.dtsi"
5 #include "ste-ab8505.dtsi"
6 #include "ste-dbx5x0-pinctrl.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
13 * You need an intermediate, device-tree compatible bootloader
16 * There is a port of (mainline) U-Boot, see
[all …]
/kernel/linux/linux-5.10/drivers/iio/accel/
Dst_accel_core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2012-2013 STMicroelectronics Inc.
399 * Data Alignment Setting - needs to be set to get
400 * left-justified data like all other sensors.
1001 *val = adata->current_fullscale->gain / 1000000; in st_accel_read_raw()
1002 *val2 = adata->current_fullscale->gain % 1000000; in st_accel_read_raw()
1005 *val = adata->odr; in st_accel_read_raw()
1008 return -EINVAL; in st_accel_read_raw()
1030 return -EINVAL; in st_accel_write_raw()
1031 mutex_lock(&indio_dev->mlock); in st_accel_write_raw()
[all …]
Dkxsd9.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (c) 2008-2009 Jonathan Cameron <jic23@kernel.org>
60 #define KXSD9_CTRL_B_ST BIT(5) /* Self-test */
65 * struct kxsd9_state - device related storage
68 * @orientation: mounting matrix, flipped axis etc
88 #define KXSD9_ZERO_G_OFFSET -2048
108 return -EINVAL; in kxsd9_write_scale()
110 ret = regmap_update_bits(st->map, in kxsd9_write_scale()
118 st->scale = i; in kxsd9_write_scale()
141 int ret = -EINVAL; in kxsd9_write_raw()
[all …]
/kernel/linux/linux-5.10/drivers/iio/
Dindustrialio-core.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #define pr_fmt(fmt) "iio-core: " fmt
28 #include <linux/iio/iio-opaque.h>
180 return iio_dev_opaque->debugfs_dentry; in iio_get_debugfs_dentry()
186 * iio_find_channel_from_si() - get channel from its scan index
195 for (i = 0; i < indio_dev->num_channels; i++) in iio_find_channel_from_si()
196 if (indio_dev->channels[i].scan_index == si) in iio_find_channel_from_si()
197 return &indio_dev->channels[i]; in iio_find_channel_from_si()
206 return sprintf(buf, "%s\n", to_iio_const_attr(attr)->string); in iio_read_const_attr()
211 * iio_device_set_clock() - Set current timestamping clock for the device
[all …]
/kernel/linux/linux-5.10/drivers/iio/gyro/
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 …]
/kernel/linux/linux-5.10/include/linux/iio/
Diio.h1 /* SPDX-License-Identifier: GPL-2.0-only */
37 * struct iio_chan_spec_ext_info - Extended channel info attribute
56 * struct iio_enum - Enum channel info attribute
87 * IIO_ENUM() - Initialize enum extended channel attribute
104 * IIO_ENUM_AVAILABLE() - Initialize enum available extended channel attribute
120 * struct iio_mount_matrix - iio mounting matrix
121 * @rotation: 3 dimensional space rotation matrix defining sensor alignment with
131 struct iio_mount_matrix *matrix);
138 * IIO_MOUNT_MATRIX() - Initialize mount matrix extended channel attribute
151 * struct iio_event_spec - specification for a channel event
[all …]
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c1 // SPDX-License-Identifier: GPL-2.0-only
251 clock = st->chip_config.clk; in inv_mpu6050_pwr_mgmt_1_write()
253 temp_dis = !st->chip_config.temp_en; in inv_mpu6050_pwr_mgmt_1_write()
261 dev_dbg(regmap_get_device(st->map), "pwr_mgmt_1: 0x%x\n", val); in inv_mpu6050_pwr_mgmt_1_write()
262 return regmap_write(st->map, st->reg->pwr_mgmt_1, val); in inv_mpu6050_pwr_mgmt_1_write()
270 switch (st->chip_type) { in inv_mpu6050_clock_switch()
275 ret = inv_mpu6050_pwr_mgmt_1_write(st, false, clock, -1); in inv_mpu6050_clock_switch()
278 st->chip_config.clk = clock; in inv_mpu6050_clock_switch()
296 if (mask & INV_MPU6050_SENSOR_ACCL && en == st->chip_config.accl_en) in inv_mpu6050_switch_engine()
298 if (mask & INV_MPU6050_SENSOR_GYRO && en == st->chip_config.gyro_en) in inv_mpu6050_switch_engine()
[all …]
/kernel/linux/linux-5.10/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
98 return &st->orientation; in inv_icm42600_get_mount_matrix()
142 enum inv_icm42600_sensor_mode oldgyro = st->conf.gyro.mode; in inv_icm42600_set_pwr_mgmt0()
143 enum inv_icm42600_sensor_mode oldaccel = st->conf.accel.mode; in inv_icm42600_set_pwr_mgmt0()
144 bool oldtemp = st->conf.temp_en; in inv_icm42600_set_pwr_mgmt0()
157 ret = regmap_write(st->map, INV_ICM42600_REG_PWR_MGMT0, val); in inv_icm42600_set_pwr_mgmt0()
161 st->conf.gyro.mode = gyro; in inv_icm42600_set_pwr_mgmt0()
162 st->conf.accel.mode = accel; in inv_icm42600_set_pwr_mgmt0()
163 st->conf.temp_en = temp; in inv_icm42600_set_pwr_mgmt0()
206 struct inv_icm42600_sensor_conf *oldconf = &st->conf.accel; in inv_icm42600_set_accel_conf()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/
Dpx30-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
14 compatible = "rockchip,px30-evb", "rockchip,px30";
17 stdout-path = "serial5:115200n8";
20 adc-keys {
21 compatible = "adc-keys";
22 io-channels = <&saradc 2>;
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/hw-vuln/
Dmds.rst1 MDS - Microarchitectural Data Sampling
9 -------------------
14 - Processors from AMD, Centaur and other non Intel vendors
16 - Older processor models, where the CPU family is < 6
18 - Some Atoms (Bonnell, Saltwell, Goldmont, GoldmontPlus)
20 - Intel processors which have the ARCH_CAP_MDS_NO bit set in the
31 ------------
36 CVE-2018-12126 MSBDS Microarchitectural Store Buffer Data Sampling
37 CVE-2018-12130 MFBDS Microarchitectural Fill Buffer Data Sampling
38 CVE-2018-12127 MLPDS Microarchitectural Load Port Data Sampling
[all …]

12