/openbmc/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | panel-edp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-edp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Douglas Anderson <dianders@chromium.org> 14 to a Embedded DisplayPort AUX bus (see display/dp-aux-bus.yaml) without 17 board, either for second-sourcing purposes or to support multiple SKUs 51 :<T1>:<T2>: :<--T10-->:<T11>:<T12>: 52 : +-----------------------+---------+---------+ 53 eDP -----------+ Black video | Src vid | Blk vid + [all …]
|
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: 41 If no such name exists, and unless the property is mandatory according to 43 non-descriptive information. For instance an LCD panel in a system that [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | conn.c | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 56 static const u8 hpd[] = { 0x07, 0x08, 0x51, 0x52, 0x5e, 0x5f, 0x60 }; in nvkm_conn_ctor() local 57 struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio; in nvkm_conn_ctor() 61 conn->disp = disp; in nvkm_conn_ctor() 62 conn->index = index; in nvkm_conn_ctor() 63 conn->info = *info; in nvkm_conn_ctor() 64 conn->info.hpd = DCB_GPIO_UNUSED; in nvkm_conn_ctor() 66 CONN_DBG(conn, "type %02x loc %d hpd %02x dp %x di %x sr %x lcdid %x", in nvkm_conn_ctor() 67 info->type, info->location, info->hpd, info->dp, in nvkm_conn_ctor() 68 info->di, info->sr, info->lcdid); in nvkm_conn_ctor() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_hpd.c | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 28 * This file implements functions that manage basic HPD components such as gpio. 29 * It also provides wrapper functions to execute HPD related programming. This 30 * file only manages basic HPD functionality. It doesn't manage detection or 31 * feature or signal specific HPD behaviors. 40 dal_gpio_lock_pin(link->hpd_gpio); in link_get_hpd_state() 41 dal_gpio_get_value(link->hpd_gpio, &state); in link_get_hpd_state() 42 dal_gpio_unlock_pin(link->hpd_gpio); in link_get_hpd_state() 49 struct link_encoder *encoder = link->link_enc; in link_enable_hpd() 51 if (encoder != NULL && encoder->funcs->enable_hpd != NULL) in link_enable_hpd() [all …]
|
/openbmc/linux/Documentation/userspace-api/media/cec/ |
H A D | cec-ioc-dqevent.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 CEC_DQEVENT - Dequeue a CEC event 35 non-blocking mode and no event is pending, then it will return -1 and 38 The internal event queues are per-filehandle and per-event type. If 39 there is no more room in a queue then the last event is overwritten with 43 two :ref:`CEC_EVENT_STATE_CHANGE <CEC-EVENT-STATE-CHANGE>` events with 51 .. flat-table:: struct cec_event_state_change 52 :header-rows: 0 53 :stub-columns: 0 56 * - __u16 [all …]
|
/openbmc/linux/drivers/gpu/drm/display/ |
H A D | drm_dp_cec.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * DisplayPort CEC-Tunneling-over-AUX support 19 * Unfortunately it turns out that we have a chicken-and-egg situation 20 * here. Quite a few active (mini-)DP-to-HDMI or USB-C-to-HDMI adapters 21 * have a converter chip that supports CEC-Tunneling-over-AUX (usually the 23 * useless. Note that MegaChips 2900-based adapters appear to have good 27 * Sadly there is no way for this driver to know this. What happens is 33 * was never supported by any OS. So there was no easy way of testing it, 34 * and no incentive to correctly wire up the CEC pin. 41 * https://hverkuil.home.xs4all.nl/cec-status.txt [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/ |
H A D | hw_hpd.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 38 hpd->shifts->field_name, hpd->masks->field_name 41 hpd->base.base.ctx 43 (hpd->regs->reg) 50 dal_hw_gpio_destruct(&pin->base); in dal_hw_hpd_destruct() 56 struct hw_hpd *hpd = HW_HPD_FROM_BASE(*ptr); in dal_hw_hpd_destroy() local 58 dal_hw_hpd_destruct(hpd); in dal_hw_hpd_destroy() 60 kfree(hpd); in dal_hw_hpd_destroy() 69 struct hw_hpd *hpd = HW_HPD_FROM_BASE(ptr); in get_value() local [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.video | 1 SPDX-License-Identifier: GPL-2.0+ 4 * Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it 7 "video-mode" environment variable 10 The 'video-mode' environment variable can be used to enable and configure 11 some video drivers. The format matches the video= command-line option used 14 video-mode=<driver>:<xres>x<yres>-<depth>@<freq><,option=string> 16 <driver> The video driver name, ignored by U-Boot 21 <options> A comma-separated list of device-specific options 24 U-Boot MPC8xx video controller driver 29 - MPC823FADS with AD7176 on a PAL TV (YCbYCr) - arsenio@tin.it [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc.h | 2 * Copyright 2012-2023 Advanced Micro Devices, Inc. 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 99 // for example, 1080p -> 8K is 4.0, or 4000 raw value 107 // for example, 8K -> 1080p is 0.25, or 250 raw value 119 * DOC: color-management-caps 124 * abstracted HW. DCE 5-12 had almost no important changes, but starting with 131 * struct rom_curve_caps - predefined transfer function caps for degamma and regamma 147 * struct dpp_color_caps - color pipeline capabilities for display pipe and 152 * just plain 256-entry lookup 161 * @dgam_rom_for_yuv: pre-defined degamma LUT for YUV planes [all …]
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-samsung-atna33xc20.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * by the DRM_PANEL_SIMPLE driver because its power sequencing is non-standard. 22 /* T3 VCC to HPD high is max 200 ms */ 72 if (p->el3_was_on) in atana33xc20_suspend() 73 atana33xc20_wait(p->el_on3_off_time, 150); in atana33xc20_suspend() 75 drm_dp_dpcd_set_powered(p->aux, false); in atana33xc20_suspend() 76 ret = regulator_disable(p->supply); in atana33xc20_suspend() 79 p->powered_off_time = ktime_get_boottime(); in atana33xc20_suspend() 80 p->el3_was_on = false; in atana33xc20_suspend() 92 atana33xc20_wait(p->powered_off_time, 500); in atana33xc20_resume() [all …]
|
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. 50 * @hpd_reliable: Time for HPD to be reliable 53 * before the HPD signal is reliable. Ideally this is 0 but some panels, 57 * Presumably some old panels simply didn't have HPD hooked up and put 59 * hpd_absent. While that works, it's non-ideal. 64 * @hpd_absent: Time to wait if HPD isn't hooked up. 68 * This is T3-max on eDP timing diagrams or the delay from power on 69 * until HPD is guaranteed to be asserted. 87 * doesn't happen at the end of the function if a HPD GPIO was [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_dp.c | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 34 MODULE_PARM_DESC(mst, "Enable DisplayPort multi-stream (default: enabled)"); 42 return drm_dp_read_sink_count_cap(connector, outp->dp.dpcd, &outp->dp.desc); in nouveau_dp_has_sink_count() 49 struct drm_connector *connector = &nv_connector->base; in nouveau_dp_probe_dpcd() 50 struct drm_dp_aux *aux = &nv_connector->aux; in nouveau_dp_probe_dpcd() 54 u8 *dpcd = outp->dp.dpcd; in nouveau_dp_probe_dpcd() 60 ret = drm_dp_read_desc(aux, &outp->dp.desc, drm_dp_is_branch(dpcd)); in nouveau_dp_probe_dpcd() 65 mstm = outp->dp.mstm; in nouveau_dp_probe_dpcd() 67 mstm->can_mst = drm_dp_read_mst_cap(aux, dpcd); in nouveau_dp_probe_dpcd() 75 outp->dp.sink_count = ret; in nouveau_dp_probe_dpcd() [all …]
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | cec.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 - Exynos4 13 - Exynos5 14 - STIH4xx HDMI CEC 15 - V4L2 adv7511 (same HW, but a different driver from the drm adv7511) 16 - stm32 17 - Allwinner A10 (sun4i) 18 - Raspberry Pi 19 - dw-hdmi (Synopsis IP) 20 - amlogic (meson ao-cec and ao-cec-g12a) [all …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 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() [all …]
|
H A D | radeon_combios.c | 3 * Copyright 2007-8 Advanced Micro Devices, Inc. 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 132 struct radeon_device *rdev = dev->dev_private; in combios_get_table_offset() 136 if (!rdev->bios) in combios_get_table_offset() 361 size = RBIOS8(rdev->bios_header_start + 0x6); in combios_get_table_offset() 364 offset = RBIOS16(rdev->bios_header_start + check_offset); in combios_get_table_offset() 378 raw = rdev->bios + edid_info; in radeon_combios_check_hardcoded_edid() 391 rdev->mode_info.bios_hardcoded_edid = edid; in radeon_combios_check_hardcoded_edid() 392 rdev->mode_info.bios_hardcoded_edid_size = size; in radeon_combios_check_hardcoded_edid() 402 if (rdev->mode_info.bios_hardcoded_edid) { in radeon_bios_get_hardcoded_edid() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/dcn32/ |
H A D | hw_factory_dcn32.c | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 49 #define block HPD 111 // add a dummy entry for cases no such port 132 // add a dummy entry for cases no such port 196 generic->regs = &generic_regs[en]; in define_generic_registers() 197 generic->shifts = &generic_shift[en]; in define_generic_registers() 198 generic->masks = &generic_mask[en]; in define_generic_registers() 199 generic->base.regs = &generic_regs[en].gpio; in define_generic_registers() 208 switch (pin->id) { in define_ddc_registers() 210 ddc->regs = &ddc_data_regs_dcn[en]; in define_ddc_registers() [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_bridge_connector.c | 1 // SPDX-License-Identifier: GPL-2.0+ 31 * with the DRM device. At that point the connector becomes fully usable, no 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() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_hotplug.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 43 * handlers gather the hotplug detect (HPD) information from relevant registers 53 * pulses, with failures and non-MST long pulses triggering regular hotplug 66 * while before being re-enabled. The intention is to mitigate issues raising 72 * callback is handled by i915_digport_work_func reenabling of hpd is not 80 * intel_hpd_pin_default - return default pin associated with certain port. 82 * @port: the hpd port to get associated pin 91 return HPD_PORT_A + port - PORT_A; in intel_hpd_pin_default() 112 return encoder ? encoder->hpd_pin : HPD_NONE; in intel_connector_hpd_pin() 116 * intel_hpd_irq_storm_detect - gather stats and detect HPD IRQ storm on a pin [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() 65 * that no cable is connected. in display_connector_detect() 74 * Composite and S-Video connectors have no other detection in display_connector_detect() 75 * mean than the HPD GPIO. For VGA connectors, even if we have in display_connector_detect() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 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() 66 /* if existing sink type was not DP no need to retrain */ in amdgpu_connector_hotplug() [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/amd/display/dc/gpio/dce120/ |
H A D | hw_factory_dce120.c | 2 * Copyright 2013-15 Advanced Micro Devices, Inc. 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 42 #define block HPD 135 switch (pin->id) { in define_ddc_registers() 137 ddc->regs = &ddc_data_regs[en]; in define_ddc_registers() 138 ddc->base.regs = &ddc_data_regs[en].gpio; in define_ddc_registers() 141 ddc->regs = &ddc_clk_regs[en]; in define_ddc_registers() 142 ddc->base.regs = &ddc_clk_regs[en].gpio; in define_ddc_registers() 149 ddc->shifts = &ddc_shift; in define_ddc_registers() 150 ddc->masks = &ddc_mask; in define_ddc_registers() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/dce80/ |
H A D | hw_factory_dce80.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 122 switch (pin->id) { in define_ddc_registers() 124 ddc->regs = &ddc_data_regs[en]; in define_ddc_registers() 125 ddc->base.regs = &ddc_data_regs[en].gpio; in define_ddc_registers() 128 ddc->regs = &ddc_clk_regs[en]; in define_ddc_registers() 129 ddc->base.regs = &ddc_clk_regs[en].gpio; in define_ddc_registers() 136 ddc->shifts = &ddc_shift; in define_ddc_registers() 137 ddc->masks = &ddc_mask; in define_ddc_registers() 143 struct hw_hpd *hpd = HW_HPD_FROM_BASE(pin); in define_hpd_registers() local [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/dce60/ |
H A D | hw_factory_dce60.c | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 122 switch (pin->id) { in define_ddc_registers() 124 ddc->regs = &ddc_data_regs[en]; in define_ddc_registers() 125 ddc->base.regs = &ddc_data_regs[en].gpio; in define_ddc_registers() 128 ddc->regs = &ddc_clk_regs[en]; in define_ddc_registers() 129 ddc->base.regs = &ddc_clk_regs[en].gpio; in define_ddc_registers() 136 ddc->shifts = &ddc_shift; in define_ddc_registers() 137 ddc->masks = &ddc_mask; in define_ddc_registers() 143 struct hw_hpd *hpd = HW_HPD_FROM_BASE(pin); in define_hpd_registers() local 145 hpd->regs = &hpd_regs[en]; in define_hpd_registers() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/dcn10/ |
H A D | hw_factory_dcn10.c | 2 * Copyright 2013-15 Advanced Micro Devices, Inc. 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 43 #define block HPD 155 generic->regs = &generic_regs[en]; in define_generic_registers() 156 generic->shifts = &generic_shift[en]; in define_generic_registers() 157 generic->masks = &generic_mask[en]; in define_generic_registers() 158 generic->base.regs = &generic_regs[en].gpio; in define_generic_registers() 167 switch (pin->id) { in define_ddc_registers() 169 ddc->regs = &ddc_data_regs[en]; in define_ddc_registers() 170 ddc->base.regs = &ddc_data_regs[en].gpio; in define_ddc_registers() [all …]
|