Skip to content

Commit c08ba5f

Browse files
Yannick FertrePatrice CHOTARD
authored andcommitted
video: stm32: lvds: remove polarities settings
The LVDS bridge controls the polarities of the signal. To avoid permutation of polarities, LVDS bridge should not control them. This task is performed exclusively by the LTDC. Change-Id: Id593447397c8bb4fcdf5aa0f860f4357efc286c8 Signed-off-by: Yannick Fertre <yannick.fertre@foss.st.com> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/u-boot/+/530957 ACI: CITOOLS <MDG-smet-aci-reviews@list.st.com> Reviewed-by: Patrice CHOTARD <patrice.chotard@foss.st.com> ACI: CIBUILD <MDG-smet-aci-builds@list.st.com>
1 parent 7cdc319 commit c08ba5f

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

drivers/video/stm32/stm32_lvds.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -410,16 +410,6 @@ static int stm32_lvds_enable(struct udevice *dev,
410410
if (lvds->link_type & LVDS_SINGLE_LINK_SECONDARY)
411411
lvds_cdl2cr = CDL2CR_4DL_DEFAULT;
412412

413-
/* Set signal polarity */
414-
if (timings->flags & DISPLAY_FLAGS_DE_LOW)
415-
lvds_cr |= CR_DEPOL;
416-
417-
if (timings->flags & DISPLAY_FLAGS_HSYNC_LOW)
418-
lvds_cr |= CR_HSPOL;
419-
420-
if (timings->flags & DISPLAY_FLAGS_VSYNC_LOW)
421-
lvds_cr |= CR_VSPOL;
422-
423413
/* Set link phase */
424414
switch (lvds->link_type) {
425415
case LVDS_DUAL_LINK_EVEN_ODD_PIXELS: /* LKPHA = 0 */

0 commit comments

Comments
 (0)