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

media: include/(uapi/)media: add SPDX license info

Replace the old license information with the corresponding SPDX
license for those headers that I authored.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

authored by

Hans Verkuil and committed by
Mauro Carvalho Chehab
ab15d248 ddddfa78

+14 -230
+1 -13
include/media/cec-notifier.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * cec-notifier.h - notify CEC drivers of physical address changes 3 4 * 4 5 * Copyright 2016 Russell King <rmk+kernel@arm.linux.org.uk> 5 6 * Copyright 2016-2017 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 6 - * 7 - * This program is free software; you may redistribute it and/or modify 8 - * it under the terms of the GNU General Public License as published by 9 - * the Free Software Foundation; version 2 of the License. 10 - * 11 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 12 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 13 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 14 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 15 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 16 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 17 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 18 - * SOFTWARE. 19 7 */ 20 8 21 9 #ifndef LINUX_CEC_NOTIFIER_H
+1 -13
include/media/cec-pin.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * cec-pin.h - low-level CEC pin control 3 4 * 4 5 * Copyright 2017 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 5 - * 6 - * This program is free software; you may redistribute it and/or modify 7 - * it under the terms of the GNU General Public License as published by 8 - * the Free Software Foundation; version 2 of the License. 9 - * 10 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 11 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 12 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 13 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 14 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 15 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 16 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 17 - * SOFTWARE. 18 6 */ 19 7 20 8 #ifndef LINUX_CEC_PIN_H
+1 -13
include/media/cec.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * cec - HDMI Consumer Electronics Control support header 3 4 * 4 5 * Copyright 2016 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 5 - * 6 - * This program is free software; you may redistribute it and/or modify 7 - * it under the terms of the GNU General Public License as published by 8 - * the Free Software Foundation; version 2 of the License. 9 - * 10 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 11 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 12 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 13 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 14 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 15 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 16 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 17 - * SOFTWARE. 18 6 */ 19 7 20 8 #ifndef _MEDIA_CEC_H
+1 -13
include/media/i2c/ad9389b.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Analog Devices AD9389B/AD9889B video encoder driver header 3 4 * 4 5 * Copyright 2012 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 5 - * 6 - * This program is free software; you may redistribute it and/or modify 7 - * it under the terms of the GNU General Public License as published by 8 - * the Free Software Foundation; version 2 of the License. 9 - * 10 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 11 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 12 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 13 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 14 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 15 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 16 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 17 - * SOFTWARE. 18 6 */ 19 7 20 8 #ifndef AD9389B_H
+1 -13
include/media/i2c/adv7511.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Analog Devices ADV7511 HDMI Transmitter Device Driver 3 4 * 4 5 * Copyright 2013 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 5 - * 6 - * This program is free software; you may redistribute it and/or modify 7 - * it under the terms of the GNU General Public License as published by 8 - * the Free Software Foundation; version 2 of the License. 9 - * 10 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 11 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 12 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 13 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 14 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 15 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 16 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 17 - * SOFTWARE. 18 6 */ 19 7 20 8 #ifndef ADV7511_H
+1 -14
include/media/i2c/adv7604.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * adv7604 - Analog Devices ADV7604 video decoder driver 3 4 * 4 5 * Copyright 2012 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 5 - * 6 - * This program is free software; you may redistribute it and/or modify 7 - * it under the terms of the GNU General Public License as published by 8 - * the Free Software Foundation; version 2 of the License. 9 - * 10 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 11 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 12 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 13 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 14 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 15 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 16 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 17 - * SOFTWARE. 18 - * 19 6 */ 20 7 21 8 #ifndef _ADV7604_
+1 -14
include/media/i2c/adv7842.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * adv7842 - Analog Devices ADV7842 video decoder driver 3 4 * 4 5 * Copyright 2013 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 5 - * 6 - * This program is free software; you may redistribute it and/or modify 7 - * it under the terms of the GNU General Public License as published by 8 - * the Free Software Foundation; version 2 of the License. 9 - * 10 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 11 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 12 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 13 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 14 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 15 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 16 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 17 - * SOFTWARE. 18 - * 19 6 */ 20 7 21 8 #ifndef _ADV7842_
+2 -16
include/media/i2c/tc358743.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * tc358743 - Toshiba HDMI to CSI-2 bridge 3 4 * 4 - * Copyright 2015 Cisco Systems, Inc. and/or its affiliates. All rights 5 - * reserved. 6 - * 7 - * This program is free software; you may redistribute it and/or modify 8 - * it under the terms of the GNU General Public License as published by 9 - * the Free Software Foundation; version 2 of the License. 10 - * 11 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 12 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 13 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 14 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 15 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 16 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 17 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 18 - * SOFTWARE. 19 - * 5 + * Copyright 2015 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 20 6 */ 21 7 22 8 /*
+1 -9
include/media/i2c/ths7303.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Copyright (C) 2013 Texas Instruments Inc 3 4 * ··· 8 7 * Hans Verkuil <hans.verkuil@cisco.com> 9 8 * Lad, Prabhakar <prabhakar.lad@ti.com> 10 9 * Martin Bugge <marbugge@cisco.com> 11 - * 12 - * This program is free software; you can redistribute it and/or 13 - * modify it under the terms of the GNU General Public License as 14 - * published by the Free Software Foundation version 2. 15 - * 16 - * This program is distributed in the hope that it will be useful, 17 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 - * GNU General Public License for more details. 20 10 */ 21 11 22 12 #ifndef THS7353_H
+1 -14
include/media/i2c/uda1342.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * uda1342.h - definition for uda1342 inputs 3 4 * 4 5 * Copyright 2013 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 5 - * 6 - * This program is free software; you may redistribute it and/or modify 7 - * it under the terms of the GNU General Public License as published by 8 - * the Free Software Foundation; version 2 of the License. 9 - * 10 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 11 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 12 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 13 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 14 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 15 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 16 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 17 - * SOFTWARE. 18 - * 19 6 */ 20 7 21 8 #ifndef _UDA1342_H_
+1 -13
include/media/tpg/v4l2-tpg.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * v4l2-tpg.h - Test Pattern Generator 3 4 * 4 5 * Copyright 2014 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 5 - * 6 - * This program is free software; you may redistribute it and/or modify 7 - * it under the terms of the GNU General Public License as published by 8 - * the Free Software Foundation; version 2 of the License. 9 - * 10 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 11 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 12 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 13 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 14 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 15 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 16 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 17 - * SOFTWARE. 18 6 */ 19 7 20 8 #ifndef _V4L2_TPG_H_
+1 -14
include/media/v4l2-dv-timings.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * v4l2-dv-timings - Internal header with dv-timings helper functions 3 4 * 4 5 * Copyright 2013 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 5 - * 6 - * This program is free software; you may redistribute it and/or modify 7 - * it under the terms of the GNU General Public License as published by 8 - * the Free Software Foundation; version 2 of the License. 9 - * 10 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 11 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 12 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 13 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 14 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 15 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 16 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 17 - * SOFTWARE. 18 - * 19 6 */ 20 7 21 8 #ifndef __V4L2_DV_TIMINGS_H
+1 -13
include/media/v4l2-rect.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * v4l2-rect.h - v4l2_rect helper functions 3 4 * 4 5 * Copyright 2014 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 5 - * 6 - * This program is free software; you may redistribute it and/or modify 7 - * it under the terms of the GNU General Public License as published by 8 - * the Free Software Foundation; version 2 of the License. 9 - * 10 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 11 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 12 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 13 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 14 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 15 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 16 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 17 - * SOFTWARE. 18 6 */ 19 7 20 8 #ifndef _V4L2_RECT_H_
-29
include/uapi/linux/cec-funcs.h
··· 3 3 * cec - HDMI Consumer Electronics Control message functions 4 4 * 5 5 * Copyright 2016 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 6 - * 7 - * This program is free software; you may redistribute it and/or modify 8 - * it under the terms of the GNU General Public License as published by 9 - * the Free Software Foundation; version 2 of the License. 10 - * 11 - * Alternatively you can redistribute this file under the terms of the 12 - * BSD license as stated below: 13 - * 14 - * Redistribution and use in source and binary forms, with or without 15 - * modification, are permitted provided that the following conditions 16 - * are met: 17 - * 1. Redistributions of source code must retain the above copyright 18 - * notice, this list of conditions and the following disclaimer. 19 - * 2. Redistributions in binary form must reproduce the above copyright 20 - * notice, this list of conditions and the following disclaimer in 21 - * the documentation and/or other materials provided with the 22 - * distribution. 23 - * 3. The names of its contributors may not be used to endorse or promote 24 - * products derived from this software without specific prior written 25 - * permission. 26 - * 27 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 28 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 29 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 30 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 31 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 32 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 33 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 34 - * SOFTWARE. 35 6 */ 36 7 37 8 #ifndef _CEC_UAPI_FUNCS_H
-29
include/uapi/linux/cec.h
··· 3 3 * cec - HDMI Consumer Electronics Control public header 4 4 * 5 5 * Copyright 2016 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 6 - * 7 - * This program is free software; you may redistribute it and/or modify 8 - * it under the terms of the GNU General Public License as published by 9 - * the Free Software Foundation; version 2 of the License. 10 - * 11 - * Alternatively you can redistribute this file under the terms of the 12 - * BSD license as stated below: 13 - * 14 - * Redistribution and use in source and binary forms, with or without 15 - * modification, are permitted provided that the following conditions 16 - * are met: 17 - * 1. Redistributions of source code must retain the above copyright 18 - * notice, this list of conditions and the following disclaimer. 19 - * 2. Redistributions in binary form must reproduce the above copyright 20 - * notice, this list of conditions and the following disclaimer in 21 - * the documentation and/or other materials provided with the 22 - * distribution. 23 - * 3. The names of its contributors may not be used to endorse or promote 24 - * products derived from this software without specific prior written 25 - * permission. 26 - * 27 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 28 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 29 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 30 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 31 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 32 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 33 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 34 - * SOFTWARE. 35 6 */ 36 7 37 8 #ifndef _CEC_UAPI_H