From patchwork Thu Sep 22 14:20:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 12985234 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8884C6FA82 for ; Thu, 22 Sep 2022 14:22:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ykihgPH9N1hY1ghWPkrPuWHB7Haep0Tu7WUIzfJBg80=; b=ZOc9PXtnu/Ogc+ QYqzz5z29eR08YtA3s73Brzd5wUoxQdN1Ixf+o8mjtvPTekvdn7Aqchb/EC0DFJnSwdPG5sPvXein fzcVZtGeDOqsXz9kbhaCzXevTCuRxqYfWy4zUODsOkmWNZnjdeq0pgpcfEZK1epWrOBkaOQYZgm6c PIVLfNn+HT5BtGeq3r5smETUhL3T7qZit2R855Q8lgks4eQK+44vahianaW2wDPvx7IClni/aNUKu UsaSC1NyNL3gjf1X/3Jf1nrSerGaAY66nmgQ63K9ufZJ8pNYgmrtE0zZkS2Bn4JppK2y14MRB/kuW C8tkm4x6Dg4IBAPAkTJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1obN4r-00Fxul-W0; Thu, 22 Sep 2022 14:21:22 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1obN4E-00Fxdy-Ld for linux-arm-kernel@lists.infradead.org; Thu, 22 Sep 2022 14:20:46 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6121216F8; Thu, 22 Sep 2022 07:20:46 -0700 (PDT) Received: from donnerap.arm.com (donnerap.cambridge.arm.com [10.1.197.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2C1103F73B; Thu, 22 Sep 2022 07:20:38 -0700 (PDT) From: Andre Przywara To: Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Rob Herring , Grant Likely , Krzysztof Kozlowski Cc: Jean-Philippe Brucker , Pawel Moll , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] arm64: dts: arm: unify DT license statements Date: Thu, 22 Sep 2022 15:20:08 +0100 Message-Id: <20220922142010.1412640-2-andre.przywara@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220922142010.1412640-1-andre.przywara@arm.com> References: <20220922142010.1412640-1-andre.przywara@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220922_072042_820647_64C034B6 X-CRM114-Status: GOOD ( 15.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Many devicetree files for Arm Ltd. arm64 boards did not contain a license statement. Some just got a blanket GPL-2.0 tag by a script, confirming the default license for files in the kernel tree. Add an explicit SPDX license tag for every file, at the beginning. Also extend the license to include a BSD compatible license, as it's customary and recommended for DT files. For files without an explicit history license-wise, this is MIT, otherwise we keep the BSD (2-clause) license that some files already carried. Signed-off-by: Andre Przywara Acked-by: Liviu Dudau --- arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi | 1 + arch/arm64/boot/dts/arm/foundation-v8-gicv3-psci.dts | 1 + arch/arm64/boot/dts/arm/foundation-v8-gicv3.dts | 2 +- arch/arm64/boot/dts/arm/foundation-v8-gicv3.dtsi | 1 + arch/arm64/boot/dts/arm/foundation-v8-psci.dts | 1 + arch/arm64/boot/dts/arm/foundation-v8-psci.dtsi | 1 + arch/arm64/boot/dts/arm/foundation-v8-spin-table.dtsi | 1 + arch/arm64/boot/dts/arm/foundation-v8.dts | 2 +- arch/arm64/boot/dts/arm/foundation-v8.dtsi | 2 +- arch/arm64/boot/dts/arm/fvp-base-revc.dts | 2 +- arch/arm64/boot/dts/arm/juno-base.dtsi | 2 +- arch/arm64/boot/dts/arm/juno-clocks.dtsi | 3 +-- arch/arm64/boot/dts/arm/juno-cs-r1r2.dtsi | 2 +- arch/arm64/boot/dts/arm/juno-motherboard.dtsi | 3 +-- arch/arm64/boot/dts/arm/juno-r1-scmi.dts | 1 + arch/arm64/boot/dts/arm/juno-r1.dts | 3 +-- arch/arm64/boot/dts/arm/juno-r2-scmi.dts | 1 + arch/arm64/boot/dts/arm/juno-r2.dts | 3 +-- arch/arm64/boot/dts/arm/juno-scmi.dts | 1 + arch/arm64/boot/dts/arm/juno-scmi.dtsi | 1 + arch/arm64/boot/dts/arm/juno.dts | 3 +-- arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts | 2 +- arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi | 2 +- arch/arm64/boot/dts/arm/rtsm_ve-motherboard.dtsi | 2 +- arch/arm64/boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dts | 2 +- 25 files changed, 25 insertions(+), 20 deletions(-) diff --git a/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi b/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi index 655fdcce15614..53fa6b9fd86fb 100644 --- a/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi +++ b/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * ARM Ltd. * diff --git a/arch/arm64/boot/dts/arm/foundation-v8-gicv3-psci.dts b/arch/arm64/boot/dts/arm/foundation-v8-gicv3-psci.dts index e096e670bec3c..32c16d7f216ab 100644 --- a/arch/arm64/boot/dts/arm/foundation-v8-gicv3-psci.dts +++ b/arch/arm64/boot/dts/arm/foundation-v8-gicv3-psci.dts @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * ARM Ltd. * diff --git a/arch/arm64/boot/dts/arm/foundation-v8-gicv3.dts b/arch/arm64/boot/dts/arm/foundation-v8-gicv3.dts index c87380e87f595..e1426de132560 100644 --- a/arch/arm64/boot/dts/arm/foundation-v8-gicv3.dts +++ b/arch/arm64/boot/dts/arm/foundation-v8-gicv3.dts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * ARM Ltd. * diff --git a/arch/arm64/boot/dts/arm/foundation-v8-gicv3.dtsi b/arch/arm64/boot/dts/arm/foundation-v8-gicv3.dtsi index e4a3c7dbcc20c..dd2d305b53393 100644 --- a/arch/arm64/boot/dts/arm/foundation-v8-gicv3.dtsi +++ b/arch/arm64/boot/dts/arm/foundation-v8-gicv3.dtsi @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * ARM Ltd. * diff --git a/arch/arm64/boot/dts/arm/foundation-v8-psci.dts b/arch/arm64/boot/dts/arm/foundation-v8-psci.dts index 723f23c7cd31a..1d6c6bcb08cdd 100644 --- a/arch/arm64/boot/dts/arm/foundation-v8-psci.dts +++ b/arch/arm64/boot/dts/arm/foundation-v8-psci.dts @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * ARM Ltd. * diff --git a/arch/arm64/boot/dts/arm/foundation-v8-psci.dtsi b/arch/arm64/boot/dts/arm/foundation-v8-psci.dtsi index 16cdf395728bc..f9589905dc024 100644 --- a/arch/arm64/boot/dts/arm/foundation-v8-psci.dtsi +++ b/arch/arm64/boot/dts/arm/foundation-v8-psci.dtsi @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * ARM Ltd. * diff --git a/arch/arm64/boot/dts/arm/foundation-v8-spin-table.dtsi b/arch/arm64/boot/dts/arm/foundation-v8-spin-table.dtsi index 4d4186ba0e8c1..6796bbb5eef05 100644 --- a/arch/arm64/boot/dts/arm/foundation-v8-spin-table.dtsi +++ b/arch/arm64/boot/dts/arm/foundation-v8-spin-table.dtsi @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * ARM Ltd. * diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dts b/arch/arm64/boot/dts/arm/foundation-v8.dts index b17347d75ec60..a73bf774c7603 100644 --- a/arch/arm64/boot/dts/arm/foundation-v8.dts +++ b/arch/arm64/boot/dts/arm/foundation-v8.dts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * ARM Ltd. * diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dtsi b/arch/arm64/boot/dts/arm/foundation-v8.dtsi index 83e3e7e3984fc..152bc7f0f37cb 100644 --- a/arch/arm64/boot/dts/arm/foundation-v8.dtsi +++ b/arch/arm64/boot/dts/arm/foundation-v8.dtsi @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * ARM Ltd. * diff --git a/arch/arm64/boot/dts/arm/fvp-base-revc.dts b/arch/arm64/boot/dts/arm/fvp-base-revc.dts index 5f6f30c801a7f..45cef48378d07 100644 --- a/arch/arm64/boot/dts/arm/fvp-base-revc.dts +++ b/arch/arm64/boot/dts/arm/fvp-base-revc.dts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * ARM Ltd. Fast Models * diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi index 2f27619d8abd5..5f89d984b031e 100644 --- a/arch/arm64/boot/dts/arm/juno-base.dtsi +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) #include "juno-clocks.dtsi" #include "juno-motherboard.dtsi" diff --git a/arch/arm64/boot/dts/arm/juno-clocks.dtsi b/arch/arm64/boot/dts/arm/juno-clocks.dtsi index 2870b5eeb1984..27aec6425512b 100644 --- a/arch/arm64/boot/dts/arm/juno-clocks.dtsi +++ b/arch/arm64/boot/dts/arm/juno-clocks.dtsi @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) /* * ARM Juno Platform clocks * * Copyright (c) 2013-2014 ARM Ltd * - * This file is licensed under a dual GPLv2 or BSD license. - * */ / { /* SoC fixed clocks */ diff --git a/arch/arm64/boot/dts/arm/juno-cs-r1r2.dtsi b/arch/arm64/boot/dts/arm/juno-cs-r1r2.dtsi index 09d2b692e9e1f..4299287e1e284 100644 --- a/arch/arm64/boot/dts/arm/juno-cs-r1r2.dtsi +++ b/arch/arm64/boot/dts/arm/juno-cs-r1r2.dtsi @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) / { funnel@20130000 { /* cssys1 */ compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; diff --git a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi index be42932f7e21e..21f84a34f6ff0 100644 --- a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi +++ b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) /* * ARM Juno Platform motherboard peripherals * * Copyright (c) 2013-2014 ARM Ltd * - * This file is licensed under a dual GPLv2 or BSD license. - * */ / { diff --git a/arch/arm64/boot/dts/arm/juno-r1-scmi.dts b/arch/arm64/boot/dts/arm/juno-r1-scmi.dts index dd9ea69f086f8..e63543c624f4a 100644 --- a/arch/arm64/boot/dts/arm/juno-r1-scmi.dts +++ b/arch/arm64/boot/dts/arm/juno-r1-scmi.dts @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) #include "juno-r1.dts" #include "juno-scmi.dtsi" diff --git a/arch/arm64/boot/dts/arm/juno-r1.dts b/arch/arm64/boot/dts/arm/juno-r1.dts index 6451c62146fda..9253ca28e8fa5 100644 --- a/arch/arm64/boot/dts/arm/juno-r1.dts +++ b/arch/arm64/boot/dts/arm/juno-r1.dts @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) /* * ARM Ltd. Juno Platform * * Copyright (c) 2015 ARM Ltd. - * - * This file is licensed under a dual GPLv2 or BSD license. */ /dts-v1/; diff --git a/arch/arm64/boot/dts/arm/juno-r2-scmi.dts b/arch/arm64/boot/dts/arm/juno-r2-scmi.dts index de2cbac1d1c3e..6c80f08b3ec2e 100644 --- a/arch/arm64/boot/dts/arm/juno-r2-scmi.dts +++ b/arch/arm64/boot/dts/arm/juno-r2-scmi.dts @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) #include "juno-r2.dts" #include "juno-scmi.dtsi" diff --git a/arch/arm64/boot/dts/arm/juno-r2.dts b/arch/arm64/boot/dts/arm/juno-r2.dts index 438cd1ff4bd08..2545bc79158f1 100644 --- a/arch/arm64/boot/dts/arm/juno-r2.dts +++ b/arch/arm64/boot/dts/arm/juno-r2.dts @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) /* * ARM Ltd. Juno Platform * * Copyright (c) 2015 ARM Ltd. - * - * This file is licensed under a dual GPLv2 or BSD license. */ /dts-v1/; diff --git a/arch/arm64/boot/dts/arm/juno-scmi.dts b/arch/arm64/boot/dts/arm/juno-scmi.dts index 41588fa46d317..51844a407a7dd 100644 --- a/arch/arm64/boot/dts/arm/juno-scmi.dts +++ b/arch/arm64/boot/dts/arm/juno-scmi.dts @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) #include "juno.dts" #include "juno-scmi.dtsi" diff --git a/arch/arm64/boot/dts/arm/juno-scmi.dtsi b/arch/arm64/boot/dts/arm/juno-scmi.dtsi index ec85cd2c733ce..c6f4b80d3dff0 100644 --- a/arch/arm64/boot/dts/arm/juno-scmi.dtsi +++ b/arch/arm64/boot/dts/arm/juno-scmi.dtsi @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) / { etf@20010000 { power-domains = <&scmi_devpd 8>; diff --git a/arch/arm64/boot/dts/arm/juno.dts b/arch/arm64/boot/dts/arm/juno.dts index cf4a582113999..270505339eecd 100644 --- a/arch/arm64/boot/dts/arm/juno.dts +++ b/arch/arm64/boot/dts/arm/juno.dts @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) /* * ARM Ltd. Juno Platform * * Copyright (c) 2013-2014 ARM Ltd. - * - * This file is licensed under a dual GPLv2 or BSD license. */ /dts-v1/; diff --git a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts index 258991ad7cc0a..5b514c865845d 100644 --- a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts +++ b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * ARM Ltd. Fast Models * diff --git a/arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi b/arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi index ec2d5280a30b1..9dd155ef09ab3 100644 --- a/arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi +++ b/arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * ARM Ltd. Fast Models * diff --git a/arch/arm64/boot/dts/arm/rtsm_ve-motherboard.dtsi b/arch/arm64/boot/dts/arm/rtsm_ve-motherboard.dtsi index ba8beef3fe99e..5f8f17d6c8e59 100644 --- a/arch/arm64/boot/dts/arm/rtsm_ve-motherboard.dtsi +++ b/arch/arm64/boot/dts/arm/rtsm_ve-motherboard.dtsi @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * ARM Ltd. Fast Models * diff --git a/arch/arm64/boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dts b/arch/arm64/boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dts index 5b6d9d8e934db..8cb44b0577ca5 100644 --- a/arch/arm64/boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dts +++ b/arch/arm64/boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * ARM Ltd. Versatile Express *