/linux/Documentation/devicetree/bindings/media/ |
H A 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 <sebastian.hesselbarth@gmail.com> 13 - $ref: rc.yaml# 17 const: gpio-ir-receiver 22 linux,autosuspend-period: 26 wakeup-source: [all …]
|
/linux/drivers/media/pci/bt8xx/ |
H A 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/Documentation/driver-api/media/drivers/ |
H A 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/drivers/media/pci/cx88/ |
H A 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/arch/arm/boot/dts/marvell/ |
H A 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/drivers/media/common/siano/ |
H A 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/arch/arm/boot/dts/nxp/imx/ |
H A 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 …]
|
H A D | imx6qdl-hummingboard.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 41 #include <dt-bindings/sound/fsl-imx-audmux.h> 56 stdout-path = &uart1; 59 ir_recv: ir-receiver { 60 compatible = "gpio-ir-receiver"; 62 pinctrl-names = "default"; 63 pinctrl-0 = <&pinctrl_hummingboard_gpio3_5>; 66 v_3v2: regulator-v-3v2 { 67 compatible = "regulator-fixed"; 68 regulator-always-on; [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3568-odroid-m1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/soc/rockchip,vop2.h> 15 model = "Hardkernel ODROID-M1"; 16 compatible = "hardkernel,odroid-m1", "rockchip,rk3568"; 29 stdout-path = "serial2:1500000n8"; 32 dc_12v: regulator-dc-12v { [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 …]
|
H A D | rk3588-nanopc-t6.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/pinctrl/rockchip.h> 13 #include <dt-bindings/soc/rockchip,vop2.h> 14 #include <dt-bindings/usb/pd.h> 18 model = "FriendlyElec NanoPC-T6"; 19 compatible = "friendlyarm,nanopc-t6", "rockchip,rk3588"; 26 adc-keys-0 { [all …]
|
H A 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/leds/common.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/pinctrl/rockchip.h> 12 #include <dt-bindings/soc/rockchip,vop2.h> 13 #include <dt-bindings/usb/pd.h> 18 compatible = "xunlong,orangepi-5-plus", "rockchip,rk3588"; 26 stdout-path = "serial2:1500000n8"; [all …]
|
H A D | rk3568-rock-3b.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/soc/rockchip,vop2.h> 13 compatible = "radxa,rock-3b", "rockchip,rk3568"; 24 stdout-path = "serial2:1500000n8"; 27 hdmi-con { 28 compatible = "hdmi-connector"; [all …]
|
H A D | rk3399-roc-pc.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2017 T-Chip Intelligent Technology Co., Ltd 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/pwm/pwm.h> 12 model = "Firefly ROC-RK3399-PC Board"; 13 compatible = "firefly,roc-rk3399-pc", "rockchip,rk3399"; 22 stdout-path = "serial2:1500000n8"; 26 compatible = "pwm-backlight"; 30 clkin_gmac: external-gmac-clock { [all …]
|
H A D | rk3399-khadas-edge.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/input/linux-event-codes.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pwm/pwm.h> 21 stdout-path = "serial2:1500000n8"; 24 clkin_gmac: external-gmac-clock { 25 compatible = "fixed-clock"; 26 clock-frequency = <125000000>; 27 clock-output-names = "clkin_gmac"; [all …]
|
H A D | rk3399-hugsun-x99.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /dts-v1/; 3 #include <dt-bindings/pwm/pwm.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/interrupt-controller/irq.h> 20 stdout-path = "serial2:1500000n8"; 23 clkin_gmac: external-gmac-clock { 24 compatible = "fixed-clock"; 25 clock-frequency = <125000000>; 26 clock-output-names = "clkin_gmac"; [all …]
|
H A D | rk3399-rockpro64.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/pwm/pwm.h> 20 stdout-path = "serial2:1500000n8"; 25 compatible = "pwm-backlight"; 26 brightness-levels = <0 4 8 16 32 64 128 255>; 27 default-brightness-level = <5>; 32 clkin_gmac: external-gmac-clock { 33 compatible = "fixed-clock"; 34 clock-frequency = <125000000>; [all …]
|
H A D | rk3399-firefly.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/usb/pd.h> 14 model = "Firefly-RK3399 Board"; 15 compatible = "firefly,firefly-rk3399", "rockchip,rk3399"; 25 stdout-path = "serial2:1500000n8"; 29 compatible = "pwm-backlight"; [all …]
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 11 from the Hauppauge windows driver. Older ivtv versions used i2c-algo-bit, 13 CPU on the PVR-150 which handles IR functions (occasional inability to 17 The implementation is very similar to i2c-algo-bit, but there are enough 19 employed by i2c-algo-bit is to use udelay() to implement the timing 28 i2c-algo-bit would be to try to make it follow the same code path. 30 provide a generic benefit to i2c-algo-bit. Therefore consider this 31 an engineering solution -- not pretty, but it works. [all …]
|
/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun4i-a10-mini-xplus.dts | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 46 #include "sun4i-a10.dtsi" 47 #include "sunxi-common-regulators.dtsi" 49 #include <dt-bindings/gpio/gpio.h> 52 model = "PineRiver Mini X-Plus"; 53 compatible = "pineriver,mini-xplus", "allwinner,sun4i-a10"; 60 stdout-path = "serial0:115200n8"; 76 compatible = "x-powers,axp209"; [all …]
|
/linux/drivers/media/rc/ |
H A D | ene_ir.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 27 #include <media/rc-core.h> 37 outb(reg >> 8, dev->hw_io + ENE_ADDR_HI); in ene_set_reg_addr() 38 outb(reg & 0xFF, dev->hw_io + ENE_ADDR_LO); in ene_set_reg_addr() 46 retval = inb(dev->hw_io + ENE_IO); in ene_read_reg() 54 dbg_regs("reg %04x <- %02x", reg, value); in ene_write_reg() 56 outb(value, dev->hw_io + ENE_IO); in ene_write_reg() 64 outb(inb(dev->hw_io + ENE_IO) | mask, dev->hw_io + ENE_IO); in ene_set_reg_mask() 72 outb(inb(dev->hw_io + ENE_IO) & ~mask, dev->hw_io + ENE_IO); in ene_clear_reg_mask() 100 dev->pll_freq = (ene_read_reg(dev, ENE_PLLFRH) << 4) + in ene_hw_detect() [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mn-evk.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/usb/pd.h> 11 stdout-path = &uart2; 14 gpio-leds { 15 compatible = "gpio-leds"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_gpio_led>; 22 default-state = "on"; 26 hdmi-connector { 27 compatible = "hdmi-connector"; [all …]
|
H A D | imx8mq-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright (C) 2017-2018 Pengutronix, Lucas Stach <kernel@pengutronix.de> 7 /dts-v1/; 13 compatible = "fsl,imx8mq-evk", "fsl,imx8mq"; 16 stdout-path = &uart1; 24 pcie0_refclk: pcie0-refclk { 25 compatible = "fixed-clock"; 26 #clock-cells = <0>; 27 clock-frequency = <100000000>; 30 reg_pcie1: regulator-pcie { [all …]
|
/linux/drivers/media/pci/dm1105/ |
H A D | dm1105.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * dm1105.c - driver for DVB cards based on SDMC DM1105 PCI chip 9 #include <linux/i2c-algo-bit.h> 15 #include <linux/dma-mapping.h> 17 #include <media/rc-core.h> 25 #include "dvb-pll.h" 38 #define UNSET (-1U) 47 /* ----------------------------------------------- */ 69 /* ----------------------------------------------- */ 76 /* GPIO Interface */ [all …]
|
/linux/arch/mips/boot/dts/ingenic/ |
H A D | ci20.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 #include <dt-bindings/clock/ingenic,tcu.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/regulator/active-semi,8865-regulator.h> 22 stdout-path = &uart4; 31 gpio-keys { 32 compatible = "gpio-keys"; [all …]
|