04 Aug, 2014

1 commit

  • Let's use the i.MX common miscellaneous reset API
    to reset the LCDIF block so that we may eliminate
    a random hang issue at the arch_preboot_os() stage
    when we disable the LCDIF. This patch also waits
    for a VSYNC interrupt to guarantee the reset is
    done at the VSYNC edge, which somehow makes the
    LCDIF consume the display FIFO(?) and helps the
    LCDIF work normally at the kernel stage.

    Tested-by: Jason Liu
    Tested-by: Sandor Yu
    Tested-by: Ye.Li
    Tested-by: Guo Sally
    Signed-off-by: Liu Ying

    Liu Ying
     

17 Jul, 2014

1 commit


11 Jul, 2014

1 commit

  • Vadc need long time to auto standards detection,
    the default standard is NTSC, if vadc connect to PAL
    camera and no enough time to detect the video mode,
    driver will get wrong standard.

    Confirmation from chip design architecture that auto detect function
    is not required by rear-view camera application.

    Setting register vdec_stddbg standard_filte bits to 0
    makes the standard detection faster, the issue duplicate
    decrease to 1%.

    Signed-off-by: Sandor Yu
    (cherry picked from commit 06735bf6724f2dad2dcbbfc188c6a17145c7126b)

    Sandor Yu
     

17 Jun, 2014

5 commits


13 Jun, 2014

2 commits


28 May, 2014

1 commit

  • Add EPDC splash screen feature for MX6SL EVK, and MX6DL SABRESD board.

    - Currently, splash screen consists of a simple black border
    around a white screen. Done this way to save in memory footprint.

    - EPDC splash screen is disabled by default in the config file for MX6DL_SABRESD
    and MX6SL_EVK. If left enabled, the U-Boot image will not boot correctly
    (hang), since some additional content on the boot device (waveform file) is
    required for EPDC splash to work correctly.

    Please refer to Linux Reference Manual for how to flash WAVEFORM file.

    Signed-off-by: Robby Cai
    Signed-off-by: Nitin Garg

    Nitin Garg
     

25 Mar, 2014

1 commit


18 Mar, 2014

1 commit

  • Add a simple LCD driver which uses SDL to display the image. We update the
    image regularly, while still providing for reasonable performance.

    Adjust the common lcd code to support sandbox.

    For command-line runs we do not want the LCD to be displayed, so add a
    --show_lcd option to enable it.

    Tested-by: Che-Liang Chiou
    Signed-off-by: Simon Glass

    Simon Glass
     

12 Mar, 2014

2 commits


11 Mar, 2014

1 commit

  • .bmp files contain 32-bit integers aligned at offsets of +2, +6,
    et cetera within the bmp_header structure (see include/bmp_layout.h).

    Support for gzip-compressed .bmp files is present in the cfb_console
    display subsystem by uncompressing them prior to use.

    This patch forces the in-memory header to be aligned properly
    for these compressed images by extracting them to a 2-byte
    offset in the memory returned by malloc. Since malloc will always
    return a 4-byte aligned value, this forces the .bmp header
    fields to be naturally aligned on 4-byte addresses.

    Refer to these files for more details:
    doc/README.displaying-bmps

    Signed-off-by: Eric Nelson

    Eric Nelson
     

03 Feb, 2014

2 commits


13 Jan, 2014

2 commits

  • The array reserved as a placeholder in the structure ipu_idmac
    should contain 44 32bit unsigned integer entries instead of 45
    ones, because the placeholder is located bewteen the register
    IDMAC_SC_CORD1 and the register IDMAC_CH_BUSY_1 with the address
    offsets of 0x804c and 0x8100 respectively.

    Reported-by: Robin Gong
    Acked-by: Robin Gong
    Cc: Stefano Babic
    Signed-off-by: Liu Ying

    Liu Ying
     
  • The array reserved1 as a placeholder in the structure ipu_cm
    should contain 4 32bit unsigned integer entries instead of 16
    ones, because the placeholder is located bewteen the register
    IPU_CH_DB_MODE_SEL_1 and the register IPU_ALT_CH_DB_MODE_SEL_0
    with the address offsets of 0x154 and 0x168 respectively.

    Reported-by: Robin Gong
    Acked-by: Robin Gong
    Cc: Stefano Babic
    Signed-off-by: Liu Ying

    Liu Ying
     

16 Dec, 2013

1 commit


11 Dec, 2013

1 commit


04 Dec, 2013

1 commit


14 Nov, 2013

1 commit


12 Nov, 2013

2 commits

  • Add SPI-based driver for DataImage SCF0403852GGU04 and SCF0403526GGU20
    LCD panels.

    Cc: Tom Rini
    Cc: Anatolij Gustschin
    Cc: Igor Grinberg
    Signed-off-by: Nikita Kiryanov
    Acked-by: Anatolij Gustschin
    Signed-off-by: Anatolij Gustschin

    Nikita Kiryanov
     
  • Depending on the firmware's video options [1] the active SDTV or
    HDTV mode can yield a framebuffer with noncontiguous horizontal lines,
    giving a messed up display, for both, u-boot and the loaded kernel.

    Fix this by setting lcd_line_length to the pitch value of the configured
    framebuffer.

    [1] http://elinux.org/RPiconfig#Video_mode_options

    Signed-off-by: Andre Heider
    Cc: Stephen Warren
    Signed-off-by: Anatolij Gustschin
    Acked-by: Stephen Warren

    Andre Heider
     

01 Nov, 2013

1 commit


30 Oct, 2013

3 commits

  • write first the "tag" 8 bit value and then the "val" 8-bit
    to the display.

    Tested on the rut board.

    Signed-off-by: Heiko Schocher
    Cc: Anatolij Gustschin

    Heiko Schocher
     
  • make CONSOLE_BG_COL/CONSOLE_FG_COL configurable through board config file.
    Clear video screen in video_init().

    Signed-off-by: Heiko Schocher
    Cc: Anatolij Gustschin

    Heiko Schocher
     
  • Currently the HDMI splash screen image quality on mx6solo does not show a
    very stable image.

    By comparing the IPU driver from U-boot with the one from FSL 4.1.0 BSP,
    we can see that there is an inverted logic for setting the DI_GEN_POL_CLK bit.

    >From FSL BSP [1] we have:

    if (!sig.clk_pol)
    di_gen |= DI_GEN_POLARITY_DISP_CLK;

    Applying the same logic into U-boot fixes the HDMI image stability.

    [1] git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/mxc/ipu3/ipu_disp.c?h=imx_3.0.35_4.1.0

    Signed-off-by: Fabio Estevam
    Tested-by: Eric Nelson
    Acked-by: Eric Nelson
    Acked-by: Stefano Babic

    Fabio Estevam
     

15 Oct, 2013

2 commits


04 Sep, 2013

1 commit


28 Aug, 2013

1 commit


19 Aug, 2013

1 commit


13 Aug, 2013

2 commits

  • This patch have changed mipi dsi write functions' parameters correctly
    so that type cast operations were removed. And mipi dsi payload is
    composed with array of panel commands to improve readability.

    Signed-off-by: Donghwa Lee

    Donghwa Lee
     
  • This patch moves all the font configuration values into video_font_data.h
    so they are all in the right place with the font. The video_font.h now only
    includes video_font_data.h and will allow us to select and include different
    font once more fonts are added.

    Signed-off-by: Marek Vasut
    Cc: Anatolij Gustschin
    [agust: fixed build warning for mcc200]
    Signed-off-by: Anatolij Gustschin

    Marek Vasut
     

10 Aug, 2013

3 commits

  • This patch add an option to skip cfb console init for boards
    who want to show a logo, but not use the cfb console. This is
    needed for the siemens boards, which have a bmp bootlogo, but
    do not need the cfb console.

    Signed-off-by: Heiko Schocher
    Cc: Anatolij Gustschin
    [agust: use '__weak int board_cfb_skip(void)']
    Signed-off-by: Anatolij Gustschin

    Heiko Schocher
     
  • without this patch the bdinfo command shows:
    U-Boot# bd
    arch_number = 0x000010DC
    [...]
    sp start = 0x8EF32F20
    FB base = 0x00000000

    with this patch it shows the address where the framebuffer
    for this video driver start:

    arch_number = 0x000010DC
    [...]
    sp start = 0x8EF32F20
    FB base = 0x8EF3C788

    Signed-off-by: Heiko Schocher
    Cc: Anatolij Gustschin
    Cc: Tom Rini
    Acked-by: Tom Rini

    Heiko Schocher
     
  • to use this driver also on am335x based boards, the following
    changes are made:

    - struct lcd_ctrl_config lcd_cfg is now configurable
    through board code

    - controller base is configurable through define
    DA8XX_LCD_CNTL_BASE. To be compatible with older
    da8xx based boards: If this define is missing, the
    DAVINCI_LCD_CNTL_BASE is used

    - Determine LCD IP Version, and make the driver
    working on lcd revision register values:
    Version 1:
    0x4C100102
    Version 2:
    0x4F200800
    0x4F201000

    Signed-off-by: Heiko Schocher
    Cc: Stefano Babic
    Cc: Anatolij Gustschin
    Cc: Tom Rini
    Acked-by: Tom Rini

    Heiko Schocher