/Linux-v5.15/drivers/gpu/drm/rockchip/ |
D | rockchip_lvds.c | 45 * struct rockchip_lvds_soc_data - rockchip lvds Soc private data 46 * @probe: LVDS platform probe function 47 * @helper_funcs: LVDS connector helper functions 50 int (*probe)(struct platform_device *pdev, struct rockchip_lvds *lvds); 61 int output; /* rgb lvds or dual lvds output */ 71 static inline void rk3288_writel(struct rockchip_lvds *lvds, u32 offset, in rk3288_writel() argument 74 writel_relaxed(val, lvds->regs + offset); in rk3288_writel() 75 if (lvds->output == DISPLAY_OUTPUT_LVDS) in rk3288_writel() 77 writel_relaxed(val, lvds->regs + offset + RK3288_LVDS_CH1_OFFSET); in rk3288_writel() 96 else if (strncmp(s, "lvds", 4) == 0) in rockchip_lvds_name_to_output() [all …]
|
/Linux-v5.15/drivers/gpu/drm/panel/ |
D | panel-lvds.c | 3 * Generic LVDS panel driver 51 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_unprepare() local 53 if (lvds->enable_gpio) in panel_lvds_unprepare() 54 gpiod_set_value_cansleep(lvds->enable_gpio, 0); in panel_lvds_unprepare() 56 if (lvds->supply) in panel_lvds_unprepare() 57 regulator_disable(lvds->supply); in panel_lvds_unprepare() 64 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_prepare() local 66 if (lvds->supply) { in panel_lvds_prepare() 69 err = regulator_enable(lvds->supply); in panel_lvds_prepare() 71 dev_err(lvds->dev, "failed to enable supply: %d\n", in panel_lvds_prepare() [all …]
|
/Linux-v5.15/drivers/gpu/drm/rcar-du/ |
D | rcar_lvds.c | 3 * rcar_lvds.c -- R-Car LVDS Encoder 47 #define RCAR_LVDS_QUIRK_LANES BIT(0) /* LVDS lanes 1 and 3 inverted */ 56 void (*pll_setup)(struct rcar_lvds *lvds, unsigned int freq); 82 static void rcar_lvds_write(struct rcar_lvds *lvds, u32 reg, u32 data) in rcar_lvds_write() argument 84 iowrite32(data, lvds->mmio + reg); in rcar_lvds_write() 91 static void rcar_lvds_pll_setup_gen2(struct rcar_lvds *lvds, unsigned int freq) in rcar_lvds_pll_setup_gen2() argument 104 rcar_lvds_write(lvds, LVDPLLCR, val); in rcar_lvds_pll_setup_gen2() 107 static void rcar_lvds_pll_setup_gen3(struct rcar_lvds *lvds, unsigned int freq) in rcar_lvds_pll_setup_gen3() argument 120 rcar_lvds_write(lvds, LVDPLLCR, val); in rcar_lvds_pll_setup_gen3() 132 static void rcar_lvds_d3_e3_pll_calc(struct rcar_lvds *lvds, struct clk *clk, in rcar_lvds_d3_e3_pll_calc() argument [all …]
|
D | rcar_du_of.c | 102 * LVDS Overlays 105 RCAR_DU_OF_DTB(lvds, r8a7790); 106 RCAR_DU_OF_DTB(lvds, r8a7791); 107 RCAR_DU_OF_DTB(lvds, r8a7793); 108 RCAR_DU_OF_DTB(lvds, r8a7795); 109 RCAR_DU_OF_DTB(lvds, r8a7796); 112 RCAR_DU_OF_OVERLAY(lvds, r8a7790), 113 RCAR_DU_OF_OVERLAY(lvds, r8a7791), 114 RCAR_DU_OF_OVERLAY(lvds, r8a7793), 115 RCAR_DU_OF_OVERLAY(lvds, r8a7795), [all …]
|
D | rcar_du_of_lvds_r8a7790.dts | 3 * rcar_du_of_lvds_r8a7790.dts - Legacy LVDS DT bindings conversion for R8A7790 15 lvds@feb90000 { 16 compatible = "renesas,r8a7790-lvds"; 36 lvds@feb94000 { 37 compatible = "renesas,r8a7790-lvds";
|
/Linux-v5.15/Documentation/devicetree/bindings/display/bridge/ |
D | renesas,lvds.yaml | 4 $id: http://devicetree.org/schemas/display/bridge/renesas,lvds.yaml# 7 title: Renesas R-Car LVDS Encoder 13 These DT bindings describe the LVDS encoder embedded in the Renesas R-Car 19 - renesas,r8a7742-lvds # for RZ/G1H compatible LVDS encoders 20 - renesas,r8a7743-lvds # for RZ/G1M compatible LVDS encoders 21 - renesas,r8a7744-lvds # for RZ/G1N compatible LVDS encoders 22 - renesas,r8a774a1-lvds # for RZ/G2M compatible LVDS encoders 23 - renesas,r8a774b1-lvds # for RZ/G2N compatible LVDS encoders 24 - renesas,r8a774c0-lvds # for RZ/G2E compatible LVDS encoders 25 - renesas,r8a774e1-lvds # for RZ/G2H compatible LVDS encoders [all …]
|
D | lvds-codec.yaml | 4 $id: http://devicetree.org/schemas/display/bridge/lvds-codec.yaml# 7 title: Transparent LVDS encoders and decoders 13 This binding supports transparent LVDS encoders and decoders that don't 16 LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple 18 to LVDS panels. This binding targets devices compatible with the following 23 [LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National 39 - const: lvds-encoder # Generic LVDS encoder compatible fallback 42 - ti,ds90cf384a # For the DS90CF384A FPD-Link LVDS Receiver 43 - const: lvds-decoder # Generic LVDS decoders compatible fallback 45 - thine,thc63lvdm83d # For the THC63LVDM83D LVDS serializer [all …]
|
D | toshiba,tc358775.yaml | 7 title: Toshiba TC358775 DSI to LVDS bridge bindings 13 This binding supports DSI to LVDS bridge TC358775 17 Up to 1600x1200 24-bit/pixel resolution for single-link LVDS display panel 18 limited by 135 MHz LVDS speed 19 Up to WUXGA (1920x1200 24-bit pixels) resolution for dual-link LVDS display 20 panel, limited by 270 MHz LVDS speed. 31 description: 1.2V LVDS Power Supply 57 Video port for LVDS output (panel or connector). 62 Video port for Dual link LVDS output (panel or connector). 83 /* For single-link LVDS display panel */ [all …]
|
D | thine,thc63lvd1024.yaml | 7 title: Thine Electronics THC63LVD1024 LVDS Decoder 14 The THC63LVD1024 is a dual link LVDS receiver designed to convert LVDS 16 modes, handling up to two LVDS input streams and up to two digital CMOS/TTL 45 description: First LVDS input port 49 description: Second LVDS input port 73 Power supply for the TTL output, TTL CLOCKOUT signal, LVDS input, PLL and 87 lvds-decoder {
|
/Linux-v5.15/drivers/gpu/drm/sun4i/ |
D | sun4i_lvds.c | 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 84 DRM_DEBUG_DRIVER("Disabling LVDS output\n"); in sun4i_lvds_encoder_disable() 86 if (lvds->panel) { in sun4i_lvds_encoder_disable() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/display/imx/ |
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. 15 interfaces as input for each LVDS channel. 17 The phandle points to the iomuxc-gpr region containing the LVDS 23 "di0_pll" - LDB LVDS channel 0 mux 24 "di1_pll" - LDB LVDS channel 1 mux 25 "di0" - LDB LVDS channel 0 gate 26 "di1" - LDB LVDS channel 1 gate [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/display/panel/ |
D | advantech,idk-2121wr.yaml | 7 title: Advantech IDK-2121WR 21.5" Full-HD dual-LVDS panel 14 The IDK-2121WR from Advantech is a Full-HD dual-LVDS panel. 15 A dual-LVDS interface is a dual-link connection with even pixels traveling 20 dual-lvds-odd-pixels or dual-lvds-even-pixels). 26 - {} # panel-lvds, but not listed here to avoid false select 48 dual-lvds-odd-pixels: true 51 - dual-lvds-odd-pixels 58 dual-lvds-even-pixels: true 61 - dual-lvds-even-pixels 79 panel-lvds { [all …]
|
D | lvds.yaml | 4 $id: http://devicetree.org/schemas/display/panel/lvds.yaml# 7 title: LVDS Display Panel 14 LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple 16 to LVDS panels. This bindings supports display panels compatible with the 21 [LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National 35 const: panel-lvds 37 Shall contain "panel-lvds" in addition to a mandatory panel-specific 38 compatible string defined in individual panel bindings. The "panel-lvds" 49 LVDS data mappings are defined as follows. 52 [VESA] specifications. Data are transferred as follows on 3 LVDS lanes. [all …]
|
/Linux-v5.15/drivers/gpu/drm/bridge/ |
D | Kconfig | 130 tristate "Transparent LVDS encoders and decoders support" 135 Support for transparent LVDS encoders and decoders that don't 145 GE B850v3 that convert dual channel LVDS 166 tristate "NXP PTN3460 DP/LVDS bridge" 171 NXP PTN3460 eDP-LVDS bridge chip driver. 174 tristate "Parade eDP/LVDS bridge" 180 Parade eDP-LVDS bridge chip driver. 229 tristate "Thine THC63LVD1024 LVDS decoder bridge" 232 Thine THC63LVD1024 LVDS/parallel converter driver. 244 tristate "TC358764 DSI/LVDS bridge" [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/renesas/ |
D | r8a774c0-ek874-idk-2121wr.dts | 4 * connected to an Advantech IDK-2121WR 21.5" LVDS panel 23 panel-lvds { 24 compatible = "advantech,idk-2121wr", "panel-lvds"; 49 dual-lvds-odd-pixels; 57 dual-lvds-even-pixels; 68 * When GP0_17 is low LVDS[01] are connected to the LVDS connector 69 * When GP0_17 is high LVDS[01] are connected to the LT8918L 71 lvds-connector-en-gpio{ 75 line-name = "lvds-connector-en-gpio";
|
D | hihope-rzg2-ex-lvds.dtsi | 3 * Device Tree Source for the RZ/G2[MN] HiHope sub board LVDS common parts 20 * When GP1_20 is LOW LVDS0 is connected to the LVDS connector 23 lvds-connector-en-gpio { 27 line-name = "lvds-connector-en-gpio";
|
/Linux-v5.15/Documentation/devicetree/bindings/display/rockchip/ |
D | rockchip-lvds.txt | 1 Rockchip RK3288 LVDS interface 6 - "rockchip,rk3288-lvds"; 7 - "rockchip,px30-lvds"; 20 - rockchip,output: "rgb", "lvds" or "duallvds", This describes the output interface 22 - phys: LVDS/DSI DPHY (px30 only) 31 The lvds has two video ports as described by 41 lvds_panel: lvds-panel { 55 lvds: lvds@ff96c000 { 56 compatible = "rockchip,rk3288-lvds";
|
/Linux-v5.15/drivers/gpu/drm/gma500/ |
D | cdv_intel_lvds.c | 25 * LVDS I2C backlight control macros 142 /* XXX: We never power down the LVDS pairs. */ in cdv_intel_lvds_encoder_dpms() 193 pr_err("Can't enable LVDS and another encoder on the same pipe\n"); in cdv_intel_lvds_mode_fixup() 268 * The LVDS pin pair will already have been turned on in the in cdv_intel_lvds_mode_set() 321 * cdv_intel_lvds_destroy - unregister and free LVDS structures 423 * the LVDS is present. 426 * If no child dev is parsed from VBT, it assumes that the LVDS is present. 452 * the VBT correctly. Since LVDS requires additional in lvds_is_present_in_vbt() 454 * a good indicator that the LVDS is actually present. in lvds_is_present_in_vbt() 462 * the OpRegion then they have validated the LVDS's existence. in lvds_is_present_in_vbt() [all …]
|
D | psb_intel_lvds.c | 23 * LVDS I2C backlight control macros 83 * Set LVDS backlight level by I2C command 152 dev_info(dev->dev, "Backlight lvds set brightness %08x\n", in psb_lvds_pwm_set_brightness() 160 * Set LVDS backlight level either by I2C or PWM 169 dev_err(dev->dev, "NO LVDS backlight info\n"); in psb_intel_lvds_set_brightness() 251 /* XXX: We never power down the LVDS pairs. */ in psb_intel_lvds_encoder_dpms() 265 lvds_priv->saveLVDS = REG_READ(LVDS); in psb_intel_lvds_save() 318 REG_WRITE(LVDS, lvds_priv->saveLVDS); in psb_intel_lvds_restore() 378 /* PSB requires the LVDS is on pipe B, MRST has only one pipe anyway */ in psb_intel_lvds_mode_fixup() 380 pr_err("Can't support LVDS on pipe A\n"); in psb_intel_lvds_mode_fixup() [all …]
|
D | oaktrail_lvds.c | 78 /* XXX: We never power down the LVDS pairs. */ in oaktrail_lvds_dpms() 98 * The LVDS pin pair will already have been turned on in the in oaktrail_lvds_mode_set() 102 lvds_port = (REG_READ(LVDS) & in oaktrail_lvds_mode_set() 112 REG_WRITE(LVDS, lvds_port); in oaktrail_lvds_mode_set() 267 /* Then try the LVDS VBT mode */ in oaktrail_lvds_get_configuration_mode() 283 * oaktrail_lvds_init - setup LVDS connectors on this device 287 * Create the connector, register the LVDS DDC bus, and try to figure out what 288 * modes we can display on the LVDS panel (if present). 344 * LVDS discovery: in oaktrail_lvds_init() 347 * 3) check to see if LVDS is already on in oaktrail_lvds_init() [all …]
|
/Linux-v5.15/drivers/gpu/drm/i915/display/ |
D | intel_lvds.c | 50 /* Private structure for the integrated LVDS support */ 196 drm_dbg(&dev_priv->drm, "LVDS PPS:t1+t2 %d t3 %d t4 %d t5 %d tx %d " in intel_lvds_pps_get_hw_state() 280 * Set the dithering flag on LVDS as needed, note that there is no in intel_pre_enable_lvds() 281 * special lvds dither control bit on pch-split platforms, dithering is in intel_pre_enable_lvds() 286 * Bspec wording suggests that LVDS port dithering only exists in intel_pre_enable_lvds() 420 drm_err(&dev_priv->drm, "Can't support LVDS on pipe A\n"); in intel_lvds_compute_config() 431 "forcing display bpp (was %d) to LVDS (%d)\n", in intel_lvds_compute_config() 514 DRM_INFO("Skipping LVDS initialization for %s\n", id->ident); in intel_no_lvds_dmi_callback() 518 /* These systems claim to have LVDS, but really don't */ 733 DRM_INFO("Forcing lvds to dual link mode on %s\n", id->ident); in intel_dual_link_lvds_callback() [all …]
|
/Linux-v5.15/drivers/gpu/drm/ |
D | drm_of.c | 295 of_property_read_bool(port_node, "dual-lvds-even-pixels"); in drm_of_lvds_get_port_pixels_type() 297 of_property_read_bool(port_node, "dual-lvds-odd-pixels"); in drm_of_lvds_get_port_pixels_type() 344 * drm_of_lvds_get_dual_link_pixel_order - Get LVDS dual-link pixel order 345 * @port1: First DT port node of the Dual-link LVDS source 346 * @port2: Second DT port node of the Dual-link LVDS source 348 * An LVDS dual-link connection is made of two links, with even pixels 350 * returns, for two ports of an LVDS dual-link source, which port shall transmit 353 * The pixel order is determined from the dual-lvds-even-pixels and 354 * dual-lvds-odd-pixels properties in the sink's DT port nodes. If those 361 * parents when, for instance, two separate LVDS encoders carry the even and odd [all …]
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/bios/ |
D | bios_parser.c | 1000 /* for SS_Info table only support DP and LVDS */ in get_ss_info_from_tbl() 1215 ATOM_LVDS_INFO_V12 *lvds; in get_embedded_panel_info_v1_2() local 1223 lvds = in get_embedded_panel_info_v1_2() 1226 if (!lvds) in get_embedded_panel_info_v1_2() 1229 if (1 != lvds->sHeader.ucTableFormatRevision in get_embedded_panel_info_v1_2() 1230 || 2 > lvds->sHeader.ucTableContentRevision) in get_embedded_panel_info_v1_2() 1237 le16_to_cpu(lvds->sLCDTiming.usPixClk) * 10; in get_embedded_panel_info_v1_2() 1240 le16_to_cpu(lvds->sLCDTiming.usHActive); in get_embedded_panel_info_v1_2() 1242 * borders duing this translation, but LVDS generally*/ in get_embedded_panel_info_v1_2() 1244 * now. May need to revisit if we ever have LVDS with borders*/ in get_embedded_panel_info_v1_2() [all …]
|
/Linux-v5.15/drivers/gpu/drm/radeon/ |
D | radeon_combios.c | 1103 struct radeon_encoder_lvds *lvds = NULL; in radeon_legacy_get_lvds_info_from_regs() local 1108 lvds = kzalloc(sizeof(struct radeon_encoder_lvds), GFP_KERNEL); in radeon_legacy_get_lvds_info_from_regs() 1110 if (!lvds) in radeon_legacy_get_lvds_info_from_regs() 1117 lvds->panel_pwr_delay = 200; in radeon_legacy_get_lvds_info_from_regs() 1118 lvds->panel_vcc_delay = 2000; in radeon_legacy_get_lvds_info_from_regs() 1120 lvds->lvds_gen_cntl = RREG32(RADEON_LVDS_GEN_CNTL); in radeon_legacy_get_lvds_info_from_regs() 1121 lvds->panel_digon_delay = (lvds_ss_gen_cntl >> RADEON_LVDS_PWRSEQ_DELAY1_SHIFT) & 0xf; in radeon_legacy_get_lvds_info_from_regs() 1122 lvds->panel_blon_delay = (lvds_ss_gen_cntl >> RADEON_LVDS_PWRSEQ_DELAY2_SHIFT) & 0xf; in radeon_legacy_get_lvds_info_from_regs() 1125 lvds->native_mode.vdisplay = in radeon_legacy_get_lvds_info_from_regs() 1129 lvds->native_mode.vdisplay = in radeon_legacy_get_lvds_info_from_regs() [all …]
|
D | radeon_legacy_encoders.c | 70 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update() local 71 panel_pwr_delay = lvds->panel_pwr_delay; in radeon_legacy_lvds_update() 72 if (lvds->bl_dev) in radeon_legacy_lvds_update() 73 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update() 75 struct radeon_encoder_lvds *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update() local 76 panel_pwr_delay = lvds->panel_pwr_delay; in radeon_legacy_lvds_update() 77 if (lvds->bl_dev) in radeon_legacy_lvds_update() 78 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update() 82 /* macs (and possibly some x86 oem systems?) wire up LVDS strangely in radeon_legacy_lvds_update() 151 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_dpms() local [all …]
|