Home
last modified time | relevance | path

Searched +full:gpio +full:- +full:ir +full:- +full:receiver (Results 1 – 25 of 77) sorted by relevance

1234

/openbmc/linux/drivers/media/rc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
9 standalone IR receivers/transmitters, and RF receivers.
12 if you don't need IR, as otherwise, you may not be able to
15 Say Y when you have a TV or an IR device.
26 syscall command BPF_PROG_ATTACH. This is supported for raw IR
29 These eBPF programs can be used to decode IR into scancodes, for
30 IR protocols not supported by the kernel decoders.
37 passes raw IR to and from userspace, which is needed for
38 IR transmitting (aka "blasting") and for the lirc daemon.
48 tristate "Enable IR raw decoder for the iMON protocol"
[all …]
H A Dgpio-ir-recv.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/gpio/consumer.h>
17 #include <media/rc-core.h>
33 struct device *pmdev = gpio_dev->pmdev; in gpio_ir_recv_irq()
48 val = gpiod_get_value(gpio_dev->gpiod); in gpio_ir_recv_irq()
50 ir_raw_event_store_edge(gpio_dev->rcdev, val == 1); in gpio_ir_recv_irq()
62 struct device *dev = &pdev->dev; in gpio_ir_recv_probe()
63 struct device_node *np = dev->of_node; in gpio_ir_recv_probe()
70 return -ENODEV; in gpio_ir_recv_probe()
74 return -ENOMEM; in gpio_ir_recv_probe()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/media/
H A Dgpio-ir-receiver.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/media/gpio-ir-receiver.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO Based IR receiver
10 - Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
13 - $ref: rc.yaml#
17 const: gpio-ir-receiver
22 linux,autosuspend-period:
26 wakeup-source:
[all …]
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3308-roc-cc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
10 model = "Firefly ROC-RK3308-CC board";
11 compatible = "firefly,roc-rk3308-cc", "rockchip,rk3308";
19 stdout-path = "serial2:1500000n8";
22 ir-receiver {
23 compatible = "gpio-ir-receiver";
25 pinctrl-names = "default";
26 pinctrl-0 = <&ir_recv_pin>;
30 compatible = "pwm-ir-tx";
[all …]
H A Drk3328-roc-pc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 // Copyright (c) 2021 T-Chip Intelligent Technology Co., Ltd
4 /dts-v1/;
6 #include <dt-bindings/input/input.h>
8 #include "rk3328-roc-cc.dts"
11 model = "Firefly ROC-RK3328-PC";
12 compatible = "firefly,roc-rk3328-pc", "rockchip,rk3328";
14 adc-keys {
15 compatible = "adc-keys";
16 io-channels = <&saradc 0>;
[all …]
H A Drk3368-geekbox.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
19 stdout-path = "serial2:115200n8";
27 ext_gmac: gmac-clk {
28 compatible = "fixed-clock";
29 clock-frequency = <125000000>;
30 clock-output-names = "ext_gmac";
31 #clock-cells = <0>;
34 ir: ir-receiver { label
[all …]
H A Drk3368-r88.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
20 stdout-path = "serial2:115200n8";
28 emmc_pwrseq: emmc-pwrseq {
29 compatible = "mmc-pwrseq-emmc";
30 pinctrl-0 = <&emmc_reset>;
31 pinctrl-names = "default";
32 reset-gpios = <&gpio2 RK_PA3 GPIO_ACTIVE_HIGH>;
35 keys: gpio-keys {
[all …]
H A Drk3399-nanopc-t4.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * FriendlyElec NanoPC-T4 board device tree source
11 /dts-v1/;
12 #include "rk3399-nanopi4.dtsi"
15 model = "FriendlyElec NanoPC-T4";
16 compatible = "friendlyarm,nanopc-t4", "rockchip,rk3399";
18 vcc12v0_sys: vcc12v0-sys {
19 compatible = "regulator-fixed";
20 regulator-always-on;
21 regulator-boot-on;
[all …]
H A Drk3328-rock64.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
19 stdout-path = "serial2:1500000n8";
22 gmac_clkin: external-gmac-clock {
23 compatible = "fixed-clock";
24 clock-frequency = <125000000>;
25 clock-output-names = "gmac_clkin";
26 #clock-cells = <0>;
29 vcc_sd: sdmmc-regulator {
30 compatible = "regulator-fixed";
[all …]
H A Drk3318-a95x-z2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
4 #include <dt-bindings/input/input.h>
9 compatible = "zkmagic,a95x-z2", "rockchip,rk3318";
18 stdout-path = "serial2:1500000n8";
21 adc-keys {
22 compatible = "adc-keys";
23 io-channels = <&saradc 0>;
24 io-channel-names = "buttons";
25 keyup-threshold-microvolt = <1800000>;
[all …]
/openbmc/linux/drivers/media/pci/bt8xx/
H A Dbttv-input.c1 // SPDX-License-Identifier: GPL-2.0-or-later
34 #define DEVNAME "bttv-input"
38 /* ---------------------------------------------------------------------- */
42 struct bttv_ir *ir = btv->remote; in ir_handle_key() local
43 u32 gpio,data; in ir_handle_key() local
45 /* read gpio value */ in ir_handle_key()
46 gpio = bttv_gpio_read(&btv->c); in ir_handle_key()
47 if (ir->polling) { in ir_handle_key()
48 if (ir->last_gpio == gpio) in ir_handle_key()
50 ir->last_gpio = gpio; in ir_handle_key()
[all …]
/openbmc/linux/Documentation/driver-api/media/drivers/
H A Dcx88-devel.rst1 .. SPDX-License-Identifier: GPL-2.0
9 -------------------------------------------
13 .. code-block:: none
16 Digit 8: 31-28
19 Digit 7: 27-24 (0xc = 12 = b1100 )
24 Digits 6,5: 23-16
25 25-16: COMB_RANGE = 0x1f [default] (9 bits -> max 512)
27 Digit 4: 15-12
33 Digit 3: 11-8
39 Digit 2: 7-4
[all …]
/openbmc/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-rock2-square.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
4 #include <dt-bindings/input/input.h>
5 #include "rk3288-rock2-som.dtsi"
9 compatible = "radxa,rock2-square", "rockchip,rk3288";
12 stdout-path = "serial2:115200n8";
15 adc-keys {
16 compatible = "adc-keys";
17 io-channels = <&saradc 1>;
18 io-channel-names = "buttons";
[all …]
H A Drk3188-radxarock.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
23 gpio-keys {
24 compatible = "gpio-keys";
27 key-power {
30 label = "GPIO Key Power";
31 linux,input-type = <1>;
32 wakeup-source;
33 debounce-interval = <100>;
[all …]
H A Drk3288-r89.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/pwm/pwm.h>
20 ext_gmac: external-gmac-clock {
21 compatible = "fixed-clock";
22 clock-frequency = <125000000>;
23 clock-output-names = "ext_gmac";
24 #clock-cells = <0>;
27 gpio-keys {
[all …]
H A Drk3288-firefly-reload.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include "rk3288-firefly-reload-core.dtsi"
11 model = "Firefly-RK3288-reload";
12 compatible = "firefly,firefly-rk3288-reload", "rockchip,rk3288";
14 adc-keys {
15 compatible = "adc-keys";
16 io-channels = <&saradc 1>;
17 io-channel-names = "buttons";
18 keyup-threshold-microvolt = <1800000>;
[all …]
H A Drk3066a-rayeager.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
12 compatible = "chipspark,rayeager-px2", "rockchip,rk3066a";
25 ir: ir-receiver { label
26 compatible = "gpio-ir-receiver";
28 pinctrl-names = "default";
29 pinctrl-0 = <&ir_int>;
32 keys: gpio-keys {
33 compatible = "gpio-keys";
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Drk3368-sheep.dts1 // SPDX-License-Identifier: GPL-2.0+
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
15 stdout-path = "serial2:115200n8";
23 ext_gmac: gmac-clk {
24 compatible = "fixed-clock";
25 clock-frequency = <125000000>;
26 clock-output-names = "ext_gmac";
27 #clock-cells = <0>;
30 ir: ir-receiver { label
[all …]
H A Drk3288-rock2-square.dts2 * This file is dual-licensed: you can use it either under the terms
41 /dts-v1/;
42 #include "rk3288-rock2-som.dtsi"
46 compatible = "radxa,rock2-square", "rockchip,rk3288";
49 stdout-path = "serial2:115200n8";
52 ir: ir-receiver { label
53 compatible = "gpio-ir-receiver";
55 pinctrl-names = "default";
56 pinctrl-0 = <&ir_int>;
60 compatible = "simple-audio-card";
[all …]
H A Drk3188-radxarock.dts1 // SPDX-License-Identifier: GPL-2.0+ OR X11
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
9 #include "rk3188-radxarock-u-boot.dtsi"
16 /* stdout-path = &uart2; */
17 stdout-path = "serial2:115200n8";
21 u-boot,dm-pre-reloc;
22 u-boot,boot-led = "rock:red:power";
30 gpio-keys {
31 compatible = "gpio-keys";
[all …]
H A Drk3368-px5-evb.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
45 #include <dt-bindings/input/input.h>
49 compatible = "rockchip,px5-evb", "rockchip,px5", "rockchip,rk3368";
52 stdout-path = "serial4:115200n8";
60 ext_gmac: gmac-clk {
61 compatible = "fixed-clock";
62 clock-frequency = <125000000>;
63 clock-output-names = "ext_gmac";
64 #clock-cells = <0>;
[all …]
H A Drk3368-geekbox.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
45 #include <dt-bindings/input/input.h>
52 stdout-path = "serial2:115200n8";
60 ext_gmac: gmac-clk {
61 compatible = "fixed-clock";
62 clock-frequency = <125000000>;
63 clock-output-names = "ext_gmac";
64 #clock-cells = <0>;
67 ir: ir-receiver { label
[all …]
/openbmc/linux/drivers/media/pci/cx88/
H A Dcx88-input.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Device driver for GPIO attached remote control interfaces
20 #include <media/rc-core.h>
24 /* ---------------------------------------------------------------------- */
35 /* sample from gpio pin 16 */
50 MODULE_PARM_DESC(ir_samplerate, "IR samplerate in kHz, 1 - 20, default 4");
53 module_param(ir_debug, int, 0644); /* debug level [IR] */
54 MODULE_PARM_DESC(ir_debug, "enable debug messages [IR]");
58 printk(KERN_DEBUG "%s IR: " fmt, ir->core->name, ##arg);\
63 printk(KERN_DEBUG "cx88 IR: " fmt, ##arg); \
[all …]
/openbmc/linux/arch/arm/boot/dts/marvell/
H A Ddove-cubox.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
20 compatible = "gpio-leds";
21 pinctrl-0 = <&pmx_gpio_18>;
22 pinctrl-names = "default";
24 led-power {
27 default-state = "keep";
31 usb_power: regulator-1 {
32 compatible = "regulator-fixed";
33 regulator-name = "USB Power";
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-cubox-i.dtsi4 * This file is dual-licensed: you can use it either under the terms
41 #include <dt-bindings/input/input.h>
42 #include <dt-bindings/gpio/gpio.h>
51 ir_recv: ir-receiver {
52 compatible = "gpio-ir-receiver";
54 pinctrl-names = "default";
55 pinctrl-0 = <&pinctrl_cubox_i_ir>;
58 led-controller {
59 compatible = "pwm-leds";
60 pinctrl-names = "default";
[all …]

1234