/linux-6.14.4/drivers/media/rc/ |
D | Kconfig | 1 # 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 …]
|
D | gpio-ir-recv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/gpio/consumer.h> 16 #include <media/rc-core.h> 32 struct device *pmdev = gpio_dev->pmdev; in gpio_ir_recv_irq() 47 val = gpiod_get_value(gpio_dev->gpiod); in gpio_ir_recv_irq() 49 ir_raw_event_store_edge(gpio_dev->rcdev, val == 1); in gpio_ir_recv_irq() 61 struct device *dev = &pdev->dev; in gpio_ir_recv_probe() 62 struct device_node *np = dev->of_node; in gpio_ir_recv_probe() 69 return -ENODEV; in gpio_ir_recv_probe() 73 return -ENOMEM; in gpio_ir_recv_probe() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/media/ |
D | gpio-ir-receiver.yaml | 1 # 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 <[email protected]> 13 - $ref: rc.yaml# 17 const: gpio-ir-receiver 22 linux,autosuspend-period: 26 wakeup-source: [all …]
|
/linux-6.14.4/drivers/media/pci/bt8xx/ |
D | bttv-input.c | 1 // 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 …]
|
/linux-6.14.4/arch/arm64/boot/dts/rockchip/ |
D | rk3308-roc-cc.dts | 1 // 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 …]
|
D | rk3328-roc-pc.dts | 1 // 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> 7 #include "rk3328-roc.dtsi" 10 model = "Firefly ROC-RK3328-PC"; 11 compatible = "firefly,roc-rk3328-pc", "rockchip,rk3328"; 13 adc-keys { 14 compatible = "adc-keys"; 15 io-channels = <&saradc 0>; [all …]
|
D | rk3588-orangepi-5-plus.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/soc/rockchip,vop2.h> 11 #include <dt-bindings/usb/pd.h> 12 #include "rk3588-orangepi-5.dtsi" 16 compatible = "xunlong,orangepi-5-plus", "rockchip,rk3588"; 18 hdmi0-con { 19 compatible = "hdmi-connector"; [all …]
|
D | rk3368-geekbox.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 20 stdout-path = "serial2:115200n8"; 28 ext_gmac: gmac-clk { 29 compatible = "fixed-clock"; 30 clock-frequency = <125000000>; 31 clock-output-names = "ext_gmac"; 32 #clock-cells = <0>; 35 ir: ir-receiver { label [all …]
|
D | rk3399-nanopc-t4.dts | 1 // 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: regulator-vcc12v0-sys { 19 compatible = "regulator-fixed"; 20 regulator-always-on; 21 regulator-boot-on; [all …]
|
D | rk3368-r88.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 21 stdout-path = "serial2:115200n8"; 29 emmc_pwrseq: emmc-pwrseq { 30 compatible = "mmc-pwrseq-emmc"; 31 pinctrl-0 = <&emmc_reset>; 32 pinctrl-names = "default"; 33 reset-gpios = <&gpio2 RK_PA3 GPIO_ACTIVE_HIGH>; 36 keys: gpio-keys { [all …]
|
D | rk3318-a95x-z2.dts | 1 // 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"; 19 stdout-path = "serial2:1500000n8"; 22 adc-keys { 23 compatible = "adc-keys"; 24 io-channels = <&saradc 0>; 25 io-channel-names = "buttons"; 26 keyup-threshold-microvolt = <1800000>; [all …]
|
D | rk3328-rock64.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 20 stdout-path = "serial2:1500000n8"; 23 gmac_clkin: external-gmac-clock { 24 compatible = "fixed-clock"; 25 clock-frequency = <125000000>; 26 clock-output-names = "gmac_clkin"; 27 #clock-cells = <0>; 30 vcc_sd: regulator-sdmmc { 31 compatible = "regulator-fixed"; [all …]
|
/linux-6.14.4/Documentation/driver-api/media/drivers/ |
D | cx88-devel.rst | 1 .. 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 …]
|
/linux-6.14.4/arch/arm/boot/dts/rockchip/ |
D | rk3288-rock2-square.dts | 1 // 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 …]
|
D | rk3188-radxarock.dts | 1 // 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 …]
|
D | rk3288-r89.dts | 1 // 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 …]
|
D | rk3128-xpi-3128.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 10 model = "Geniatech XPI-3128"; 11 compatible = "geniatech,xpi-3128", "rockchip,rk3128"; 25 stdout-path = &uart1; 28 adc-keys { 29 compatible = "adc-keys"; 30 io-channels = <&saradc 1>; [all …]
|
D | rv1109-relfor-saib.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/input/input.h> 16 gpio-keys { 17 compatible = "gpio-keys"; 22 label = "GPIO User Switch"; 23 linux,input-type = <1>; 27 ir_receiver: ir-receiver { 28 compatible = "gpio-ir-receiver"; [all …]
|
D | rk3288-firefly-reload.dts | 1 // 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 …]
|
D | rk3066a-rayeager.dts | 1 // 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 …]
|
D | rk3288-popmetal.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2014, 2015 Andy Yan <andy.yan@rock-chips.com> 6 /dts-v1/; 7 #include <dt-bindings/input/input.h> 11 model = "PopMetal-RK3288"; 12 compatible = "chipspark,popmetal-rk3288", "rockchip,rk3288"; 19 ext_gmac: external-gmac-clock { 20 compatible = "fixed-clock"; 21 clock-frequency = <125000000>; 22 clock-output-names = "ext_gmac"; [all …]
|
/linux-6.14.4/drivers/media/pci/cx88/ |
D | cx88-input.c | 1 // 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 …]
|
/linux-6.14.4/arch/arm/boot/dts/marvell/ |
D | dove-cubox.dts | 1 // 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 …]
|
/linux-6.14.4/drivers/media/common/siano/ |
D | sms-cards.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Card-specific functions for the Siano SMS1xxx USB dongle 8 #include "sms-cards.h" 19 .name = "Siano Stellar Digital Receiver", 24 .name = "Siano Nova A Digital Receiver", 29 .name = "Siano Nova B Digital Receiver", 34 .name = "Siano Vega Digital Receiver", 45 .name = "Hauppauge Okemo-A", 51 .name = "Hauppauge Okemo-B", 66 .board_cfg.ir = 9, [all …]
|
/linux-6.14.4/arch/arm/boot/dts/nxp/imx/ |
D | imx6qdl-cubox-i.dtsi | 4 * 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 …]
|