Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: xilinx: Use SPDX-License-Identifier

SPDX-License-Identifier is used for the Xilinx Video IP and
related drivers.

[Added drivers/media/platform/xilinx/Kconfig]
[Added drivers/media/platform/xilinx/Makefile]
[Added include/dt-bindings/media/xilinx-vip.h]

Signed-off-by: Dhaval Shah <dhaval23031987@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

authored by

Dhaval Shah and committed by
Mauro Carvalho Chehab
83268fa6 5d331b7f

+14 -40
+2
drivers/media/platform/xilinx/Kconfig
··· 1 + # SPDX-License-Identifier: GPL-2.0 2 + 1 3 config VIDEO_XILINX 2 4 tristate "Xilinx Video IP (EXPERIMENTAL)" 3 5 depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && OF && HAS_DMA
+2
drivers/media/platform/xilinx/Makefile
··· 1 + # SPDX-License-Identifier: GPL-2.0 2 + 1 3 xilinx-video-objs += xilinx-dma.o xilinx-vip.o xilinx-vipp.o 2 4 3 5 obj-$(CONFIG_VIDEO_XILINX) += xilinx-video.o
+1 -4
drivers/media/platform/xilinx/xilinx-dma.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Xilinx Video DMA 3 4 * ··· 7 6 * 8 7 * Contacts: Hyun Kwon <hyun.kwon@xilinx.com> 9 8 * Laurent Pinchart <laurent.pinchart@ideasonboard.com> 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License version 2 as 13 - * published by the Free Software Foundation. 14 9 */ 15 10 16 11 #include <linux/dma/xilinx_dma.h>
+1 -4
drivers/media/platform/xilinx/xilinx-dma.h
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Xilinx Video DMA 3 4 * ··· 7 6 * 8 7 * Contacts: Hyun Kwon <hyun.kwon@xilinx.com> 9 8 * Laurent Pinchart <laurent.pinchart@ideasonboard.com> 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License version 2 as 13 - * published by the Free Software Foundation. 14 9 */ 15 10 16 11 #ifndef __XILINX_VIP_DMA_H__
+1 -4
drivers/media/platform/xilinx/xilinx-tpg.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Xilinx Test Pattern Generator 3 4 * ··· 7 6 * 8 7 * Contacts: Hyun Kwon <hyun.kwon@xilinx.com> 9 8 * Laurent Pinchart <laurent.pinchart@ideasonboard.com> 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License version 2 as 13 - * published by the Free Software Foundation. 14 9 */ 15 10 16 11 #include <linux/device.h>
+1 -4
drivers/media/platform/xilinx/xilinx-vip.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Xilinx Video IP Core 3 4 * ··· 7 6 * 8 7 * Contacts: Hyun Kwon <hyun.kwon@xilinx.com> 9 8 * Laurent Pinchart <laurent.pinchart@ideasonboard.com> 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License version 2 as 13 - * published by the Free Software Foundation. 14 9 */ 15 10 16 11 #include <linux/clk.h>
+1 -4
drivers/media/platform/xilinx/xilinx-vip.h
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Xilinx Video IP Core 3 4 * ··· 7 6 * 8 7 * Contacts: Hyun Kwon <hyun.kwon@xilinx.com> 9 8 * Laurent Pinchart <laurent.pinchart@ideasonboard.com> 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License version 2 as 13 - * published by the Free Software Foundation. 14 9 */ 15 10 16 11 #ifndef __XILINX_VIP_H__
+1 -4
drivers/media/platform/xilinx/xilinx-vipp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Xilinx Video IP Composite Device 3 4 * ··· 7 6 * 8 7 * Contacts: Hyun Kwon <hyun.kwon@xilinx.com> 9 8 * Laurent Pinchart <laurent.pinchart@ideasonboard.com> 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License version 2 as 13 - * published by the Free Software Foundation. 14 9 */ 15 10 16 11 #include <linux/list.h>
+1 -4
drivers/media/platform/xilinx/xilinx-vipp.h
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Xilinx Video IP Composite Device 3 4 * ··· 7 6 * 8 7 * Contacts: Hyun Kwon <hyun.kwon@xilinx.com> 9 8 * Laurent Pinchart <laurent.pinchart@ideasonboard.com> 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License version 2 as 13 - * published by the Free Software Foundation. 14 9 */ 15 10 16 11 #ifndef __XILINX_VIPP_H__
+1 -4
drivers/media/platform/xilinx/xilinx-vtc.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Xilinx Video Timing Controller 3 4 * ··· 7 6 * 8 7 * Contacts: Hyun Kwon <hyun.kwon@xilinx.com> 9 8 * Laurent Pinchart <laurent.pinchart@ideasonboard.com> 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License version 2 as 13 - * published by the Free Software Foundation. 14 9 */ 15 10 16 11 #include <linux/clk.h>
+1 -4
drivers/media/platform/xilinx/xilinx-vtc.h
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Xilinx Video Timing Controller 3 4 * ··· 7 6 * 8 7 * Contacts: Hyun Kwon <hyun.kwon@xilinx.com> 9 8 * Laurent Pinchart <laurent.pinchart@ideasonboard.com> 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License version 2 as 13 - * published by the Free Software Foundation. 14 9 */ 15 10 16 11 #ifndef __XILINX_VTC_H__
+1 -4
include/dt-bindings/media/xilinx-vip.h
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Xilinx Video IP Core 3 4 * ··· 7 6 * 8 7 * Contacts: Hyun Kwon <hyun.kwon@xilinx.com> 9 8 * Laurent Pinchart <laurent.pinchart@ideasonboard.com> 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License version 2 as 13 - * published by the Free Software Foundation. 14 9 */ 15 10 16 11 #ifndef __DT_BINDINGS_MEDIA_XILINX_VIP_H__