/Linux-v5.15/Documentation/devicetree/bindings/iio/ |
D | mount-matrix.txt | 2 * 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 …]
|
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# 9 description: The STMicroelectronics sensor devices are pretty straight-forward 14 The STMicroelectronics sensor devices are pretty straight-forward I2C or 19 - Denis Ciocca <denis.ciocca@st.com> 20 - Linus Walleij <linus.walleij@linaro.org> 25 - description: STMicroelectronics Accelerometers 27 - st,h3lis331dl-accel [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/iio/accel/ |
D | kionix,kxcjk1013.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Kionix KXCJK-1013 Accelerometer 10 - Robert Yang <decatf@gmail.com> 15 - kionix,kxcjk1013 16 - kionix,kxcj91008 17 - kionix,kxtj21009 18 - kionix,kxtf9 19 - kionix,kx023-1025 [all …]
|
D | kionix,kxsd9.yaml | 1 # 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 …]
|
D | bosch,bma255.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 11 - Stephan Gerhold <stephan@gerhold.net> 15 4-wire interface. 20 # bmc150-accel driver in Linux 21 - bosch,bma222 22 - bosch,bma222e 23 - bosch,bma250e [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/iio/magnetometer/ |
D | asahi-kasei,ak8975.yaml | 1 # 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 …]
|
D | yamaha,yas530.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 13 The Yamaha YAS530 magnetometers is a line of 3-axis magnetometers 20 pattern: '^magnetometer@[0-9a-f]+$' 24 - enum: 25 - yamaha,yas530 26 - yamaha,yas532 27 - yamaha,yas533 [all …]
|
D | asahi-kasei,ak8974.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/magnetometer/asahi-kasei,ak8974.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 15 - alps,hscdtd008a 16 - asahi-kasei,ak8974 29 avdd-supply: true 31 dvdd-supply: true 33 mount-matrix: true [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/iio/imu/ |
D | bosch,bmi160.yaml | 1 # 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 …]
|
D | invensense,mpu6050.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) MEMS MotionTracking Device 10 - Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> 18 - invensense,iam20680 19 - invensense,icm20608 20 - invensense,icm20609 21 - invensense,icm20689 22 - invensense,icm20602 [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/freescale/ |
D | imx8mq-librem5-r2.dts | 1 // 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 = <120>;
|
D | imx8mq-librem5-r3.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 /dts-v1/; 6 #include "imx8mq-librem5.dtsi" 14 opp-1000000000 { 15 opp-microvolt = <1000000>; 20 mount-matrix = "1", "0", "0", 22 "0", "0", "-1"; 26 ti,battery-regulation-voltage = <4200000>; /* uV */ 27 ti,charge-current = <1500000>; /* uA */ 28 ti,termination-current = <144000>; /* uA */ [all …]
|
D | imx8mq-librem5-r4.dts | 1 // 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 maxim,rsns-microohm = <1667>; 24 ti,battery-regulation-voltage = <4200000>; /* uV */ 25 ti,charge-current = <1500000>; /* uA */ 26 ti,termination-current = <144000>; /* uA */ 30 led-max-microamp = <25000>; [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/qcom/ |
D | msm8916-alcatel-idol347.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 18 stdout-path = "serial0"; 21 gpio-keys { 22 compatible = "gpio-keys"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&gpio_keys_default>; [all …]
|
D | msm8916-samsung-a5u-eur.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-a2015-common.dtsi" 9 compatible = "samsung,a5u-eur", "qcom,msm8916"; 11 reg_touch_key: regulator-touch-key { 12 compatible = "regulator-fixed"; 13 regulator-name = "touch_key"; 14 regulator-min-microvolt = <3300000>; 15 regulator-max-microvolt = <3300000>; 18 enable-active-high; [all …]
|
D | msm8916-samsung-a3u-eur.dts | 1 // 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 …]
|
D | msm8916-longcheer-l8910.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/leds/common.h> 19 stdout-path = "serial0"; 22 gpio-keys { 23 compatible = "gpio-keys"; 25 pinctrl-names = "default"; [all …]
|
D | msm8916-wingtech-wt88047.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 4 /dts-v1/; 6 #include "msm8916-pm8916.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 20 stdout-path = "serial0"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 pinctrl-names = "default"; [all …]
|
D | msm8916-longcheer-l8150.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/leds/common.h> 13 compatible = "longcheer,l8150", "qcom,msm8916-v1-qrd/9-v1", "qcom,msm8916"; 20 stdout-path = "serial0"; 23 reserved-memory { [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/iio/gyroscope/ |
D | invensense,mpu3050.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Invensense MPU-3050 Gyroscope 10 - Linus Walleij <linus.walleij@linaro.org> 19 vdd-supply: true 21 vlogic-supply: true 28 mount-matrix: true 30 i2c-gate: 31 $ref: /schemas/i2c/i2c-controller.yaml [all …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | ste-href-tvk1281618-r2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/input/input.h> 11 compatible = "gpio-keys"; 12 #address-cells = <1>; 13 #size-cells = <0>; 14 vdd-supply = <&ab8500_ldo_aux1_reg>; 15 pinctrl-names = "default"; 16 pinctrl-0 = <&prox_tvk_mode>, <&hall_tvk_mode>; 37 interrupt-parent = <&gpio6>; [all …]
|
D | ste-href-tvk1281618-r3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/input/input.h> 12 compatible = "gpio-keys"; 13 #address-cells = <1>; 14 #size-cells = <0>; 15 vdd-supply = <&ab8500_ldo_aux1_reg>; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&hall_tvk_mode>; 32 interrupt-parent = <&gpio2>; [all …]
|
/Linux-v5.15/drivers/iio/accel/ |
D | bmc150-accel-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * 3-axis accelerometer driver supporting many Bosch-Sensortec chips 26 #include "bmc150-accel.h" 212 struct device *dev = regmap_get_device(data->regmap); in bmc150_accel_set_mode() 216 int dur_val = -1; in bmc150_accel_set_mode() 231 return -EINVAL; in bmc150_accel_set_mode() 238 ret = regmap_write(data->regmap, BMC150_ACCEL_REG_PMU_LPW, lpw_bits); in bmc150_accel_set_mode() 256 ret = regmap_write(data->regmap, in bmc150_accel_set_bw() 262 data->bw_bits = in bmc150_accel_set_bw() 268 return -EINVAL; in bmc150_accel_set_bw() [all …]
|
D | st_accel_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2012-2013 STMicroelectronics Inc. 46 return &adata->mount_matrix; in st_accel_get_mount_matrix() 418 * Data Alignment Setting - needs to be set to get 419 * left-justified data like all other sensors. 1112 *val = adata->current_fullscale->gain / 1000000; in st_accel_read_raw() 1113 *val2 = adata->current_fullscale->gain % 1000000; in st_accel_read_raw() 1116 *val = adata->odr; in st_accel_read_raw() 1119 return -EINVAL; in st_accel_read_raw() 1141 return -EINVAL; in st_accel_write_raw() [all …]
|
/Linux-v5.15/drivers/iio/ |
D | industrialio-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #define pr_fmt(fmt) "iio-core: " fmt 28 #include <linux/iio/iio-opaque.h> 173 * iio_device_id() - query the unique ID for the device 183 return iio_dev_opaque->id; in iio_device_id() 188 * iio_sysfs_match_string_with_gaps - matches given string in an array with gaps 193 * Returns index of @str in the @array or -EINVAL, similar to match_string(). 197 * The search will continue until the element is found or the n-th element 214 return -EINVAL; in iio_sysfs_match_string_with_gaps() 225 return iio_dev_opaque->debugfs_dentry; in iio_get_debugfs_dentry() [all …]
|