| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/leds/irled/ |
| D | gpio-ir-tx.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/irled/gpio-ir-tx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: IR LED connected through GPIO pin 10 - Sean Young <sean@mess.org> 13 IR LED connected through GPIO pin which is used as remote controller 18 const: gpio-ir-tx 24 - compatible 25 - gpios [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/irled/ |
| D | gpio-ir-tx.txt | 1 Device tree bindings for IR LED connected through gpio pin which is used as 5 - compatible: should be "gpio-ir-tx". 6 - gpios : Should specify the IR LED GPIO, see "gpios property" in 7 Documentation/devicetree/bindings/gpio/gpio.txt. Active low LEDs 8 should be indicated using flags in the GPIO specifier. 12 compatible = "gpio-ir-tx";
|
| /kernel/linux/linux-6.6/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 | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 obj-y += keymaps/ 5 rc-core-y := rc-main.o rc-ir-raw.o 6 rc-core-$(CONFIG_LIRC) += lirc_dev.o 7 rc-core-$(CONFIG_MEDIA_CEC_RC) += keymaps/rc-cec.o 8 rc-core-$(CONFIG_BPF_LIRC_MODE2) += bpf-lirc.o 10 obj-$(CONFIG_RC_CORE) += rc-core.o 12 # IR decoders - please keep it alphabetically sorted by Kconfig name 14 obj-$(CONFIG_IR_IMON_DECODER) += ir-imon-decoder.o 15 obj-$(CONFIG_IR_JVC_DECODER) += ir-jvc-decoder.o [all …]
|
| D | gpio-ir-tx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 #include <linux/gpio/consumer.h> 13 #include <media/rc-core.h> 15 #define DRIVER_NAME "gpio-ir-tx" 16 #define DEVICE_NAME "GPIO IR Bit Banging Transmitter" 19 struct gpio_desc *gpio; member 25 { .compatible = "gpio-ir-tx", }, 32 struct gpio_ir *gpio_ir = dev->priv; in gpio_ir_tx_set_duty_cycle() 34 gpio_ir->duty_cycle = duty_cycle; in gpio_ir_tx_set_duty_cycle() 41 struct gpio_ir *gpio_ir = dev->priv; in gpio_ir_tx_set_carrier() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/rc/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 obj-y += keymaps/ 5 obj-$(CONFIG_RC_CORE) += rc-core.o 6 rc-core-y := rc-main.o rc-ir-raw.o 7 rc-core-$(CONFIG_LIRC) += lirc_dev.o 8 rc-core-$(CONFIG_MEDIA_CEC_RC) += keymaps/rc-cec.o 9 rc-core-$(CONFIG_BPF_LIRC_MODE2) += bpf-lirc.o 10 obj-$(CONFIG_IR_NEC_DECODER) += ir-nec-decoder.o 11 obj-$(CONFIG_IR_RC5_DECODER) += ir-rc5-decoder.o 12 obj-$(CONFIG_IR_RC6_DECODER) += ir-rc6-decoder.o [all …]
|
| 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 passes raw IR to and from userspace, which is needed for 27 IR transmitting (aka "blasting") and for the lirc daemon. 36 syscall command BPF_PROG_ATTACH. This is supported for raw IR 39 These eBPF programs can be used to decode IR into scancodes, for 40 IR protocols not supported by the kernel decoders. 48 tristate "Enable IR raw decoder for the NEC protocol" [all …]
|
| D | gpio-ir-tx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 #include <linux/gpio/consumer.h> 13 #include <media/rc-core.h> 15 #define DRIVER_NAME "gpio-ir-tx" 16 #define DEVICE_NAME "GPIO IR Bit Banging Transmitter" 19 struct gpio_desc *gpio; member 25 { .compatible = "gpio-ir-tx", }, 32 struct gpio_ir *gpio_ir = dev->priv; in gpio_ir_tx_set_duty_cycle() 34 gpio_ir->duty_cycle = duty_cycle; in gpio_ir_tx_set_duty_cycle() 41 struct gpio_ir *gpio_ir = dev->priv; in gpio_ir_tx_set_carrier() [all …]
|
| /kernel/linux/linux-5.10/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"; 13 stdout-path = "serial2:1500000n8"; 16 ir-receiver { 17 compatible = "gpio-ir-receiver"; 19 pinctrl-names = "default"; 20 pinctrl-0 = <&ir_recv_pin>; 24 compatible = "pwm-ir-tx"; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-pxa/ |
| D | pxa25x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-pxa/pxa25x.c 17 #include <linux/dma/pxa-dma.h> 18 #include <linux/gpio.h> 19 #include <linux/gpio-pxa.h> 38 #include "addr-map.h" 122 int gpio = pxa_irq_to_gpio(d->irq); in pxa25x_set_wake() local 125 if (gpio >= 0 && gpio < 85) in pxa25x_set_wake() 126 return gpio_set_wake(gpio, on); in pxa25x_set_wake() 128 if (d->irq == IRQ_RTCAlrm) { in pxa25x_set_wake() [all …]
|
| D | pxa27x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-pxa/pxa27x.c 12 #include <linux/dma/pxa-dma.h> 13 #include <linux/gpio.h> 14 #include <linux/gpio-pxa.h> 24 #include <linux/platform_data/i2c-pxa.h> 36 #include <linux/platform_data/usb-ohci-pxa27x.h> 37 #include <linux/platform_data/asoc-pxa.h> 39 #include "addr-map.h" 44 #include <linux/clk-provider.h> [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
| D | pxa25x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-pxa/pxa25x.c 17 #include <linux/dma/pxa-dma.h> 18 #include <linux/gpio.h> 19 #include <linux/gpio-pxa.h> 121 int gpio = pxa_irq_to_gpio(d->irq); in pxa25x_set_wake() local 124 if (gpio >= 0 && gpio < 85) in pxa25x_set_wake() 125 return gpio_set_wake(gpio, on); in pxa25x_set_wake() 127 if (d->irq == IRQ_RTCAlrm) { in pxa25x_set_wake() 132 return -EINVAL; in pxa25x_set_wake() [all …]
|
| D | pxa27x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-pxa/pxa27x.c 12 #include <linux/dma/pxa-dma.h> 13 #include <linux/gpio.h> 14 #include <linux/gpio-pxa.h> 24 #include <linux/platform_data/i2c-pxa.h> 34 #include <linux/platform_data/usb-ohci-pxa27x.h> 41 #include <linux/clk-provider.h> 64 * to_gpio == true: configured to generic output gpio and driven high in pxa27x_configure_ac97reset() 97 return -EINVAL; in pxa27x_set_pwrmode() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/ |
| D | meson-gxbb-nanopi-k2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxbb.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 12 compatible = "friendlyarm,nanopi-k2", "amlogic,meson-gxbb"; 21 stdout-path = "serial0:115200n8"; 30 compatible = "gpio-leds"; 32 led-stat { 33 label = "nanopi-k2:blue:stat"; 35 default-state = "on"; [all …]
|
| D | meson-gxbb-odroidc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxbb.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 14 compatible = "hardkernel,odroid-c2", "amlogic,meson-gxbb"; 15 model = "Hardkernel ODROID-C2"; 23 stdout-path = "serial0:115200n8"; 31 usb_otg_pwr: regulator-usb-pwrs { 32 compatible = "regulator-fixed"; 34 regulator-name = "USB_OTG_PWR"; [all …]
|
| D | meson-gxl-s905x-khadas-vim.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 10 #include "meson-gxl-s905x-p212.dtsi" 13 compatible = "khadas,vim", "amlogic,s905x", "amlogic,meson-gxl"; 16 adc-keys { 17 compatible = "adc-keys"; 18 io-channels = <&saradc 0>; 19 io-channel-names = "buttons"; 20 keyup-threshold-microvolt = <1710000>; [all …]
|
| D | meson-sm1-sei610.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-sm1.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 23 mono_dac: audio-codec-0 { 25 #sound-dai-cells = <0>; 26 sound-name-prefix = "U16"; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/amlogic/ |
| D | meson-gxbb-nanopi-k2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxbb.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/sound/meson-aiu.h> 13 compatible = "friendlyarm,nanopi-k2", "amlogic,meson-gxbb"; 22 stdout-path = "serial0:115200n8"; 31 compatible = "gpio-leds"; 33 led-stat { 34 label = "nanopi-k2:blue:stat"; [all …]
|
| D | meson-gxbb-odroidc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxbb.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/sound/meson-aiu.h> 15 compatible = "hardkernel,odroid-c2", "amlogic,meson-gxbb"; 16 model = "Hardkernel ODROID-C2"; 24 stdout-path = "serial0:115200n8"; 32 usb_otg_pwr: regulator-usb-pwrs { 33 compatible = "regulator-fixed"; [all …]
|
| D | meson-gxl-s905x-khadas-vim.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxl-s905x-p212.dtsi" 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/sound/meson-aiu.h> 13 compatible = "khadas,vim", "amlogic,s905x", "amlogic,meson-gxl"; 16 adc-keys { 17 compatible = "adc-keys"; 18 io-channels = <&saradc 0>; 19 io-channel-names = "buttons"; [all …]
|
| D | meson-gxm-mecool-kiii-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-gxm.dtsi" 10 #include "meson-gx-p23x-q20x.dtsi" 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 15 compatible = "videostrong,gxm-kiii-pro", "amlogic,s912", "amlogic,meson-gxm"; 23 adc-keys { 24 compatible = "adc-keys"; 25 io-channels = <&saradc 0>; [all …]
|
| D | meson-sm1-sei610.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-sm1.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 23 mono_dac: audio-codec-0 { 25 #sound-dai-cells = <0>; 26 sound-name-prefix = "U16"; [all …]
|
| /kernel/linux/linux-6.6/arch/mips/boot/dts/img/ |
| D | pistachio.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <dt-bindings/clock/pistachio-clk.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/interrupt-controller/mips-gic.h> 11 #include <dt-bindings/reset/pistachio-resets.h> 16 #address-cells = <1>; 17 #size-cells = <1>; 19 interrupt-parent = <&gic>; 22 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/arch/mips/boot/dts/img/ |
| D | pistachio.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <dt-bindings/clock/pistachio-clk.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/interrupt-controller/mips-gic.h> 11 #include <dt-bindings/reset/pistachio-resets.h> 16 #address-cells = <1>; 17 #size-cells = <1>; 19 interrupt-parent = <&gic>; 22 #address-cells = <1>; [all …]
|