/linux/Documentation/devicetree/bindings/pci/ |
H A D | axis,artpec6-pcie.txt | 1 * Axis ARTPEC-6 PCIe interface 4 and thus inherits all the common properties defined in snps,dw-pcie.yaml. 7 - compatible: "axis,artpec6-pcie", "snps,dw-pcie" for ARTPEC-6 in RC mode; 8 "axis,artpec6-pcie-ep", "snps,dw-pcie" for ARTPEC-6 in EP mode; 9 "axis,artpec7-pcie", "snps,dw-pcie" for ARTPEC-7 in RC mode; 10 "axis,artpec7-pcie-ep", "snps,dw-pcie" for ARTPEC-7 in EP mode; 11 - reg: base addresses and lengths of the PCIe controller (DBI), 13 - reg-names: Must include the following entries: 14 - "dbi" 15 - "phy" [all …]
|
/linux/Documentation/devicetree/bindings/iio/ |
H A D | mount-matrix.txt | 2 * is the definition of +/- values practical or counterintuitive? 13 that produce three-dimensional data in relation to the world where it is 29 screen and (z) being depth, the axis perpendicular to the screen. 37 reference. This means that the sensor may be flipped upside-down, left-right, 47 Device-to-world examples for some three-dimensional sensor types: 49 - Accelerometers have their world frame of reference toward the center of 55 9.81 m/s^2 upwards along the (z) axis, i.e. out of the screen when the device 57 as the gravity vector is projected 1:1 onto the sensors (z)-axis. 67 +--------+ +--------+ 69 +--------+ +--------+ [all …]
|
/linux/drivers/input/misc/ |
H A D | adxl34x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ADXL345/346 Three-Axis Digital Accelerometers 22 /* ADXL345/6 Register Map */ 25 #define OFSX 0x1E /* R/W X-axis offset */ 26 #define OFSY 0x1F /* R/W Y-axis offset */ 27 #define OFSZ 0x20 /* R/W Z-axis offset */ 34 #define ACT_INACT_CTL 0x27 /* R/W Axis enable control for activity and */ 36 #define THRESH_FF 0x28 /* R/W Free-fall threshold */ 37 #define TIME_FF 0x29 /* R/W Free-fall time */ 38 #define TAP_AXES 0x2A /* R/W Axis control for tap/double tap */ [all …]
|
/linux/Documentation/devicetree/bindings/arm/ |
H A D | axis.txt | 1 Axis Communications AB 4 ARTPEC-6 ARM SoC 8 - compatible = "axis,artpec6"; 10 ARTPEC-6 Development board: 11 --------------------------- 13 - compatible = "axis,artpec6-dev-board", "axis,artpec6";
|
/linux/drivers/iio/accel/ |
H A D | msa311.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * MEMSensing digital 3-Axis accelerometer 5 * MSA311 is a tri-axial, low-g accelerometer with I2C digital output for 6 * sensitivity consumer applications. It has dynamic user-selectable full 7 * scales range of +-2g/+-4g/+-8g/+-16g and allows acceleration measurements 11 * and is guaranteed to operate over -40C to +85C. 14 * - IIO interface 15 * - Different power modes: NORMAL, SUSPEND 16 * - ODR (Output Data Rate) selection 17 * - Scale selection [all …]
|
/linux/Documentation/devicetree/bindings/crypto/ |
H A D | artpec6-crypto.txt | 1 Axis crypto engine with PDMA interface. 4 - compatible : Should be one of the following strings: 5 "axis,artpec6-crypto" for the version in the Axis ARTPEC-6 SoC 6 "axis,artpec7-crypto" for the version in the Axis ARTPEC-7 SoC. 7 - reg: Base address and size for the PDMA register area. 8 - interrupts: Interrupt handle for the PDMA interrupt line. 13 compatible = "axis,artpec6-crypto";
|
/linux/arch/arm/mach-artpec/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 bool "Axis Communications ARM based ARTPEC SoCs" 9 bool "Axis ARTPEC-6 ARM Cortex A9 Platform" 20 Support for Axis ARTPEC-6 ARM Cortex A9 Platform
|
H A D | board-artpec6.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ARTPEC-6 device support. 8 #include <linux/dma-mapping.h> 11 #include <linux/irqchip/arm-gic.h> 15 #include <linux/clk-provider.h> 22 #include <linux/arm-smccc.h> 34 regmap = syscon_regmap_lookup_by_compatible("axis,artpec6-syscon"); in artpec6_init_machine() 56 "axis,artpec6", 60 DT_MACHINE_START(ARTPEC6, "Axis ARTPEC-6 Platform")
|
/linux/drivers/iio/magnetometer/ |
H A D | yamaha-yas530.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * YAS530 MS-3E (2011 Samsung Galaxy S Advance) 8 * YAS532 MS-3R (2011 Samsung Galaxy S4) 9 * YAS533 MS-3F (Vivo 1633, 1707, V3, Y21L) 11 * YAS535 MS-6C 12 * YAS536 MS-3W 13 * YAS537 MS-3T (2015 Samsung Galaxy S6, Note 5, Galaxy S7) 14 * YAS539 MS-3S (2018 Samsung Galaxy A7 SM-A750FN) 57 #define YAS530_OFFSET_X 0x85 /* [-31 .. 31] */ 58 #define YAS530_OFFSET_Y1 0x86 /* [-31 .. 31] */ [all …]
|
H A D | ak8974.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 38 * 16-bit registers are little-endian. LSB is at the address defined below 65 #define AK8974_INT_THRES 0x26 /* Absolute any axis value threshold */ 68 /* AK8974-specific offsets */ 72 /* AMI305-specific offsets */ 81 /* AMI306-specific control register */ 86 /* fine axis sensitivity */ 91 /* axis sensitivity */ 96 /* axis cross-interference */ [all …]
|
/linux/Documentation/input/joydev/ |
H A D | joystick.rst | 3 .. _joystick-doc: 14 linux-input@vger.kernel.org 16 send "subscribe linux-input" to majordomo@vger.kernel.org to subscribe to it. 25 --------- 29 usually packaged as ``joystick``, ``input-utils``, ``evtest``, and so on. 35 ------------ 48 ln -s input/js0 js0 49 ln -s input/js1 js1 50 ln -s input/js2 js2 51 ln -s input/js3 js3 [all …]
|
/linux/Documentation/devicetree/bindings/ |
H A D | trivial-devices.yaml | 1 # 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> 27 spi-max-frequency: true 32 - enum: 34 - acbel,fsg032 35 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin 36 - ad,ad7414 # Deprecated, use adi,ad7414 [all …]
|
/linux/arch/arm/boot/dts/axis/ |
H A D | artpec6.dtsi | 2 * Device Tree Source for the Axis ARTPEC-6 SoC 4 * This file is dual-licensed: you can use it either under the terms 43 #include <dt-bindings/interrupt-controller/arm-gic.h> 44 #include <dt-bindings/dma/nbpfaxi.h> 45 #include <dt-bindings/clock/axis,artpec6-clkctrl.h> 48 #address-cells = <1>; 49 #size-cells = <1>; 50 compatible = "axis,artpec6"; 51 interrupt-parent = <&intc>; 54 #address-cells = <1>; [all …]
|
H A D | artpec6-devboard.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Axis ARTPEC-6 development board. 4 /dts-v1/; 8 model = "ARTPEC-6 development board"; 9 compatible = "axis,artpec6-dev-board", "axis,artpec6"; 19 stdout-path = "serial3:115200n8"; 51 phy-handle = <&phy1>; 52 phy-mode = "gmii"; 55 #address-cells = <0x1>; 56 #size-cells = <0x0>; [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | artpec6.txt | 1 * Clock bindings for Axis ARTPEC-6 chip 4 Documentation/devicetree/bindings/clock/clock-bindings.txt 7 ---------------- 11 - "sys_refclk": External 50 Mhz oscillator (required) 12 - "i2s_refclk": Alternate audio reference clock (optional). 15 --------------------- 18 - #clock-cells: Should be <1> 19 See dt-bindings/clock/axis,artpec6-clkctrl.h for the list of valid identifiers. 20 - compatible: Should be "axis,artpec6-clkctrl" 21 - reg: Must contain the base address and length of the system controller [all …]
|
/linux/include/linux/input/ |
H A D | kxtj9.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 unsigned int min_interval; /* minimum poll interval (in milli-seconds) */ 14 unsigned int init_interval; /* initial poll interval (in milli-seconds) */ 17 * By default, x is axis 0, y is axis 1, z is axis 2; these can be 25 * Each axis can be negated to account for sensor orientation within 32 /* CTRL_REG1: set resolution, g-range, data ready enable */ 33 /* Output resolution: 8-bit valid or 12-bit valid */ 35 #define RES_12BIT (1 << 6) 37 /* Output g-range: +/-2g, 4g, or 8g */
|
H A D | adxl34x.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 20 * X,Y,Z Axis Offset: 32 * selected axis from participation in Tap detection. 90 * or inactivity detection. A '0' excludes the selected axis from 113 #define ADXL_ACT_X_EN (1 << 6) 152 * result in the function appearing un-responsive if the 162 * holds the threshold value for Free-Fall detection. 163 * The data format is unsigned. The root-sum-square(RSS) value 167 * result in undesirable behavior if Free-Fall interrupt is 178 * free_fall_threshold to generate a Free-Fall interrupt. The [all …]
|
H A D | cma3000.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 18 #define CMAMODE_FF400 6 25 * struct cma3000_i2c_platform_data - CMA3000 Platform data 26 * @fuzz_x: Noise on X Axis 27 * @fuzz_y: Noise on Y Axis 28 * @fuzz_z: Noise on Z Axis
|
/linux/drivers/iio/imu/ |
H A D | adis16400.c | 1 // SPDX-License-Identifier: GPL-2.0-only 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 */ 37 #define ADIS16400_XMAGN_OUT 0x10 /* X-axis magnetometer measurement */ 38 #define ADIS16400_YMAGN_OUT 0x12 /* Y-axis magnetometer measurement */ 39 #define ADIS16400_ZMAGN_OUT 0x14 /* Z-axis magnetometer measurement */ [all …]
|
H A D | fxos8700_core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * FXOS8700 - NXP IMU (accelerometer plus magnetometer) 161 #define FXOS8700_ACTIVE_MIN_USLEEP 4000 /* from table 6 in datasheet */ 304 {0x06, 6, 250000}, 326 return -EINVAL; in fxos8700_to_sensor() 335 ret = regmap_write(data->regmap, FXOS8700_CTRL_REG1, mode); in fxos8700_set_active_mode() 351 struct device *dev = regmap_get_device(data->regmap); in fxos8700_set_scale() 355 return -EINVAL; in fxos8700_set_scale() 360 * full-scale range(2g/4g/8g) in FXOS8700_XYZ_DATA_CFG. in fxos8700_set_scale() 363 * an ACCEL full-scale range. in fxos8700_set_scale() [all …]
|
/linux/Documentation/input/devices/ |
H A D | cma3000_d0x.rst | 1 CMA3000-D0x Accelerometer 5 * VTI CMA3000-D0x 8 CMA3000-D0X Product Family Specification 8281000A.02.pdf 15 ----------- 17 CMA3000 Tri-axis accelerometer supports Motion detect, Measurement and 26 axis and supports 400, 100, 40 Hz sample frequency. 47 ------------- 50 Noise on X Axis 53 Noise on Y Axis 56 Noise on Z Axis [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | axis,artpec6-pinctrl.txt | 1 Axis ARTPEC-6 Pin Controller 4 - compatible: "axis,artpec6-pinctrl". 5 - reg: Should contain the register physical address and length for the pin 15 Required subnode-properties: 16 - function: Function to mux. 17 - groups: Name of the pin group to use for the function above. 49 Optional subnode-properties (see pinctrl-bindings.txt): 50 - drive-strength: 4, 6, 8, 9 mA. For SD and NAND pins, this is for 3.3V VCCQ3. 51 - bias-pull-up 52 - bias-disable [all …]
|
/linux/drivers/staging/iio/accel/ |
H A D | adis16240.c | 1 // SPDX-License-Identifier: GPL-2.0+ 26 /* Output, x-axis accelerometer */ 29 /* Output, y-axis accelerometer */ 32 /* Output, z-axis accelerometer */ 41 /* Output, x-axis acceleration peak */ 44 /* Output, y-axis acceleration peak */ 47 /* Output, z-axis acceleration peak */ 50 /* Output, sum-of-squares acceleration peak */ 68 /* Calibration, x-axis acceleration offset adjustment */ 71 /* Calibration, y-axis acceleration offset adjustment */ [all …]
|
/linux/Documentation/iio/ |
H A D | adis16475.rst | 1 .. SPDX-License-Identifier: GPL-2.0 62 +-------------------------------------------+------------------------------------------------------… 63 | 3-Axis Accelerometer related device files | Description … 64 +-------------------------------------------+------------------------------------------------------… 66 +-------------------------------------------+------------------------------------------------------… 67 | in_accel_x_calibbias | Calibration offset for the X-axis accelerometer chann… 68 +-------------------------------------------+------------------------------------------------------… 69 | in_accel_x_raw | Raw X-axis accelerometer channel value. … 70 +-------------------------------------------+------------------------------------------------------… 71 | in_accel_y_calibbias | Calibration offset for the Y-axis accelerometer chann… [all …]
|
/linux/include/linux/ |
H A D | lis3lv02d.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * struct lis3lv02d_platform_data - lis3 chip family platform data 8 * @click_thresh_x: Click detection unit x axis threshold 9 * @click_thresh_y: Click detection unit y axis threshold 10 * @click_thresh_z: Click detection unit z axis threshold 26 * @axis_x: Sensor orientation remapping for x-axis 27 * @axis_y: Sensor orientation remapping for y-axis 28 * @axis_z: Sensor orientation remapping for z-axis 83 #define LIS3_IRQ_OPEN_DRAIN (1 << 6) 111 #define LIS3_INV_DEV_X -1 [all …]
|