/linux/drivers/gpu/drm/panel/ |
H A D | panel-edp.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 46 * struct panel_delay - Describes delays for a simple panel. 59 * hpd_absent. While that works, it's non-ideal. 68 * This is T3-max on eDP timing diagrams or the delay from power on 79 * This is (T3+T4+T5+T6+T8)-min on eDP timing diagrams or after the 129 * This is (T6-min + max(T7-max, T8-min)) on eDP timing diagrams or 141 * This is T9-min (delay from backlight off to end of valid video 157 * This is T12-min on eDP timing diagrams. 163 * struct panel_desc - Describes a simple panel. 210 * struct edp_panel_entry - Maps panel ID to delay / panel name. [all …]
|
/linux/Documentation/devicetree/bindings/display/connector/ |
H A D | hdmi-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/display/connector/hdmi-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laurent Pinchart <Laurent.pinchart@ideasonboard.com> 14 const: hdmi-connector 19 - a # Standard full size 20 - b # Never deployed? 21 - c # Mini 22 - d # Micro [all …]
|
/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | panel-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 24 width-mm: 29 height-mm: 38 on the system (e.g. as an affixed label) or specified in the system's 39 documentation (e.g. in the user's manual). [all …]
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_connector_test.c | 1 // SPDX-License-Identifier: GPL-2.0 24 struct i2c_adapter ddc; member 73 strscpy(priv->ddc.name, "dummy-connector-ddc", sizeof(priv->ddc.name)); in drm_test_connector_init() 74 priv->ddc.owner = THIS_MODULE; in drm_test_connector_init() 75 priv->ddc.algo = &dummy_ddc_algorithm; in drm_test_connector_init() 76 priv->ddc.dev.parent = dev; in drm_test_connector_init() 78 ret = i2c_add_adapter(&priv->ddc); in drm_test_connector_init() 81 ret = kunit_add_action_or_reset(test, i2c_del_adapter_wrapper, &priv->ddc); in drm_test_connector_init() 84 test->priv = priv; in drm_test_connector_init() 94 struct drm_connector_init_priv *priv = test->priv; in drm_test_drmm_connector_init() [all …]
|
/linux/drivers/gpu/drm/bridge/ |
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() 77 * if drm_probe_ddc fails, as some cables don't wire the DDC in display_connector_detect() [all …]
|
H A D | sil-sii8620.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * Copyright (C) 2013-2014 Silicon Image, Inc. 243 /* LM DDC, default value: 0x80 */ 252 /* DDC I2C Manual, default value: 0x03 */ 263 /* DDC I2C Target Slave Address, default value: 0x00 */ 267 /* DDC I2C Target Segment Address, default value: 0x00 */ 270 /* DDC I2C Target Offset Address, default value: 0x00 */ 273 /* DDC I2C Data In count #1, default value: 0x00 */ 276 /* DDC I2C Data In count #2, default value: 0x00 */ 280 /* DDC I2C Status, default value: 0x04 */ [all …]
|
/linux/Documentation/devicetree/bindings/display/samsung/ |
H A D | samsung,exynos-hdmi.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/display/samsung/samsung,exynos-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Inki Dae <inki.dae@samsung.com> 11 - Seung-Woo Kim <sw0312.kim@samsung.com> 12 - Kyungmin Park <kyungmin.park@samsung.com> 13 - Krzysztof Kozlowski <krzk@kernel.org> 18 - samsung,exynos4210-hdmi 19 - samsung,exynos4212-hdmi [all …]
|
/linux/drivers/video/fbdev/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 a well-defined interface, so the software doesn't need to know 15 anything about the low-level (hardware register) stuff. 21 On several non-X86 architectures, the frame buffer device is the 25 in the /dev directory, i.e. /dev/fb*. 29 and the Framebuffer-HOWTO at 30 <http://www.munted.org.uk/programming/Framebuffer-HOWTO-1.3.html> for more 40 are compiling a kernel for a non-x86 architecture. 45 (e.g. an accelerated X server) and that are not frame buffer 46 device-aware may cause unexpected results. If unsure, say N. [all …]
|
/linux/Documentation/fb/ |
H A D | intel810.rst | 20 - Intel 810 21 - Intel 810E 22 - Intel 810-DC100 23 - Intel 815 Internal graphics only, 100Mhz FSB 24 - Intel 815 Internal graphics only 25 - Intel 815 Internal graphics and AGP 30 - Choice of using Discrete Video Timings, VESA Generalized Timing 33 - Supports a variable range of horizontal and vertical resolution and 37 - Supports color depths of 8, 16, 24 and 32 bits per pixel 39 - Supports pseudocolor, directcolor, or truecolor visuals [all …]
|
/linux/drivers/gpu/drm/imx/ipuv3/ |
H A D | imx-ldb.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * i.MX drm driver - LVDS display bridge 11 #include <linux/media-bus-format.h> 13 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 36 #include "imx-drm.h" 38 #define DRIVER_NAME "imx-ldb" 73 struct i2c_adapter *ddc; member 84 return container_of(c, struct imx_ldb_encoder, connector)->channel; in con_to_imx_ldb_ch() 87 static inline struct imx_ldb_channel *enc_to_imx_ldb_ch(struct drm_encoder *e) in enc_to_imx_ldb_ch() argument 89 return container_of(e, struct imx_ldb_encoder, encoder)->channel; in enc_to_imx_ldb_ch() [all …]
|
H A D | imx-tve.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * i.MX drm driver - Television Encoder (TVEv2) 8 #include <linux/clk-provider.h> 18 #include <video/imx-ipu-v3.h> 26 #include "imx-drm.h" 117 struct i2c_adapter *ddc; member 126 return container_of(c, struct imx_tve_encoder, connector)->tve; in con_to_tve() 129 static inline struct imx_tve *enc_to_tve(struct drm_encoder *e) in enc_to_tve() argument 131 return container_of(e, struct imx_tve_encoder, encoder)->tve; in enc_to_tve() 136 clk_prepare_enable(tve->clk); in tve_enable() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_i2c_hw.c | 32 dce_i2c_hw->ctx 34 dce_i2c_hw->regs->reg 38 dce_i2c_hw->shifts->field_name, dce_i2c_hw->masks->field_name 56 DC_I2C_TRANSACTION_COUNT, dce_i2c_hw->transaction_count - 1); in execute_transaction() 64 dce_i2c_hw->transaction_count = 0; in execute_transaction() 65 dce_i2c_hw->buffer_used_bytes = 0; in execute_transaction() 77 else if (value & dce_i2c_hw->masks->DC_I2C_SW_STOPPED_ON_NACK) in get_channel_status() 79 else if (value & dce_i2c_hw->masks->DC_I2C_SW_TIMEOUT) in get_channel_status() 81 else if (value & dce_i2c_hw->masks->DC_I2C_SW_ABORTED) in get_channel_status() 83 else if (value & dce_i2c_hw->masks->DC_I2C_SW_DONE) in get_channel_status() [all …]
|
/linux/drivers/video/fbdev/i810/ |
H A D | i810-i2c.c | 1 /*-*- linux-c -*- 2 * linux/drivers/video/i810-i2c.c -- Intel 810/815 I2C support 45 struct i810fb_par *par = chan->par; in i810i2c_setscl() 46 u8 __iomem *mmio = par->mmio_start_virtual; in i810i2c_setscl() 49 i810_writel(mmio, chan->ddc_base, SCL_DIR_MASK | SCL_VAL_MASK); in i810i2c_setscl() 51 i810_writel(mmio, chan->ddc_base, SCL_DIR | SCL_DIR_MASK | SCL_VAL_MASK); in i810i2c_setscl() 52 i810_readl(mmio, chan->ddc_base); /* flush posted write */ in i810i2c_setscl() 58 struct i810fb_par *par = chan->par; in i810i2c_setsda() 59 u8 __iomem *mmio = par->mmio_start_virtual; in i810i2c_setsda() 62 i810_writel(mmio, chan->ddc_base, SDA_DIR_MASK | SDA_VAL_MASK); in i810i2c_setsda() [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 45 struct drm_device *dev = connector->dev; 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() 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() 64 amdgpu_connector->con_priv; in amdgpu_connector_hotplug() 67 if (dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_DISPLAYPORT) in amdgpu_connector_hotplug() 71 dig_connector->dp_sink_type = amdgpu_atombios_dp_get_sinktype(amdgpu_connector); in amdgpu_connector_hotplug() [all …]
|
/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra124-apalis-v1.2-eval.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright 2016-2018 Toradex AG 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 9 #include "tegra124-apalis-v1.2.dtsi" 13 compatible = "toradex,apalis-tk1-v1.2-eval", "toradex,apalis-tk1-eval", 14 "toradex,apalis-tk1-v1.2", "toradex,apalis-tk1", 28 stdout-path = "serial0:115200n8"; 40 hdmi-supply = <®_5v0>; 46 pex-perst-n-hog { [all …]
|
H A D | tegra124-apalis-eval.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 3 * Copyright 2016-2019 Toradex AG 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 9 #include "tegra124-apalis.dtsi" 13 compatible = "toradex,apalis-tk1-eval", "toradex,apalis-tk1", 27 stdout-path = "serial0:115200n8"; 39 hdmi-supply = <®_5v0>; 45 pex-perst-n-hog { 46 gpio-hog; [all …]
|
/linux/drivers/gpu/drm/sun4i/ |
H A D | sun4i_hdmi.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Maxime Ripard <maxime.ripard@free-electrons.com> 15 #include <media/cec-pin.h> 37 #define SUN4I_HDMI_VID_TIMING_X(x) ((((x) - 1) & GENMASK(11, 0))) 38 #define SUN4I_HDMI_VID_TIMING_Y(y) ((((y) - 1) & GENMASK(11, 0)) << 16) 135 #define SUN4I_HDMI_DDC_FIFO_CTRL_RX_THRES_MAX (BIT(4) - 1) 138 #define SUN4I_HDMI_DDC_FIFO_CTRL_TX_THRES_MAX (BIT(4) - 1) 143 #define SUN4I_HDMI_DDC_BYTE_COUNT_MAX (BIT(10) - 1) 187 /* DDC CLK bit fields are the same, but the formula is not */ 226 /* DDC FIFO register offset */ [all …]
|
H A D | sun4i_hdmi_enc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Maxime Ripard <maxime.ripard@free-electrons.com> 37 #define drm_encoder_to_sun4i_hdmi(e) \ argument 38 container_of_const(e, struct sun4i_hdmi, encoder) 51 drm_err(connector->dev, in sun4i_hdmi_write_infoframe() 57 writeb(buffer[i], hdmi->base + SUN4I_HDMI_AVI_INFOFRAME_REG(i)); in sun4i_hdmi_write_infoframe() 71 val = readl(hdmi->base + SUN4I_HDMI_VID_CTRL_REG); in sun4i_hdmi_disable() 73 writel(val, hdmi->base + SUN4I_HDMI_VID_CTRL_REG); in sun4i_hdmi_disable() 75 clk_disable_unprepare(hdmi->tmds_clk); in sun4i_hdmi_disable() 81 struct drm_display_mode *mode = &encoder->crtc->state->adjusted_mode; in sun4i_hdmi_enable() [all …]
|
/linux/drivers/gpu/vga/ |
H A D | vga_switcheroo.c | 2 * vga_switcheroo.c - Support for laptop with dual GPU using one set of outputs 33 #include <linux/apple-gmux.h> 65 * while others can switch just the DDC lines. (To allow EDID probing 71 * handler to control the power state of the discrete GPU, its ->switchto 72 * callback is a no-op for obvious reasons. The discrete GPU is often equipped 86 * a client may alternatively request that the DDC lines are temporarily 88 * only the DDC lines and not the entire output avoids unnecessary 93 * struct vga_switcheroo_client - registered client 105 * interface is a no-op so as not to interfere with runtime pm 131 * struct vgasr_priv - vga_switcheroo private data [all …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 42 struct drm_device *dev = connector->dev; in radeon_connector_hotplug() 43 struct radeon_device *rdev = dev->dev_private; 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() 56 if (connector->dpms != DRM_MODE_DPMS_ON) in radeon_connector_hotplug() 60 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in radeon_connector_hotplug() 62 radeon_connector->con_priv; in radeon_connector_hotplug() 65 if (dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_DISPLAYPORT) in radeon_connector_hotplug() [all …]
|
/linux/drivers/gpu/drm/display/ |
H A D | drm_bridge_connector.c | 1 // SPDX-License-Identifier: GPL-2.0+ 44 * operation flags (&drm_bridge->ops) and bridge output type 45 * (&drm_bridge->type), as well as the DRM_BRIDGE_ATTACH_NO_CONNECTOR attach 50 * struct drm_bridge_connector - A connector backed by a chain of bridges 74 * hot-plug detection notification, if any (see &DRM_BRIDGE_OP_HPD). 103 /* ----------------------------------------------------------------------------- 104 * Bridge Connector Hot-Plug Handling 115 drm_for_each_bridge_in_chain(bridge_connector->encoder, bridge) { in drm_bridge_connector_hpd_notify() 116 if (bridge->funcs->hpd_notify) in drm_bridge_connector_hpd_notify() 117 bridge->funcs->hpd_notify(bridge, status); in drm_bridge_connector_hpd_notify() [all …]
|
/linux/include/linux/ |
H A D | vga_switcheroo.h | 2 * vga_switcheroo.h - Support for laptop with dual GPU using one set of outputs 39 * enum vga_switcheroo_handler_flags_t - handler flags bitmask 41 * DDC lines separately. This signals to clients that they should call 47 * skip the AUX handshake and set up its output with these pre-calibrated 59 * enum vga_switcheroo_state - client power state 76 * enum vga_switcheroo_client_id - client identifier 94 * struct vga_switcheroo_handler - handler callbacks 96 * Optional. This gets called when vga_switcheroo is enabled, i.e. when 102 * Mandatory. For muxless machines this should be a no-op. Returning 0 105 * @switch_ddc: switch DDC lines to given client. [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | biblio.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 CEA 608-E 14 :title: CEA-608-E R-2014 "Line 21 Data Services" 24 :title: EN 300 294 "625-line television Wide Screen Signalling (WSS)" 50 ISO 13818-1 54 :title: ITU-T Rec. H.222.0 | ISO/IEC 13818-1 "Information technology --- Generic coding of movi… 60 ISO 13818-2 64 :title: ITU-T Rec. H.262 | ISO/IEC 13818-2 "Information technology --- Generic coding of moving… 74 :title: ITU-R Recommendation BT.470-6 "Conventional Television Systems" 84 :title: ITU-R Recommendation BT.601-5 "Studio Encoding Parameters of Digital Television for Sta… [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mp-dhcom-pdk3.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 * DHCM-iMX8ML8-C160-R409-F1638-SPI16-GE-CAN2-SD-RTC-WBTA-ADC-T-RGB-CSI2-HS-I-01D2 7 * DHCOM PCB number: 660-100 or newer 8 * PDK3 PCB number: 669-100 or newer 11 /dts-v1/; 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/phy/phy-imx8-pcie.h> 15 #include "imx8mp-dhcom-som.dtsi" 19 compatible = "dh,imx8mp-dhcom-pdk3", "dh,imx8mp-dhcom-som", 23 stdout-path = &uart1; [all …]
|
/linux/arch/mips/boot/dts/ingenic/ |
H A D | ci20.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 #include <dt-bindings/clock/ingenic,tcu.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/regulator/active-semi,8865-regulator.h> 22 stdout-path = &uart4; 31 gpio-keys { 32 compatible = "gpio-keys"; [all …]
|