Commit 4d436d59 authored by Ye Li's avatar Ye Li

MLK-19157 imx8mm_evk: Disable dsi panel before booting kernel

Pull down the DSI_EN gpio to disable mipi dsi panel before booting kernel.
This avoids display full yellow screen before kernel mipi driver probes
the device.

For MIPI2HDMI card, this DSI_EN gpio is not used. So nothing impact to it.
Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
(cherry picked from commit e73adc9a139f2e8bb92bda1631fa2f2391a8a5e3)
parent 14e87975
......@@ -660,6 +660,12 @@ void do_enable_mipi_led(struct display_info_t const *dev)
imx_mipi_dsi_bridge_attach(&rm67191_dev); /* attach rm67191 device */
}
void board_quiesce_devices(void)
{
gpio_request(IMX_GPIO_NR(1, 8), "DSI EN");
gpio_direction_output(IMX_GPIO_NR(1, 8), 0);
}
struct display_info_t const displays[] = {{
.bus = LCDIF_BASE_ADDR,
.addr = 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment