/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/Documentation/devicetree/bindings/iio/chemical/ |
H A D | sciosense,ens160.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ScioSense ENS160 multi-gas sensor 10 - Gustavo Silva <gustavograzs@gmail.com> 13 Digital Multi-Gas Sensor for Monitoring Indoor Air Quality. 16 https://www.sciosense.com/wp-content/uploads/2023/12/ENS160-Datasheet.pdf 21 - sciosense,ens160 29 vdd-supply: true 30 vddio-supply: true [all …]
|
/linux/Documentation/input/devices/ |
H A D | ntrig.rst | 4 N-Trig touchscreen Driver 7 :Copyright: |copy| 2008-2010 Rafi Rubin <rafi@seas.upenn.edu> 8 :Copyright: |copy| 2009-2010 Stephane Chatty 10 This driver provides support for N-Trig pen and multi-touch sensors. Single 11 and multi-touch events are translated to the appropriate protocols for 16 This driver has been reported to work properly with multiple N-Trig devices 21 ---------- 29 +-----------------------+-----------------------------------------------------+ 31 +-----------------------+-----------------------------------------------------+ 34 +-----------------------+-----------------------------------------------------+ [all …]
|
/linux/drivers/iio/chemical/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 tristate "Aosong AGS02MA TVOC sensor driver" 14 Organic Compounds) sensor. 29 * pH SM sensor 30 * EC SM sensor 31 * ORP SM sensor 34 module will be called atlas-ph-sensor. 42 * CO2 EZO Sensor 45 module will be called atlas-ezo-sensor. 48 tristate "Bosch Sensortec BME680 sensor driver" [all …]
|
H A D | ens160_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ScioSense ENS160 multi-gas sensor I2C driver 7 * 7-Bit I2C slave address is: 8 * - 0x52 if ADDR pin LOW 9 * - 0x53 if ADDR pin HIGH 29 return dev_err_probe(&client->dev, PTR_ERR(regmap), in ens160_i2c_probe() 32 return devm_ens160_core_probe(&client->dev, regmap, client->irq, in ens160_i2c_probe()
|
H A D | ens160_spi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ScioSense ENS160 multi-gas sensor SPI driver 19 .reg_shift = -1, 29 return dev_err_probe(&spi->dev, PTR_ERR(regmap), in ens160_spi_probe() 32 return devm_ens160_core_probe(&spi->dev, regmap, spi->irq, "ens160"); in ens160_spi_probe()
|
H A D | ens160_core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ScioSense ENS160 multi-gas sensor driver 8 * https://www.sciosense.com/wp-content/uploads/2023/12/ENS160-Datasheet.pdf 59 /* Protect reads from the sensor */ 112 iio_device_claim_direct_scoped(return -EBUSY, indio_dev) { in ens160_read_raw() 113 guard(mutex)(&data->mutex); in ens160_read_raw() 114 ret = regmap_bulk_read(data->regmap, chan->address, in ens160_read_raw() 115 &data->buf, sizeof(data->buf)); in ens160_read_raw() 118 *val = le16_to_cpu(data->buf); in ens160_read_raw() 123 switch (chan->channel2) { in ens160_read_raw() [all …]
|
/linux/arch/powerpc/boot/dts/ |
H A D | turris1x.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright 2013 - 2022 CZ.NIC z.s.p.o. (http://www.nic.cz/) 8 * and available at: https://docs.turris.cz/hw/turris-1x/turris-1x/ 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/leds/common.h> 14 /include/ "fsl/p2020si-pre.dtsi" 41 gpio-controller@18 { 45 #gpio-cells = <2>; 46 gpio-controller; [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-facebook-greatlakes.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/leds/leds-pca955x.h> 8 #include <dt-bindings/i2c/i2c.h> 12 compatible = "facebook,greatlakes-bmc", "aspeed,ast2600"; 23 iio-hwmon { 24 compatible = "iio-hwmon"; 25 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>, [all …]
|
H A D | aspeed-bmc-facebook-harma.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 11 compatible = "facebook,harma-bmc", "aspeed,ast2600"; 32 stdout-path = &uart5; 40 iio-hwmon { 41 compatible = "iio-hwmon"; 42 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>, [all …]
|
H A D | aspeed-bmc-facebook-minerva.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 11 compatible = "facebook,minerva-cmc", "aspeed,ast2600"; 17 * PCA9548 (2-0077) provides 8 channels connecting to 31 stdout-path = "serial5:57600n8"; 39 iio-hwmon { 40 compatible = "iio-hwmon"; [all …]
|
/linux/drivers/staging/iio/addac/ |
H A D | adt7316-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * sensor, ADC and DAC 27 dev_err(&cl->dev, "I2C fail to select reg\n"); in adt7316_i2c_read() 33 dev_err(&cl->dev, "I2C read error\n"); in adt7316_i2c_read() 49 dev_err(&cl->dev, "I2C write error\n"); in adt7316_i2c_write() 65 dev_err(&cl->dev, "I2C multi read error\n"); in adt7316_i2c_multi_read() 84 dev_err(&cl->dev, "I2C multi write error\n"); in adt7316_i2c_multi_write() 101 .irq = client->irq, in adt7316_i2c_probe() 108 return adt7316_probe(&client->dev, &bus, id->name); in adt7316_i2c_probe() 147 …us driver for Analog Devices ADT7316/7/9 and ADT7516/7/8 digital temperature sensor, ADC and DAC");
|
/linux/drivers/media/i2c/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 comment "IR I2C driver auto-selected by 'Autoselect ancillary drivers'" 29 bool "Camera sensor devices" 45 tristate "Allied Vision ALVIUM MIPI CSI-2 camera support" 48 This is a Video4Linux2 sensor-level driver for the Allied Vision 49 ALVIUM camera connected via MIPI CSI-2 interface. 52 module will be called alvium-csi2. 55 tristate "ON Semiconductor AR0521 sensor support" 57 This is a Video4Linux2 sensor driver for the ON Semiconductor 64 tristate "GalaxyCore GC0308 sensor support" [all …]
|
/linux/Documentation/devicetree/bindings/thermal/ |
H A D | samsung,exynos-thermal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/samsung,exynos-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 For multi-instance tmu each instance should have an alias correctly numbered 19 - samsung,exynos3250-tmu 20 - samsung,exynos4412-tmu 21 - samsung,exynos4210-tmu 22 - samsung,exynos5250-tmu [all …]
|
/linux/include/linux/iio/common/ |
H A D | st_sensors.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright 2012-2013 STMicroelectronics Inc. 66 .shift = sbits - rbits, \ 128 * struct st_sensor_bdu - ST sensor device block data update 138 * struct st_sensor_das - ST sensor device data alignment selection 148 * struct st_sensor_int_drdy - ST sensor device drdy line parameters 162 * struct st_sensor_data_ready_irq - ST sensor device data-ready interrupt 163 * struct int1 - data-ready configuration register for INT1 pin. 164 * struct int2 - data-ready configuration register for INT2 pin. 167 * struct stat_drdy - status register of DRDY (data ready) interrupt. [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | platform-cardlist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 am437x-vpfe TI AM437x VPFE 18 aspeed-video Aspeed AST2400 and AST2500 19 atmel-isc ATMEL Image Sensor Controller (ISC) 20 atmel-isi ATMEL Image Sensor Interface (ISI) 24 cdns-csi2rx Cadence MIPI-CSI2 RX Controller 25 cdns-csi2tx Cadence MIPI-CSI2 TX Controller 26 coda-vpu Chips&Media Coda multi-standard codec IP 29 exynos-fimc-is EXYNOS4x12 FIMC-IS (Imaging Subsystem) 30 exynos-fimc-lite EXYNOS FIMC-LITE camera interface [all …]
|
/linux/Documentation/devicetree/bindings/pwm/ |
H A D | iqs620a-pwm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pwm/iqs620a-pwm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS620A multi-function sensor generates a fixed-frequency PWM 19 - $ref: pwm.yaml# 24 - azoteq,iqs620a-pwm 26 "#pwm-cells": 30 - compatible
|
/linux/Documentation/devicetree/bindings/firmware/ |
H A D | fsl,scu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dong Aisheng <aisheng.dong@nxp.com> 13 The System Controller Firmware (SCFW) is a low-level system function 14 which runs on a dedicated Cortex-M core to provide power, clock, and 17 The AP communicates with the SC using a multi-ported MU module found 26 const: fsl,imx-scu 28 clock-controller: 31 $ref: /schemas/clock/fsl,scu-clk.yaml [all …]
|
/linux/Documentation/misc-devices/ |
H A D | isl29003.rst | 20 ----------- 21 The ISL29003 is an integrated light sensor with a 16-bit integrating type 23 I2C multi-function control and monitoring capabilities. The internal ADC 24 provides 16-bit resolution while rejecting 50Hz and 60Hz flicker caused by 33 --------- 42 ------------- 64 2: difference between diodes (l1 - l2, signed 15bit) 74 returns the value from the last sensor reading
|
/linux/Documentation/devicetree/bindings/iio/magnetometer/ |
H A D | bosch,bmc150_magn.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Bosch BMC150 magnetometer sensor 10 - Jonathan Cameron <jic23@kernel.org> 13 Supports a range of parts, some of which form part of a multi die 17 http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-04.pdf 25 - bosch,bmc150_magn 26 - bosch,bmc156_magn 27 - bosch,bmm150 [all …]
|
/linux/Documentation/hwmon/ |
H A D | corsair-psu.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 3 Kernel driver corsair-psu 37 ----------- 41 These power supplies provide access to a micro-controller with 2 attached 42 temperature sensors, 1 fan rpm sensor, 4 sensors for volt levels, 4 sensors for 43 power usage and 4 sensors for current levels and additional non-sensor information 47 ------------- 81 ----------- 83 It is an USB HID device, so it is auto-detected, supports hot-swapping and 93 --------------- [all …]
|
/linux/drivers/input/misc/ |
H A D | ad714x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2009-2011 Analog Devices Inc. 132 mask = ((1 << (end_stage + 1)) - 1) - ((1 << start_stage) - 1); in ad714x_use_com_int() 134 ad714x->read(ad714x, STG_COM_INT_EN_REG, &data, 1); in ad714x_use_com_int() 136 ad714x->write(ad714x, STG_COM_INT_EN_REG, data); in ad714x_use_com_int() 138 ad714x->read(ad714x, STG_HIGH_INT_EN_REG, &data, 1); in ad714x_use_com_int() 140 ad714x->write(ad714x, STG_HIGH_INT_EN_REG, data); in ad714x_use_com_int() 149 mask = ((1 << (end_stage + 1)) - 1) - ((1 << start_stage) - 1); in ad714x_use_thr_int() 151 ad714x->read(ad714x, STG_COM_INT_EN_REG, &data, 1); in ad714x_use_thr_int() 153 ad714x->write(ad714x, STG_COM_INT_EN_REG, data); in ad714x_use_thr_int() [all …]
|
/linux/drivers/hid/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 22 most commonly used to refer to the USB-HID specification, but other 27 removed from the HID bus by the transport-layer drivers, such as 58 to work on raw hid events when they want to, and avoid using transport-specific 64 tristate "User-space I/O driver support for HID subsystem" 67 Say Y here if you want to provide HID I/O Drivers from user-space. 68 This allows to write I/O drivers in user-space and feed the data from 71 user-space device. 73 This driver cannot be used to parse HID-reports in user-space and write 74 special HID-drivers. You should use hidraw for that. [all …]
|
/linux/drivers/input/rmi4/ |
H A D | rmi_f11.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2011-2015 Synaptics Incorporated 36 * The properties for a given sensor are described by its query registers. The 38 * the F11 device queries as well as the sensor query information. 40 * Similarly, each sensor has control registers that govern its behavior. The 41 * size and layout of the control registers for a given sensor can be determined 44 * And in a likewise fashion, each sensor has data registers where it reports 49 * registers in order to determine the attributes of a sensor. Then 51 * registers for sensor. 66 * Writing this to the F11 command register will cause the sensor to [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8939-longcheer-l9100.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8939-pm8916.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 17 chassis-type = "handset"; [all …]
|