| /kernel/linux/linux-6.6/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 19 - $ref: /schemas/iio/iio.yaml# 24 - semtech,sx9310 25 - semtech,sx9311 37 vdd-supply: [all …]
|
| D | semtech,sx9324.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 SX9324 capacitive proximity sensor 10 - Gwendal Grignou <gwendal@chromium.org> 11 - Daniel Campello <campello@chromium.org> 14 Semtech's SX9324 proximity sensor. 17 - $ref: /schemas/iio/iio.yaml# 32 vdd-supply: 35 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 lightning 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| D | syna,rmi4.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jason A. Donenfeld <Jason@zx2c4.com> 11 - Matthias Schiffer <matthias.schiffer@ew.tq-group.com 12 - Vincent Huang <vincent.huang@tw.synaptics.com> 22 - syna,rmi4-i2c 23 - syna,rmi4-spi 28 '#address-cells': 31 '#size-cells': [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/drivers/iio/temperature/ |
| D | mlx90614.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * mlx90614.c - Support for Melexis MLX90614/MLX90615 contactless IR temperature sensor 9 * Driver for the Melexis MLX90614/MLX90615 I2C 16-bit IR thermopile sensor 11 * MLX90614 - 17-bit ADC + MLX90302 DSP 12 * MLX90615 - 16-bit ADC + MLX90325 DSP 14 * (7-bit I2C slave address 0x5a, 100KHz bus speed only!) 21 * always has a pull-up so we do not need an extra GPIO to drive it high. If 48 #define MLX90614_CONFIG_DUAL_SHIFT 6 /* single (0) or dual (1) IR sensor */ 58 #define MLX90614_TIMING_WAKEUP 34 /* time to hold SDA low for wake-up */ 59 #define MLX90614_TIMING_STARTUP 250 /* time before first data after wake-up */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/proximity/ |
| 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 …]
|
| D | as3935.txt | 1 Austrian Microsystems AS3935 Franklin lightning sensor device driver 4 - compatible: must be "ams,as3935" 5 - reg: SPI chip select number for the device 6 - spi-max-frequency: specifies maximum SPI clock frequency 7 - spi-cpha: SPI Mode 1. Refer to spi/spi-bus.txt for generic SPI 9 - interrupts : the sole interrupt generated by the device 11 Refer to interrupt-controller/interrupts.txt for generic 15 - ams,tuning-capacitor-pf: Calibration tuning capacitor stepping 16 value 0 - 120pF. This will require using the calibration data from 18 - ams,nflwdth: Set the noise and watchdog threshold register on [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/ |
| D | sc7180-trogdor-quackingstick-r0-lte.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 * - bits 11..8: Panel ID: 0x6 (AUO) 11 #include "sc7180-trogdor-quackingstick-r0.dts" 12 #include "sc7180-trogdor-lte-sku.dtsi" 16 compatible = "google,quackingstick-sku1536", "qcom,sc7180"; 21 semtech,ph0-pin = <3 1 3>; 22 semtech,ph1-pin = <2 1 2>; 23 semtech,ph2-pin = <3 3 1>; 24 semtech,ph3-pin = <1 3 3>; 25 semtech,ph01-resolution = <1024>; [all …]
|
| D | msm8998-sony-xperia-yoshino.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 18 qcom,msm-id = <0x124 0x20000>, <0x124 0x20001>; /* 8998v2, v2.1 */ 19 qcom,board-id = <8 0>; 23 compatible = "gpio-gate-clock"; 24 pinctrl-0 = <&div_clk1>; 25 pinctrl-names = "default"; 27 #clock-cells = <0>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/st/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| D | imx6q-apalis-ixora-v1.2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 * Copyright 2014-2022 Toradex 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 14 #include "imx6qdl-apalis.dtsi" 18 compatible = "toradex,apalis_imx6q-ixora-v1.2", "toradex,apalis_imx6q", 30 stdout-path = "serial0:115200n8"; 34 compatible = "gpio-leds"; [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 99 startup. If in doubt, select 'step_wise'. 144 bool "Fair-share thermal governor" 146 Enable this to manage platform thermals using fair-share governor. 240 memory-mapped reads to get the temperature. Any HW/System that 241 allows temperature reading by a single memory-mapped reading, be it 252 Enable this to plug hisilicon's thermal sensor driver into the Linux [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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> 99 static int stm_enable_irq(struct stm_thermal_sensor *sensor) in stm_enable_irq() argument 103 dev_dbg(sensor->dev, "low:%d high:%d\n", sensor->low_temp_enabled, in stm_enable_irq() 104 sensor->high_temp_enabled); in stm_enable_irq() 107 value = readl_relaxed(sensor->base + DTS_ITENR_OFFSET); in stm_enable_irq() 110 if (sensor->low_temp_enabled) in stm_enable_irq() 113 if (sensor->high_temp_enabled) in stm_enable_irq() 117 writel_relaxed(value, sensor->base + DTS_ITENR_OFFSET); in stm_enable_irq() [all …]
|