Home
last modified time | relevance | path

Searched +full:hdmi +full:- +full:bridge (Results 1 – 25 of 188) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/
Dhdmi_bridge.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include "hdmi.h"
13 struct hdmi *hdmi; member
17 void msm_hdmi_bridge_destroy(struct drm_bridge *bridge) in msm_hdmi_bridge_destroy() argument
21 static void msm_hdmi_power_on(struct drm_bridge *bridge) in msm_hdmi_power_on() argument
23 struct drm_device *dev = bridge->dev; in msm_hdmi_power_on()
24 struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge); in msm_hdmi_power_on()
25 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_power_on() local
26 const struct hdmi_platform_config *config = hdmi->config; in msm_hdmi_power_on()
29 pm_runtime_get_sync(&hdmi->pdev->dev); in msm_hdmi_power_on()
[all …]
Dhdmi.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <sound/hdmi-codec.h>
12 #include "hdmi.h"
14 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on) in msm_hdmi_set_mode() argument
19 spin_lock_irqsave(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
22 if (!hdmi->hdmi_mode) { in msm_hdmi_set_mode()
24 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
33 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
34 spin_unlock_irqrestore(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
35 DBG("HDMI Core: %s, HDMI_CTRL=0x%08x", in msm_hdmi_set_mode()
[all …]
Dhdmi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
15 #include <linux/hdmi.h>
20 #include "hdmi.xml.h"
41 struct hdmi { struct
69 struct drm_bridge *bridge; member
71 /* the encoder we are hooked to (outside of hdmi block) */ argument
74 bool hdmi_mode; /* are we in hdmi mode? */ argument
117 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on);
119 static inline void hdmi_write(struct hdmi *hdmi, u32 reg, u32 data) in hdmi_write() argument
121 msm_writel(data, hdmi->mmio + reg); in hdmi_write()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/msm/hdmi/
Dhdmi_bridge.c18 #include "hdmi.h"
22 struct hdmi *hdmi; member
26 void msm_hdmi_bridge_destroy(struct drm_bridge *bridge) in msm_hdmi_bridge_destroy() argument
30 static void msm_hdmi_power_on(struct drm_bridge *bridge) in msm_hdmi_power_on() argument
32 struct drm_device *dev = bridge->dev; in msm_hdmi_power_on()
33 struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge); in msm_hdmi_power_on()
34 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_power_on() local
35 const struct hdmi_platform_config *config = hdmi->config; in msm_hdmi_power_on()
38 pm_runtime_get_sync(&hdmi->pdev->dev); in msm_hdmi_power_on()
40 for (i = 0; i < config->pwr_reg_cnt; i++) { in msm_hdmi_power_on()
[all …]
Dhdmi.c22 #include <sound/hdmi-codec.h>
23 #include "hdmi.h"
25 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on) in msm_hdmi_set_mode() argument
30 spin_lock_irqsave(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
33 if (!hdmi->hdmi_mode) { in msm_hdmi_set_mode()
35 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
44 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
45 spin_unlock_irqrestore(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
46 DBG("HDMI Core: %s, HDMI_CTRL=0x%08x", in msm_hdmi_set_mode()
52 struct hdmi *hdmi = dev_id; in msm_hdmi_irq() local
[all …]
Dhdmi.h25 #include <linux/hdmi.h>
28 #include "hdmi.xml.h"
50 struct hdmi { struct
78 struct drm_bridge *bridge; member
80 /* the encoder we are hooked to (outside of hdmi block) */ argument
83 bool hdmi_mode; /* are we in hdmi mode? */ argument
126 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on);
128 static inline void hdmi_write(struct hdmi *hdmi, u32 reg, u32 data) in hdmi_write() argument
130 msm_writel(data, hdmi->mmio + reg); in hdmi_write()
133 static inline u32 hdmi_read(struct hdmi *hdmi, u32 reg) in hdmi_read() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 Bridge registration and lookup framework.
14 DRM bridge wrapper of DRM panels
20 tristate "Cadence DPI/DSI bridge"
27 Support Cadence DPI to DSI bridge. This is an internal
28 bridge and is meant to be directly embedded in a SoC.
35 Enable support for the Chrontel CH7033 VGA/DVI/HDMI Encoder, as
44 Driver for display connectors with support for DDC and hot-plug
48 on ARM-based platforms. Saying Y here when this driver is not needed
52 tristate "Lontium LT9611 DSI/HDMI bridge"
[all …]
Ddisplay-connector.c1 // SPDX-License-Identifier: GPL-2.0
19 struct drm_bridge bridge; member
26 to_display_connector(struct drm_bridge *bridge) in to_display_connector() argument
28 return container_of(bridge, struct display_connector, bridge); in to_display_connector()
31 static int display_connector_attach(struct drm_bridge *bridge, in display_connector_attach() argument
34 return flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR ? 0 : -EINVAL; in display_connector_attach()
38 display_connector_detect(struct drm_bridge *bridge) in display_connector_detect() argument
40 struct display_connector *conn = to_display_connector(bridge); in display_connector_detect()
42 if (conn->hpd_gpio) { in display_connector_detect()
43 if (gpiod_get_value_cansleep(conn->hpd_gpio)) in display_connector_detect()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Dhdmi4.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * HDMI interface DSS driver for TI's OMAP4 family of SoCs.
5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/
10 #define DSS_SUBSYS_NAME "HDMI"
27 #include <sound/omap-hdmi-audio.h>
37 #include "hdmi.h"
39 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() argument
45 r = pm_runtime_get_sync(&hdmi->pdev->dev); in hdmi_runtime_get()
53 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() argument
59 r = pm_runtime_put_sync(&hdmi->pdev->dev); in hdmi_runtime_put()
[all …]
Dhdmi5.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * HDMI driver for OMAP5
5 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
14 #define DSS_SUBSYS_NAME "HDMI"
31 #include <sound/omap-hdmi-audio.h>
40 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() argument
46 r = pm_runtime_get_sync(&hdmi->pdev->dev); in hdmi_runtime_get()
54 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() argument
60 r = pm_runtime_put_sync(&hdmi->pdev->dev); in hdmi_runtime_put()
61 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/bridge/
DKconfig5 Bridge registration and lookup framework.
13 DRM bridge wrapper of DRM panels
19 tristate "Analogix ANX78XX bridge"
22 ---help---
23 ANX78XX is an ultra-low Full-HD SlimPort transmitter
25 the HDMI output of an application processor to MyDP
29 tristate "Cadence DPI/DSI bridge"
35 Support Cadence DPI to DSI bridge. This is an internal
36 bridge and is meant to be directly embedded in a SoC.
39 tristate "Dumb VGA DAC Bridge support"
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/mediatek/
Dmtk_hdmi.c19 #include <linux/arm-smccc.h>
22 #include <linux/hdmi.h>
34 #include <sound/hdmi-codec.h>
151 struct drm_bridge bridge; member
179 return container_of(b, struct mtk_hdmi, bridge); in hdmi_ctx_from_bridge()
187 static u32 mtk_hdmi_read(struct mtk_hdmi *hdmi, u32 offset) in mtk_hdmi_read() argument
189 return readl(hdmi->regs + offset); in mtk_hdmi_read()
192 static void mtk_hdmi_write(struct mtk_hdmi *hdmi, u32 offset, u32 val) in mtk_hdmi_write() argument
194 writel(val, hdmi->regs + offset); in mtk_hdmi_write()
197 static void mtk_hdmi_clear_bits(struct mtk_hdmi *hdmi, u32 offset, u32 bits) in mtk_hdmi_clear_bits() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_hdmi.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/arm-smccc.h>
10 #include <linux/hdmi.h>
25 #include <sound/hdmi-codec.h>
154 struct drm_bridge bridge; member
186 return container_of(b, struct mtk_hdmi, bridge); in hdmi_ctx_from_bridge()
194 static u32 mtk_hdmi_read(struct mtk_hdmi *hdmi, u32 offset) in mtk_hdmi_read() argument
196 return readl(hdmi->regs + offset); in mtk_hdmi_read()
199 static void mtk_hdmi_write(struct mtk_hdmi *hdmi, u32 offset, u32 val) in mtk_hdmi_write() argument
201 writel(val, hdmi->regs + offset); in mtk_hdmi_write()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * DesignWare High-Definition Multimedia Interface (HDMI) driver
5 * Copyright (C) 2013-2015 Mentor Graphics Inc.
6 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc.
12 #include <linux/hdmi.h>
19 #include <linux/dma-mapping.h>
22 #include <media/cec-notifier.h>
24 #include <uapi/linux/media-bus-format.h>
27 #include <drm/bridge/dw_hdmi.h>
37 #include "dw-hdmi-audio.h"
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/meson/
Dmeson_dw_hdmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 #include <drm/bridge/dw_hdmi.h>
25 #include <linux/media-bus-format.h>
34 #define DRIVER_NAME "meson-dw-hdmi"
35 #define DRIVER_DESC "Amlogic Meson HDMI-TX DRM driver"
38 * DOC: HDMI Output
40 * HDMI Output is composed of :
42 * - A Synopsys DesignWare HDMI Controller IP
43 * - A TOP control block controlling the Clocks and PHY
44 * - A custom HDMI PHY in order convert video to TMDS signal
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/
Dsii902x.txt1 sii902x HDMI bridge bindings
4 - compatible: "sil,sii9022"
5 - reg: i2c address of the bridge
8 - interrupts: describe the interrupt line used to inform the host
10 - reset-gpios: OF device-tree gpio specification for RST_N pin.
11 - iovcc-supply: I/O Supply Voltage (1.8V or 3.3V)
12 - cvcc12-supply: Digital Core Supply Voltage (1.2V)
14 HDMI audio properties:
15 - #sound-dai-cells: <0> or <1>. <0> if only i2s or spdif pin
16 is wired, <1> if the both are wired. HDMI audio is
[all …]
Dlontium,lt9611.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/bridge/lontium,lt9611.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Lontium LT9611 2 Port MIPI to HDMI Bridge
10 - Vinod Koul <vkoul@kernel.org>
13 The LT9611 is a bridge device which converts DSI to HDMI
18 - lontium,lt9611
23 "#sound-dai-cells":
29 reset-gpios:
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c2 * DesignWare High-Definition Multimedia Interface (HDMI) driver
4 * Copyright (C) 2013-2015 Mentor Graphics Inc.
5 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc.
19 #include <linux/hdmi.h>
31 #include <drm/bridge/dw_hdmi.h>
33 #include <uapi/linux/media-bus-format.h>
36 #include "dw-hdmi.h"
37 #include "dw-hdmi-audio.h"
38 #include "dw-hdmi-cec.h"
40 #include <media/cec-notifier.h>
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
Dsti_hdmi.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/hdmi.h>
25 #include <sound/hdmi-codec.h>
95 #define HDMI_IFRAME_CFG_DI_N(x, n) ((x) << ((n-1)*4)) /* n from 1 to 6 */
163 struct sti_hdmi *hdmi; member
170 u32 hdmi_read(struct sti_hdmi *hdmi, int offset) in hdmi_read() argument
172 return readl(hdmi->regs + offset); in hdmi_read()
175 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset) in hdmi_write() argument
177 writel(val, hdmi->regs + offset); in hdmi_write()
181 * HDMI interrupt handler threaded
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/sti/
Dsti_hdmi.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/hdmi.h>
21 #include <sound/hdmi-codec.h>
91 #define HDMI_IFRAME_CFG_DI_N(x, n) ((x) << ((n-1)*4)) /* n from 1 to 6 */
159 struct sti_hdmi *hdmi; member
166 u32 hdmi_read(struct sti_hdmi *hdmi, int offset) in hdmi_read() argument
168 return readl(hdmi->regs + offset); in hdmi_read()
171 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset) in hdmi_write() argument
173 writel(val, hdmi->regs + offset); in hdmi_write()
177 * HDMI interrupt handler threaded
[all …]
/kernel/linux/linux-4.19/Documentation/gpu/bridge/
Ddw-hdmi.rst2 drm/bridge/dw-hdmi Synopsys DesignWare HDMI Controller
5 Synopsys DesignWare HDMI Controller
8 This section covers everything related to the Synopsys DesignWare HDMI
9 Controller implemented as a DRM bridge.
12 -------------------------------------
14 .. kernel-doc:: include/drm/bridge/dw_hdmi.h
/kernel/linux/linux-5.10/Documentation/gpu/bridge/
Ddw-hdmi.rst2 drm/bridge/dw-hdmi Synopsys DesignWare HDMI Controller
5 Synopsys DesignWare HDMI Controller
8 This section covers everything related to the Synopsys DesignWare HDMI
9 Controller implemented as a DRM bridge.
12 -------------------------------------
14 .. kernel-doc:: include/drm/bridge/dw_hdmi.h
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/display/bridge/
Dsii902x.txt1 sii902x HDMI bridge bindings
4 - compatible: "sil,sii9022"
5 - reg: i2c address of the bridge
8 - interrupts: describe the interrupt line used to inform the host
10 - reset-gpios: OF device-tree gpio specification for RST_N pin.
13 - video input: this subnode can contain a video input port node
14 to connect the bridge to a display controller output (See this
17 [1]: Documentation/devicetree/bindings/media/video-interfaces.txt
20 hdmi-bridge@39 {
23 reset-gpios = <&pioA 1 0>;
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/i915/
Dintel_lpe_audio.c24 * Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
31 * DOC: LPE Audio integration for HDMI or DP playback
34 * Atom platforms (e.g. valleyview and cherryTrail) integrates a DMA-based
41 * subsystems, a bridge is setup between the hdmi-lpe-audio and i915:
45 * the hdmi-lpe-audio driver probes the lpe audio device and creates a new
50 * uninstall the hdmi-lpe-audio driver before uninstalling i915 module,
51 * otherwise we might run into use-after-free issues after i915 removes the
52 * platform device: even though hdmi-lpe-audio driver is released, the modules
73 #define HAS_LPE_AUDIO(dev_priv) ((dev_priv)->lpe_audio.platdev != NULL)
78 struct drm_device *dev = &dev_priv->drm; in lpe_audio_platdev_create()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_lpe_audio.c24 * Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
31 * DOC: LPE Audio integration for HDMI or DP playback
34 * Atom platforms (e.g. valleyview and cherryTrail) integrates a DMA-based
41 * subsystems, a bridge is setup between the hdmi-lpe-audio and i915:
45 * the hdmi-lpe-audio driver probes the lpe audio device and creates a new
50 * uninstall the hdmi-lpe-audio driver before uninstalling i915 module,
51 * otherwise we might run into use-after-free issues after i915 removes the
52 * platform device: even though hdmi-lpe-audio driver is released, the modules
77 #define HAS_LPE_AUDIO(dev_priv) ((dev_priv)->lpe_audio.platdev != NULL)
82 struct drm_device *dev = &dev_priv->drm; in lpe_audio_platdev_create()
[all …]

12345678