Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-6.6/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-cisco@xs4all.nl>
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/
Dcec-gpio.txt1 * HDMI CEC GPIO driver
3 The HDMI CEC GPIO module supports CEC implementations where the CEC line
4 is hooked up to a pull-up GPIO line and - optionally - the HPD line is
5 hooked up to another GPIO line.
7 Please note: the maximum voltage for the CEC line is 3.63V, for the HPD and
9 when connecting them to a GPIO line.
12 - compatible: value must be "cec-gpio".
13 - cec-gpios: gpio that the CEC line is connected to. The line should be
16 If the CEC line is associated with an HDMI receiver/transmitter, then the
19 - hdmi-phandle - phandle to the HDMI controller, see also cec.txt.
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/drivers/media/cec/platform/cec-gpio/
Dcec-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <linux/gpio/consumer.h>
11 #include <media/cec-notifier.h>
12 #include <media/cec-pin.h>
36 struct cec_gpio *cec = cec_get_drvdata(adap); in cec_gpio_read() local
38 if (cec->cec_is_low) in cec_gpio_read()
40 return gpiod_get_value(cec->cec_gpio); in cec_gpio_read()
45 struct cec_gpio *cec = cec_get_drvdata(adap); in cec_gpio_high() local
47 if (!cec->cec_is_low) in cec_gpio_high()
49 cec->cec_is_low = false; in cec_gpio_high()
[all …]
/kernel/linux/linux-5.10/drivers/media/cec/platform/cec-gpio/
Dcec-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <linux/gpio/consumer.h>
11 #include <media/cec-notifier.h>
12 #include <media/cec-pin.h>
36 struct cec_gpio *cec = cec_get_drvdata(adap); in cec_gpio_read() local
38 if (cec->cec_is_low) in cec_gpio_read()
40 return gpiod_get_value(cec->cec_gpio); in cec_gpio_read()
45 struct cec_gpio *cec = cec_get_drvdata(adap); in cec_gpio_high() local
47 if (!cec->cec_is_low) in cec_gpio_high()
49 cec->cec_is_low = false; in cec_gpio_high()
[all …]
/kernel/linux/linux-6.6/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 <jnchase@google.com>
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-cisco@xs4all.nl>
23 - enum:
24 - adi,adv7610
25 - adi,adv7611
26 - adi,adv7612
32 reg-names:
35 - const: main
[all …]
/kernel/linux/linux-5.10/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>
15 #include <linux/gpio.h>
20 /* CEC Framework */
21 #include <media/cec-notifier.h>
23 #include "seco-cec.h"
55 return -EINVAL; in smb_word_op()
88 status = -EBUSY; in smb_word_op()
93 status = -EIO; in smb_word_op()
[all …]
/kernel/linux/linux-5.10/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-$(CONFIG_CEC_MESON_AO) += 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/
/kernel/linux/linux-6.6/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/
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 <jnchase@google.com>
13 The Chrontel CH7322 is a discrete HDMI-CEC controller. It is
14 programmable through I2C and drives a single CEC line.
30 reset-gpios:
32 Reference to the GPIO connected to the RESET pin, if any. This
33 pin is active-low.
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/cec/
Dcec-pin-error-inj.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 CEC Pin Framework Error Injection
6 The CEC Pin Framework is a core CEC framework for CEC hardware that only
7 has low-level support for the CEC bus. Most hardware today will have
8 high-level CEC support where the hardware deals with driving the CEC bus,
10 allows you to connect the CEC pin to a GPIO on e.g. a Raspberry Pi and
11 you have now made a CEC adapter.
15 test how well CEC adapters can handle error conditions.
17 Currently only the cec-gpio driver (when the CEC line is directly
18 connected to a pull-up GPIO line) and the AllWinner A10/A20 drm driver
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 <eric@anholt.net>
15 - brcm,bcm2711-hdmi0
16 - brcm,bcm2711-hdmi1
20 - description: HDMI controller register range
21 - description: DVP register range
22 - description: HDMI PHY register range
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 <eric@anholt.net>
15 - brcm,bcm2711-hdmi0
16 - brcm,bcm2711-hdmi1
20 - description: HDMI controller register range
21 - description: DVP register range
22 - description: HDMI PHY register range
[all …]
/kernel/linux/linux-6.6/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>
23 compatible = "raspberrypi,firmware-clocks";
24 #clock-cells = <1>;
27 expgpio: gpio {
28 compatible = "raspberrypi,firmware-gpio";
29 gpio-controller;
30 #gpio-cells = <2>;
35 compatible = "raspberrypi,firmware-reset";
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Doutput.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <media/cec-notifier.h>
27 if (output->panel) { in tegra_output_connector_get_modes()
28 err = drm_panel_get_modes(output->panel, connector); in tegra_output_connector_get_modes()
33 if (output->edid) in tegra_output_connector_get_modes()
34 edid = kmemdup(output->edid, sizeof(*edid), GFP_KERNEL); in tegra_output_connector_get_modes()
35 else if (output->ddc) in tegra_output_connector_get_modes()
36 edid = drm_get_edid(connector, output->ddc); in tegra_output_connector_get_modes()
38 cec_notifier_set_phys_addr_from_edid(output->cec, edid); in tegra_output_connector_get_modes()
55 if (output->hpd_gpio) { in tegra_output_connector_detect()
[all …]
/kernel/linux/linux-6.6/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 <laurent.pinchart@ideasonboard.com>
15 conversion, S/PDIF, CEC and HDCP. The transmitter input is MIPI DSI.
20 - adi,adv7533
21 - adi,adv7535
35 reg-names:
38 needing a non-default address.
41 - const: main
[all …]

123456789