Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7588455rwr; Wed, 10 May 2023 09:58:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5mrUjqjPwQ7BQIvpP/DvDai4mGxe6YzYf7MxhLOopvg2p5eGsEJrEOzDgciZ4MJmkJJx0d X-Received: by 2002:a05:6a20:5498:b0:101:3112:c839 with SMTP id i24-20020a056a20549800b001013112c839mr8680084pzk.15.1683737931748; Wed, 10 May 2023 09:58:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683737931; cv=none; d=google.com; s=arc-20160816; b=En0CEj96zYvjSPFSvqXls+uxpBV5CmFJCcit9wyZo8gS44ZOJrTKRvIWiJ9qyX6xvJ W6FXOMXEzwJSP+kRGuceD9z5/0tISzWAUOuLVikud0trU8MgOX4WyYa6TQyE/XoI12Gg UJLXBTN/W6rd/2CJW6TmpN9sgWsdlDNXVirhUIazOhX+xQOvFnfFHqvnSpjog87qEiqa Q8FcQXc3TFYhczn4ZGKWBG2hvhjuclAWdCoT2f/tLftwS5yCfgn5f5smYPQsXSoEirc9 KAPDsRAiQ/2QVnV9TGS7QQ4zdfm4l3IRRc5cwKtUl2GXCmzML1+kJS7yji4szFfRoTrG 7ArA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=1TPowHl9YS+9EwhC0HyGBvVFoLMVcbPAYARBloMLBAY=; b=IiXKxilNuRd5hcOXvAT4raAI+HCAO5/DqPvnk6FGC9SwA4jFGPHbWI9n1p/EOuY8hT E4vVGiw/XFKEi0nnX/Z49bWsSWExVQq9997S2fArGIR/X2lpsCazYaWbF/rWpW8Nq+DN vw8MfWQI6Kkqho732cKfx4knMvBlekAGOX6J8TTusxA4ywbsmG6vxCKkZWf2NqD1/ayR lh9c8d07TecrivH9djiJJw5b4n923wAWg0W2iNYc64vs2oVkQ3QBnD1oAuGtPdQf3swQ /5uyieQsHTICRu1dnUEedozwXSGbARWTgw+RDiUXXd8ZqizkvZsST0BN2UlN8bEH2rYY xkew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=SC2ubzgC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q206-20020a632ad7000000b00524d2e488f8si4292171pgq.809.2023.05.10.09.58.39; Wed, 10 May 2023 09:58:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=SC2ubzgC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236033AbjEJQvn (ORCPT + 99 others); Wed, 10 May 2023 12:51:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236034AbjEJQvg (ORCPT ); Wed, 10 May 2023 12:51:36 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21C1D30FE; Wed, 10 May 2023 09:51:30 -0700 (PDT) Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34AErisr015048; Wed, 10 May 2023 18:51:14 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=message-id : date : mime-version : subject : from : to : cc : references : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=1TPowHl9YS+9EwhC0HyGBvVFoLMVcbPAYARBloMLBAY=; b=SC2ubzgCSgC/4M1ZeLFYO3G0owJFVcxjajOAxj0Id+jvdLIv7sgC0V2z42ZREMTwvcs4 1/13oP6o/eGqsj13KvjS+M9HaLEB8yL6q7qF4bCq14G9ASXBNFIvA4TDEdtXZZExH9XK /y8MW51ZA4llMauvEj/+ZvwhFwYCzQMreBj3ZQjzvnkOvtdFNFbftDFvrdA8/BnidB+b nNzgUgIKDDYo0u+7uoz1nxxI1lX5rx91Ofx6IEmGqouI22UW6+pNXok21iQ3HTFr4ml/ jfcTjtabuPsa7onSDmu59B6tcJq7PLYGR5EiR1jnQ5A5e8lzOuxWY9KeESq9gDlGLCze lA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3qg90pjff2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 May 2023 18:51:14 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 23A4A10002A; Wed, 10 May 2023 18:51:13 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 174D522D183; Wed, 10 May 2023 18:51:13 +0200 (CEST) Received: from [10.48.1.0] (10.48.1.0) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Wed, 10 May 2023 18:51:12 +0200 Message-ID: <0e2453b9-cb7d-fdd9-2eb5-145972b23061@foss.st.com> Date: Wed, 10 May 2023 18:51:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] dt-bindings: rcc: stm32: Fix STM32MP13 include file Content-Language: en-US From: Patrick DELAUNAY To: Rob Herring , CC: Alexandre TORGUE , Michael Turquette , Stephen Boyd , "Krzysztof Kozlowski" , Maxime Coquelin , Philipp Zabel , , , , , , , Loic PALLARDY References: <20230407201526.1.I417093ddcea282be479f10a37147d1935a9050b7@changeid> <20230412151404.GA2372294-robh@kernel.org> <7884b0d8-199c-4415-4113-ddce4b640508@foss.st.com> In-Reply-To: <7884b0d8-199c-4415-4113-ddce4b640508@foss.st.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.48.1.0] X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-10_04,2023-05-05_01,2023-02-09_01 X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/10/23 16:22, Patrick DELAUNAY wrote: > Hi, > > On 4/12/23 17:14, Rob Herring wrote: >> On Fri, Apr 07, 2023 at 08:15:33PM +0200, Patrick Delaunay wrote: >>> Minor cosmetic change, aligned with files in U-Boot: >>> - change obsolete SPDX id : GPL-2.0+ >>> - use correct address gabriel.fernandez@foss.st.com >>> - remove extra space >> Make the subject reflect the purpose: 'Sync with u-boot copy' > > > Ok > > >> >>> Signed-off-by: Patrick Delaunay >>> --- >>> >>>   include/dt-bindings/clock/stm32mp13-clks.h   | 6 +++--- >>>   include/dt-bindings/reset/stm32mp13-resets.h | 4 ++-- >>>   2 files changed, 5 insertions(+), 5 deletions(-) >>> >>> diff --git a/include/dt-bindings/clock/stm32mp13-clks.h >>> b/include/dt-bindings/clock/stm32mp13-clks.h >>> index 02befd25edce..da4cb7567430 100644 >>> --- a/include/dt-bindings/clock/stm32mp13-clks.h >>> +++ b/include/dt-bindings/clock/stm32mp13-clks.h >>> @@ -1,7 +1,7 @@ >>> -/* SPDX-License-Identifier: GPL-2.0+ or BSD-3-Clause */ >>> +/* SPDX-License-Identifier: GPL-2.0-or-later or BSD-3-Clause */ >>>   /* >>>    * Copyright (C) STMicroelectronics 2020 - All Rights Reserved >>> - * Author: Gabriel Fernandez for >>> STMicroelectronics. >>> + * Author: Gabriel Fernandez for >>> STMicroelectronics. >>>    */ >>>     #ifndef _DT_BINDINGS_STM32MP13_CLKS_H_ >>> @@ -64,7 +64,7 @@ >>>   #define CK_MCO1        38 >>>   #define CK_MCO2        39 >>>   -/*  IP clocks */ >>> +/* IP clocks */ >>>   #define SYSCFG        40 >>>   #define VREF        41 >>>   #define DTS        42 >>> diff --git a/include/dt-bindings/reset/stm32mp13-resets.h >>> b/include/dt-bindings/reset/stm32mp13-resets.h >>> index 934864e90da6..1b83a01de8f0 100644 >>> --- a/include/dt-bindings/reset/stm32mp13-resets.h >>> +++ b/include/dt-bindings/reset/stm32mp13-resets.h >>> @@ -1,7 +1,7 @@ >>> -/* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */ >>> +/* SPDX-License-Identifier: GPL-2.0-or-later or BSD-3-Clause */ >> Really, the Linux copy came first, so you should use its license. Your >> company's lawyers are good with GPLv3 and then v4? > > > We have a long debate on the licenses, and particular for device tree, > > and as conclusion we are using for STM32MP SoCs: > > - For code (in Linux kernel driver) => GPL-2.0-only > > - For device tree and binding .h files; the dual licenses => > GPL-2.0-or-later OR BSD-3-Clause > > > It is because the modifications in device tree files and binding file > s can be applied on > > other SW with using any licenses: > >    - GPL2 (Linux /u-Boot) > >    - BSD (TF-A/OP-TEE) > >    - GPL3/GPL4 license (any other SW component) > > > Just indicate GPL-2.0-or-later in the device tree or binding files > won't contaminate > > all the projects with GPL3/GPL4 license if it only use this DT, or > binding files. > > > NB: it is already the case for other files used by STM32MP SoC, for > example : > > ./include/dt-bindings/pinctrl/stm32-pinfunc.h: >     /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ > > > and we have no reason to use a different license for the 2 files for > STM32MP13 RCC binding: > >   include/dt-bindings/reset/stm32mp13-resets.h >   include/dt-bindings/clock/stm32mp13-clks.h > > This patch corrects a mistake in the initial commit for RCC binding > up-streamed > > by Gabriel in parallel in U-Boot and Linux repositories; this > inconsistency in the license > > was corrected only when the same patch was pushed in U-Boot. > > > PS: using the GPL2-only is not a issue for U-Boot but perhaps for > other user of device tree in other components, >       So if it is a blocking issue for Linux I can change it to > "GPL-2.0-only" in Linux and U-Boot > > > Patrick Hi, after test and to avoid the check-patch issue on next branch introduced by commit a04bb4c24a48 ("checkpatch: introduce proper bindings license check"), I will use the same license for the 2 files "GPL-2.0-only" as recommended in https://lore.kernel.org/all/CAL_Jsq+-YJsBO+LuPJ=ZQ=eb-monrwzuCppvReH+af7hYZzNaQ@mail.gmail.com => "Also, GPL-2.0-or-later is neither desired nor encouraged." And I will align the U-Boot files later.... Patrick