Home
last modified time | relevance | path

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

12

/openbmc/qemu/include/hw/input/
H A Di8042.h6 * SPDX-License-Identifier: MIT
13 #include "hw/input/ps2.h"
45 * + Named GPIO input "ps2-kbd-input-irq": set to 1 if the downstream PS2
47 * + Named GPIO input "ps2-mouse-input-irq": set to 1 if the downstream PS2
49 * + Named GPIO output "a20": A20 line for x86 PCs
50 * + Unnamed GPIO output 0-1: i8042 output irqs for keyboard (0) or mouse (1)
70 * + Named GPIO input "ps2-kbd-input-irq": set to 1 if the downstream PS2
72 * + Named GPIO input "ps2-mouse-input-irq": set to 1 if the downstream PS2
74 * + Unnamed GPIO output 0-1: i8042 output irqs for keyboard (0) or mouse (1)
77 #define TYPE_I8042_MMIO "i8042-mmio"
[all …]
H A Dlasips2.h10 * + sysbus MMIO region 0: MemoryRegion defining the LASI PS2 keyboard
12 * + sysbus MMIO region 1: MemoryRegion defining the LASI PS2 mouse
14 * + sysbus IRQ 0: LASI PS2 output irq
15 * + Named GPIO input "lasips2-port-input-irq[0..1]": set to 1 if the downstream
24 #include "hw/input/ps2.h"
26 #define TYPE_LASIPS2_PORT "lasips2-port"
50 #define TYPE_LASIPS2_KBD_PORT "lasips2-kbd-port"
59 #define TYPE_LASIPS2_MOUSE_PORT "lasips2-mouse-port"
/openbmc/linux/Documentation/devicetree/bindings/serio/
H A 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 …]
/openbmc/linux/drivers/input/rmi4/
H A 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
/openbmc/linux/Documentation/driver-api/gpio/
H A 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 …]
/openbmc/linux/drivers/input/serio/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/qemu/hw/input/
H A Dpl050.c4 * Copyright (c) 2006-2007 CodeSourcery.
13 * + Named GPIO input "ps2-input-irq": set to 1 if the downstream PS2 device
21 #include "hw/input/ps2.h"
56 int level = (s->pending && (s->cr & 0x10) != 0) in pl050_update_irq()
57 || (s->cr & 0x08) != 0; in pl050_update_irq()
59 qemu_set_irq(s->irq, level); in pl050_update_irq()
66 s->pending = level; in pl050_set_irq()
76 return pl050_id[(offset - 0xfe0) >> 2]; in pl050_read()
81 return s->cr; in pl050_read()
87 val = s->last; in pl050_read()
[all …]
/openbmc/linux/arch/arm/mach-versatile/
H A 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 */
/openbmc/u-boot/arch/arm/dts/
H A 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 …]
H A Dsun7i-a20.dtsi4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
47 #include <dt-bindings/interrupt-controller/arm-gic.h>
48 #include <dt-bindings/thermal/thermal.h>
49 #include <dt-bindings/dma/sun4i-a10.h>
50 #include <dt-bindings/clock/sun7i-a20-ccu.h>
51 #include <dt-bindings/reset/sun4i-a10-ccu.h>
54 interrupt-parent = <&gic>;
61 #address-cells = <1>;
62 #size-cells = <1>;
[all …]
/openbmc/linux/drivers/hid/
H A 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 …]
/openbmc/linux/arch/arm/boot/dts/allwinner/
H A 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 …]
H A 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 …]
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A 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 …]
/openbmc/linux/arch/arm/boot/dts/nvidia/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/arch/arm/boot/dts/aspeed/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/base/power/
H A Dsysfs.c1 // 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