From ce92f3508c05bff4f06a27f01e8f737b706ff48e Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 7 Aug 2021 00:46:38 +0200 Subject: initial commit --- .../linux/rvphone/cl-imx8/sn65dsi83/Kconfig | 7 + .../linux/rvphone/cl-imx8/sn65dsi83/Makefile | 2 + .../rvphone/cl-imx8/sn65dsi83/sn65dsi83_brg.c | 388 +++++++++++++++++++ .../rvphone/cl-imx8/sn65dsi83/sn65dsi83_brg.h | 55 +++ .../rvphone/cl-imx8/sn65dsi83/sn65dsi83_drv.c | 411 +++++++++++++++++++++ .../rvphone/cl-imx8/sn65dsi83/sn65dsi83_timing.h | 33 ++ 6 files changed, 896 insertions(+) create mode 100644 recipes-kernel/linux/rvphone/cl-imx8/sn65dsi83/Kconfig create mode 100644 recipes-kernel/linux/rvphone/cl-imx8/sn65dsi83/Makefile create mode 100644 recipes-kernel/linux/rvphone/cl-imx8/sn65dsi83/sn65dsi83_brg.c create mode 100644 recipes-kernel/linux/rvphone/cl-imx8/sn65dsi83/sn65dsi83_brg.h create mode 100644 recipes-kernel/linux/rvphone/cl-imx8/sn65dsi83/sn65dsi83_drv.c create mode 100644 recipes-kernel/linux/rvphone/cl-imx8/sn65dsi83/sn65dsi83_timing.h (limited to 'recipes-kernel/linux/rvphone/cl-imx8/sn65dsi83') diff --git a/recipes-kernel/linux/rvphone/cl-imx8/sn65dsi83/Kconfig b/recipes-kernel/linux/rvphone/cl-imx8/sn65dsi83/Kconfig new file mode 100644 index 0000000..1d8f37f --- /dev/null +++ b/recipes-kernel/linux/rvphone/cl-imx8/sn65dsi83/Kconfig @@ -0,0 +1,7 @@ +config DRM_I2C_SN65DSI83 + bool "SN65DSI83 mipi dsi to lvds bridge" + depends on OF + select DRM_MIPI_DSI + default y + help + Support for the sn65dsi83 MIPI DSI to LVDS bridge diff --git a/recipes-kernel/linux/rvphone/cl-imx8/sn65dsi83/Makefile b/recipes-kernel/linux/rvphone/cl-imx8/sn65dsi83/Makefile new file mode 100644 index 0000000..dee7f49 --- /dev/null +++ b/recipes-kernel/linux/rvphone/cl-imx8/sn65dsi83/Makefile @@ -0,0 +1,2 @@ +sn65dsi83-objs := sn65dsi83_drv.o sn65dsi83_brg.o +obj-$(CONFIG_DRM_I2C_SN65DSI83) := sn65dsi83.o diff --git a/recipes-kernel/linux/rvphone/cl-imx8/sn65dsi83/sn65dsi83_brg.c b/recipes-kernel/linux/rvphone/cl-imx8/sn65dsi83/sn65dsi83_brg.c new file mode 100644 index 0000000..f4a7713 --- /dev/null +++ b/recipes-kernel/linux/rvphone/cl-imx8/sn65dsi83/sn65dsi83_brg.c @@ -0,0 +1,388 @@ +/* + * Copyright (C) 2018 CopuLab Ltd. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include