/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 114 * This is (T6-min + max(T7-max, T8-min)) on eDP timing diagrams or 126 * This is T9-min (delay from backlight off to end of valid video 142 * This is T12-min on eDP timing diagrams. 148 * struct panel_desc - Describes a simple panel. 195 * struct edp_panel_entry - Maps panel ID to delay / panel name. 198 /** @panel_id: 32-bit ID for panel, encoded with drm_edid_encode_panel_id(). */ [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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> 34 #include "imx-drm.h" 36 #define DRIVER_NAME "imx-ldb" 71 struct i2c_adapter *ddc; member 82 return container_of(c, struct imx_ldb_encoder, connector)->channel; in con_to_imx_ldb_ch() 85 static inline struct imx_ldb_channel *enc_to_imx_ldb_ch(struct drm_encoder *e) in enc_to_imx_ldb_ch() argument 87 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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_i2c_hw.c | 35 dce_i2c_hw->ctx 37 dce_i2c_hw->regs->reg 41 dce_i2c_hw->shifts->field_name, dce_i2c_hw->masks->field_name 59 DC_I2C_TRANSACTION_COUNT, dce_i2c_hw->transaction_count - 1); in execute_transaction() 67 dce_i2c_hw->transaction_count = 0; in execute_transaction() 68 dce_i2c_hw->buffer_used_bytes = 0; in execute_transaction() 80 else if (value & dce_i2c_hw->masks->DC_I2C_SW_STOPPED_ON_NACK) in get_channel_status() 82 else if (value & dce_i2c_hw->masks->DC_I2C_SW_TIMEOUT) in get_channel_status() 84 else if (value & dce_i2c_hw->masks->DC_I2C_SW_ABORTED) in get_channel_status() 86 else if (value & dce_i2c_hw->masks->DC_I2C_SW_DONE) in get_channel_status() [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
H A D | tegra20-asus-tf101.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/atmel-maxtouch.h> 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra20-cpu-opp.dtsi" 11 #include "tegra20-cpu-opp-microvolt.dtsi" 16 chassis-type = "convertible"; 33 * pre-existing /chosen node to be available to insert the [all …]
|
H A D | tegra20-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 22 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 23 nvidia,hpd-gpio = 25 pll-supply = <®_1v8_avdd_hdmi_pll>; 26 vdd-supply = <®_3v3_avdd_hdmi>; 31 lan-reset-n-hog { 32 gpio-hog; 34 output-high; 35 line-name = "LAN_RESET#"; 38 /* Tri-stating GMI_WR_N on SODIMM pin 99 nPWE */ [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_bridge_connector.c | 1 // SPDX-License-Identifier: GPL-2.0+ 40 * operation flags (&drm_bridge->ops) and bridge output type 41 * (&drm_bridge->type), as well as the DRM_BRIDGE_ATTACH_NO_CONNECTOR attach 46 * struct drm_bridge_connector - A connector backed by a chain of bridges 70 * hot-plug detection notification, if any (see &DRM_BRIDGE_OP_HPD). 92 /* ----------------------------------------------------------------------------- 93 * Bridge Connector Hot-Plug Handling 104 drm_for_each_bridge_in_chain(bridge_connector->encoder, bridge) { in drm_bridge_connector_hpd_notify() 105 if (bridge->funcs->hpd_notify) in drm_bridge_connector_hpd_notify() 106 bridge->funcs->hpd_notify(bridge, status); in drm_bridge_connector_hpd_notify() [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | tegra20-paz00.dts | 1 /dts-v1/; 3 #include <dt-bindings/input/input.h> 11 stdout-path = &uarta; 39 display-timings { 42 clock-frequency = <54030000>; 45 hback-porch = <160>; 46 hfront-porch = <24>; 47 hsync-len = <136>; 48 vback-porch = <3>; 49 vfront-porch = <61>; [all …]
|
/openbmc/linux/include/media/i2c/ |
H A D | tc358743.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * tc358743 - Toshiba HDMI to CSI-2 bridge 10 * REF_01 - Toshiba, TC358743XBG (H2C), Functional Specification, Rev 0.60 11 * REF_02 - Toshiba, TC358743XBG_HDMI-CSI_Tv11p_nm.xls 35 /* DDC +5V debounce delay to avoid spurious interrupts when the cable 46 * level to somewhere in the middle (e.g. 300), so it can cover speed 73 /* DVI->HDMI detection delay to avoid unnecessary switching between DVI
|