| /linux/drivers/gpu/drm/bridge/synopsys/ |
| H A D | dw-hdmi-cec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Designware HDMI CEC driver 5 * Copyright (C) 2015-2017 Russell King. 16 #include <media/cec.h> 17 #include <media/cec-notifier.h> 19 #include "dw-hdmi-cec.h" 55 struct dw_hdmi *hdmi; member 71 static void dw_hdmi_write(struct dw_hdmi_cec *cec, u8 val, int offset) in dw_hdmi_write() argument 73 cec->ops->write(cec->hdmi, val, offset); in dw_hdmi_write() 76 static u8 dw_hdmi_read(struct dw_hdmi_cec *cec, int offset) in dw_hdmi_read() argument [all …]
|
| /linux/Documentation/userspace-api/media/cec/ |
| H A D | cec-intro.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _cec-intro: 8 HDMI connectors provide a single pin for use by the Consumer Electronics 10 HDMI cable to communicate. The protocol for CEC version 1.4 is defined 11 in supplements 1 (CEC) and 2 (HEAC or HDMI Ethernet and Audio Return 12 Channel) of the HDMI 1.4a (:ref:`hdmi`) specification and the 13 extensions added to CEC version 2.0 are defined in chapter 11 of the 14 HDMI 2.0 (:ref:`hdmi2`) specification. 21 CEC, need to be handled by the kernel, others can be handled either by 24 In addition, CEC can be implemented in HDMI receivers, transmitters and [all …]
|
| H A D | cec-ioc-adap-g-caps.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 .. c:namespace:: CEC 13 CEC_ADAP_G_CAPS - Query device capabilities 33 All cec devices must support :ref:`ioctl CEC_ADAP_G_CAPS <CEC_ADAP_G_CAPS>`. To query 42 .. flat-table:: struct cec_caps 43 :header-rows: 0 44 :stub-columns: 0 47 * - char 48 - ``driver[32]`` 49 - The name of the cec adapter driver. [all …]
|
| H A D | cec-ioc-dqevent.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 .. c:namespace:: CEC 13 CEC_DQEVENT - Dequeue a CEC event 33 CEC devices can send asynchronous events. These can be retrieved by 35 non-blocking mode and no event is pending, then it will return -1 and 38 The internal event queues are per-filehandle and per-event type. If 43 two :ref:`CEC_EVENT_STATE_CHANGE <CEC-EVENT-STATE-CHANGE>` events with 51 .. flat-table:: struct cec_event_state_change 52 :header-rows: 0 53 :stub-columns: 0 [all …]
|
| H A D | cec-ioc-adap-g-conn-info.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 .. c:namespace:: CEC 16 CEC_ADAP_G_CONNECTOR_INFO - Query HDMI connector information 36 Using this ioctl an application can learn which HDMI connector this CEC 46 .. flat-table:: struct cec_connector_info 47 :header-rows: 0 48 :stub-columns: 0 51 * - __u32 52 - ``type`` 53 - The type of connector this adapter is associated with. [all …]
|
| H A D | cec-ioc-adap-g-log-addrs.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 .. c:namespace:: CEC 15 CEC_ADAP_G_LOG_ADDRS, CEC_ADAP_S_LOG_ADDRS - Get or set the logical addresses 40 To query the current CEC logical addresses, applications call 55 values (CEC version 2.0, no vendor ID and an empty OSD name). 59 addresses have been claimed. If the file descriptor is in non-blocking mode then it will 62 A :ref:`CEC_EVENT_STATE_CHANGE <CEC-EVENT-STATE-CHANGE>` event is sent when the 74 .. flat-table:: struct cec_log_addrs 75 :header-rows: 0 76 :stub-columns: 0 [all …]
|
| /linux/Documentation/devicetree/bindings/display/ |
| H A D | brcm,bcm2711-hdmi.yaml | 1 # 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# 7 title: Broadcom BCM2711 HDMI Controller 10 - Eric Anholt <eric@anholt.net> 15 - brcm,bcm2711-hdmi0 16 - brcm,bcm2711-hdmi1 17 - brcm,bcm2712-hdmi0 18 - brcm,bcm2712-hdmi1 [all …]
|
| H A D | allwinner,sun8i-a83t-dw-hdmi.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/allwinner,sun8i-a83t-dw-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A83t DWC HDMI TX Encoder 10 The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller 12 and CEC. 14 These DT bindings follow the Synopsys DWC HDMI TX bindings defined 15 in bridge/synopsys,dw-hdmi.yaml with the following device-specific 19 - Chen-Yu Tsai <wens@csie.org> [all …]
|
| /linux/drivers/media/cec/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 menu "CEC support" 14 bool "HDMI CEC RC integration" 18 Pass on CEC remote control messages to the RC framework. 21 bool "Enable CEC error injection support" 24 This option enables CEC error injection using debugfs. 28 prompt "HDMI CEC drivers" 31 Enable support for HDMI CEC (Consumer Electronics Control), 32 which is an optional HDMI feature. 34 Say Y when you have an HDMI receiver, transmitter or a USB CEC [all …]
|
| /linux/include/media/ |
| H A D | cec-notifier.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * cec-notifier.h - notify CEC drivers of physical address changes 6 * Copyright 2016-2017 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 13 #include <media/cec.h> 23 * cec_notifier_conn_register - find or create a new cec_notifier for the given 24 * HDMI device and connector tuple. 25 * @hdmi_dev: HDMI device that sends the events. 27 * if there is always only one HDMI connector created by the HDMI device. 43 * cec_notifier_conn_unregister - decrease refcount and delete when the 50 * cec_notifier_cec_adap_register - find or create a new cec_notifier for the [all …]
|
| /linux/Documentation/devicetree/bindings/media/cec/ |
| H A D | amlogic,meson-gx-ao-cec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/media/cec/amlogic,meson-gx-ao-cec.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Amlogic Meson AO-CEC Controller 11 - Neil Armstrong <neil.armstrong@linaro.org> 14 The Amlogic Meson AO-CEC module is present is Amlogic SoCs and its purpose is 15 to handle communication between HDMI connected devices over the CEC bus. 20 - amlogic,meson-gx-ao-cec # GXBB, GXL, GXM, G12A and SM1 AO_CEC_A module 21 - amlogic,meson-g12a-ao-cec # G12A AO_CEC_B module [all …]
|
| H A D | st,stih-cec.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/media/cec/st,stih-cec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectronics STIH4xx HDMI CEC 10 - Alain Volmat <alain.volmat@foss.st.com> 13 - $ref: cec-common.yaml# 17 const: st,stih-cec 22 clock-names: 24 - const: cec-clk [all …]
|
| H A D | samsung,s5p-cec.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/media/cec/samsung,s5p-cec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung S5PV210 and Exynos HDMI CEC 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Marek Szyprowski <m.szyprowski@samsung.com> 14 - $ref: cec-common.yaml# 18 const: samsung,s5p-cec 23 clock-names: [all …]
|
| H A D | st,stm32-cec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/cec/st,stm32-cec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectronics STM32 CEC 10 - Yannick Fertre <yannick.fertre@foss.st.com> 14 const: st,stm32-cec 24 - description: Module Clock 25 - description: Bus Clock 27 clock-names: [all …]
|
| /linux/drivers/media/cec/i2c/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 6 tristate "Chrontel CH7322 CEC controller" 12 This is a driver for the Chrontel CH7322 CEC controller. It uses the 13 generic CEC framework interface. 14 CEC bus is present in the HDMI connector and enables communication 18 tristate "NXP Semiconductors TDA9950/TDA998X HDMI CEC" 24 This is a driver for the NXP TDA9950 CEC controller and for the CEC 25 controller block integrated into several NXP TDA998x HDMI encoders.
|
| /linux/Documentation/devicetree/bindings/media/i2c/ |
| H A D | chrontel,ch7322.yaml | 1 # 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: 36 pin is active-low. [all …]
|
| /linux/Documentation/driver-api/media/ |
| H A D | cec-core.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 CEC Kernel Support 6 The CEC framework provides a unified kernel interface for use with HDMI CEC 14 The CEC Protocol 15 ---------------- 17 The CEC protocol enables consumer electronic devices to communicate with each 18 other through the HDMI connection. The protocol uses logical addresses in the 24 The CEC framework described here is up to date with the CEC 2.0 specification. 25 It is documented in the HDMI 1.4 specification with the new 2.0 bits documented 26 in the HDMI 2.0 specification. But for most of the features the freely available [all …]
|
| /linux/Documentation/devicetree/bindings/display/mediatek/ |
| H A D | mediatek,cec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,cec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek HDMI CEC Controller 10 - CK Hu <ck.hu@mediatek.com> 11 - Jitao shi <jitao.shi@mediatek.com> 14 The HDMI CEC controller handles hotplug detection and CEC communication. 19 - mediatek,mt7623-cec 20 - mediatek,mt8167-cec [all …]
|
| /linux/Documentation/devicetree/bindings/display/bridge/ |
| H A D | adi,adv7533.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices ADV7533/35 HDMI Encoders 10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 13 - $ref: /schemas/sound/dai-common.yaml# 16 The ADV7533 and ADV7535 are HDMI audio and video transmitters 17 compatible with HDMI 1.4 and DVI 1.0. They support color space 18 conversion, S/PDIF, CEC and HDCP. The transmitter input is MIPI DSI. 23 - adi,adv7533 [all …]
|
| H A D | adi,adv7511.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices ADV7511/11W/13 HDMI Encoders 10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 13 The ADV7511, ADV7511W and ADV7513 are HDMI audio and video 14 transmitters compatible with HDMI 1.4 and DVI 1.0. They support color 15 space conversion, S/PDIF, CEC and HDCP. The transmitter input is 21 - adi,adv7511 22 - adi,adv7511w [all …]
|
| /linux/arch/arm/boot/dts/mediatek/ |
| H A D | mt7623n.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright © 2017-2020 MediaTek Inc. 10 #include <dt-bindings/memory/mt2701-larb-port.h> 19 compatible = "mediatek,mt7623-g3dsys", 20 "mediatek,mt2701-g3dsys", 23 #clock-cells = <1>; 24 #reset-cells = <1>; 28 compatible = "mediatek,mt7623-mali", "arm,mali-450"; 41 interrupt-names = "gp", "gpmmu", "pp0", "ppmmu0", "pp1", 46 clock-names = "bus", "core"; [all …]
|
| /linux/drivers/media/cec/usb/pulse8/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "Pulse Eight HDMI CEC" 10 This is a cec driver for the Pulse Eight HDMI CEC device. 13 module will be called pulse8-cec.
|
| /linux/drivers/media/cec/usb/rainshadow/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "RainShadow Tech HDMI CEC" 10 This is a cec driver for the RainShadow Tech HDMI CEC device. 13 module will be called rainshadow-cec.
|
| /linux/drivers/gpu/drm/omapdrm/dss/ |
| H A D | hdmi4_cec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HDMI CEC 5 * Based on the CEC code from hdmi_ti_4xxx_ip.c from Android. 7 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/ 11 * Heavily modified to use the linux CEC framework: 13 * Copyright 2016-2017 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 23 #include "hdmi.h" 27 /* HDMI CEC */ 31 /* Not really a debug register, more a low-level control register */ 58 u32 cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff; in hdmi_cec_received_msg() [all …]
|
| /linux/include/uapi/linux/ |
| H A D | cec.h | 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ 3 * cec - HDMI Consumer Electronics Control public header 17 * struct cec_msg - CEC message structure. 34 * CEC_TRANSMIT. If non-zero, then wait for a reply with this 38 * If reply is non-zero upon return, then len/msg are set to 45 * all. If reply is non-zero for CEC_TRANSMIT and the message is a 46 * broadcast, then -EINVAL is returned. 47 * if reply is non-zero, then timeout is set to 1000 (the required 75 * cec_msg_initiator - return the initiator's logical address. 80 return msg->msg[0] >> 4; in cec_msg_initiator() [all …]
|