Home
last modified time | relevance | path

Searched +full:i2c +full:- +full:hid (Results 1 – 25 of 185) sorted by relevance

12345678

/linux-6.14.4/drivers/hid/i2c-hid/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "I2C HID support"
5 depends on I2C
10 tristate "HID over I2C transport layer ACPI driver"
16 other HID based devices which is connected to your computer via I2C.
17 This driver supports ACPI-based systems.
22 will be called i2c-hid-acpi. It will also build/depend on the
23 module i2c-hid.
26 tristate "HID over I2C transport layer Open Firmware driver"
28 # (board-file) instantiated "hid-over-i2c" type i2c-clients.
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
3 # Makefile for the I2C input drivers
6 obj-$(CONFIG_I2C_HID_CORE) += i2c-hid.o
8 i2c-hid-objs = i2c-hid-core.o
9 i2c-hid-$(CONFIG_DMI) += i2c-hid-dmi-quirks.o
11 obj-$(CONFIG_I2C_HID_ACPI) += i2c-hid-acpi.o
12 obj-$(CONFIG_I2C_HID_OF) += i2c-hid-of.o
13 obj-$(CONFIG_I2C_HID_OF_ELAN) += i2c-hid-of-elan.o
14 obj-$(CONFIG_I2C_HID_OF_GOODIX) += i2c-hid-of-goodix.o
Di2c-hid-of.c2 * HID over I2C Open Firmware Subclass
9 * "USB HID support for Linux":
12 * Copyright (c) 2000-2005 Vojtech Pavlik <[email protected]>
13 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
14 * Copyright (c) 2007-2008 Oliver Neukum
15 * Copyright (c) 2006-2010 Jiri Kosina
25 #include <linux/hid.h>
26 #include <linux/i2c.h>
33 #include "i2c-hid.h"
48 struct device *dev = &ihid_of->client->dev; in i2c_hid_of_power_up()
[all …]
Di2c-hid-core.c2 * HID over I2C protocol implementation
8 * This code is partly based on "USB HID support for Linux":
11 * Copyright (c) 2000-2005 Vojtech Pavlik <[email protected]>
12 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
13 * Copyright (c) 2007-2008 Oliver Neukum
14 * Copyright (c) 2006-2010 Jiri Kosina
22 #include <linux/i2c.h>
37 #include <linux/hid.h>
43 #include "../hid-ids.h"
44 #include "i2c-hid.h"
[all …]
Di2c-hid-acpi.c2 * HID over I2C ACPI Subclass
9 * "USB HID support for Linux":
12 * Copyright (c) 2000-2005 Vojtech Pavlik <[email protected]>
13 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
14 * Copyright (c) 2007-2008 Oliver Neukum
15 * Copyright (c) 2006-2010 Jiri Kosina
24 #include <linux/i2c.h>
30 #include "i2c-hid.h"
40 * ICN8505 controller, has a _CID of PNP0C50 but is not HID compatible.
51 /* HID I²C Device: 3cdff6f7-4267-4555-ad05-b30a3d8938de */
[all …]
Di2c-hid-of-goodix.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for Goodix touchscreens that use the i2c-hid protocol.
11 #include <linux/i2c.h>
18 #include "i2c-hid.h"
42 * We assert reset GPIO here (instead of during power-down) to ensure in goodix_i2c_hid_power_up()
46 if (ihid_goodix->no_reset_during_suspend) in goodix_i2c_hid_power_up()
47 gpiod_set_value_cansleep(ihid_goodix->reset_gpio, 1); in goodix_i2c_hid_power_up()
49 ret = regulator_enable(ihid_goodix->vdd); in goodix_i2c_hid_power_up()
53 ret = regulator_enable(ihid_goodix->vddio); in goodix_i2c_hid_power_up()
57 if (ihid_goodix->timings->post_power_delay_ms) in goodix_i2c_hid_power_up()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/input/
Dhid-over-i2c.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/input/hid-over-i2c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: HID over I2C Devices
10 - Benjamin Tissoires <[email protected]>
11 - Jiri Kosina <[email protected]>
14 HID over I2C provides support for various Human Interface Devices over the
15 I2C bus. These devices can be for example touchpads, keyboards, touch screens
19 https://msdn.microsoft.com/en-us/library/windows/hardware/hh852380.aspx
[all …]
Dgoodix,gt7986u-spifw.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/goodix,gt7986u-spifw.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Goodix GT7986U SPI HID Touchscreen
10 - Charles Wang <[email protected]>
14 This touch controller reports data packaged according to the HID protocol
15 over the SPI bus, but it is incompatible with Microsoft's HID-over-SPI protocol.
18 GT7986U when the chip is running I2C firmware. This is because there's
19 not a single device that talks over both I2C and SPI but rather
[all …]
/linux-6.14.4/arch/arm64/boot/dts/mediatek/
Dmt8173-elm-hana.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
6 #include "mt8173-elm.dtsi"
9 clock-frequency = <200000>;
16 interrupts-extended = <&pio 88 IRQ_TYPE_LEVEL_LOW>;
17 status = "fail-needs-probe";
22 * Gen (MTK) are using synaptics touchscreen (hid-over-i2c driver) as a
26 compatible = "hid-over-i2c";
28 hid-descr-addr = <0x0020>;
29 interrupts-extended = <&pio 88 IRQ_TYPE_LEVEL_LOW>;
30 status = "fail-needs-probe";
[all …]
Dmt8183-kukui-jacuzzi-willow.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
7 #include "mt8183-kukui-jacuzzi.dtsi"
11 compatible = "hid-over-i2c";
14 pinctrl-names = "default";
15 pinctrl-0 = <&touchscreen_pins>;
17 interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
19 post-power-on-delay-ms = <70>;
20 hid-descr-addr = <0x0001>;
26 compatible = "hid-over-i2c";
[all …]
/linux-6.14.4/drivers/hid/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # HID driver configuration
6 bool "HID bus support"
10 This option adds core support for human interface device (HID).
15 config HID config
16 tristate "HID bus core support"
20 A human interface device (HID) is a type of computer device that
21 interacts directly with and takes input from humans. The term "HID"
22 most commonly used to refer to the USB-HID specification, but other
24 designed using HID specification (this involves certain keyboards,
[all …]
/linux-6.14.4/Documentation/hid/
Dhid-transport.rst2 HID I/O Transport Drivers
5 The HID subsystem is independent of the underlying transport driver. Initially,
6 only USB was supported, but other specifications adopted the HID design and
8 Bluetooth, I2C and user-space I/O drivers.
10 1) HID Bus
13 The HID subsystem is designed as a bus. Any I/O subsystem may provide HID
14 devices and register them with the HID bus. HID core then loads generic device
16 transport and device setup/management. HID core is responsible for
17 report-parsing, report interpretation and the user-space API. Device specifics
22 +-----------+ +-----------+ +-----------+ +-----------+
[all …]
Dintel-thc-hid.rst1 .. SPDX-License-Identifier: GPL-2.0
10 - A natively half-duplex Quad I/O capable SPI master
11 - Low latency I2C interface to support HIDI2C compliant devices
12 - A HW sequencer with RW DMA capability to system memory
16 bandwidth DMA services to the touch driver and transfers the HID report to host system main memory.
22 Unlike other common SPI/I2C controllers, THC handles the HID device data interrupt and reset
29 -------------------------------
31 Below diagram illustrates the high-level architecture of THC software/hardware stack, which is fully
36 ----------------------------------------------
37 | +-----------------------------------+ |
[all …]
Dhid-sensor.rst2 HID Sensors Framework
4 HID sensor framework provides necessary interfaces to implement sensor drivers,
5 which are connected to a sensor hub. The sensor hub is a HID device and it provides
6 a report descriptor conforming to HID 1.12 sensor usage tables.
8 Description from the HID 1.12 "HID Sensor Usages" specification:
9 "Standardization of HID usages for sensors would allow (but not require) sensor
26 Logical Minimum(-32767)
35 The report is indicating "sensor page (0x20)" contains an accelerometer-3D (0x73).
36 This accelerometer-3D has some fields. Here for example field 2 is motion intensity
37 (0x045f) with a logical minimum value of -32767 and logical maximum of 32767. The
[all …]
/linux-6.14.4/drivers/platform/x86/
Dasus-tf103c-dock.c1 // SPDX-License-Identifier: GPL-2.0+
4 * keyboard dock for the Asus TF103C 2-in-1 tablet.
6 * This keyboard dock has its own I2C attached embedded controller
7 * and the keyboard and touchpad are also connected over I2C,
19 #include <linux/hid.h>
20 #include <linux/i2c.h>
35 "can be pressed to change this to F1-F12. Set this to 1 to "
42 /*** Touchpad I2C device defines ***/
45 /*** Keyboard I2C device defines **A*/
57 /*** EC innterrupt data I2C device defines ***/
[all …]
/linux-6.14.4/arch/arm64/boot/dts/qcom/
Dmsm8998-asus-novago-tp370ql.dts1 // SPDX-License-Identifier: GPL-2.0
4 /dts-v1/;
6 #include "msm8998-clamshell.dtsi"
10 compatible = "asus,novago-tp370ql", "qcom,msm8998";
11 chassis-type = "convertible";
18 compatible = "hid-over-i2c";
20 pinctrl-names = "default";
21 pinctrl-0 = <&touchpad>;
23 interrupt-parent = <&tlmm>;
26 hid-descr-addr = <0x0001>;
[all …]
Dmsm8998-lenovo-miix-630.dts1 // SPDX-License-Identifier: GPL-2.0
4 /dts-v1/;
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7 #include "msm8998-clamshell.dtsi"
11 compatible = "lenovo,miix-630", "qcom,msm8998";
12 chassis-type = "convertible";
14 gpio-keys {
15 compatible = "gpio-keys";
18 pinctrl-0 = <&vol_up_pin_a>;
19 pinctrl-names = "default";
[all …]
/linux-6.14.4/drivers/iio/humidity/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
9 depends on I2C
30 depends on I2C
41 depends on I2C
54 depends on I2C
64 depends on I2C
75 tristate "HID Environmental humidity sensor"
81 Say yes here to build support for the HID SENSOR
85 will be called hid-sensor-humidity.
89 depends on (I2C || SPI)
[all …]
/linux-6.14.4/drivers/hid/intel-thc-hid/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
4 menu "Intel THC HID Support"
13 is comprised of 3 key functional blocks: A natively half-duplex
14 Quad I/O capable SPI master; a low latency I2C interface to support
25 HIDSPI (HID over SPI) protocol. It configures THC to work at SPI
36 HIDI2C (HID over I2C) protocol. It configures THC to work in I2C
/linux-6.14.4/drivers/iio/temperature/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
15 will be called iqs620at-temp.
18 tristate "Analog Devices Multi-Sensor Digital Temperature Measurement System"
22 Say yes here to build support for the LTC2983 Multi-Sensor
45 tristate "HID Environmental temperature sensor"
51 Say yes here to build support for the HID SENSOR
55 will be called hid-sensor-temperature.
58 tristate "MLX90614 contact-less infrared sensor"
59 depends on I2C
62 MLX90614 contact-less infrared sensor connected with I2C.
[all …]
/linux-6.14.4/drivers/acpi/x86/
Dutils.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Copyright (C) 2013-2015 Intel Corporation. All rights reserved.
18 #include <asm/intel-family.h>
22 * Some ACPI devices are hidden (status == 0x0) in recent BIOS-es because
26 * Some BIOS-es (temporarily) hide specific APCI devices to work around Windows
29 * Likewise sometimes some not-actually present devices are sometimes
38 * are re-used on different SoCs for completely different devices.
41 struct acpi_device_id hid[2]; member
49 #define ENTRY(status, hid, uid, path, cpu_vfm, dmi...) { \ argument
50 { { hid, }, {} }, \
[all …]
/linux-6.14.4/drivers/iio/light/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
21 be called acpi-als.
24 tristate "ADJD-S311-CR999 digital color sensor"
27 depends on I2C
29 If you say yes here you get support for the Avago ADJD-S311-CR999
38 depends on I2C
48 depends on I2C
58 depends on I2C
68 depends on I2C
78 depends on I2C
[all …]
/linux-6.14.4/drivers/staging/greybus/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
12 will be called gb-audio.ko
20 bridge from an APB-I2S port to a Unipro network.
23 will be called gb-audio-codec.ko
33 will be called gb-bootrom.ko
43 will be called gb-camera.ko
53 will be called gb-firmware.ko
56 tristate "Greybus HID Class driver"
57 depends on HID && INPUT
60 Greybus HID Class specification.
[all …]
/linux-6.14.4/drivers/iio/pressure/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
11 depends on I2C
20 tristate "ROHM BM1390GLV-Z pressure sensor driver"
21 depends on I2C
26 Support for the ROHM BM1390 pressure sensor. The BM1390GLV-Z
33 depends on (I2C || SPI_MASTER)
35 select BMP280_I2C if (I2C)
45 will be called bmp280 and you will also get bmp280-i2c for I2C
46 and/or bmp280-spi for SPI support.
51 depends on I2C
[all …]
/linux-6.14.4/drivers/hid/intel-thc-hid/intel-quicki2c/
Dquicki2c-dev.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 #include <linux/hid-over-i2c.h>
62 * struct quicki2c_subip_acpi_parameter - QuickI2C ACPI DSD parameters
63 * @device_address: I2C device slave address
64 * @connection_speed: I2C device expected connection speed
65 * @addressing_mode: I2C device slave address mode, 7bit or 10bit
77 * struct quicki2c_subip_acpi_config - QuickI2C ACPI DSD parameters
99 * I2C timing configure.
132 * struct quicki2c_device - THC QuickI2C device struct
136 * @hid_dev: point to hid device
[all …]

12345678