From 8e4bff4cab0ddac6060645b0715210484d02ff40 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 30 Aug 2017 08:25:59 +0000 Subject: Initial file dump from open source release --- drivers/misc/sprd_vpp/sprd_dither/Kconfig | 3 + drivers/misc/sprd_vpp/sprd_dither/Makefile | 10 + .../misc/sprd_vpp/sprd_dither/vpp_dither_config.c | 500 +++++++++++++++++++++ .../misc/sprd_vpp/sprd_dither/vpp_dither_config.h | 75 ++++ drivers/misc/sprd_vpp/sprd_dither/vpp_dither_drv.c | 460 +++++++++++++++++++ drivers/misc/sprd_vpp/sprd_dither/vpp_dither_reg.h | 50 +++ .../misc/sprd_vpp/sprd_dither/vpp_dither_types.h | 74 +++ 7 files changed, 1172 insertions(+) create mode 100644 drivers/misc/sprd_vpp/sprd_dither/Kconfig create mode 100644 drivers/misc/sprd_vpp/sprd_dither/Makefile create mode 100644 drivers/misc/sprd_vpp/sprd_dither/vpp_dither_config.c create mode 100644 drivers/misc/sprd_vpp/sprd_dither/vpp_dither_config.h create mode 100644 drivers/misc/sprd_vpp/sprd_dither/vpp_dither_drv.c create mode 100644 drivers/misc/sprd_vpp/sprd_dither/vpp_dither_reg.h create mode 100644 drivers/misc/sprd_vpp/sprd_dither/vpp_dither_types.h (limited to 'drivers/misc/sprd_vpp/sprd_dither') diff --git a/drivers/misc/sprd_vpp/sprd_dither/Kconfig b/drivers/misc/sprd_vpp/sprd_dither/Kconfig new file mode 100644 index 00000000..49faa7b7 --- /dev/null +++ b/drivers/misc/sprd_vpp/sprd_dither/Kconfig @@ -0,0 +1,3 @@ +config VIDEO_VPP_DITHER_SPRD + tristate "SPRD VPP_DITHER driver" + default n diff --git a/drivers/misc/sprd_vpp/sprd_dither/Makefile b/drivers/misc/sprd_vpp/sprd_dither/Makefile new file mode 100644 index 00000000..2a2134df --- /dev/null +++ b/drivers/misc/sprd_vpp/sprd_dither/Makefile @@ -0,0 +1,10 @@ + + + +ifeq ($(CONFIG_VIDEO_VPP_DITHER_SPRD),y) +sprd_vpp_dither-objs := vpp_dither_config.o vpp_dither_drv.o +obj-y += sprd_vpp_dither.o + +endif + + diff --git a/drivers/misc/sprd_vpp/sprd_dither/vpp_dither_config.c b/drivers/misc/sprd_vpp/sprd_dither/vpp_dither_config.c new file mode 100644 index 00000000..62d0e5ea --- /dev/null +++ b/drivers/misc/sprd_vpp/sprd_dither/vpp_dither_config.c @@ -0,0 +1,500 @@ +/* + * Copyright (C) 2014 Spreadtrum Communications Inc. + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * 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 +#include +#include + +#ifdef CONFIG_OF +#include +#include +#include +#include +#include +#endif + +#include +#include +#include +#include