diff options
author | Ye Li <ye.li@nxp.com> | 2018-07-17 20:35:11 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2018-07-19 21:14:18 -0700 |
commit | 782400a71844b0f0cbe0a5312cea555e797e1ae8 (patch) | |
tree | badd7ab3dbe4080f7c03b911b6e9c566cca1994c /include | |
parent | 3005907903a4bdcfe69dd38b84d8627e15172a0e (diff) |
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: Ye Li <ye.li@nxp.com>
(cherry picked from commit b08b17cde486a232b602b806862de56a26117c51)
Diffstat (limited to 'include')
-rw-r--r-- | include/sec_mipi_dsim.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/sec_mipi_dsim.h b/include/sec_mipi_dsim.h new file mode 100644 index 00000000000..7bce9707f27 --- /dev/null +++ b/include/sec_mipi_dsim.h @@ -0,0 +1,20 @@ +/* + * 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 |