Home
last modified time | relevance | path

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

1234567891011

/kernel/linux/linux-6.6/drivers/gpu/drm/msm/hdmi/
Dhdmi_bridge.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include "hdmi.h"
14 void msm_hdmi_bridge_destroy(struct drm_bridge *bridge) in msm_hdmi_bridge_destroy() argument
16 struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge); in msm_hdmi_bridge_destroy()
19 drm_bridge_remove(bridge); in msm_hdmi_bridge_destroy()
22 static void msm_hdmi_power_on(struct drm_bridge *bridge) in msm_hdmi_power_on() argument
24 struct drm_device *dev = bridge->dev; in msm_hdmi_power_on()
25 struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge); in msm_hdmi_power_on()
26 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_power_on() local
27 const struct hdmi_platform_config *config = hdmi->config; in msm_hdmi_power_on()
[all …]
Dhdmi.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <sound/hdmi-codec.h>
17 #include "hdmi.h"
19 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on) in msm_hdmi_set_mode() argument
24 spin_lock_irqsave(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
27 if (!hdmi->hdmi_mode) { in msm_hdmi_set_mode()
29 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
38 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
39 spin_unlock_irqrestore(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
40 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"
33 struct hdmi { struct
63 struct drm_bridge *bridge; member
67 /* the encoder we are hooked to (outside of hdmi block) */ argument
70 bool hdmi_mode; /* are we in hdmi mode? */ argument
109 struct hdmi *hdmi; member
114 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on);
116 static inline void hdmi_write(struct hdmi *hdmi, u32 reg, u32 data) in hdmi_write() argument
[all …]
Dhdmi_hpd.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include "hdmi.h"
14 static void msm_hdmi_phy_reset(struct hdmi *hdmi) in msm_hdmi_phy_reset() argument
18 val = hdmi_read(hdmi, REG_HDMI_PHY_CTRL); in msm_hdmi_phy_reset()
22 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
26 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
32 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
36 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
44 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
48 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/
Dhdmi_bridge.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include "hdmi.h"
13 void msm_hdmi_bridge_destroy(struct drm_bridge *bridge) in msm_hdmi_bridge_destroy() argument
15 struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge); in msm_hdmi_bridge_destroy()
20 static void msm_hdmi_power_on(struct drm_bridge *bridge) in msm_hdmi_power_on() argument
22 struct drm_device *dev = bridge->dev; in msm_hdmi_power_on()
23 struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge); in msm_hdmi_power_on()
24 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_power_on() local
25 const struct hdmi_platform_config *config = hdmi->config; in msm_hdmi_power_on()
28 pm_runtime_get_sync(&hdmi->pdev->dev); in msm_hdmi_power_on()
[all …]
Dhdmi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
15 #include <linux/hdmi.h>
20 #include "hdmi.xml.h"
33 struct hdmi { struct
63 struct drm_bridge *bridge; member
65 /* the encoder we are hooked to (outside of hdmi block) */ argument
68 bool hdmi_mode; /* are we in hdmi mode? */ argument
110 struct hdmi *hdmi; member
115 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on);
117 static inline void hdmi_write(struct hdmi *hdmi, u32 reg, u32 data) in hdmi_write() argument
[all …]
Dhdmi_hpd.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include "hdmi.h"
14 static void msm_hdmi_phy_reset(struct hdmi *hdmi) in msm_hdmi_phy_reset() argument
18 val = hdmi_read(hdmi, REG_HDMI_PHY_CTRL); in msm_hdmi_phy_reset()
22 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
26 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
32 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
36 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
44 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
48 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
[all …]
Dhdmi.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <sound/hdmi-codec.h>
14 #include "hdmi.h"
16 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on) in msm_hdmi_set_mode() argument
21 spin_lock_irqsave(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
24 if (!hdmi->hdmi_mode) { in msm_hdmi_set_mode()
26 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
35 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
36 spin_unlock_irqrestore(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
37 DBG("HDMI Core: %s, HDMI_CTRL=0x%08x", in msm_hdmi_set_mode()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 Bridge registration and lookup framework.
13 DRM bridge wrapper of DRM panels
19 tristate "Chipone ICN6211 MIPI-DSI/RGB Converter bridge"
26 ICN6211 is MIPI-DSI/RGB Converter bridge from chipone.
38 Enable support for the Chrontel CH7033 VGA/DVI/HDMI Encoder, as
44 tristate "ChromeOS EC ANX7688 bridge"
50 ChromeOS EC ANX7688 is an ultra-low power
51 4K Ultra-HD (4096x2160p60) mobile HD transmitter
52 designed for ChromeOS devices. It converts HDMI
[all …]
Ddisplay-connector.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/media-bus-format.h>
21 struct drm_bridge bridge; member
31 to_display_connector(struct drm_bridge *bridge) in to_display_connector() argument
33 return container_of(bridge, struct display_connector, bridge); in to_display_connector()
36 static int display_connector_attach(struct drm_bridge *bridge, in display_connector_attach() argument
39 return flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR ? 0 : -EINVAL; in display_connector_attach()
43 display_connector_detect(struct drm_bridge *bridge) in display_connector_detect() argument
45 struct display_connector *conn = to_display_connector(bridge); in display_connector_detect()
47 if (conn->hpd_gpio) { in display_connector_detect()
[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-6.6/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 - https://www.ti.com/
10 #define DSS_SUBSYS_NAME "HDMI"
27 #include <sound/omap-hdmi-audio.h>
38 #include "hdmi.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()
48 pm_runtime_put_noidle(&hdmi->pdev->dev); in hdmi_runtime_get()
54 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() argument
[all …]
Dhdmi5.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * HDMI driver for OMAP5
5 * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/
14 #define DSS_SUBSYS_NAME "HDMI"
31 #include <sound/omap-hdmi-audio.h>
41 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() argument
47 r = pm_runtime_get_sync(&hdmi->pdev->dev); in hdmi_runtime_get()
49 pm_runtime_put_noidle(&hdmi->pdev->dev); in hdmi_runtime_get()
55 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() argument
61 r = pm_runtime_put_sync(&hdmi->pdev->dev); in hdmi_runtime_put()
[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-6.6/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>
24 #include <sound/hdmi-codec.h>
155 struct drm_bridge bridge; member
188 return container_of(b, struct mtk_hdmi, bridge); in hdmi_ctx_from_bridge()
191 static u32 mtk_hdmi_read(struct mtk_hdmi *hdmi, u32 offset) in mtk_hdmi_read() argument
193 return readl(hdmi->regs + offset); in mtk_hdmi_read()
196 static void mtk_hdmi_write(struct mtk_hdmi *hdmi, u32 offset, u32 val) in mtk_hdmi_write() argument
198 writel(val, hdmi->regs + offset); in mtk_hdmi_write()
[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-6.6/drivers/gpu/drm/meson/
Dmeson_encoder_hdmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 #include <media/cec-notifier.h>
29 #include <linux/media-bus-format.h>
40 struct drm_bridge bridge; member
49 container_of(x, struct meson_encoder_hdmi, bridge)
51 static int meson_encoder_hdmi_attach(struct drm_bridge *bridge, in meson_encoder_hdmi_attach() argument
54 struct meson_encoder_hdmi *encoder_hdmi = bridge_to_meson_encoder_hdmi(bridge); in meson_encoder_hdmi_attach()
56 return drm_bridge_attach(bridge->encoder, encoder_hdmi->next_bridge, in meson_encoder_hdmi_attach()
57 &encoder_hdmi->bridge, flags); in meson_encoder_hdmi_attach()
60 static void meson_encoder_hdmi_detach(struct drm_bridge *bridge) in meson_encoder_hdmi_detach() argument
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/imx/ipuv3/
Ddw_hdmi-imx.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (C) 2011-2013 Freescale Semiconductor, Inc.
4 * derived from imx-hdmi.c(renamed to bridge/dw_hdmi.c now)
9 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h>
14 #include <video/imx-ipu-v3.h>
16 #include <drm/bridge/dw_hdmi.h>
25 #include "imx-drm.h"
31 struct imx_hdmi *hdmi; member
36 struct drm_bridge *bridge; member
37 struct dw_hdmi *hdmi; member
[all …]
/kernel/linux/linux-6.6/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>
20 #include <linux/dma-mapping.h>
23 #include <media/cec-notifier.h>
25 #include <uapi/linux/media-bus-format.h>
28 #include <drm/bridge/dw_hdmi.h>
38 #include "dw-hdmi-audio.h"
[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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/bridge/
Dlontium,lt8912b.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/bridge/lontium,lt8912b.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Lontium LT8912B MIPI to HDMI Bridge
10 - Adrien Grassein <adrien.grassein@gmail.com>
13 The LT8912B is a bridge device which convert DSI to HDMI
18 - lontium,lt8912b
23 reset-gpios:
32 $ref: /schemas/graph.yaml#/$defs/port-base
[all …]

1234567891011