Commit b08b17cd authored by Ye Li's avatar Ye Li
Browse files

MLK-18945-6 video: Add driver sec_mipi_dsim for mipi dsi on iMX8MM and iMX7D



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: default avatarYe Li <ye.li@nxp.com>
parent fca13cf2
......@@ -493,6 +493,14 @@ config IMX_NORTHWEST_MIPI_DSI
help
Support for i.MX7ULP MIPI DSI controller.
config IMX_SEC_MIPI_DSI
bool "i.MX Samsung's MIPI DSI"
default n
select IMX_MIPI_DSI_BRIDGE
depends on VIDEO && (IMX8MM || MX7)
help
Support for i.MX7 and i.MX8MM MIPI DSI controller.
config MXC_EPDC
bool "i.MX EPDC support"
depends on LCD && (MX7 || MX6)
......
......@@ -69,6 +69,7 @@ obj-$(CONFIG_VIDEO_CSI) += mxc_csi.o
obj-$(CONFIG_VIDEO_PXP) += mxc_pxp.o
obj-$(CONFIG_VIDEO_GIS) += mxc_gis.o
obj-$(CONFIG_IMX_NORTHWEST_MIPI_DSI) += mipi_dsi_northwest.o
obj-$(CONFIG_IMX_SEC_MIPI_DSI) += sec_mipi_dsim.o
obj-$(CONFIG_IMX_MIPI_DSI_BRIDGE) += imx_mipi_dsi_bridge.o
obj-$(CONFIG_HX8363) += hx8363_wvga.o
......
This diff is collapsed.
/*
* Copyright 2018 NXP
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __SEC_MIPI_DSIM_H__
#define __SEC_MIPI_DSIM_H__
struct sec_mipi_dsim_plat_data {
uint32_t version;
uint32_t max_data_lanes;
uint64_t max_data_rate;
ulong reg_base;
ulong gpr_base;
};
int sec_mipi_dsim_setup(const struct sec_mipi_dsim_plat_data *plat_data);
#endif
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