Home
last modified time | relevance | path

Searched +full:cec +full:- +full:gpio (Results 1 – 25 of 131) sorted by relevance

123456

/linux-6.14.4/Documentation/devicetree/bindings/media/cec/
Dcec-gpio.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/media/cec/cec-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: HDMI CEC GPIO
10 - Hans Verkuil <hverkuil-[email protected]>
13 The HDMI CEC GPIO module supports CEC implementations where the CEC line is
14 hooked up to a pull-up GPIO line and - optionally - the HPD line is hooked up
15 to another GPIO line.
17 Please note:: the maximum voltage for the CEC line is 3.63V, for the HPD and
[all …]
/linux-6.14.4/Documentation/admin-guide/media/
Dcec.rst1 .. SPDX-License-Identifier: GPL-2.0
4 HDMI CEC
12 - Exynos4
13 - Exynos5
14 - STIH4xx HDMI CEC
15 - V4L2 adv7511 (same HW, but a different driver from the drm adv7511)
16 - stm32
17 - Allwinner A10 (sun4i)
18 - Raspberry Pi
19 - dw-hdmi (Synopsis IP)
[all …]
Dbuilding.rst1 .. SPDX-License-Identifier: GPL-2.0
8 distribution-specific source file or via the Kernel's main git tree\ [1]_.
12 - you're a braveheart and want to experiment with new stuff;
13 - if you want to report a bug;
14 - if you're developing new patches
23 https://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers
50 Device Drivers --->
51 <M> Remote Controller support --->
52 [ ] HDMI CEC RC integration
53 [ ] Enable CEC error injection support
[all …]
/linux-6.14.4/drivers/media/cec/platform/cec-gpio/
Dcec-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/gpio/consumer.h>
12 #include <media/cec-notifier.h>
13 #include <media/cec-pin.h>
37 struct cec_gpio *cec = cec_get_drvdata(adap); in cec_gpio_read() local
39 if (cec->cec_is_low) in cec_gpio_read()
41 return gpiod_get_value(cec->cec_gpio); in cec_gpio_read()
46 struct cec_gpio *cec = cec_get_drvdata(adap); in cec_gpio_high() local
48 if (!cec->cec_is_low) in cec_gpio_high()
50 cec->cec_is_low = false; in cec_gpio_high()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
2 obj-$(CONFIG_CEC_GPIO) += cec-gpio.o
/linux-6.14.4/Documentation/devicetree/bindings/media/i2c/
Dchrontel,ch7322.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Chrontel HDMI-CEC Controller
10 - Jeff Chase <[email protected]>
13 The Chrontel CH7322 is a discrete HDMI-CEC controller. It is
14 programmable through I2C and drives a single CEC line.
17 - $ref: /schemas/media/cec/cec-common.yaml#
33 reset-gpios:
35 Reference to the GPIO connected to the RESET pin, if any. This
[all …]
Dadv7604.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Hans Verkuil <hverkuil-[email protected]>
23 - enum:
24 - adi,adv7610
25 - adi,adv7611
26 - adi,adv7612
32 reg-names:
35 - const: main
[all …]
/linux-6.14.4/drivers/media/cec/platform/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 tristate "ChromeOS EC CEC driver"
13 ChromeOS Embedded Controller's CEC.
14 The CEC bus is present in the HDMI connector and enables communication
18 tristate "Amlogic Meson AO CEC driver"
23 This is a driver for Amlogic Meson SoCs AO CEC interface. It uses the
24 generic CEC framework interface.
25 CEC bus is present in the HDMI connector and enables communication
28 tristate "Amlogic Meson G12A AO CEC driver"
36 This is a driver for Amlogic Meson G12A SoCs AO CEC interface.
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the CEC platform device drivers.
7 obj-$(CONFIG_CEC_CROS_EC) += cros-ec/
8 obj-$(CONFIG_CEC_GPIO) += cec-gpio/
9 obj-y += meson/
10 obj-$(CONFIG_CEC_SAMSUNG_S5P) += s5p/
11 obj-$(CONFIG_CEC_SECO) += seco/
12 obj-$(CONFIG_CEC_STI) += sti/
13 obj-$(CONFIG_CEC_STM32) += stm32/
14 obj-$(CONFIG_CEC_TEGRA) += tegra/
/linux-6.14.4/drivers/media/cec/platform/seco/
Dseco-cec.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * CEC driver for SECO X86 Boards
14 #include <linux/gpio/consumer.h>
19 /* CEC Framework */
20 #include <media/cec-notifier.h>
22 #include "seco-cec.h"
75 status = -EBUSY; in smb_word_op()
80 status = -EIO; in smb_word_op()
94 struct secocec_data *cec = cec_get_drvdata(adap); in secocec_adap_enable() local
95 struct device *dev = cec->dev; in secocec_adap_enable()
[all …]
/linux-6.14.4/Documentation/userspace-api/media/cec/
Dcec-pin-error-inj.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
5 CEC Pin Framework Error Injection
8 The CEC Pin Framework is a core CEC framework for CEC hardware that only
9 has low-level support for the CEC bus. Most hardware today will have
10 high-level CEC support where the hardware deals with driving the CEC bus,
12 allows you to connect the CEC pin to a GPIO on e.g. a Raspberry Pi and
13 you have now made a CEC adapter.
17 test how well CEC adapters can handle error conditions.
19 Currently only the cec-gpio driver (when the CEC line is directly
20 connected to a pull-up GPIO line) and the AllWinner A10/A20 drm driver
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/display/
Dbrcm,bcm2711-hdmi.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/brcm,bcm2711-hdmi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Eric Anholt <[email protected]>
15 - brcm,bcm2711-hdmi0
16 - brcm,bcm2711-hdmi1
17 - brcm,bcm2712-hdmi0
18 - brcm,bcm2712-hdmi1
22 - description: HDMI controller register range
[all …]
/linux-6.14.4/Documentation/driver-api/gpio/
Ddrivers-on-gpio.rst2 Subsystem drivers using GPIO
5 Note that standard kernel drivers exist for common GPIO tasks and will provide
6 the right in-kernel and userspace APIs/ABIs for the job, and that these
10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO
13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger,
14 i.e. a LED will turn on/off in response to a GPIO line going high or low
15 (and that LED may in turn use the leds-gpio as per above).
17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line
20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your
21 GPIO line cannot generate interrupts, so it needs to be periodically polled
[all …]
/linux-6.14.4/arch/arm/boot/dts/allwinner/
Dsun8i-h3-beelink-x2.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun8i-h3.dtsi"
45 #include "sunxi-common-regulators.dtsi"
47 #include <dt-bindings/gpio/gpio.h>
48 #include <dt-bindings/input/input.h>
52 compatible = "roofull,beelink-x2", "allwinner,sun8i-h3";
60 cec {
61 compatible = "cec-gpio";
62 cec-gpios = <&pio 0 14 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PA14 */
[all …]
/linux-6.14.4/arch/arm64/boot/dts/broadcom/
Dbcm2712.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #address-cells = <2>;
8 #size-cells = <2>;
10 interrupt-parent = <&gicv2>;
14 clk_osc: clk-osc {
15 compatible = "fixed-clock";
16 #clock-cells = <0>;
17 clock-output-names = "osc";
18 clock-frequency = <54000000>;
[all …]
Dbcm2712-rpi-5-b.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
8 compatible = "raspberrypi,5-model-b", "brcm,bcm2712";
16 stdout-path = "serial10:115200n8";
25 sd_io_1v8_reg: sd-io-1v8-reg {
26 compatible = "regulator-gpio";
27 regulator-name = "vdd-sd-io";
28 regulator-min-microvolt = <1800000>;
29 regulator-max-microvolt = <3300000>;
[all …]
/linux-6.14.4/arch/arm/boot/dts/broadcom/
Dbcm2711-rpi.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include "bcm2835-rpi.dtsi"
4 #include <dt-bindings/reset/raspberrypi,firmware-reset.h>
20 i2c0mux: i2c-mux0 {
21 compatible = "i2c-mux-pinctrl";
22 #address-cells = <1>;
23 #size-cells = <0>;
25 i2c-parent = <&i2c0>;
27 pinctrl-names = "i2c0", "i2c0-vc";
28 pinctrl-0 = <&i2c0_gpio0>;
[all …]
Dbcm2711.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/soc/bcm2835-pm.h>
10 #address-cells = <2>;
11 #size-cells = <1>;
13 interrupt-parent = <&gicv2>;
16 compatible = "brcm,bcm2711-vc5";
20 clk_27MHz: clk-27M {
21 #clock-cells = <0>;
22 compatible = "fixed-clock";
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/display/bridge/
Dadi,adv7533.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Laurent Pinchart <[email protected]>
13 - $ref: /schemas/sound/dai-common.yaml#
18 conversion, S/PDIF, CEC and HDCP. The transmitter input is MIPI DSI.
23 - adi,adv7533
24 - adi,adv7535
38 reg-names:
41 needing a non-default address.
[all …]
Dadi,adv7511.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Laurent Pinchart <[email protected]>
15 space conversion, S/PDIF, CEC and HDCP. The transmitter input is
21 - adi,adv7511
22 - adi,adv7511w
23 - adi,adv7513
37 reg-names:
40 needing a non-default address.
[all …]
/linux-6.14.4/arch/arm/boot/dts/st/
Dstih410.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
6 #include "stih410-clock.dtsi"
7 #include "stih407-family.dtsi"
8 #include "stih410-pinctrl.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
16 compatible = "st,stih407-usb2-phy";
17 #phy-cells = <0>;
21 reset-names = "global", "port";
27 compatible = "st,stih407-usb2-phy";
28 #phy-cells = <0>;
[all …]
Dstm32mp15xx-dhcor-avenger96.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved
9 #include "stm32mp15xx-dhcor-io1v8.dtsi"
22 cec_clock: clk-cec-fixed {
23 #clock-cells = <0>;
24 compatible = "fixed-clock";
25 clock-frequency = <24000000>;
29 stdout-path = "serial0:115200n8";
32 hdmi-out {
33 compatible = "hdmi-connector";
[all …]
/linux-6.14.4/arch/arm/boot/dts/nxp/imx/
Dimx6dl-sielaff.dts1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
6 /dts-v1/;
9 #include <dt-bindings/clock/imx6qdl-clock.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
15 compatible = "sielaff,imx6dl-board", "fsl,imx6dl";
18 stdout-path = &uart2;
21 backlight: pwm-backlight {
22 compatible = "pwm-backlight";
23 pinctrl-names = "default";
[all …]
/linux-6.14.4/arch/arm64/boot/dts/renesas/
Drzg2l-smarc.dtsi1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
17 osc1: cec-clock {
18 compatible = "fixed-clock";
19 #clock-cells = <0>;
20 clock-frequency = <12000000>;
23 hdmi-out {
24 compatible = "hdmi-connector";
29 remote-endpoint = <&adv7535_out>;
[all …]
Drzg2lc-smarc.dtsi1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
11 #include "rzg2lc-smarc-pinfunction.dtsi"
12 #include "rz-smarc-common.dtsi"
20 osc1: cec-clock {
21 compatible = "fixed-clock";
22 #clock-cells = <0>;
23 clock-frequency = <12000000>;
26 hdmi-out {
[all …]

123456