Home
last modified time | relevance | path

Searched +full:ps2 +full:- +full:gpio (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.14.4/Documentation/devicetree/bindings/serio/
Dps2-gpio.yaml1 # 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 …]
/linux-6.14.4/drivers/input/rmi4/
DKconfig1 # 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
/linux-6.14.4/drivers/input/serio/
DMakefile1 # 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 …]
Dps2-gpio.c1 // 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 …]
DKconfig1 # 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 …]
/linux-6.14.4/Documentation/driver-api/gpio/
Ddrivers-on-gpio.rst2 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 …]
/linux-6.14.4/arch/arm/mach-versatile/
Dintegrator-hardware.h1 /* 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 */
/linux-6.14.4/drivers/hid/
DKconfig1 # 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-6.14.4/arch/arm/boot/dts/allwinner/
Dsun4i-a10.dtsi5 * 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 …]
Dsun7i-a20.dtsi4 * 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 …]
/linux-6.14.4/arch/arm64/boot/dts/freescale/
Dimx8x-colibri.dtsi1 // 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 …]
/linux-6.14.4/arch/arm/boot/dts/nvidia/
Dtegra30-colibri.dtsi1 // 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 = <&reg_1v8_avdd_hdmi_pll>;
19 vdd-supply = <&reg_3v3_avdd_hdmi>;
23 gpio: gpio@6000d000 { label
24 lan-reset-n-hog {
25 gpio-hog;
27 output-high;
[all …]
Dtegra114-asus-tf701t.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include <dt-bindings/input/gpio-keys.h>
6 #include <dt-bindings/input/input.h>
13 chassis-type = "convertible";
29 trusted-foundations {
30 compatible = "tlm,trusted-foundations";
31 tlm,version-major = <2>;
32 tlm,version-minor = <8>;
40 reserved-memory {
[all …]
Dtegra124-apalis-v1.2.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 * Copyright 2016-2018 Toradex AG
7 #include "tegra124-apalis-emc.dtsi"
21 avddio-pex-supply = <&reg_1v05_vdd>;
22 avdd-pex-pll-supply = <&reg_1v05_vdd>;
23 avdd-pll-erefe-supply = <&reg_1v05_avdd>;
24 dvddio-pex-supply = <&reg_1v05_vdd>;
25 hvdd-pex-pll-e-supply = <&reg_module_3v3>;
26 hvdd-pex-supply = <&reg_module_3v3>;
27 vddio-pex-ctl-supply = <&reg_module_3v3>;
[all …]
Dtegra124-apalis.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
3 * Copyright 2016-2019 Toradex AG
7 #include "tegra124-apalis-emc.dtsi"
20 avddio-pex-supply = <&reg_1v05_vdd>;
21 avdd-pex-pll-supply = <&reg_1v05_vdd>;
22 avdd-pll-erefe-supply = <&reg_1v05_avdd>;
23 dvddio-pex-supply = <&reg_1v05_vdd>;
24 hvdd-pex-pll-e-supply = <&reg_module_3v3>;
25 hvdd-pex-supply = <&reg_module_3v3>;
26 vddio-pex-ctl-supply = <&reg_module_3v3>;
[all …]
/linux-6.14.4/arch/arm/boot/dts/aspeed/
Daspeed-bmc-ibm-blueridge.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 /dts-v1/;
5 #include <dt-bindings/gpio/aspeed-gpio.h>
6 #include <dt-bindings/i2c/i2c.h>
7 #include <dt-bindings/leds/leds-pca955x.h>
8 #include "aspeed-g6.dtsi"
9 #include "ibm-power11-quad.dtsi"
13 compatible = "ibm,blueridge-bmc", "aspeed,ast2600";
35 stdout-path = &uart5;
43 reserved-memory {
[all …]
Daspeed-bmc-ibm-rainier.dts1 // 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 …]
Daspeed-bmc-ibm-system1.dts1 // 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,system1-bmc", "aspeed,ast2600";
74 stdout-path = "uart5:115200n8";
82 reserved-memory {
83 #address-cells = <1>;
[all …]
Daspeed-bmc-ibm-fuji.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 /dts-v1/;
5 #include <dt-bindings/gpio/aspeed-gpio.h>
6 #include <dt-bindings/i2c/i2c.h>
7 #include <dt-bindings/leds/leds-pca955x.h>
8 #include "aspeed-g6.dtsi"
9 #include "ibm-power11-quad.dtsi"
13 compatible = "ibm,fuji-bmc", "aspeed,ast2600";
170 stdout-path = &uart5;
178 reserved-memory {
[all …]
Daspeed-bmc-ibm-everest.dts1 // 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,everest-bmc", "aspeed,ast2600";
169 stdout-path = &uart5;
178 reserved-memory {
179 #address-cells = <1>;
[all …]
/linux-6.14.4/drivers/base/power/
Dsysfs.c1 // SPDX-License-Identifier: GPL-2.0
14 * control - Report/change current runtime PM setting of the device
29 * wakeup - Report/change current wakeup option for device
42 * keyboards and mice (both PS2 and USB styles), power buttons, modems,
43 * "Wake-On-LAN" Ethernet links, GPIO lines, and more. Some events
59 * saves runtime power, without requiring system-wide sleep states.
61 * async - Report/change current async suspend setting for the device
63 * Asynchronous suspend and resume of the device during system-wide power
79 * autosuspend_delay_ms - Report/change a device's autosuspend_delay value
91 * wakeup_count - Report the number of wakeup events related to the device
[all …]
/linux-6.14.4/drivers/pinctrl/tegra/
Dpinctrl-tegra20.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (c) 2011-2012, NVIDIA CORPORATION. All rights reserved.
14 #include <linux/clk-provider.h>
21 #include "pinctrl-tegra.h"
25 * These must match how the GPIO driver names/numbers its pins.
254 /* All non-GPIO pins follow */
500 PINCTRL_PIN(TEGRA_PIN_KB_ROW10_PS2, "KB_ROW10 PS2"),
514 /* PU0..6: GPIO only */
523 /* PV0..1: GPIO only */
526 /* PV2..3: Balls are named after GPIO not function */
[all …]
Dpinctrl-tegra114.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (c) 2012-2013, NVIDIA CORPORATION. All rights reserved.
16 #include "pinctrl-tegra.h"
20 * These must match how the GPIO driver names/numbers its pins.
194 /* All non-GPIO pins follow */
198 /* Non-GPIO pins */
307 PINCTRL_PIN(TEGRA_PIN_KB_ROW10_PS2, "KB_ROW10 PS2"),
1541 #define DRV_PINGROUP_REG(r) ((r) - DRV_PINGROUP_REG_A)
1542 #define PINGROUP_REG(r) ((r) - PINGROUP_REG_A)
1545 #define PINGROUP_BIT_N(b) (-1)
[all …]
Dpinctrl-tegra124.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (c) 2013-2014, NVIDIA CORPORATION. All rights reserved.
16 #include "pinctrl-tegra.h"
20 * These must match how the GPIO driver names/numbers its pins.
208 /* All non-GPIO pins follow */
212 /* Non-GPIO pins */
331 PINCTRL_PIN(TEGRA_PIN_KB_ROW10_PS2, "KB_ROW10 PS2"),
1709 #define DRV_PINGROUP_REG(r) ((r) - DRV_PINGROUP_REG_A)
1710 #define PINGROUP_REG(r) ((r) - PINGROUP_REG_A)
1711 #define MIPI_PAD_CTRL_PINGROUP_REG_Y(r) ((r) - MIPI_PAD_CTRL_PINGROUP_REG_A)
[all …]
/linux-6.14.4/drivers/pinctrl/renesas/
Dpinctrl-rzg2l.c1 // SPDX-License-Identifier: GPL-2.0
3 * Renesas RZ/G2L Pin Control and GPIO driver core
11 #include <linux/gpio/driver.h>
24 #include <linux/pinctrl/pinconf-generic.h>
29 #include <dt-bindings/pinctrl/renesas,r9a09g047-pinctrl.h>
30 #include <dt-bindings/pinctrl/renesas,r9a09g057-pinctrl.h>
31 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
37 #define DRV_NAME "pinctrl-rzg2l"
62 #define PIN_CFG_NOD BIT(15) /* N-ch Open Drain */
63 #define PIN_CFG_SMT BIT(16) /* Schmitt-trigger input control */
[all …]

12