From patchwork Mon Aug 5 07:25:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislav Jakubek X-Patchwork-Id: 13753181 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 70765C3DA7F for ; Mon, 5 Aug 2024 07:25:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2hZP3eknURkHBrxTMIgGtPNgy89bmShMYhzI1mjogNc=; b=hMg+cMeCmN2eF5kELDIt2qhXpz +x5M9etZYEw5W46FKKW3+ZsXzPTAe2SkXThi2jVLWwghy8MGHBZHdB4wIRaJ819lt/NR9lLgSF6Tk pO8q6xx6/w5YUNFBsSUYftbNhuGk45tgKE8zKGNfGOeyz0P2vQ75X9vJsxMBsJ28NuAs/U1TQp9eK fKz58Redsc/t0RXUJuyIqhI2HyCxFteWJneuGkhs3CM/A8bvi0ajHvgH1Ebt97QH5NJvIE9NKuWHh CRtzm289ZsL6v0BSiifRnSSWqsOmKtIEJaA4TF56XzcaZRv8qfTLU2tM9gO1MMzaPB0dgfDMk2ezC 67bXdq3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sas6B-0000000EvUg-1y8w; Mon, 05 Aug 2024 07:25:43 +0000 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sas5d-0000000EvJm-1cWN for linux-arm-kernel@lists.infradead.org; Mon, 05 Aug 2024 07:25:11 +0000 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2f035ae0fe0so117221071fa.3 for ; Mon, 05 Aug 2024 00:25:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722842707; x=1723447507; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=2hZP3eknURkHBrxTMIgGtPNgy89bmShMYhzI1mjogNc=; b=gDNRSdjtMdgdI/t0xZnQZ7JgLlk94e3yPDkY8Eg8RSfA1JQNr93ls9FByU9axKZbdY ZiGChR4Cd1ZzsK1hPwKPjyVTUG9OiY+FT7bfOHbiai5tdlSxTtzr2MaUifHiG/WYGKo1 XcuvDehJclBQ3PIKH78vSvEqbNZJs31p6PSlhGIuo13g66oFtevaMEPoSZ193PdsgGEs gdciqqHh8n84mM7jnAoromG0nVxPgG66idRIIqoHSZRZmIecvOjotfMefnCKd9ri+yPc IM1mPvupjyb//YsLwOUDPJT8FpIgJe7m1JQ2i2SF/wb9nFuSKGbXcYAQQyeDaEvZNZPd iRgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722842707; x=1723447507; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2hZP3eknURkHBrxTMIgGtPNgy89bmShMYhzI1mjogNc=; b=ce2Y1UwCnxYvvzdUXi6XWI0sscJhmpAAjeZFlJEP6xSZT/hoRlOxkQUEw/cDLYR2Ak 0Yd7T4wgo9Vi8oD6AOlDvQlecZNgAU0d1nzf/w5CLbsFPxPrm+8gDSFB4Hnyb9OGK0Yy Z5wOdmMcJxWEiT94uQCYrQaaj2ixCY5kz86q2SvrxfK/WqgebL8G6heMQwWERBQzKI90 FGA3cX0L873kDHIClrtgWsrwSdhGZ6cJS5/ejdG+Cf4asVYFsYgGKX1J/GhzBV9bU5oc 0/vkEPv3eUdTeVYFVbOhDCZSrnUyb66hIB2IQ3luWvsaUeEwO1AXp7DuqQ9tLmFcAxXr S1GQ== X-Forwarded-Encrypted: i=1; AJvYcCVEiTDU1jqwNVSLySFF7EKgvkeXH3klsgIDQ8KciKa9P2gwswqrLrz9MuIe1Ei5JhNpCgUur4eTtGP3X2EXJgHL5A815piHE/MldNTZXa+VwbnQnNY= X-Gm-Message-State: AOJu0Ywj+J9a8FTQ+e3Ng4KYHayFBrYBZiCWfbakl1EtSQKevjZMNFJe xbspwjWzePoZz0kz7Eag0aDpHC/OT8CAwKUEFxH2vgE2HXYlj//D X-Google-Smtp-Source: AGHT+IH9dakXDOb3Qt+NqQFLrBPdaBci0IN9+mY/BPPXmmDcdOUj2i9WKI4dr55NyKc6rgrOAEQdDg== X-Received: by 2002:a2e:81d7:0:b0:2ef:2f53:c300 with SMTP id 38308e7fff4ca-2f15aac582fmr71152561fa.28.1722842706926; Mon, 05 Aug 2024 00:25:06 -0700 (PDT) Received: from standask-GA-A55M-S2HP (lu-nat-113-247.ehs.sk. [188.123.113.247]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbcf1db70sm8783927f8f.32.2024.08.05.00.25.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 00:25:06 -0700 (PDT) Date: Mon, 5 Aug 2024 09:25:04 +0200 From: Stanislav Jakubek To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Orson Zhai , Baolin Wang , Baolin Wang , Chunyan Zhang Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] arm64: dts: sprd: move/add SPDX license to top of the file Message-ID: <4d41caabb6af5741d92bd5567a04c93a18e2ebe2.1722842067.git.stano.jakubek@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240805_002509_461290_34CB0512 X-CRM114-Status: GOOD ( 14.89 ) 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 Checkpatch complains about the SPDX-License-Identifier being in the wrong place. Move it to the top of the file to fix these warnings. In cases of the license being specified only in text, convert these to the SPDX-License-Identifier. Reviewed-by: Baolin Wang Signed-off-by: Stanislav Jakubek --- arch/arm64/boot/dts/sprd/sc2731.dtsi | 3 +-- arch/arm64/boot/dts/sprd/sc9836-openphone.dts | 3 +-- arch/arm64/boot/dts/sprd/sc9836.dtsi | 3 +-- arch/arm64/boot/dts/sprd/sc9860.dtsi | 3 +-- arch/arm64/boot/dts/sprd/sharkl64.dtsi | 3 +-- arch/arm64/boot/dts/sprd/sp9860g-1h10.dts | 3 +-- arch/arm64/boot/dts/sprd/whale2.dtsi | 3 +-- 7 files changed, 7 insertions(+), 14 deletions(-) diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi index e15409f55f43..fc4e2b1e160e 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Spreadtrum SC2731 PMIC dts file * * Copyright (C) 2018, Spreadtrum Communications Inc. - * - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ &adi_bus { diff --git a/arch/arm64/boot/dts/sprd/sc9836-openphone.dts b/arch/arm64/boot/dts/sprd/sc9836-openphone.dts index e5657c35cd10..b98589ea5ac2 100644 --- a/arch/arm64/boot/dts/sprd/sc9836-openphone.dts +++ b/arch/arm64/boot/dts/sprd/sc9836-openphone.dts @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR MIT) /* * Spreadtrum SC9836 openphone board DTS file * * Copyright (C) 2014, Spreadtrum Communications Inc. - * - * This file is licensed under a dual GPLv2 or X11 license. */ /dts-v1/; diff --git a/arch/arm64/boot/dts/sprd/sc9836.dtsi b/arch/arm64/boot/dts/sprd/sc9836.dtsi index 8bb8a70966d2..bc3fc9fc3d90 100644 --- a/arch/arm64/boot/dts/sprd/sc9836.dtsi +++ b/arch/arm64/boot/dts/sprd/sc9836.dtsi @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR MIT) /* * Spreadtrum SC9836 SoC DTS file * * Copyright (C) 2014, Spreadtrum Communications Inc. - * - * This file is licensed under a dual GPLv2 or X11 license. */ #include "sharkl64.dtsi" diff --git a/arch/arm64/boot/dts/sprd/sc9860.dtsi b/arch/arm64/boot/dts/sprd/sc9860.dtsi index 31952d361a8a..d2456d633c39 100644 --- a/arch/arm64/boot/dts/sprd/sc9860.dtsi +++ b/arch/arm64/boot/dts/sprd/sc9860.dtsi @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Spreadtrum SC9860 SoC * * Copyright (C) 2016, Spreadtrum Communications Inc. - * - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ #include diff --git a/arch/arm64/boot/dts/sprd/sharkl64.dtsi b/arch/arm64/boot/dts/sprd/sharkl64.dtsi index 69f64e7fce7c..bf58702c4e07 100644 --- a/arch/arm64/boot/dts/sprd/sharkl64.dtsi +++ b/arch/arm64/boot/dts/sprd/sharkl64.dtsi @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR MIT) /* * Spreadtrum Sharkl64 platform DTS file * * Copyright (C) 2014, Spreadtrum Communications Inc. - * - * This file is licensed under a dual GPLv2 or X11 license. */ / { diff --git a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts index 1ce3cbbd9668..095b24a31313 100644 --- a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts +++ b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Spreadtrum SP9860g board * * Copyright (C) 2017, Spreadtrum Communications Inc. - * - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ /dts-v1/; diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi index a28f995fb3ff..a551e14ce826 100644 --- a/arch/arm64/boot/dts/sprd/whale2.dtsi +++ b/arch/arm64/boot/dts/sprd/whale2.dtsi @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Spreadtrum Whale2 platform peripherals * * Copyright (C) 2016, Spreadtrum Communications Inc. - * - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ #include