Searched +full:ps2 +full:- +full:gpio (Results 1 – 25 of 43) sorted by relevance
12
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/serio/ |
| D | ps2-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/serio/ps2-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO based PS/2 10 - Danilo Krummrich <danilokrummrich@dk-develop.de> 14 const: ps2-gpio 16 data-gpios: 18 the gpio used for the data signal - this should be flagged as 20 from <dt-bindings/gpio/gpio.h> since the signal is open drain by [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/serio/ |
| D | ps2-gpio.txt | 1 Device-Tree binding for ps/2 gpio device 4 - compatible = "ps2-gpio" 5 - data-gpios: the data pin 6 - clk-gpios: the clock pin 7 - interrupts: Should trigger on the falling edge of the clock line. 10 - write-enable: Indicates whether write function is provided 16 ps2@0 { 17 compatible = "ps2-gpio"; 18 interrupt-parent = <&gpio>; 20 data-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>; [all …]
|
| /kernel/linux/linux-6.6/drivers/input/rmi4/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 47 bool "RMI4 Function 03 (PS2 Guest)" 52 Function 03 provides PS2 guest support for RMI4 devices. This 86 bool "RMI4 Function 30 (GPIO LED)" 90 Function 30 provides GPIO and LED support for RMI4 devices. This 104 bool "RMI4 Function 3A (GPIO)" 108 Function 3A provides GPIO support for RMI4 devices. This includes
|
| /kernel/linux/linux-5.10/drivers/input/rmi4/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 47 bool "RMI4 Function 03 (PS2 Guest)" 52 Function 03 provides PS2 guest support for RMI4 devices. This 86 bool "RMI4 Function 30 (GPIO LED)" 90 Function 30 provides GPIO and LED support for RMI4 devices. This 104 bool "RMI4 Function 3A (GPIO)" 108 Function 3A provides GPIO support for RMI4 devices. This includes
|
| /kernel/linux/linux-6.6/Documentation/driver-api/gpio/ |
| D | drivers-on-gpio.rst | 2 Subsystem drivers using GPIO 5 Note that standard kernel drivers exist for common GPIO tasks and will provide 6 the right in-kernel and userspace APIs/ABIs for the job, and that these 10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO 13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger, 14 i.e. a LED will turn on/off in response to a GPIO line going high or low 15 (and that LED may in turn use the leds-gpio as per above). 17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line 20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your 21 GPIO line cannot generate interrupts, so it needs to be periodically polled [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/gpio/ |
| D | drivers-on-gpio.rst | 2 Subsystem drivers using GPIO 5 Note that standard kernel drivers exist for common GPIO tasks and will provide 6 the right in-kernel and userspace APIs/ABIs for the job, and that these 10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO 13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger, 14 i.e. a LED will turn on/off in response to a GPIO line going high or low 15 (and that LED may in turn use the leds-gpio as per above). 17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line 20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your 21 GPIO line cannot generate interrupts, so it needs to be periodically polled [all …]
|
| /kernel/linux/linux-6.6/drivers/input/serio/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 8 obj-$(CONFIG_SERIO) += serio.o 9 obj-$(CONFIG_SERIO_I8042) += i8042.o 10 obj-$(CONFIG_SERIO_PARKBD) += parkbd.o 11 obj-$(CONFIG_SERIO_SERPORT) += serport.o 12 obj-$(CONFIG_SERIO_CT82C710) += ct82c710.o 13 obj-$(CONFIG_SERIO_RPCKBD) += rpckbd.o 14 obj-$(CONFIG_SERIO_SA1111) += sa1111ps2.o 15 obj-$(CONFIG_SERIO_AMBAKMI) += ambakmi.o 16 obj-$(CONFIG_SERIO_Q40KBD) += q40kbd.o [all …]
|
| D | ps2-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * GPIO based serio bus driver for bit banging the PS/2 protocol 5 * Author: Danilo Krummrich <danilokrummrich@dk-develop.de> 8 #include <linux/gpio/consumer.h> 24 #define DRIVER_NAME "ps2-gpio" 48 * The PS2 protocol specifies a clock frequency between 10kHz and 16.7kHz, 50 * interrupt interval should be ~60us. Let's allow +/- 20us for frequency 61 * |-----------------| |--------| 68 #define PS2_IRQ_MIN_INTERVAL_US (PS2_CLK_MIN_INTERVAL_US - 20) 98 struct ps2_gpio_data *drvdata = serio->port_data; in ps2_gpio_open() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 113 This driver provides support for the PS/2 ports on PA-RISC machines 131 of delivering interrupts on a periodic and one-shot basis. 132 The SDC may also be connected to a battery-backed real-time 133 clock, a basic audio waveform generator, and an HP-HIL Master 199 echo -n "serio_raw" > /sys/bus/serio/devices/serioX/drvctl 231 When used for the E3 mailboard, a non-standard key table 268 tristate "OLPC AP-SP input support" 272 in the OLPC XO-1.75 and XO-4 laptops. 282 Select this option to enable the Hyper-V Keyboard driver. [all …]
|
| /kernel/linux/linux-5.10/drivers/input/serio/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 8 obj-$(CONFIG_SERIO) += serio.o 9 obj-$(CONFIG_SERIO_I8042) += i8042.o 10 obj-$(CONFIG_SERIO_PARKBD) += parkbd.o 11 obj-$(CONFIG_SERIO_SERPORT) += serport.o 12 obj-$(CONFIG_SERIO_CT82C710) += ct82c710.o 13 obj-$(CONFIG_SERIO_RPCKBD) += rpckbd.o 14 obj-$(CONFIG_SERIO_SA1111) += sa1111ps2.o 15 obj-$(CONFIG_SERIO_AMBAKMI) += ambakmi.o 16 obj-$(CONFIG_SERIO_Q40KBD) += q40kbd.o [all …]
|
| D | ps2-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * GPIO based serio bus driver for bit banging the PS/2 protocol 5 * Author: Danilo Krummrich <danilokrummrich@dk-develop.de> 8 #include <linux/gpio/consumer.h> 23 #define DRIVER_NAME "ps2-gpio" 66 struct ps2_gpio_data *drvdata = serio->port_data; in ps2_gpio_open() 68 enable_irq(drvdata->irq); in ps2_gpio_open() 74 struct ps2_gpio_data *drvdata = serio->port_data; in ps2_gpio_close() 76 flush_delayed_work(&drvdata->tx_work); in ps2_gpio_close() 77 disable_irq(drvdata->irq); in ps2_gpio_close() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 113 This driver provides support for the PS/2 ports on PA-RISC machines 131 of delivering interrupts on a periodic and one-shot basis. 132 The SDC may also be connected to a battery-backed real-time 133 clock, a basic audio waveform generator, and an HP-HIL Master 198 echo -n "serio_raw" > /sys/bus/serio/devices/serioX/drvctl 230 When used for the E3 mailboard, a non-standard key table 267 tristate "OLPC AP-SP input support" 271 in the OLPC XO-1.75 and XO-4 laptops. 281 Select this option to enable the Hyper-V Keyboard driver. [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-versatile/ |
| D | integrator-hardware.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (C) 1998-1999 ARM Limited. 265 #define INTEGRATOR_AP_GPIO_BASE 0x1B000000 /* GPIO */ 270 #define INTEGRATOR_CP_GPIO_BASE 0xC9000000 /* GPIO */ 274 /* PS2 Keyboard interface */ 277 /* PS2 Mouse interface */
|
| /kernel/linux/linux-5.10/arch/arm/mach-integrator/ |
| D | hardware.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (C) 1998-1999 ARM Limited. 270 #define INTEGRATOR_AP_GPIO_BASE 0x1B000000 /* GPIO */ 275 #define INTEGRATOR_CP_GPIO_BASE 0xC9000000 /* GPIO */ 279 /* PS2 Keyboard interface */ 282 /* PS2 Mouse interface */
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | aspeed-bmc-ibm-rainier.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,rainier-bmc", "aspeed,ast2600"; 36 stdout-path = &uart5; 45 reserved-memory { 46 #address-cells = <1>; [all …]
|
| D | sun4i-a10.dtsi | 5 * This file is dual-licensed: you can use it either under the terms 44 #include <dt-bindings/thermal/thermal.h> 45 #include <dt-bindings/dma/sun4i-a10.h> 46 #include <dt-bindings/clock/sun4i-a10-ccu.h> 47 #include <dt-bindings/reset/sun4i-a10-ccu.h> 50 #address-cells = <1>; 51 #size-cells = <1>; 52 interrupt-parent = <&intc>; 59 #address-cells = <1>; 60 #size-cells = <1>; [all …]
|
| D | sun7i-a20.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/interrupt-controller/arm-gic.h> 46 #include <dt-bindings/thermal/thermal.h> 47 #include <dt-bindings/dma/sun4i-a10.h> 48 #include <dt-bindings/clock/sun7i-a20-ccu.h> 49 #include <dt-bindings/reset/sun4i-a10-ccu.h> 50 #include <dt-bindings/pinctrl/sun4i-a10.h> 53 interrupt-parent = <&gic>; 54 #address-cells = <1>; [all …]
|
| D | tegra30-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 15 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 16 nvidia,hpd-gpio = 17 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; 18 pll-supply = <®_1v8_avdd_hdmi_pll>; 19 vdd-supply = <®_3v3_avdd_hdmi>; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&state_default>; 28 /* Analogue Audio (On-module) */ 29 clk1-out-pw4 { [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/allwinner/ |
| D | sun4i-a10.dtsi | 5 * This file is dual-licensed: you can use it either under the terms 44 #include <dt-bindings/thermal/thermal.h> 45 #include <dt-bindings/dma/sun4i-a10.h> 46 #include <dt-bindings/clock/sun4i-a10-ccu.h> 47 #include <dt-bindings/reset/sun4i-a10-ccu.h> 50 #address-cells = <1>; 51 #size-cells = <1>; 52 interrupt-parent = <&intc>; 59 #address-cells = <1>; 60 #size-cells = <1>; [all …]
|
| D | sun7i-a20.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/interrupt-controller/arm-gic.h> 46 #include <dt-bindings/thermal/thermal.h> 47 #include <dt-bindings/dma/sun4i-a10.h> 48 #include <dt-bindings/clock/sun7i-a20-ccu.h> 49 #include <dt-bindings/reset/sun4i-a10-ccu.h> 50 #include <dt-bindings/pinctrl/sun4i-a10.h> 53 interrupt-parent = <&gic>; 54 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/ |
| D | imx8x-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 8 stdout-path = &lpuart3; 11 colibri_gpio_keys: gpio-keys { 12 compatible = "gpio-keys"; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&pinctrl_gpiokeys>; 17 key-wakeup { 18 debounce-interval = <10>; 20 label = "Wake-Up"; 22 wakeup-source; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nvidia/ |
| D | tegra30-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 15 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 16 nvidia,hpd-gpio = 17 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; 18 pll-supply = <®_1v8_avdd_hdmi_pll>; 19 vdd-supply = <®_3v3_avdd_hdmi>; 23 gpio: gpio@6000d000 { label 24 lan-reset-n-hog { 25 gpio-hog; 27 output-high; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/aspeed/ |
| D | aspeed-bmc-ibm-rainier.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,rainier-bmc", "aspeed,ast2600"; 34 stdout-path = &uart5; 43 reserved-memory { 44 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/ |
| D | imx8qxp-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 10 compatible = "toradex,colibri-imx8x", "fsl,imx8qxp"; 13 stdout-path = &adma_lpuart3; 16 reg_module_3v3: regulator-module-3v3 { 17 compatible = "regulator-fixed"; 18 regulator-name = "+V3.3"; 19 regulator-min-microvolt = <3300000>; 20 regulator-max-microvolt = <3300000>; 24 /* On-module I2C */ 26 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/drivers/base/power/ |
| D | sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0 15 * control - Report/change current runtime PM setting of the device 30 * wakeup - Report/change current wakeup option for device 43 * keyboards and mice (both PS2 and USB styles), power buttons, modems, 44 * "Wake-On-LAN" Ethernet links, GPIO lines, and more. Some events 60 * saves runtime power, without requiring system-wide sleep states. 62 * async - Report/change current async suspend setting for the device 64 * Asynchronous suspend and resume of the device during system-wide power 80 * autosuspend_delay_ms - Report/change a device's autosuspend_delay value 92 * wakeup_count - Report the number of wakeup events related to the device [all …]
|
12