13 Nov, 2018

2 commits


09 Oct, 2018

1 commit

  • The current keep-alive check mechanism uses a static variable that is
    initialized to 0. When the function is first called, it may happen to
    catch the 8-bit keep-alive counter right when it overflows, hence
    returning BUSY.

    This patch will keep checking the counter for 10us, every 1us, but it
    will immediately return if the keep-alive counter changed.

    Signed-off-by: Laurentiu Palcu

    Laurentiu Palcu
     

08 Sep, 2018

1 commit


20 Jul, 2018

7 commits

  • Update LCDIF driver for integrating with samsung mipi dsi controller on
    iMX8MM platform.

    The changes include:
    1. Fix build warning for ARM64 platform.
    2. Change max outstanding transactions req to 16 for better performance
    on system bus.
    3. Set ENABLE signal to active low for valid data transfer.

    Signed-off-by: Ye Li
    (cherry picked from commit 43ee03181bd4e26ea389882dcd5285398438390d)

    Ye Li
     
  • Add a mipi dsi panel driver for RM67191 panel which is attached to mipi dsi
    controller.

    Signed-off-by: Ye Li
    (cherry picked from commit 01e116ccd2e2705be3fb427da74cb19bab7ab4e0)

    Ye Li
     
  • Add new mipi dsi driver sec_mipi_dsim to support the samsung mipi dsi used
    on iMX8MM and iMX7D platforms. This driver implements the interfaces required
    by mipi dsi bridge. Users can use mipi dsi bridge common APIs to access it.

    Signed-off-by: Ye Li
    (cherry picked from commit b08b17cde486a232b602b806862de56a26117c51)

    Ye Li
     
  • Remove the functions for northwest driver and HX8363 driver, change
    to use mipi dsi bridge interfaces.
    The mipi_dsi_northwest driver setup and hx8363 init will move to
    board level codes.

    Signed-off-by: Ye Li
    (cherry picked from commit 0b8dc73e42ade9f44a3bbcf3662898772434988d)

    Ye Li
     
  • Update the HX8363 mipi panel to use new mipi dsi bridge interfaces
    to register a panel device and send command packets. So this panel
    driver can decouple with mipi_dsi_northwest driver.

    A new header file mipi_dsi_panel.h is added for all panel init
    functions declare.

    Signed-off-by: Ye Li
    (cherry picked from commit 1d355d37cce9a844011fbf27f7d4801068919ac4)

    Ye Li
     
  • Update the mipi_dsi_northwest driver to implement mipi dsi bridge interfaces
    and register it as a bridge controller. Users can call bridge common interfaces
    to access the northwest driver, don't need to call its private driver functions.

    We also add a kconfig entry for this driver, the name is changed to
    CONFIG_IMX_NORTHWEST_MIPI_DSI

    Signed-off-by: Ye Li
    (cherry picked from commit a668cdb1ef5bcef4a574640f5c06ff07520254df)

    Ye Li
     
  • Add a mipi dsi bridge driver to abstract mipi dsi interfaces for
    mipi panel and display controller drivers.
    So for panel and display conntroller drivers, they can use same functions
    to access mipi dsi controller.

    Signed-off-by: Ye Li
    (cherry picked from commit 4bb9c1168a9b2796a1360d5e93420e4737fc3ba3)

    Ye Li
     

16 Jul, 2018

1 commit


23 May, 2018

1 commit


27 Apr, 2018

18 commits

  • Adding i.MX8 HDMI support to build configuration.

    Signed-off-by: Oliver Brown
    (cherry picked from commit 2edbbe51df0817876b943760a272640e3c9bff70)

    Oliver Brown
     
  • Adding HDMI support for splash screen.

    Signed-off-by: Oliver Brown
    (cherry picked from commit a95018c0d3b0ac8f0893b9408ae598324de4a530)

    Oliver Brown
     
  • Adding the HDP firmware loading to the build.

    Signed-off-by: Oliver Brown

    Oliver Brown
     
  • This adds a command to load the HDP firmware and supporting libraries.

    Signed-off-by: Oliver Brown
    (cherry picked from commit 94c9c7022c5b6cffb74bb2e34336cffc2790d0d8)

    Oliver Brown
     
  • Adding new IMXDPUV1 (aka Seeris, Iris-lite) display control driver.

    Signed-off-by: Oliver Brown
    Signed-off-by: Ye Li
    (cherry picked from commit 43541cba14f851c6eebaa84becd42967f94a9cfd)

    Ye Li
     
  • There are some integer to pointer convert. To support 64 bits system,
    change the unsigned int to unsigned long.

    Signed-off-by: Ye Li
    (cherry picked from commit c3b5c2df452eac82a970ba304e94550be8e27335)

    Ye Li
     
  • The LCDIF provides video source for MIPI DSI host at DPI-2 interface.
    When the LCDIF Framebuffer driver is enabled, it uses the panel
    parameters setup by environments to create a panel device and register
    it to DSI host driver and then enable the DSI host.

    Signed-off-by: Ye Li
    (cherry picked from commit 85659ea5ee975fa2d5fa7215e17a01f7006c39bf)
    (cherry picked from commit 7ef1d78154fef4f799dbf7de0f3d9679911ffa39)

    Ye Li
     
  • Add the mipi dsi panel driver for device HX8363 from kernel. The panel
    driver needs work with mipi_dsi_northwest driver.

    Signed-off-by: Ye Li
    (cherry picked from commit 0c6d0f4202bae7f61d38ecff1c9d255261f022f2)
    (cherry picked from commit d65bbb0585a906072f01a2d72169be0b13b1d9b8)

    Ye Li
     
  • Add the host driver base from kernel for MIPI DSI controller on i.MX7ULP.
    The controller provides a DPI-2 interface for LCDIF video stream, and a APB interface
    for packet transmission.

    The driver provides APIs to register a MIPI panel device and its driver. The panel
    driver can use the write packet function provided by the host driver to send control
    packets to panel device via APB interface.

    MIPI DSI has its PHY and dedicated PLL. The driver will setup them when enabling the DSI
    host.

    Signed-off-by: Ye Li
    (cherry picked from commit e02115dd1c5d36ec06eabcb5a0b8e09aaf0f29a0)
    (cherry picked from commit 1e984bba8cd961daa4c5bf994a6a90a72cc2f114)

    Ye Li
     
  • Add the fuse checking in drivers, when the module is disabled in fuse,
    the driver will not work.

    Changed drivers: BEE, GPMI, APBH-DMA, ESDHC, FEC, QSPI, ECSPI, I2C,
    USB-EHCI, GIS, LCDIF and EPDC.

    Signed-off-by: Ye Li
    (cherry picked from commit 1704e116f9b39aeb99201919a18bc2b1e19a980e)
    (cherry picked from commit 2d3b5df8530cd5ef883750378838dea7c40259af)

    Ye Li
     
  • This patch adds enable/disable hooks support for ldb_di[0/1] clocks
    and enables/disables them when necessary.

    Signed-off-by: Liu Ying
    (cherry picked from commit 615d4c51679a6c2ee0ed4c5e3922eec76646eef1)
    (cherry picked from commit 152192507c3bbaba093783d7da32b88327705c63)
    (cherry picked from commit 036b71e1cd77ddb1827fd85eb7035fb7eccb7b12)

    Liu Ying
     
  • The LDB is found in MX6 variants and MX53, so this patch makes the ldb_di clock
    relevant code be built only for them.

    Signed-off-by: Liu Ying
    (cherry picked from commit 3e40c7466ae7d1d6ca74011bfe69ae059d412a3b)
    (cherry picked from commit 0c47d4138fd2fe8aa864160e23428b2ef95f16ae)
    (cherry picked from commit a59c901317e70da111b426db1be77f289eccbcbc)

    Liu Ying
     
  • Add gis module, current gis is support vadc input.
    Add power down function to lcdif driver.

    Signed-off-by: Sandor Yu
    Signed-off-by: Ye.Li
    (cherry picked from commit a007b00dd8ef9f773dfdebef0b1deb0990281793)
    (cherry picked from commit a31dcdafb0963381e7213c59f79a340ef27ec2e2)
    (cherry picked from commit 02dfe2e4af5f51d39a51542fb0e81f93faf505bc)
    (cherry picked from commit a8e94954d8ccc44c41d77a5e356d6a99b3d45649)

    Ye.Li
     
  • Add pxp module.
    Support csc between YUV444 and RGB888 and scaling.

    Signed-off-by: Sandor Yu
    Signed-off-by: Ye.Li
    (cherry picked from commit 4c6e1f9ed1b2f5c98a34502b44b6414593fdd290)
    Signed-off-by: Peng Fan
    (cherry picked from commit 92295fafcdbaa3a3fe0a63ede15f896dfc9ce0b0)
    (cherry picked from commit 096a63e81a8c78b3f8bbc65a9d418aa032d62231)
    (cherry picked from commit b24cce0ad3ec9f386ca7aa231d8a2db33462f092)

    Ye.Li
     
  • Add csi module.

    Signed-off-by: Sandor Yu
    Signed-off-by: Ye.Li
    (cherry picked from commit 854ae26758ec8132ef749b98645dd2f43b84e5e2)
    Signed-off-by: Peng Fan
    (cherry picked from commit 5f133bd9420109951fd03bd5168801327e929c3b)
    (cherry picked from commit 16960e59fa3334162d2e2212ee4bc1e7f0c420a3)
    (cherry picked from commit bc0639ed8f5069f198067916caf088908492329d)

    Ye.Li
     
  • Add vadc module.
    Both PAL and NTSC mode can work.

    Signed-off-by: Sandor Yu
    Signed-off-by: Ye.Li
    (cherry picked from commit 03c31ae30c1e81c99f6824221e4801433445e04a)
    Signed-off-by: Peng Fan
    (cherry picked from commit b5d776ffc1519c16091736445b3217ffb7fcd7db)
    (cherry picked from commit 2377eb9fd299b76888f11faf76383b68e77bcc8a)
    (cherry picked from commit 808d447235bd0f9134c7d00fa480cd55b4e0426e)

    Ye.Li
     
  • Add a new interface "mxs_lcd_panel_setup" to setup fb parameters and
    specifies the LCDIF controller for multiple controllers of iMX6SX.
    Pass fb parameters via "videomode" env remains work if the new interface
    is not called before video initialization.

    Modify LCDIF clock interface "mxs_set_lcdclk" to support multiple
    LCDIF controllers on iMX6SX.

    Signed-off-by: Ye.Li
    Signed-off-by: Peng Fan
    (cherry picked from commit d7f49b9378547c3a57b96bcdb907fc44616beb3d)
    (cherry picked from commit e1343191b9de227c582847e7eeb5ce9238be0754)
    (cherry picked from commit 9632ebeccc34d663e21bd19f2fe62de51947296e)
    Signed-off-by: Ye Li

    Ye.Li
     
  • Support EPDC.
    E-Ink feature is supported by i.MX6DL/SL/SLL/ULL and i.MX7D.

    This driver supports user defined logo file, if there is no logo file, it will
    draw a black border around a white screen.

    If need to enable EPDC, a waveform file is required to let all
    work.

    Since we need LCD_MONOCHROME mode for EPDC, we introduce LCD_MONOCHROME
    support.

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

    Signed-off-by: Peng Fan
    Signed-off-by: Robby Cai
    Signed-off-by: Nitin Garg
    Signed-off-by: Ye.Li
    (cherry picked from commit a7244f279cc3c3994bcd103f5e9a183b1075ae71)

    Peng Fan
     

05 Mar, 2018

1 commit

  • Thomas reported U-Boot failed to build host tools if libfdt-devel
    package is installed because tools include libfdt headers from
    /usr/include/ instead of using internal ones.

    This commit moves the header code:
    include/libfdt.h -> include/linux/libfdt.h
    include/libfdt_env.h -> include/linux/libfdt_env.h

    and replaces include directives:
    #include -> #include
    #include -> #include

    Reported-by: Thomas Petazzoni
    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

24 Feb, 2018

2 commits

  • This migrates rk_vop (the shared functions used by multiple VOP
    mini-drivers) to be compatible with a live tree.

    Unfortunately, there's
    (i) a lot of tree traversal needed for a VOP (as each active VOP
    vnode references back to the endpoints in the encoders and vice
    versa) to configure the connection between VOPs and encoders;
    (ii) the DTS binding is not too sane and one needs to walk a node's
    parents (the original code just assumed that the device would
    live 3 levels above the property linked through a phandle) until
    a UCLASS_DISPLAY device can be found.

    As part of the migration, the code for finding the enclosing display
    device has been changed to not assume a specific depth of nesting
    (i.e. we walk until we reach the root or find a matching device) and
    to use the newly introduced (in the same series) ofnode_get_parent()
    function.

    Signed-off-by: Philipp Tomsich
    Tested-by: Klaus Goger
    Reviewed-by: Anatolij Gustschin

    Philipp Tomsich
     
  • The rk_hdmi (shared functions for multiple HDMI mini-drivers) has been
    using devfdt_get_addr() to read the HDMI controller's IO base address.
    This will cause a failure with a live tree.

    This changes the driver to use dev_read_addr() which is safe both for
    flat trees and live trees.

    Signed-off-by: Philipp Tomsich
    Tested-by: Klaus Goger
    Reviewed-by: Anatolij Gustschin

    Philipp Tomsich
     

14 Feb, 2018

1 commit


27 Jan, 2018

1 commit


26 Jan, 2018

3 commits

  • The sunXi arm64 build has overflown, leading to the main U-boot binary
    overwriting the environment when flashing the new image, or even worse,
    overwriting itself when we're calling saveenv.

    Disable this command that is not critical until we can adress the issue
    properly.

    Reviewed-by: Anatolij Gustschin
    Reviewed-by: Andre Przywara
    Signed-off-by: Maxime Ripard
    Reviewed-by: Jagan Teki

    Maxime Ripard
     
  • The sunXi arm64 build has overflown, leading to the main U-boot binary
    overwriting the environment when flashing the new image, or even worse,
    overwriting itself when we're calling saveenv.

    Disable this command that is not critical until we can adress the issue
    properly.

    Reviewed-by: Anatolij Gustschin
    Reviewed-by: Andre Przywara
    Signed-off-by: Maxime Ripard
    Reviewed-by: Jagan Teki

    Maxime Ripard
     
  • Tom Rini
     

24 Jan, 2018

1 commit