Skip to content

Integrate meta-seco-imx/u-boot-seco-imx/seco_lf_v2021.04_d18-video

Commit: https://git.seco.com/edgehog/layers/seco/meta-seco-imx/-/commit/9ddcbf7000a8f00e06959538c9dfe2155655542f

Integrate u-boot-seco-imx/seco_lf_v2021.04_d18-video

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/b36cc231d79168b928f138a12592982feba18fab

[D18][BOARD] setup U-Boot video environment

Depending on the board straps, setup the correct video link. Also fixup video GPIO (LCD0 VDD and BKL, eDP BRG) handling.

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/8aabc99f01be03224678891139f180ae35509f99

[D18][DTS] add eDP video support

  • on CSB79REVB: panel BOE EV156FHM (eDP0 CN60: switch SW6 2-4 position ON, jumper CN18 and CN19 position 1-2)

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/b9ea76652ae075d84708429506169694b92abf64

[D18][BOARD] set eDP BRG enable

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/70f73d011d732f7682a1982eb9d1f2220b3cc706

[D18][DEFCONFIG] add eDP display support

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/b5b99e0b5dfcadae87160e9c09a382af507372e4

[DRIVER] video: add TI SN65DSI86 DSI to eDP bridge driver

Properties:

  • refclk-frequency

    • type: u32
    • value: should be 12, 19.2, 26, 27 or 38.4 MHz
    • description: if present DP PLL is derived from REFCLK otherwise DP PLL is derived from DACP/N
  • si-result

    • type: (u32 u32) tuple array
    • description: fine-tune swing and pre-emphasis for Signal Integrity
  • test-mode

    • type: boolean
    • description: generate video test pattern
  • dump-regs

    • type: boolean
    • description: dump bridge registers

REFERENCE: https://git.seco.com/edgehog/bsp/nxp/linux-seco-imx/-/blob/seco_lf-5.10.y/drivers/gpu/drm/bridge/seco-sn65dsi86.c https://git.seco.com/edgehog/bsp/nxp/linux-seco-imx/-/blob/6c76c0eb031f0a590c03da7381c0251ca783c585/drivers/gpu/drm/bridge/ti-sn65dsi86.c

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/edf75fd4cadec4bb3b79adcc8b89759269c7e458

[D18][ENV] set SPLASHIMAGE_ADDR

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/f745eb7944c5fea09208eddaf9590f1db4998ca2

[D18][DTS] add LVDS FHD dual-channel video support

  • on CSB79REVB: panel AUO P215HVN01.0 + CV1235/750REVB (LVDS CN14: switch SW6 1-3 and 2-4 position OFF, jumper CN18 position 2-3 and CN19 position 1-2)

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/dcdf252783fcf1efba6511fc1504cd7663237b63

[D18][BOARD] set LCD0 VDD, BKL enable

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/505a1a47d5a2c9697b07381537c40e60014e289c

[D18][DEFCONFIG] add LVDS display support

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/fcbc99a09894d503bf11e20ff19a1a253b493f3d

[D18][BOARD] fix pad mux configuration

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/c026dbdcea1693e3e82557b87a9c14992b53d097

[D18][DTS][BOARD] clear reference board peripherals

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/3c60a4947861ee078bcff7b830e12118a220e584

[i.MX8MP][DRIVER] configure display clk tree

For the clock tree to be able to set up the required LVDS and eDP(DSI to eDP bridge) display clock frequencies we need to configure the entire path, starting from the PLL. It has to be noted that the i.MX8MP SoC has limited supported PLL frequency points, so to support a new panel that has different clock rate than others it may be needed to add a new point to the PLL table.

  • add frequency 1039.5M to PLL table
  • set VIDEO_PLL to 1039.5M
  • set AXI_CLK to 500M from SYSTEM_PLL2
  • set MIPI_PHY1_REF_CLK to 12M from OSC_24M (for dsi)
  • set LDB_CLK to 519.75M from VIDEO_PLL (for lvds)
  • configure clk tree differently depending on display:
    • lcdif1 (for dsi): set DISP1_PIX_CLK to 173.25M from VIDEO_PLL
    • lcdif2 (for lvds): set DISP2_CLK to 148.5M from VIDEO_PLL

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/ad833211fa10e91f1e1b05c5767f87ce58fd5f2b

[i.MX8MP][D18][DTS] add i.MX8MP LVDS nodes

REFERENCE: https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Add-i-MX8MP-LVDS-driver-in-uboot/ta-p/1434826

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/176ee96c80088742edd6da2cc10ba2f77c30e08e

[DRIVER] video: imx: add i.MX8MP LVDS bridge driver

Supported modes:

  • single channel: LVDS channel 0 only
  • dual channel: LVDS channel 0, 1 together

Properties:

  • data-mapping
    • type: string
    • value: should be "spwg" or "jeida" defaults to "spwg"
  • data-width
    • type: u32
    • value: should be <18> or <24> defaults to <18>
  • dual-channel
    • type: boolean

REFERENCE: https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Add-i-MX8MP-LVDS-driver-in-uboot/ta-p/1434826

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/749af60e617b2b444ffac260236f7ba8454db023

LFU-247-2 video: sec_dsim: Update DPHY PLL PMS and DPHY timing settings

Change to calculate the PLL PMS at runtime for bit_clk, not use hardcode value for 1080p@60 only.

Also update the DPHY timing settings to follow kernel to select values from a pre-setting table.

Signed-off-by: Ye Li ye.li@nxp.com Reviewed-by: Peng Fan peng.fan@nxp.com (cherry picked from commit a2ca81dc77f1e79e4fe6a0369b9f702b2829e8be)

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/747fff31644cc883cfeb8b2ab361351a36c7d7ae

LFU-247-1 imx8m: clock: Add function to get DSI PHY reference clock rate

The D-PHY ref clock source is configurable. We need to know the reference clock rate for D-PHY PLL calculation.

Signed-off-by: Ye Li ye.li@nxp.com Reviewed-by: Peng Fan peng.fan@nxp.com (cherry picked from commit 2560cd096e54d21d5b68fd3cb70e4d3140854bc3)

Merge request reports

Loading