/linux/Documentation/devicetree/bindings/leds/irled/ |
H A D | pwm-ir-tx.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/irled/pwm-ir-tx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: IR LED connected through PWM pin 10 - Sean Young <sean@mess.org> 13 IR LED connected through PWM pin which is used as remote controller 19 - const: pwm-ir-tx 20 - const: nokia,n900-ir 27 - compatible [all …]
|
/linux/drivers/media/rc/ |
H A D | pwm-ir-tx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 #include <linux/pwm.h> 15 #include <media/rc-core.h> 17 #define DRIVER_NAME "pwm-ir-tx" 18 #define DEVICE_NAME "PWM IR Transmitter" 21 struct pwm_device *pwm; member 33 { .compatible = "pwm-ir-tx", }, 34 { .compatible = "nokia,n900-ir" }, 41 struct pwm_ir *pwm_ir = dev->priv; in pwm_ir_set_duty_cycle() 43 pwm_ir->duty_cycle = duty_cycle; in pwm_ir_set_duty_cycle() [all …]
|
H A 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 …]
|
H A 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 …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A 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 …]
|
H A D | rk3566-box-demo.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/pinctrl/rockchip.h> 13 #include <dt-bindings/soc/rockchip,vop2.h> 18 compatible = "rockchip,rk3566-box-demo", "rockchip,rk3566"; 28 stdout-path = "serial2:1500000n8"; 31 gmac1_clkin: external-gmac1-clock { 32 compatible = "fixed-clock"; [all …]
|
/linux/Documentation/userspace-api/media/rc/ |
H A D | lirc-set-send-carrier.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 13 LIRC_SET_SEND_CARRIER - Set send carrier used to modulate IR TX. 34 Set send carrier used to modulate IR PWM pulses and spaces. 39 On success 0 is returned, on error -1 and the ``errno`` variable is set 41 :ref:`Generic Error Codes <gen-errors>` chapter.
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 #include <dt-bindings/power/meson-gxbb-power.h> 16 #include <dt-bindings/thermal/thermal.h> 19 interrupt-parent = <&gic>; 20 #address-cells = <2>; 21 #size-cells = <2>; 29 reserved-memory { [all …]
|
H A 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 …]
|
H A 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 …]
|
H A D | meson-s4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/meson-s4-gpio.h> 10 #include <dt-bindings/clock/amlogic,s4-pll-clkc.h> 11 #include <dt-bindings/clock/amlogic,s4-peripherals-clkc.h> 12 #include <dt-bindings/power/meson-s4-power.h> 13 #include <dt-bindings/reset/amlogic,meson-s4-reset.h> 17 #address-cells = <2>; [all …]
|
H A 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 …]
|
H A D | meson-g12b-radxa-zero2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 /dts-v1/; 12 #include "meson-g12b-a311d.dtsi" 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/gpio/meson-g12a-gpio.h> 16 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 28 stdout-path = "serial0:115200n8"; 36 fan0: pwm-fan { 37 compatible = "pwm-fan"; [all …]
|
H A D | meson-g12a-x96-max.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 14 compatible = "amediatech,x96-max", "amlogic,g12a"; 22 spdif_dit: audio-codec-1 { 23 #sound-dai-cells = <0>; 24 compatible = "linux,spdif-dit"; [all …]
|
H A D | meson-g12a-fbx8am.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 /dts-v1/; 12 #include "meson-g12a.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/gpio/meson-g12a-gpio.h> 16 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 21 chassis-type = "embedded"; 25 compatible = "linaro,optee-tz"; 30 gpio-keys-polled { [all …]
|
H A D | meson-g12a-radxa-zero.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/meson-g12a-gpio.h> 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 21 stdout-path = "serial0:115200n8"; 29 cvbs-connector { 31 compatible = "composite-video-connector"; 35 remote-endpoint = <&cvbs_vdac_out>; 40 hdmi-connector { [all …]
|
H A D | meson-libretech-cottonwood.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/clock/g12a-clkc.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-toacodec.h> 13 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 28 stdout-path = "serial0:115200n8"; 31 dioo2133: audio-amplifier-0 { [all …]
|
H A D | meson-sm1-odroid.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "meson-sm1.dtsi" 7 #include <dt-bindings/gpio/meson-g12a-gpio.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 18 stdout-path = "serial0:115200n8"; 26 emmc_pwrseq: emmc-pwrseq { 27 compatible = "mmc-pwrseq-emmc"; 28 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; 31 tflash_vdd: regulator-tflash-vdd { [all …]
|
H A 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 …]
|
/linux/arch/arm/boot/dts/allwinner/ |
H A D | sunxi-h3-h5.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 43 #include <dt-bindings/clock/sun6i-rtc.h> 44 #include <dt-bindings/clock/sun8i-de2.h> 45 #include <dt-bindings/clock/sun8i-h3-ccu.h> 46 #include <dt-bindings/clock/sun8i-r-ccu.h> 47 #include <dt-bindings/interrupt-controller/arm-gic.h> 48 #include <dt-bindings/reset/sun8i-de2.h> 49 #include <dt-bindings/reset/sun8i-h3-ccu.h> 50 #include <dt-bindings/reset/sun8i-r-ccu.h> 53 interrupt-parent = <&gic>; [all …]
|
H A D | sun4i-a10.dtsi | 5 * 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 D | sun7i-a20.dtsi | 4 * 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/arch/mips/boot/dts/img/ |
H A 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 …]
|
/linux/arch/arm/boot/dts/amlogic/ |
H A D | meson.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/sound/meson-aiu.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 13 interrupt-parent = <&gic>; 15 iio-hwmon { 16 compatible = "iio-hwmon"; 17 io-channels = <&saradc 8>; [all …]
|
/linux/arch/arm64/boot/dts/allwinner/ |
H A D | sun50i-a64.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/sun50i-a64-ccu.h> 7 #include <dt-bindings/clock/sun6i-rtc.h> 8 #include <dt-bindings/clock/sun8i-de2.h> 9 #include <dt-bindings/clock/sun8i-r-ccu.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/reset/sun50i-a64-ccu.h> 12 #include <dt-bindings/reset/sun8i-de2.h> 13 #include <dt-bindings/reset/sun8i-r-ccu.h> 14 #include <dt-bindings/thermal/thermal.h> [all …]
|