| /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/Documentation/devicetree/bindings/pci/ |
| H A D | axis,artpec6-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright 2025 Axis AB 4 --- 5 $id: http://devicetree.org/schemas/pci/axis,artpec6-pcie.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Axis ARTPEC-6 PCIe host controller 11 - Jesper Nilsson <jesper.nilsson@axis.com> 21 - axis,artpec6-pcie 22 - axis,artpec6-pcie-ep 23 - axis,artpec7-pcie [all …]
|
| /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/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/arch/arm/boot/dts/axis/ |
| 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 …]
|
| 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 …]
|
| /linux/Documentation/devicetree/bindings/timer/ |
| H A D | samsung,exynos4210-mct.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/timer/samsung,exynos4210-mct.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 global timer and CPU local timers. The global timer is a 64-bit free running 15 up-counter and can generate 4 interrupts when the counter reaches one of the 16 four preset counter values. The CPU local timers are 32-bit free running 17 down-counters and generate an interrupt when the counter expires. There is 23 - enum: [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 …]
|
| /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/iio/imu/bmi323/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 17 Enable support for the Bosch BMI323 6-Axis IMU connected to I2C 29 Enable support for the Bosch BMI323 6-Axis IMU connected to SPI
|
| /linux/drivers/iio/accel/ |
| H A D | adxl345.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * ADXL345 3-Axis Digital Accelerometer 30 /* Axis enable control for activity and inactivity detection */ 32 /* Free-fall threshold */ 34 /* Free-fall time */ 36 /* Axis control for single tap or double tap */ 55 #define ADXL345_FIFO_CTL_MODE_MSK GENMASK(7, 6) 65 #define ADXL345_INT_SINGLE_TAP BIT(6) 69 * BW_RATE bits - Bandwidth and output data rate. The default value is 86 /* Up to 13-bits resolution */ [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 …]
|
| /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/drivers/clk/axis/ |
| H A D | clk-artpec6.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ARTPEC-6 clock initialization 5 * Copyright 2015-2016 Axis Communications AB. 8 #include <linux/clk-provider.h> 15 #include <dt-bindings/clock/axis,artpec6-clkctrl.h> 46 i = of_property_match_string(np, "clock-names", "sys_refclk"); in of_artpec6_clkctrl_setup() 56 clks = clkdata->clk_table; in of_artpec6_clkctrl_setup() 59 clks[i] = ERR_PTR(-EPROBE_DEFER); in of_artpec6_clkctrl_setup() 61 clkdata->syscon_base = of_iomap(np, 0); in of_artpec6_clkctrl_setup() 62 BUG_ON(clkdata->syscon_base == NULL); in of_artpec6_clkctrl_setup() [all …]
|
| /linux/drivers/pci/controller/dwc/ |
| H A D | pcie-artpec6.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * PCIe host controller driver for Axis ARTPEC-6 SoC 5 * Author: Niklas Cassel <niklas.cassel@axis.com> 23 #include "pcie-designware.h" 25 #define to_artpec6_pcie(x) dev_get_drvdata((x)->dev) 34 struct regmap *regmap; /* DT axis,syscon-pcie */ 47 /* ARTPEC-6 specific registers */ 61 /* ARTPEC-7 specific fields */ 66 /* ARTPEC-7 specific fields */ 88 regmap_read(artpec6_pcie->regmap, offset, &val); in artpec6_pcie_readl() [all …]
|
| /linux/sound/pci/ |
| H A D | azt3328.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 /* "PU" == "power-up value", as tested on PCI168 PCI rev. 10 85 …REQ_SUSPECTED_66200 0x06 | SOUNDFORMAT_XTAL2 /* 66200 (13240 * 5); 64000 may have been nicer :-\ */ 111 #define IDX_IO_TIMER_VALUE 0x60 /* found this timer area by pure luck :-) */ 122 /* some IRQ bit in here might also be used to signal a power-management timer 150 * in case playback is active? Or is this driver-induced? 175 * still lets us evaluate button states, but not axis states */ 179 * --> FIFO/timing settings???) */ 186 #define IDX_IO_6CH 0x6C /* unknown; fully read-writable */ 209 * axis measurement bits enabled [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap3-n9.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap3-n9.dts - Device Tree file for Nokia N9 8 /dts-v1/; 10 #include "omap3-n950-n9.dtsi" 11 #include <dt-bindings/input/input.h> 15 compatible = "nokia,omap3-n9", "ti,omap3630", "ti,omap3"; 23 vana-supply = <&vaux3>; 25 clock-frequency = <9600000>; 26 flash-leds = <&as3645a_flash &as3645a_indicator>; 29 link-frequencies = /bits/ 64 <199200000 210000000 499200000>; [all …]
|
| /linux/drivers/iio/imu/inv_mpu6050/ |
| H A D | inv_mpu_magn.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2019 TDK-InvenSense, Inc. 49 switch (st->chip_type) { in inv_magn_supported() 73 return -ENODEV; in inv_magn_init() 76 switch (st->chip_type) { in inv_magn_init() 101 /* switch back to power-down */ in inv_magn_init() 113 switch (st->chip_type) { in inv_magn_init() 124 return -EINVAL; in inv_magn_init() 130 * Hadj = H * (((ASA - 128) * 0.5 / 128) + 1) in inv_magn_init() 136 st->magn_raw_to_gauss[0] = (((int32_t)asa[0] + 128) * sensitivity) / 256; in inv_magn_init() [all …]
|
| /linux/drivers/iio/magnetometer/ |
| H A D | mmc35240.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MMC35240 - MEMSIC 3-axis Magnetic Sensor 7 * IIO driver for MMC35240 (7-bit I2C slave address 0x30). 41 #define MMC35240_CTRL0_RESET_BIT BIT(6) 60 * #define OTP_CONVERT(REG) ((float)((REG) >=32 ? (32 - (REG)) : (REG)) * 0.006 61 * 1) For X axis, the COEFFICIENT is always 1. 62 * 2) For Y axis, the COEFFICIENT is as below: 65 * 3) For Z axis, the COEFFICIENT is as below: 71 #define MMC35240_OTP_CONVERT_Y(REG) (((REG) >= 32 ? (32 - (REG)) : (REG)) * 6) 74 #define MMC35240_OTP_CONVERT_Z(REG) (((REG) >= 32 ? (32 - (REG)) : (REG)) * 81) [all …]
|
| /linux/include/dt-bindings/clock/ |
| H A D | axis,artpec8-clk.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 5 * Copyright (c) 2025 Axis Communications AB. 6 * https://www.axis.com 8 * Device Tree binding constants for ARTPEC-8 clock controller. 20 #define CLK_DOUT_SHARED1_DIV2 6 71 #define CLK_DOUT_CPUCL_CLUSTER_PCLKDBG 6 89 #define CLK_DOUT_FSYS_PCIE_PIPE 6 137 #define CLK_GOUT_IMEM_PCLK_TMU0_APBIF 6 145 #define CLK_DOUT_PERI_SPI 6
|