Home
last modified time | relevance | path

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

123

/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-4.19/Documentation/devicetree/bindings/iio/magnetometer/
Dak8975.txt5 - compatible : should be "asahi-kasei,ak8975"
6 - reg : the I2C address of the magnetometer
10 - gpios : should be device tree identifier of the magnetometer DRDY pin
11 - vdd-supply: an optional regulator that needs to be on to provide VDD
12 - mount-matrix: an optional 3x3 mounting rotation matrix
17 compatible = "asahi-kasei,ak8975";
20 vdd-supply = <&ldo_3v3_gnss>;
21 mount-matrix = "-0.984807753012208", /* x0 */
23 "-0.173648177666930", /* z0 */
25 "-1", /* y1 */
[all …]
Dak8974.txt5 - compatible : should be "asahi-kasei,ak8974"
6 - reg : the I2C address of the magnetometer
10 - avdd-supply: regulator supply for the analog voltage
12 - dvdd-supply: regulator supply for the digital voltage
14 - interrupts: data ready (DRDY) and interrupt (INT1) lines
18 - mount-matrix: an optional 3x3 mounting rotation matrix
23 compatible = "asahi-kasei,ak8974";
25 avdd-supply = <&foo_reg>;
26 dvdd-supply = <&bar_reg>;
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/imu/
Dinv_mpu6050.txt1 InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) MEMS MotionTracking Device
6 - compatible : should be one of
14 - reg : the I2C address of the sensor
15 - interrupts: interrupt mapping for IRQ. It should be configured with flags
19 Refer to interrupt-controller/interrupts.txt for generic interrupt client node
23 - mount-matrix: an optional 3x3 mounting rotation matrix
24 - i2c-gate node. These devices also support an auxiliary i2c bus. This is
25 simple enough to be described using the i2c-gate binding. See
26 i2c/i2c-gate.txt for more details.
32 interrupt-parent = <&gpio1>;
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/accel/
Dkionix,kxsd9.txt4 - compatible: should be set to "kionix,kxsd9"
5 - reg: i2c slave address
8 - vdd-supply: The input supply for VDD
9 - iovdd-supply: The input supply for IOVDD
10 - interrupts: The movement detection interrupt
11 - mount-matrix: See mount-matrix.txt
18 interrupt-parent = <&foo>;
20 iovdd-supply = <&bar>;
21 vdd-supply = <&baz>;
/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-4.19/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/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 …]
/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-4.19/drivers/iio/accel/
Dkxsd9.c5 * Copyright (c) 2008-2009 Jonathan Cameron <jic23@kernel.org>
63 #define KXSD9_CTRL_B_ST BIT(5) /* Self-test */
68 * struct kxsd9_state - device related storage
71 * @orientation: mounting matrix, flipped axis etc
91 #define KXSD9_ZERO_G_OFFSET -2048
111 return -EINVAL; in kxsd9_write_scale()
113 ret = regmap_update_bits(st->map, in kxsd9_write_scale()
121 st->scale = i; in kxsd9_write_scale()
144 int ret = -EINVAL; in kxsd9_write_raw()
147 pm_runtime_get_sync(st->dev); in kxsd9_write_raw()
[all …]
/kernel/linux/linux-4.19/drivers/iio/
Dindustrialio-core.c12 #define pr_fmt(fmt) "iio-core: " fmt
164 * iio_find_channel_from_si() - get channel from its scan index
173 for (i = 0; i < indio_dev->num_channels; i++) in iio_find_channel_from_si()
174 if (indio_dev->channels[i].scan_index == si) in iio_find_channel_from_si()
175 return &indio_dev->channels[i]; in iio_find_channel_from_si()
184 return sprintf(buf, "%s\n", to_iio_const_attr(attr)->string); in iio_read_const_attr()
191 const struct iio_event_interface *ev_int = indio_dev->event_interface; in iio_device_set_clock()
193 ret = mutex_lock_interruptible(&indio_dev->mlock); in iio_device_set_clock()
198 mutex_unlock(&indio_dev->mlock); in iio_device_set_clock()
199 return -EBUSY; in iio_device_set_clock()
[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/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-4.19/include/linux/iio/
Diio.h40 * struct iio_chan_spec_ext_info - Extended channel info attribute
59 * struct iio_enum - Enum channel info attribute
90 * IIO_ENUM() - Initialize enum extended channel attribute
107 * IIO_ENUM_AVAILABLE() - Initialize enum available extended channel attribute
123 * struct iio_mount_matrix - iio mounting matrix
124 * @rotation: 3 dimensional space rotation matrix defining sensor alignment with
134 struct iio_mount_matrix *matrix);
141 * IIO_MOUNT_MATRIX() - Initialize mount matrix extended channel attribute
154 * struct iio_event_spec - specification for a channel event
177 * struct iio_chan_spec - specification of a single channel
[all …]

123