/Linux-v5.15/Documentation/devicetree/bindings/iio/proximity/ |
D | semtech,sx9310.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: Semtech's SX9310 capacitive proximity sensor 10 - Daniel Campello <campello@chromium.org> 16 https://www.semtech.com/products/smart-sensing/sar-sensors/sx9310 21 - semtech,sx9310 22 - semtech,sx9311 34 vdd-supply: 37 svdd-supply: [all …]
|
D | ams,as3935.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Austrian Microsystems AS3935 Franklin lightning sensor 10 - Matt Ranostay <matt.ranostay@konsulko.com> 13 This lightening distance sensor uses an I2C or SPI interface. The 23 spi-max-frequency: 26 spi-cpha: true 31 ams,tuning-capacitor-pf: 42 Set the noise and watchdog threshold register on startup. This will [all …]
|
D | devantech-srf04.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/iio/proximity/devantech-srf04.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andreas Klinger <ak@it-klinger.de> 13 Bit-banging driver using two GPIOs: 14 - trigger-gpio is raised by the driver to start sending out an ultrasonic 16 - echo-gpio is held high by the sensor after sending ultrasonic burst 20 https://www.robot-electronics.co.uk/htm/srf04tech.htm 22 https://www.maxbotix.com/documents/LV-MaxSonar-EZ_Datasheet.pdf [all …]
|
/Linux-v5.15/drivers/media/usb/gspca/m5602/ |
D | m5602_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 36 /* A skeleton used for sending messages to the sensor */ 56 struct usb_device *udev = sd->gspca_dev.dev; in m5602_read_bridge() 57 __u8 *buf = sd->gspca_dev.usb_buf; in m5602_read_bridge() 78 struct usb_device *udev = sd->gspca_dev.dev; in m5602_write_bridge() 79 __u8 *buf = sd->gspca_dev.usb_buf; in m5602_write_bridge() 116 if (!len || len > sd->sensor->i2c_regW) in m5602_read_sensor() 117 return -EINVAL; in m5602_read_sensor() 124 sd->sensor->i2c_slave_id); in m5602_read_sensor() 136 if (sd->sensor->i2c_regW == 1) { in m5602_read_sensor() [all …]
|
/Linux-v5.15/drivers/iio/temperature/ |
D | mlx90614.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * mlx90614.c - Support for Melexis MLX90614 contactless IR temperature sensor 9 * Driver for the Melexis MLX90614 I2C 16-bit IR thermopile sensor 11 * (7-bit I2C slave address 0x5a, 100KHz bus speed only!) 18 * always has a pull-up so we do not need an extra GPIO to drive it high. If 37 /* RAM offsets with 16-bit data, MSB first */ 44 /* EEPROM offsets with 16-bit data, MSB first */ 51 #define MLX90614_CONFIG_DUAL_SHIFT 6 /* single (0) or dual (1) IR sensor */ 60 #define MLX90614_TIMING_WAKEUP 34 /* time to hold SDA low for wake-up */ 61 #define MLX90614_TIMING_STARTUP 250 /* time before first data after wake-up */ [all …]
|
/Linux-v5.15/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher 4 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland 8 * P/N 861037: Sensor HDCS1000 ASIC STV0600 9 * P/N 861050-0010: Sensor HDCS1000 ASIC STV0600 10 * P/N 861050-0020: Sensor Photobit PB100 ASIC STV0600-1 - QuickCam Express 11 * P/N 861055: Sensor ST VV6410 ASIC STV0610 - LEGO cam 12 * P/N 861075-0040: Sensor HDCS1000 ASIC 13 * P/N 961179-0700: Sensor ST VV6410 ASIC STV0602 - Dexxa WebCam USB 14 * P/N 861040-0000: Sensor ST VV6410 ASIC STV0610 - QuickCam Web [all …]
|
/Linux-v5.15/drivers/staging/media/atomisp/i2c/ |
D | atomisp-ov2722.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Support for OmniVision OV2722 1080p HD camera sensor. 31 #include <media/v4l2-device.h> 46 if (!client->adapter) { in ov2722_read_reg() 47 dev_err(&client->dev, "%s error, no client->adapter\n", in ov2722_read_reg() 49 return -ENODEV; in ov2722_read_reg() 54 dev_err(&client->dev, "%s error, invalid data length\n", in ov2722_read_reg() 56 return -EINVAL; in ov2722_read_reg() 61 msg[0].addr = client->addr; in ov2722_read_reg() 70 msg[1].addr = client->addr; in ov2722_read_reg() [all …]
|
D | atomisp-gc2235.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Support for GalaxyCore GC2235 2M camera sensor. 31 #include <media/v4l2-device.h> 46 if (!client->adapter) { in gc2235_read_reg() 47 dev_err(&client->dev, "%s error, no client->adapter\n", in gc2235_read_reg() 49 return -ENODEV; in gc2235_read_reg() 53 dev_err(&client->dev, "%s error, invalid data length\n", in gc2235_read_reg() 55 return -EINVAL; in gc2235_read_reg() 60 msg[0].addr = client->addr; in gc2235_read_reg() 68 msg[1].addr = client->addr; in gc2235_read_reg() [all …]
|
D | atomisp-gc0310.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Support for GalaxyCore GC0310 VGA camera sensor. 31 #include <media/v4l2-device.h> 45 if (!client->adapter) { in gc0310_read_reg() 46 dev_err(&client->dev, "%s error, no client->adapter\n", in gc0310_read_reg() 48 return -ENODEV; in gc0310_read_reg() 52 dev_err(&client->dev, "%s error, invalid data length\n", in gc0310_read_reg() 54 return -EINVAL; in gc0310_read_reg() 59 msg[0].addr = client->addr; in gc0310_read_reg() 67 msg[1].addr = client->addr; in gc0310_read_reg() [all …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | ste-ux500-samsung-janice.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy S Advance GT-I9070 also known as Janice. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
D | imx6-logicpd-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 10 stdout-path = &uart1; 18 reg_wl18xx_vmmc: regulator-wl18xx { 19 compatible = "regulator-fixed"; 20 regulator-name = "vwl1837"; 21 regulator-min-microvolt = <3300000>; 22 regulator-max-microvolt = <3300000>; 24 startup-delay-us = <70000>; [all …]
|
D | ste-ux500-samsung-gavini.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Beam GT-I8530 also known as Gavini. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
/Linux-v5.15/drivers/thermal/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 37 int "Emergency poweroff delay in milli-seconds" 58 In case a sensor is registered with the thermal 60 as a hwmon. The sensor will then have the common 95 startup. If in doubt, select 'step_wise'. 130 bool "Fair-share thermal governor" 132 Enable this to manage platform thermals using fair-share governor. 226 memory-mapped reads to get the temperature. Any HW/System that 227 allows temperature reading by a single memory-mapped reading, be it 238 Enable this to plug hisilicon's thermal sensor driver into the Linux [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/input/rmi4/ |
D | rmi_i2c.txt | 10 - compatible: syna,rmi4-i2c 11 - reg: I2C address 12 - #address-cells: Set to 1 to indicate that the function child nodes 14 - #size-cells: Set to 0 to indicate that the function child nodes do not 18 - interrupts: interrupt which the rmi device is connected to. 19 See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - syna,reset-delay-ms: The number of milliseconds to wait after resetting the 24 - syna,startup-delay-ms: The number of milliseconds to wait after powering on 27 - vdd-supply: VDD power supply. 30 - vio-supply: VIO power supply [all …]
|
/Linux-v5.15/drivers/thermal/st/ |
D | stm_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) STMicroelectronics 2018 - All Rights Reserved 9 #include <linux/clk-provider.h> 102 static int stm_enable_irq(struct stm_thermal_sensor *sensor) in stm_enable_irq() argument 106 dev_dbg(sensor->dev, "low:%d high:%d\n", sensor->low_temp_enabled, in stm_enable_irq() 107 sensor->high_temp_enabled); in stm_enable_irq() 110 value = readl_relaxed(sensor->base + DTS_ITENR_OFFSET); in stm_enable_irq() 113 if (sensor->low_temp_enabled) in stm_enable_irq() 116 if (sensor->high_temp_enabled) in stm_enable_irq() 120 writel_relaxed(value, sensor->base + DTS_ITENR_OFFSET); in stm_enable_irq() [all …]
|
/Linux-v5.15/Documentation/ABI/obsolete/ |
D | sysfs-driver-hid-roccat-koneplus | 1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 4 Description: The integer value of this attribute ranges from 0-4. 8 When written, this file sets the number of the startup profile 12 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 15 Description: The integer value of this attribute ranges from 0-4. 19 When written, this file sets the number of the startup profile 24 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 36 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 44 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 55 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… [all …]
|
/Linux-v5.15/drivers/iio/proximity/ |
D | srf04.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * SRF04: ultrasonic sensor for distance measuring by using GPIOs 5 * Copyright (c) 2017 Andreas Klinger <ak@it-klinger.de> 8 * https://www.robot-electronics.co.uk/htm/srf04tech.htm 12 * +---+ 14 * trig: --+ +------------------------------------------------------ 16 * |<->| 19 * ultra +-+ +-+ +-+ 21 * burst: ---------+ +-+ +-+ +----------------------------------------- 23 * ultra . +-+ +-+ +-+ [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/qcom/ |
D | sc7180-trogdor-lazor.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 13 #include "sc7180-trogdor.dtsi" 16 semtech,cs0-ground; 17 semtech,combined-sensors = <3>; 19 semtech,startup-sensor = <0>; 20 semtech,proxraw-strength = <8>; 21 semtech,avg-pos-strength = <64>; 35 clock-frequency = <400000>; 38 compatible = "hid-over-i2c"; 40 pinctrl-names = "default"; [all …]
|
D | msm8998-oneplus-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * OnePlus 5(T) (cheeseburger / dumpling) common device tree source based on msm8998-mtp.dtsi 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 20 qcom,msm-id = <292 0x20001>; /* 8998 v2.1 */ 23 #address-cells = <2>; 24 #size-cells = <2>; 29 compatible = "simple-framebuffer"; 38 reserved-memory { [all …]
|
/Linux-v5.15/Documentation/hwmon/ |
D | it87.rst | 158 - Christophe Gauthron 159 - Jean Delvare <jdelvare@suse.de> 163 ----------------- 176 misconfigured by BIOS - PWM values would be inverted. This option tries 181 ------------------- 183 All the chips supported by this driver are LPC Super-I/O chips, accessed 184 through the LPC bus (ISA-like I/O ports). The IT8712F additionally has an 192 ----------- 211 is stored in the Super-I/O configuration space. Due to technical limitations, 222 IT8783E/F, and late IT8712F and IT8705F also have optional 16-bit tachometer [all …]
|
/Linux-v5.15/drivers/media/i2c/m5mols/ |
D | m5mols_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Register map for M-5MOLS 8M Pixel camera sensor with ISP 27 * The category means set including relevant command of M-5MOLS. 42 * Category 0 - SYSTEM mode 44 * The SYSTEM mode in the M-5MOLS means area available to handle with the whole 45 * & all-round system of sensor. It deals with version/interrupt/setting mode & 46 * even sensor's status. Especially, the M-5MOLS sensor with ISP varies by 69 #define REG_SAMSUNG_ELECTRO "SE" /* Samsung Electro-Mechanics */ 70 #define REG_SAMSUNG_OPTICS "OP" /* Samsung Fiber-Optics */ 90 * category 1 - PARAMETER mode [all …]
|
/Linux-v5.15/drivers/staging/media/atomisp/i2c/ov5693/ |
D | atomisp-ov5693.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Support for OmniVision OV5693 1080p HD camera sensor. 32 #include <media/v4l2-device.h> 74 err = i2c_transfer(client->adapter, &msg, 1); in vcm_ad_i2c_wr8() 76 dev_err(&client->dev, "%s: vcm i2c fail, err code = %d\n", in vcm_ad_i2c_wr8() 78 return -EIO; in vcm_ad_i2c_wr8() 95 if (i2c_transfer(client->adapter, &msg, 1) != 1) in ad5823_i2c_write() 96 return -EIO; in ad5823_i2c_write() 118 if (i2c_transfer(client->adapter, msg, 2) != 2) in ad5823_i2c_read() 119 return -EIO; in ad5823_i2c_read() [all …]
|
/Linux-v5.15/drivers/iio/imu/inv_icm42600/ |
D | inv_icm42600_core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 98 return &st->orientation; in inv_icm42600_get_mount_matrix() 142 enum inv_icm42600_sensor_mode oldgyro = st->conf.gyro.mode; in inv_icm42600_set_pwr_mgmt0() 143 enum inv_icm42600_sensor_mode oldaccel = st->conf.accel.mode; in inv_icm42600_set_pwr_mgmt0() 144 bool oldtemp = st->conf.temp_en; in inv_icm42600_set_pwr_mgmt0() 157 ret = regmap_write(st->map, INV_ICM42600_REG_PWR_MGMT0, val); in inv_icm42600_set_pwr_mgmt0() 161 st->conf.gyro.mode = gyro; in inv_icm42600_set_pwr_mgmt0() 162 st->conf.accel.mode = accel; in inv_icm42600_set_pwr_mgmt0() 163 st->conf.temp_en = temp; in inv_icm42600_set_pwr_mgmt0() 172 /* accel startup time */ in inv_icm42600_set_pwr_mgmt0() [all …]
|
/Linux-v5.15/drivers/input/rmi4/ |
D | rmi_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2011-2016 Synaptics Incorporated 17 * struct rmi_i2c_xport - stores information for i2c communication 25 * @tx_buf: Buffer used for transmitting data to the sensor over i2c. 49 * rmi_set_page - Set RMI page 53 * RMI devices have 16-bit addressing, but some of the transport 54 * implementations (like SMBus) only have 8-bit addressing. So RMI implements 60 * Returns zero on success, non-zero on failure. 64 struct i2c_client *client = rmi_i2c->client; in rmi_set_page() 70 dev_err(&client->dev, in rmi_set_page() [all …]
|
/Linux-v5.15/drivers/iio/pressure/ |
D | hp206c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * hp206c.c - HOPERF HP206C precision barometer and altimeter sensor 7 * (7-bit I2C slave address 0x76) 10 * http://www.hoperf.com/upload/sensor/HP206C_DataSheet_EN_V2.0.pdf 102 return -EIO; in hp206c_read_20bit() 112 struct i2c_client *client = data->client; in hp206c_wait_dev_rdy() 117 dev_err(&indio_dev->dev, "Failed READ_REG INT_SRC: %d\n", ret); in hp206c_wait_dev_rdy() 124 return -ETIMEDOUT; in hp206c_wait_dev_rdy() 147 struct i2c_client *client = data->client; in hp206c_soft_reset() 151 dev_err(&client->dev, "Failed to reset device: %d\n", ret); in hp206c_soft_reset() [all …]
|