/linux/drivers/gpu/drm/bridge/ |
H A D | ti-tfp410.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/media-bus-format.h> 26 struct drm_connector connector; member 45 drm_connector_to_tfp410(struct drm_connector *connector) in drm_connector_to_tfp410() argument 47 return container_of(connector, struct tfp410, connector); in drm_connector_to_tfp410() 50 static int tfp410_get_modes(struct drm_connector *connector) in tfp410_get_modes() argument 52 struct tfp410 *dvi = drm_connector_to_tfp410(connector); in tfp410_get_modes() local 56 if (dvi->next_bridge->ops & DRM_BRIDGE_OP_EDID) { in tfp410_get_modes() 57 drm_edid = drm_bridge_edid_read(dvi->next_bridge, connector); in tfp410_get_modes() 64 drm_edid_connector_update(connector, drm_edid); in tfp410_get_modes() [all …]
|
H A D | display-connector.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/media-bus-format.h> 39 return flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR ? 0 : -EINVAL; in display_connector_attach() 47 if (conn->hpd_gpio) { in display_connector_detect() 48 if (gpiod_get_value_cansleep(conn->hpd_gpio)) in display_connector_detect() 54 if (conn->bridge.ddc && drm_probe_ddc(conn->bridge.ddc)) in display_connector_detect() 57 switch (conn->bridge.type) { in display_connector_detect() 64 * For DVI and HDMI connectors a DDC probe failure indicates in display_connector_detect() 74 * Composite and S-Video connectors have no other detection in display_connector_detect() 85 struct drm_connector *connector) in display_connector_edid_read() argument [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 Simple transparent bridge that is used by several non-DRM drivers to 36 tristate "Chipone ICN6211 MIPI-DSI/RGB Converter bridge" 43 ICN6211 is MIPI-DSI/RGB Converter bridge from chipone. 55 Enable support for the Chrontel CH7033 VGA/DVI/HDMI Encoder, as 67 ChromeOS EC ANX7688 is an ultra-low power 68 4K Ultra-HD (4096x2160p60) mobile HD transmitter 70 2.0 to DisplayPort 1.3 Ultra-HD. It is connected 74 tristate "Display connector support" 77 Driver for display connectors with support for DDC and hot-plug [all …]
|
/linux/Documentation/devicetree/bindings/display/connector/ |
H A D | dvi-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/display/connector/dvi-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: DVI Connector 10 - Laurent Pinchart <Laurent.pinchart@ideasonboard.com> 14 const: dvi-connector 18 hpd-gpios: 22 ddc-i2c-bus: 28 description: the connector has DVI analog pins [all …]
|
/linux/Documentation/gpu/ |
H A D | kms-properties.csv | 2 ,DVI-I,“subconnector”,ENUM,"{ “Unknown”, “DVI-D”, “DVI-A” }",Connector,TBD 3 ,,“select subconnector”,ENUM,"{ “Automatic”, “DVI-D”, “DVI-A” }",Connector,TBD 4 …onnector”,ENUM,"{ ""Unknown"", ""Composite"", ""SVIDEO"", ""Component"", ""SCART"" }",Connector,TBD 5 …nector”,ENUM,"{ ""Automatic"", ""Composite"", ""SVIDEO"", ""Component"", ""SCART"" }",Connector,TBD 6 ,,“mode”,ENUM,"{ ""NTSC_M"", ""NTSC_J"", ""NTSC_443"", ""PAL_B"" } etc.",Connector,TBD 7 ,,“left margin”,RANGE,"Min=0, Max=100",Connector,TBD 8 ,,“right margin”,RANGE,"Min=0, Max=100",Connector,TBD 9 ,,“top margin”,RANGE,"Min=0, Max=100",Connector,TBD 10 ,,“bottom margin”,RANGE,"Min=0, Max=100",Connector,TBD 11 ,,“brightness”,RANGE,"Min=0, Max=100",Connector,TBD [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/displays/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 tristate "TFP410 DPI to DVI Encoder" 14 Driver for TFP410 DPI to DVI encoder. 23 tristate "DVI Connector" 26 Driver for a generic DVI connector. 29 tristate "HDMI Connector" 31 Driver for a generic HDMI connector. 34 tristate "Analog TV Connector" 36 Driver for a generic analog TV connector.
|
H A D | connector-dvi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Generic DVI Connector driver 53 struct omap_dss_device *in = ddata->in; in dvic_connect() 58 return in->ops.dvi->connect(in, dssdev); in dvic_connect() 64 struct omap_dss_device *in = ddata->in; in dvic_disconnect() 69 in->ops.dvi->disconnect(in, dssdev); in dvic_disconnect() 75 struct omap_dss_device *in = ddata->in; in dvic_enable() 79 return -ENODEV; in dvic_enable() 84 in->ops.dvi->set_timings(in, &ddata->timings); in dvic_enable() 86 r = in->ops.dvi->enable(in); in dvic_enable() [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_FB_OMAP2_ENCODER_OPA362) += encoder-opa362.o 3 obj-$(CONFIG_FB_OMAP2_ENCODER_TFP410) += encoder-tfp410.o 4 obj-$(CONFIG_FB_OMAP2_ENCODER_TPD12S015) += encoder-tpd12s015.o 5 obj-$(CONFIG_FB_OMAP2_CONNECTOR_DVI) += connector-dvi.o 6 obj-$(CONFIG_FB_OMAP2_CONNECTOR_HDMI) += connector-hdmi.o 7 obj-$(CONFIG_FB_OMAP2_CONNECTOR_ANALOG_TV) += connector-analog-tv.o 8 obj-$(CONFIG_FB_OMAP2_PANEL_DPI) += panel-dpi.o 9 obj-$(CONFIG_FB_OMAP2_PANEL_DSI_CM) += panel-dsi-cm.o 10 obj-$(CONFIG_FB_OMAP2_PANEL_SONY_ACX565AKM) += panel-sony-acx565akm.o [all …]
|
/linux/Documentation/devicetree/bindings/display/ti/ |
H A D | ti,omap-dss.txt | 5 ------------------- 25 ----------- 36 ------- 39 name for each display. If no aliases are defined, a semi-random number is used 43 ------- 45 A shortened example of the DSS description for OMAP4, with non-relevant parts 49 compatible = "ti,omap4-dss"; 54 clock-names = "fck"; 55 #address-cells = <1>; 56 #size-cells = <1>; [all …]
|
/linux/Documentation/fb/ |
H A D | viafb.rst | 6 -------- 15 --------------- 16 Device: CRT, LCD, DVI 34 ---------------------- 42 viafb_active_dev=CRT+DVI viafb_dvi_port=DVP1 47 - 640x480 (default) 48 - 720x480 49 - 800x600 50 - 1024x768 53 - 8, 16, 32 (default:32) [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_connector.c | 51 * Hence they are reference-counted using drm_connector_get() and 56 * objects and initialized by setting the following fields. The connector is 58 * &struct drm_connector_funcs and a connector type, and then exposed to 62 * connectors to encoders 1:1, the connector should be attached at 67 * For connectors which are not fixed (like built-in panels) the driver needs to 75 * Global connector list for drm_connector_find_by_fwnode(). 76 * Note drm_connector_[un]register() first take connector->lock and then 89 * Connector and encoder types. 94 { DRM_MODE_CONNECTOR_DVII, "DVI-I" }, 95 { DRM_MODE_CONNECTOR_DVID, "DVI-D" }, [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | dove-sbc-a510.dts | 2 * Device Tree file for Compulab SBC-A510 Single Board Computer 6 * This file is dual-licensed: you can use it either under the terms 46 * SBC-A510 comprises a PCA9555 I2C GPIO expander its GPIO lines connected to 50 * 0.2 DVI transmitter TI TFP410 MSEN 51 * 0.3 DVI transmitter TI TFP410 PD# (active low power down) 55 * 0.7 mini-PCIe slot W_DISABLE# 67 /dts-v1/; 69 #include "dove-cm-a510.dtsi" 72 model = "Compulab SBC-A510"; 73 compatible = "compulab,sbc-a510", "compulab,cm-a510", "marvell,dove"; [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-overo-common-dvi.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * DVI output for some Gumstix Overo boards (Tobi and Summit) 11 dss_dpi_pins: dss-dpi-pins { 12 pinctrl-single,pins = < 47 regulator-always-on; 53 pinctrl-names = "default"; 54 pinctrl-0 = <&dss_dpi_pins>; 58 remote-endpoint = <&tfp410_in>; 59 data-lines = <24>; 73 #address-cells = <1>; [all …]
|
H A D | omap3-sb-t35.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Common support for CompuLab SB-T35 used on SBC-T3530, SBC-T3517 and SBC-T3730 10 powerdown-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>; /* gpio_54 */ 12 pinctrl-names = "default"; 13 pinctrl-0 = <&tfp410_pins>; 16 #address-cells = <1>; 17 #size-cells = <0>; 23 remote-endpoint = <&dpi_out>; 31 remote-endpoint = <&dvi_connector_in>; 37 dvi0: dvi-connector { [all …]
|
/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | chrontel,ch7033.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Lubomir Rintel <lkundrak@v3.sk> 33 DVI port, should be connected to a node compatible with the 34 dvi-connector binding. 37 - port@0 38 - port@1 41 - compatible 42 - reg [all …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 40 void radeon_connector_hotplug(struct drm_connector *connector) in radeon_connector_hotplug() argument 42 struct drm_device *dev = connector->dev; in radeon_connector_hotplug() 43 struct radeon_device *rdev = dev->dev_private; in radeon_connector_hotplug() 44 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in radeon_connector_hotplug() 46 /* bail if the connector does not have hpd pin, e.g., in radeon_connector_hotplug() 49 if (radeon_connector->hpd.hpd == RADEON_HPD_NONE) in radeon_connector_hotplug() 52 radeon_hpd_set_polarity(rdev, radeon_connector->hpd.hpd); in radeon_connector_hotplug() 54 /* if the connector is already off, don't turn it back on */ in radeon_connector_hotplug() 56 if (connector->dpms != DRM_MODE_DPMS_ON) in radeon_connector_hotplug() [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx53-cx9020.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * based on imx53-qsb.dts 7 /dts-v1/; 15 stdout-path = &uart2; 24 display-0 { 25 #address-cells = <1>; 26 #size-cells = <0>; 27 compatible = "fsl,imx-parallel-display"; 28 interface-pix-fmt = "rgb24"; 29 pinctrl-names = "default"; [all …]
|
/linux/drivers/gpu/drm/tegra/ |
H A D | hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #include <sound/hdmi-codec.h> 86 bool dvi; member 117 u32 value = readl(hdmi->regs + (offset << 2)); in tegra_hdmi_readl() 119 trace_hdmi_readl(hdmi->dev, offset, value); in tegra_hdmi_readl() 127 trace_hdmi_writel(hdmi->dev, offset, value); in tegra_hdmi_writel() 128 writel(value, hdmi->regs + (offset << 2)); in tegra_hdmi_writel() 376 mutex_lock(&hdmi->audio_lock); in tegra_hdmi_audio_lock() 377 disable_irq(hdmi->irq); in tegra_hdmi_audio_lock() 382 enable_irq(hdmi->irq); in tegra_hdmi_audio_unlock() [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 43 void amdgpu_connector_hotplug(struct drm_connector *connector) in amdgpu_connector_hotplug() argument 45 struct drm_device *dev = connector->dev; in amdgpu_connector_hotplug() 47 struct amdgpu_connector *amdgpu_connector = to_amdgpu_connector(connector); in amdgpu_connector_hotplug() 49 /* bail if the connector does not have hpd pin, e.g., in amdgpu_connector_hotplug() 52 if (amdgpu_connector->hpd.hpd == AMDGPU_HPD_NONE) in amdgpu_connector_hotplug() 55 amdgpu_display_hpd_set_polarity(adev, amdgpu_connector->hpd.hpd); in amdgpu_connector_hotplug() 57 /* if the connector is already off, don't turn it back on */ in amdgpu_connector_hotplug() 58 if (connector->dpms != DRM_MODE_DPMS_ON) in amdgpu_connector_hotplug() 62 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in amdgpu_connector_hotplug() [all …]
|
/linux/drivers/video/fbdev/via/ |
H A D | dvi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved. 4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. 7 #include <linux/via-core.h> 41 switch (viaparinfo->chip_info->gfx_chip_name) { in viafb_tmds_trasmitter_identify() 63 /* SR3E[1]Multi-function selection: in viafb_tmds_trasmitter_identify() 71 viaparinfo->chip_info->tmds_chip_info.tmds_chip_name = VT1632_TMDS; in viafb_tmds_trasmitter_identify() 72 viaparinfo->chip_info-> in viafb_tmds_trasmitter_identify() 74 viaparinfo->chip_info->tmds_chip_info.i2c_port = VIA_PORT_31; in viafb_tmds_trasmitter_identify() 83 viaparinfo->chip_info->tmds_chip_info.tmds_chip_name); in viafb_tmds_trasmitter_identify() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_link_encoder.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 57 enc110->base.ctx 59 enc110->base.ctx->logger 62 (enc110->link_regs->reg) 65 (enc110->aux_regs->reg) 68 (enc110->hpd_regs->reg) 75 * ASIC-dependent, actual values for register programming 91 (reg + enc110->offsets.dig) 94 (reg + enc110->offsets.dp) 127 struct dc_bios *bp = enc110->base.ctx->dc_bios; in link_transmitter_control() [all …]
|
/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-j721e-common-proc-board-infotainment.dtso | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 3 * Infotainment Expansion Board for j721e-evm 6 * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/ 9 /dts-v1/; 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 15 #include "k3-pinctrl.h" 18 hdmi-connector { 19 compatible = "hdmi-connector"; 22 ddc-i2c-bus = <&main_i2c1>; [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn10/ |
H A D | dcn10_link_encoder.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 37 enc10->base.ctx 39 enc10->base.ctx->logger 42 (enc10->link_regs->reg) 46 enc10->link_shift->field_name, enc10->link_mask->field_name 52 * ASIC-dependent, actual values for register programming 98 struct dc_bios *bp = enc10->base.ctx->dc_bios; in link_transmitter_control() 100 result = bp->funcs->transmitter_control(bp, cntl); in link_transmitter_control() 170 /* For 10-bit PRBS or debug symbols in set_dp_phy_pattern_d102() 360 enc10->base.funcs->setup(&enc10->base, SIGNAL_TYPE_DISPLAY_PORT); in set_dp_phy_pattern_hbr2_compliance_cp2520_2() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_connector.c | 40 int intel_connector_init(struct intel_connector *connector) in intel_connector_init() argument 52 return -ENOMEM; in intel_connector_init() 54 __drm_atomic_helper_connector_reset(&connector->base, in intel_connector_init() 55 &conn_state->base); in intel_connector_init() 57 intel_panel_init_alloc(connector); in intel_connector_init() 64 struct intel_connector *connector; in intel_connector_alloc() local 66 connector = kzalloc(sizeof(*connector), GFP_KERNEL); in intel_connector_alloc() 67 if (!connector) in intel_connector_alloc() 70 if (intel_connector_init(connector) < 0) { in intel_connector_alloc() 71 kfree(connector); in intel_connector_alloc() [all …]
|
/linux/include/drm/ |
H A D | drm_encoder.h | 36 * struct drm_encoder_funcs - encoder controls 88 * Allows encoders to create encoder-specific debugfs files. 94 * struct drm_encoder - central DRM encoder structure 100 * @helper_private: mid-layer private data 103 * appropriate for a given connector or set of connectors. 117 * - DRM_MODE_ENCODER_DAC for VGA and analog on DVI-I/DVI-A. 119 * - DRM_MODE_ENCODER_TMDS for DVI, HDMI and (embedded) DisplayPort. 121 * - DRM_MODE_ENCODER_LVDS for display panels, or in general any panel 122 * with a proprietary parallel connector. 124 * - DRM_MODE_ENCODER_TVDAC for TV output (Composite, S-Video, [all …]
|