/Linux-v5.4/drivers/gpu/drm/rockchip/ |
D | rockchip_lvds.c | 40 * rockchip_lvds_soc_data - rockchip lvds Soc private data 41 * @ch1_offset: lvds channel 1 registe offset 42 * grf_soc_con6: general registe offset for LVDS contrl 43 * grf_soc_con7: general registe offset for LVDS contrl 59 int output; /* rgb lvds or dual lvds output */ 69 static inline void lvds_writel(struct rockchip_lvds *lvds, u32 offset, u32 val) in lvds_writel() argument 71 writel_relaxed(val, lvds->regs + offset); in lvds_writel() 72 if (lvds->output == DISPLAY_OUTPUT_LVDS) in lvds_writel() 74 writel_relaxed(val, lvds->regs + offset + lvds->soc_data->ch1_offset); in lvds_writel() 93 else if (strncmp(s, "lvds", 4) == 0) in lvds_name_to_output() [all …]
|
D | Kconfig | 63 bool "Rockchip LVDS support" 67 Choose this option to enable support for Rockchip LVDS controllers. 68 Rockchip rk3288 SoC has LVDS TX Controller can be used, and it 69 support LVDS, rgb, dual LVDS output mode. say Y to enable its
|
/Linux-v5.4/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_disable() local 53 if (lvds->backlight) { in panel_lvds_disable() 54 lvds->backlight->props.power = FB_BLANK_POWERDOWN; in panel_lvds_disable() 55 lvds->backlight->props.state |= BL_CORE_FBBLANK; in panel_lvds_disable() 56 backlight_update_status(lvds->backlight); in panel_lvds_disable() 64 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_unprepare() local 66 if (lvds->enable_gpio) in panel_lvds_unprepare() 67 gpiod_set_value_cansleep(lvds->enable_gpio, 0); in panel_lvds_unprepare() 69 if (lvds->supply) in panel_lvds_unprepare() [all …]
|
/Linux-v5.4/drivers/gpu/drm/rcar-du/ |
D | rcar_lvds.c | 3 * rcar_lvds.c -- R-Car LVDS Encoder 38 #define RCAR_LVDS_QUIRK_LANES BIT(0) /* LVDS lanes 1 and 3 inverted */ 47 void (*pll_setup)(struct rcar_lvds *lvds, unsigned int freq); 80 static void rcar_lvds_write(struct rcar_lvds *lvds, u32 reg, u32 data) in rcar_lvds_write() argument 82 iowrite32(data, lvds->mmio + reg); in rcar_lvds_write() 91 struct rcar_lvds *lvds = connector_to_rcar_lvds(connector); in rcar_lvds_connector_get_modes() local 93 return drm_panel_get_modes(lvds->panel); in rcar_lvds_connector_get_modes() 99 struct rcar_lvds *lvds = connector_to_rcar_lvds(connector); in rcar_lvds_connector_atomic_check() local 109 dev_dbg(lvds->dev, "connector: empty modes list\n"); in rcar_lvds_connector_atomic_check() 148 static void rcar_lvds_pll_setup_gen2(struct rcar_lvds *lvds, unsigned int freq) in rcar_lvds_pll_setup_gen2() 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.4/Documentation/devicetree/bindings/display/bridge/ |
D | renesas,lvds.txt | 1 Renesas R-Car LVDS Encoder 4 These DT bindings describe the LVDS encoder embedded in the Renesas R-Car 10 - "renesas,r8a7743-lvds" for R8A7743 (RZ/G1M) compatible LVDS encoders 11 - "renesas,r8a7744-lvds" for R8A7744 (RZ/G1N) compatible LVDS encoders 12 - "renesas,r8a774a1-lvds" for R8A774A1 (RZ/G2M) compatible LVDS encoders 13 - "renesas,r8a774c0-lvds" for R8A774C0 (RZ/G2E) compatible LVDS encoders 14 - "renesas,r8a7790-lvds" for R8A7790 (R-Car H2) compatible LVDS encoders 15 - "renesas,r8a7791-lvds" for R8A7791 (R-Car M2-W) compatible LVDS encoders 16 - "renesas,r8a7793-lvds" for R8A7793 (R-Car M2-N) compatible LVDS encoders 17 - "renesas,r8a7795-lvds" for R8A7795 (R-Car H3) compatible LVDS encoders [all …]
|
D | lvds-transmitter.txt | 1 Parallel to LVDS Encoder 4 This binding supports the parallel to LVDS encoders that don't require any 7 LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple 9 to LVDS panels. This binding targets devices compatible with the following 14 [LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National 25 - compatible: Must be "lvds-encoder" 37 - Video port 1 for LVDS output 43 lvds-encoder { 44 compatible = "lvds-encoder";
|
D | thine,thc63lvd1024.txt | 1 Thine Electronics THC63LVD1024 LVDS decoder 4 The THC63LVD1024 is a dual link LVDS receiver designed to convert LVDS streams 6 handling up to two LVDS input streams and up to two digital CMOS/TTL outputs. 13 - vcc-supply: Power supply for TTL output, TTL CLOCKOUT signal, LVDS input, 24 - port@0: First LVDS input port 28 - port@1: Second LVDS input port 40 thc63lvd1024: lvds-decoder {
|
D | ti,ds90c185.txt | 1 Texas Instruments FPD-Link (LVDS) Serializer 11 "ti,ds90c185", "lvds-encoder" for the TI DS90C185 FPD-Link Serializer 12 "ti,ds90c187", "lvds-encoder" for the TI DS90C187 FPD-Link Serializer 24 - Video port 1 for LVDS output 30 lvds-encoder { 31 compatible = "ti,ds90c185", "lvds-encoder";
|
/Linux-v5.4/drivers/gpu/drm/sun4i/ |
D | sun4i_lvds.c | 42 struct sun4i_lvds *lvds = in sun4i_lvds_get_modes() local 45 return drm_panel_get_modes(lvds->panel); in sun4i_lvds_get_modes() 55 struct sun4i_lvds *lvds = drm_connector_to_sun4i_lvds(connector); in sun4i_lvds_connector_destroy() local 57 drm_panel_detach(lvds->panel); in sun4i_lvds_connector_destroy() 71 struct sun4i_lvds *lvds = drm_encoder_to_sun4i_lvds(encoder); in sun4i_lvds_encoder_enable() local 73 DRM_DEBUG_DRIVER("Enabling LVDS output\n"); in sun4i_lvds_encoder_enable() 75 if (lvds->panel) { in sun4i_lvds_encoder_enable() 76 drm_panel_prepare(lvds->panel); in sun4i_lvds_encoder_enable() 77 drm_panel_enable(lvds->panel); in sun4i_lvds_encoder_enable() 83 struct sun4i_lvds *lvds = drm_encoder_to_sun4i_lvds(encoder); in sun4i_lvds_encoder_disable() local [all …]
|
/Linux-v5.4/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.4/Documentation/devicetree/bindings/display/ |
D | renesas,du.txt | 58 R8A7743 (RZ/G1M) DPAD 0 LVDS 0 - - 59 R8A7744 (RZ/G1N) DPAD 0 LVDS 0 - - 61 R8A77470 (RZ/G1C) DPAD 0 DPAD 1 LVDS 0 - 62 R8A774A1 (RZ/G2M) DPAD 0 HDMI 0 LVDS 0 - 63 R8A774C0 (RZ/G2E) DPAD 0 LVDS 0 LVDS 1 - 65 R8A7790 (R-Car H2) DPAD 0 LVDS 0 LVDS 1 - 66 R8A7791 (R-Car M2-W) DPAD 0 LVDS 0 - - 68 R8A7793 (R-Car M2-N) DPAD 0 LVDS 0 - - 70 R8A7795 (R-Car H3) DPAD 0 HDMI 0 HDMI 1 LVDS 0 71 R8A7796 (R-Car M3-W) DPAD 0 HDMI 0 LVDS 0 - [all …]
|
/Linux-v5.4/drivers/gpu/drm/bridge/ |
D | Kconfig | 49 tristate "Transparent parallel to LVDS encoder support" 54 Support for transparent parallel to LVDS encoders that don't require 64 GE B850v3 that convert dual channel LVDS 69 tristate "NXP PTN3460 DP/LVDS bridge" 74 NXP PTN3460 eDP-LVDS bridge chip driver. 77 tristate "Parade eDP/LVDS bridge" 83 Parade eDP-LVDS bridge chip driver. 113 tristate "Thine THC63LVD1024 LVDS decoder bridge" 116 Thine THC63LVD1024 LVDS/parallel converter driver. 119 tristate "TC358764 DSI/LVDS bridge" [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/display/panel/ |
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 …]
|
D | sgd,gktw70sdae4se.yaml | 7 title: Solomon Goldentek Display GKTW70SDAE4SE 7" WVGA LVDS Display Panel 14 - $ref: lvds.yaml# 20 - {} # panel-lvds, but not listed here to avoid false select 42 compatible = "sgd,gktw70sdae4se", "panel-lvds";
|
/Linux-v5.4/Documentation/devicetree/bindings/display/rockchip/ |
D | rockchip-lvds.txt | 1 Rockchip RK3288 LVDS interface 6 - "rockchip,rk3288-lvds"; 19 - rockchip,output: "rgb", "lvds" or "duallvds", This describes the output interface 27 The lvds has two video ports as described by 37 lvds_panel: lvds-panel { 51 lvds: lvds@ff96c000 { 52 compatible = "rockchip,rk3288-lvds";
|
/Linux-v5.4/drivers/gpu/drm/gma500/ |
D | cdv_intel_lvds.c | 23 * LVDS I2C backlight control macros 77 * Set LVDS backlight level by I2C command 140 * Set LVDS backlight level either by I2C or PWM 147 DRM_ERROR("NO LVDS Backlight Info\n"); 223 /* XXX: We never power down the LVDS pairs. */ in cdv_intel_lvds_encoder_dpms() 274 pr_err("Can't enable LVDS and another encoder on the same pipe\n"); in cdv_intel_lvds_mode_fixup() 349 * The LVDS pin pair will already have been turned on in the in cdv_intel_lvds_mode_set() 402 * cdv_intel_lvds_destroy - unregister and free LVDS structures 514 * the LVDS is present. 517 * If no child dev is parsed from VBT, it assumes that the LVDS is present. [all …]
|
D | psb_intel_lvds.c | 21 * LVDS I2C backlight control macros 81 * Set LVDS backlight level by I2C command 150 dev_info(dev->dev, "Backlight lvds set brightness %08x\n", in psb_lvds_pwm_set_brightness() 158 * Set LVDS backlight level either by I2C or PWM 167 dev_err(dev->dev, "NO LVDS backlight info\n"); in psb_intel_lvds_set_brightness() 249 /* XXX: We never power down the LVDS pairs. */ in psb_intel_lvds_encoder_dpms() 263 lvds_priv->saveLVDS = REG_READ(LVDS); in psb_intel_lvds_save() 316 REG_WRITE(LVDS, lvds_priv->saveLVDS); in psb_intel_lvds_restore() 376 /* PSB requires the LVDS is on pipe B, MRST has only one pipe anyway */ in psb_intel_lvds_mode_fixup() 378 pr_err("Can't support LVDS on pipe A\n"); in psb_intel_lvds_mode_fixup() [all …]
|
D | oaktrail_lvds.c | 76 /* XXX: We never power down the LVDS pairs. */ in oaktrail_lvds_dpms() 96 * The LVDS pin pair will already have been turned on in the in oaktrail_lvds_mode_set() 100 lvds_port = (REG_READ(LVDS) & in oaktrail_lvds_mode_set() 110 REG_WRITE(LVDS, lvds_port); in oaktrail_lvds_mode_set() 264 /* Then try the LVDS VBT mode */ in oaktrail_lvds_get_configuration_mode() 280 * oaktrail_lvds_init - setup LVDS connectors on this device 283 * Create the connector, register the LVDS DDC bus, and try to figure out what 284 * modes we can display on the LVDS panel (if present). 341 * LVDS discovery: in oaktrail_lvds_init() 344 * 3) check to see if LVDS is already on in oaktrail_lvds_init() [all …]
|
/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | intel_lvds.c | 50 /* Private structure for the integrated LVDS support */ 195 DRM_DEBUG_DRIVER("LVDS PPS:t1+t2 %d t3 %d t4 %d t5 %d tx %d " in intel_lvds_pps_get_hw_state() 282 * Set the dithering flag on LVDS as needed, note that there is no in intel_pre_enable_lvds() 283 * special lvds dither control bit on pch-split platforms, dithering is in intel_pre_enable_lvds() 288 * Bspec wording suggests that LVDS port dithering only exists in intel_pre_enable_lvds() 401 DRM_ERROR("Can't support LVDS on pipe A\n"); in intel_lvds_compute_config() 411 DRM_DEBUG_KMS("forcing display bpp (was %d) to LVDS (%d)\n", in intel_lvds_compute_config() 501 DRM_INFO("Skipping LVDS initialization for %s\n", id->ident); in intel_no_lvds_dmi_callback() 505 /* These systems claim to have LVDS, but really don't */ 720 DRM_INFO("Forcing lvds to dual link mode on %s\n", id->ident); in intel_dual_link_lvds_callback() [all …]
|
/Linux-v5.4/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() 1212 ATOM_LVDS_INFO_V12 *lvds; in get_embedded_panel_info_v1_2() local 1220 lvds = in get_embedded_panel_info_v1_2() 1223 if (!lvds) in get_embedded_panel_info_v1_2() 1226 if (1 != lvds->sHeader.ucTableFormatRevision in get_embedded_panel_info_v1_2() 1227 || 2 > lvds->sHeader.ucTableContentRevision) in get_embedded_panel_info_v1_2() 1234 le16_to_cpu(lvds->sLCDTiming.usPixClk) * 10; in get_embedded_panel_info_v1_2() 1237 le16_to_cpu(lvds->sLCDTiming.usHActive); in get_embedded_panel_info_v1_2() 1239 * borders duing this translation, but LVDS generally*/ in get_embedded_panel_info_v1_2() 1241 * now. May need to revisit if we ever have LVDS with borders*/ in get_embedded_panel_info_v1_2() [all …]
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | radeon_combios.c | 1106 struct radeon_encoder_lvds *lvds = NULL; in radeon_legacy_get_lvds_info_from_regs() local 1111 lvds = kzalloc(sizeof(struct radeon_encoder_lvds), GFP_KERNEL); in radeon_legacy_get_lvds_info_from_regs() 1113 if (!lvds) in radeon_legacy_get_lvds_info_from_regs() 1120 lvds->panel_pwr_delay = 200; in radeon_legacy_get_lvds_info_from_regs() 1121 lvds->panel_vcc_delay = 2000; in radeon_legacy_get_lvds_info_from_regs() 1123 lvds->lvds_gen_cntl = RREG32(RADEON_LVDS_GEN_CNTL); in radeon_legacy_get_lvds_info_from_regs() 1124 lvds->panel_digon_delay = (lvds_ss_gen_cntl >> RADEON_LVDS_PWRSEQ_DELAY1_SHIFT) & 0xf; in radeon_legacy_get_lvds_info_from_regs() 1125 lvds->panel_blon_delay = (lvds_ss_gen_cntl >> RADEON_LVDS_PWRSEQ_DELAY2_SHIFT) & 0xf; in radeon_legacy_get_lvds_info_from_regs() 1128 lvds->native_mode.vdisplay = in radeon_legacy_get_lvds_info_from_regs() 1132 lvds->native_mode.vdisplay = in radeon_legacy_get_lvds_info_from_regs() [all …]
|
D | radeon_legacy_encoders.c | 69 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update() local 70 panel_pwr_delay = lvds->panel_pwr_delay; in radeon_legacy_lvds_update() 71 if (lvds->bl_dev) in radeon_legacy_lvds_update() 72 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update() 74 struct radeon_encoder_lvds *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update() local 75 panel_pwr_delay = lvds->panel_pwr_delay; in radeon_legacy_lvds_update() 76 if (lvds->bl_dev) in radeon_legacy_lvds_update() 77 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update() 81 /* macs (and possibly some x86 oem systems?) wire up LVDS strangely in radeon_legacy_lvds_update() 150 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_dpms() local [all …]
|
/Linux-v5.4/drivers/video/fbdev/sis/ |
D | initdef.h | 261 [0] Set 24/18 bit (0/1) RGB to LVDS/TMDS transmitter (set by BIOS) 265 010 LVDS 266 011 LVDS + Tumpion Zurac 267 100 LVDS + Chrontel 7005 271 010 LVDS 272 011 LVDS + Chrontel 7019 277 [4] LVDS: 0: Panel Link expands / 1: Panel Link does not expand 305 #define SetToLCDA 0x02 /* LCD channel A (301C/302B/30x(E)LV and 650+LVDS only) */ 320 010 LVDS 334 D[7] LVDS (SiS or third party) [all …]
|