/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | Kconfig | 1 # 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. 44 tristate "ChromeOS EC ANX7688 bridge" 50 ChromeOS EC ANX7688 is an ultra-low power 51 4K Ultra-HD (4096x2160p60) mobile HD transmitter 53 2.0 to DisplayPort 1.3 Ultra-HD. It is connected 60 Driver for display connectors with support for DDC and hot-plug [all …]
|
H A D | lvds-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 struct drm_bridge bridge; member 30 static inline struct lvds_codec *to_lvds_codec(struct drm_bridge *bridge) in to_lvds_codec() argument 32 return container_of(bridge, struct lvds_codec, bridge); in to_lvds_codec() 35 static int lvds_codec_attach(struct drm_bridge *bridge, in lvds_codec_attach() argument 38 struct lvds_codec *lvds_codec = to_lvds_codec(bridge); in lvds_codec_attach() 40 return drm_bridge_attach(bridge->encoder, lvds_codec->panel_bridge, in lvds_codec_attach() 41 bridge, flags); in lvds_codec_attach() 44 static void lvds_codec_enable(struct drm_bridge *bridge) in lvds_codec_enable() argument 46 struct lvds_codec *lvds_codec = to_lvds_codec(bridge); in lvds_codec_enable() [all …]
|
H A D | ti-sn65dsi83.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * - SN65DSI83 7 * = 1x Single-link DSI ~ 1x Single-link LVDS 8 * - Supported 9 * - Single-link LVDS mode tested 10 * - SN65DSI84 11 * = 1x Single-link DSI ~ 2x Single-link or 1x Dual-link LVDS 12 * - Supported 13 * - Dual-link LVDS mode tested 14 * - 2x Single-link LVDS mode unsupported [all …]
|
H A D | fsl-ldb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #include <linux/media-bus-format.h> 40 * Clear it to enable LVDS and set it to disable LVDS. 88 struct drm_bridge bridge; member 99 return (fsl_ldb->ch0_enabled && fsl_ldb->ch1_enabled); in fsl_ldb_is_dual() 102 static inline struct fsl_ldb *to_fsl_ldb(struct drm_bridge *bridge) in to_fsl_ldb() argument 104 return container_of(bridge, struct fsl_ldb, bridge); in to_fsl_ldb() 115 static int fsl_ldb_attach(struct drm_bridge *bridge, in fsl_ldb_attach() argument 118 struct fsl_ldb *fsl_ldb = to_fsl_ldb(bridge); in fsl_ldb_attach() 120 return drm_bridge_attach(bridge->encoder, fsl_ldb->panel_bridge, in fsl_ldb_attach() [all …]
|
H A D | megachips-stdpxxxx-ge-b850v3-fw.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for MegaChips STDP4028 with GE B850v3 firmware (LVDS-DP) 4 * Driver for MegaChips STDP2690 with GE B850v3 firmware (DP-DP++) 10 * This driver creates a drm_bridge and a drm_connector for the LVDS to DP++ 11 * display bridge of the GE B850v3. There are two physical bridges on the video 12 * signal pipeline: a STDP4028(LVDS to DP) and a STDP2690(DP to DP++). The 19 * Host -> LVDS|--(STDP4028)--|DP -> DP|--(STDP2690)--|DP++ -> Video output 61 struct drm_bridge bridge; member 70 struct i2c_adapter *adapter = client->adapter; in stdp2690_get_edid() 77 .addr = client->addr, in stdp2690_get_edid() [all …]
|
H A D | lontium-lt9211.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Lontium LT9211 bridge driver 6 * 2xDSI/2xLVDS/1xDPI -> 2xDSI/2xLVDS/1xDPI 8 * 1xDSI -> 1xLVDS 17 #include <linux/media-bus-format.h> 40 /* DSI lane count - 0 means 4 lanes ; 1, 2, 3 means 1, 2, 3 lanes. */ 44 struct drm_bridge bridge; member 96 static struct lt9211 *bridge_to_lt9211(struct drm_bridge *bridge) in bridge_to_lt9211() argument 98 return container_of(bridge, struct lt9211, bridge); in bridge_to_lt9211() 101 static int lt9211_attach(struct drm_bridge *bridge, in lt9211_attach() argument [all …]
|
H A D | tc358775.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * TC358775 DSI to LVDS bridge driver 16 #include <linux/media-bus-format.h> 35 /* DSI D-PHY Layer Registers */ 51 #define PPI_STARTPPI 0x0104 /* START control bit of PPI-TX function. */ 92 #define DSI_STARTDSI 0x0204 /* START control bit of DSI-TX function */ 117 /* Mux Input Select for LVDS LINK Input */ 160 #define LVCFG 0x049C /* LVDS Configuration */ 161 #define LVPHY0 0x04A0 /* LVDS PHY 0 */ 167 #define LVPHY1 0x04A4 /* LVDS PHY 1 */ [all …]
|
H A D | parade-ps8622.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Parade PS8622 eDP/LVDS bridge driver 45 struct drm_bridge bridge; member 60 bridge_to_ps8622(struct drm_bridge *bridge) in bridge_to_ps8622() argument 62 return container_of(bridge, struct ps8622_bridge, bridge); in bridge_to_ps8622() 68 struct i2c_adapter *adap = client->adapter; in ps8622_set() 72 msg.addr = client->addr + page; in ps8622_set() 80 client->addr + page, reg, val, ret); in ps8622_set() 86 struct i2c_client *cl = ps8622->client; in ps8622_send_config() 137 /* [7:5] DCO_FTRNG=+-40% */ in ps8622_send_config() [all …]
|
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_lvds.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * R-Car LVDS Encoder 5 * Copyright (C) 2013-2018 Renesas Electronics Corporation 13 #include <linux/media-bus-format.h> 50 #define RCAR_LVDS_QUIRK_LANES BIT(0) /* LVDS lanes 1 and 3 inverted */ 54 #define RCAR_LVDS_QUIRK_DUAL_LINK BIT(4) /* Supports dual-link operation */ 59 void (*pll_setup)(struct rcar_lvds *lvds, unsigned int freq); 67 struct drm_bridge bridge; member 84 container_of(b, struct rcar_lvds, bridge) 86 static u32 rcar_lvds_read(struct rcar_lvds *lvds, u32 reg) in rcar_lvds_read() argument [all …]
|
H A D | rcar_du_encoder.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * R-Car Display Unit Encoder 5 * Copyright (C) 2013-2014 Renesas Electronics Corporation 21 /* ----------------------------------------------------------------------------- 54 struct drm_bridge *bridge; in rcar_du_encoder_init() local 58 * Locate the DRM bridge from the DT node. For the DPAD outputs, if the in rcar_du_encoder_init() 60 * create a panel bridge. in rcar_du_encoder_init() 70 bridge = devm_drm_panel_bridge_add_typed(rcdu->dev, panel, in rcar_du_encoder_init() 72 if (IS_ERR(bridge)) in rcar_du_encoder_init() 73 return PTR_ERR(bridge); in rcar_du_encoder_init() [all …]
|
/openbmc/linux/drivers/gpu/drm/sun4i/ |
H A D | sun4i_lvds.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 44 struct sun4i_lvds *lvds = in sun4i_lvds_get_modes() local 47 return drm_panel_get_modes(lvds->panel, connector); in sun4i_lvds_get_modes() 70 struct sun4i_lvds *lvds = drm_encoder_to_sun4i_lvds(encoder); in sun4i_lvds_encoder_enable() local 72 DRM_DEBUG_DRIVER("Enabling LVDS output\n"); in sun4i_lvds_encoder_enable() 74 if (lvds->panel) { in sun4i_lvds_encoder_enable() 75 drm_panel_prepare(lvds->panel); in sun4i_lvds_encoder_enable() 76 drm_panel_enable(lvds->panel); in sun4i_lvds_encoder_enable() 82 struct sun4i_lvds *lvds = drm_encoder_to_sun4i_lvds(encoder); in sun4i_lvds_encoder_disable() local [all …]
|
/openbmc/u-boot/drivers/video/bridge/ |
H A D | Kconfig | 7 requires LVDS, an eDP->LVDS bridge chip can be used to provide the 11 bool "Support Parade PS862X DP->LVDS bridge" 14 The Parade PS8622 and PS8625 are DisplayPort-to-LVDS (Low voltage 15 differential signalling) converters. They enable an LVDS LCD panel 17 LVDS capability, or where LVDS requires too many signals to route 21 bool "Support NXP PTN3460 DP->LVDS bridge" 24 The NXP PTN3460 is a DisplayPort-to-LVDS (Low voltage differential 25 signalling) converter. It enables an LVDS LCD panel to be connected 26 to an eDP output device such as an SoC that lacks LVDS capability, 27 or where LVDS requires too many signals to route on the PCB. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | lontium,lt9211.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/lontium,lt9211.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Lontium LT9211 DSI/LVDS/DPI to DSI/LVDS/DPI bridge. 10 - Marek Vasut <marex@denx.de> 13 The LT9211 are bridge devices which convert Single/Dual-Link DSI/LVDS 14 or Single DPI to Single/Dual-Link DSI/LVDS or Single DPI. 19 - lontium,lt9211 27 reset-gpios: [all …]
|
H A D | toshiba,tc358775.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/toshiba,tc358775.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Toshiba TC358775 DSI to LVDS bridge 10 - Vinay Simha BN <simhavcs@gmail.com> 13 This binding supports DSI to LVDS bridge TC358775 15 MIPI DSI-RX Data 4-lane, CLK 1-lane with data rates up to 800 Mbps/lane. 17 Up to 1600x1200 24-bit/pixel resolution for single-link LVDS display panel 18 limited by 135 MHz LVDS speed [all …]
|
H A D | fsl,ldb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/fsl,ldb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale i.MX8MP DPI to LVDS bridge chip 10 - Marek Vasut <marex@denx.de> 14 for configuring the on-SoC DPI-to-LVDS serializer. This describes 15 those registers as bridge within the DT. 20 - fsl,imx6sx-ldb 21 - fsl,imx8mp-ldb [all …]
|
H A D | ti,sn65dsi83.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/ti,sn65dsi83.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SN65DSI83 and SN65DSI84 DSI to LVDS bridge chip 10 - Marek Vasut <marex@denx.de> 13 Texas Instruments SN65DSI83 1x Single-link MIPI DSI 14 to 1x Single-link LVDS 16 Texas Instruments SN65DSI84 1x Single-link MIPI DSI 17 to 1x Dual-link or 2x Single-link LVDS [all …]
|
H A D | fsl,imx8qxp-pxl2dpi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-pxl2dpi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liu Ying <victor.liu@nxp.com> 14 interfaces the pixel link 36-bit data output and the DSI controller’s 15 MIPI-DPI 24-bit data input, and inputs of LVDS Display Bridge(LDB) module 16 used in LVDS mode, to remap the pixel color codings between those modules. 25 const: fsl,imx8qxp-pxl2dpi 27 fsl,sc-resource: [all …]
|
H A D | fsl,imx8qxp-ldb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-ldb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale i.MX8qm/qxp LVDS Display Bridge 10 - Liu Ying <victor.liu@nxp.com> 13 The Freescale i.MX8qm/qxp LVDS Display Bridge(LDB) has two channels. 23 LDB split mode to support a dual link LVDS display. The channel indexes 41 - fsl,imx8qm-ldb 42 - fsl,imx8qxp-ldb [all …]
|
H A D | toshiba,tc358764.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/toshiba,tc358764.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Toshiba TC358764 MIPI-DSI to LVDS bridge 10 - Andrzej Hajda <andrzej.hajda@intel.com> 20 reset-gpios: 23 vddc-supply: 26 vddio-supply: 29 vddlvds-supply: [all …]
|
H A D | nxp,ptn3460.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/nxp,ptn3460.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP PTN3460 eDP to LVDS bridge 10 - Sean Paul <seanpaul@chromium.org> 17 description: I2C address of the bridge 20 edid-emulation: 34 powerdown-gpios: 38 reset-gpios: [all …]
|
H A D | parade,ps8622.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/parade,ps8622.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Parade PS8622/PS8625 DisplayPort to LVDS Converter 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 15 - parade,ps8622 16 - parade,ps8625 21 lane-count: 26 use-external-pwm: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/imx/ |
H A D | ldb.txt | 1 Device-Tree bindings for LVDS Display Bridge (ldb) 3 LVDS Display Bridge 6 The LVDS Display Bridge device tree node contains up to two lvds-channel 7 nodes describing each of the two LVDS encoder channels of the bridge. 10 - #address-cells : should be <1> 11 - #size-cells : should be <0> 12 - compatible : should be "fsl,imx53-ldb" or "fsl,imx6q-ldb". 15 interfaces as input for each LVDS channel. 16 - gpr : should be <&gpr> on i.MX53 and i.MX6q. 17 The phandle points to the iomuxc-gpr region containing the LVDS [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_of.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <linux/media-bus-format.h> 25 * drm_of_crtc_port_mask - find the mask of a registered CRTC by port OF node 39 if (tmp->port == port) in drm_of_crtc_port_mask() 50 * drm_of_find_possible_crtcs - find the possible CRTCs for an encoder port 83 * drm_of_component_match_add - Add a component helper OF node match rule 101 * drm_of_component_probe - Generic probe function for a component based master 121 if (!dev->of_node) in drm_of_component_probe() 122 return -EINVAL; in drm_of_component_probe() 129 port = of_parse_phandle(dev->of_node, "ports", i); in drm_of_component_probe() [all …]
|
/openbmc/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_lvds.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Mark Yao <mark.yao@rock-chips.com> 6 * Sandy Huang <hjc@rock-chips.com> 39 * struct rockchip_lvds_soc_data - rockchip lvds Soc private data 40 * @probe: LVDS platform probe function 41 * @helper_funcs: LVDS connector helper functions 44 int (*probe)(struct platform_device *pdev, struct rockchip_lvds *lvds); 55 int output; /* rgb lvds or dual lvds output */ 59 struct drm_bridge *bridge; member 77 static inline void rk3288_writel(struct rockchip_lvds *lvds, u32 offset, in rk3288_writel() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | rgb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 96 tegra_dc_write_regs(rgb->dc, rgb_disable, ARRAY_SIZE(rgb_disable)); in tegra_rgb_encoder_disable() 97 tegra_dc_commit(rgb->dc); in tegra_rgb_encoder_disable() 106 tegra_dc_write_regs(rgb->dc, rgb_enable, ARRAY_SIZE(rgb_enable)); in tegra_rgb_encoder_enable() 109 tegra_dc_writel(rgb->dc, value, DC_DISP_DATA_ENABLE_OPTIONS); in tegra_rgb_encoder_enable() 112 value = tegra_dc_readl(rgb->dc, DC_COM_PIN_OUTPUT_POLARITY(1)); in tegra_rgb_encoder_enable() 115 tegra_dc_writel(rgb->dc, value, DC_COM_PIN_OUTPUT_POLARITY(1)); in tegra_rgb_encoder_enable() 120 tegra_dc_writel(rgb->dc, value, DC_DISP_DISP_INTERFACE_CONTROL); in tegra_rgb_encoder_enable() 122 tegra_dc_commit(rgb->dc); in tegra_rgb_encoder_enable() 127 if (!rgb->pll_d2_out0) in tegra_rgb_pll_rate_change_allowed() [all …]
|