From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 845F6C04A68 for ; Wed, 27 Jul 2022 07:16:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229698AbiG0HQF (ORCPT ); Wed, 27 Jul 2022 03:16:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229544AbiG0HQE (ORCPT ); Wed, 27 Jul 2022 03:16:04 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 341B228712 for ; Wed, 27 Jul 2022 00:16:03 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id a13so18666672ljr.11 for ; Wed, 27 Jul 2022 00:16:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=wrSX0j+EcG826eaPkT4heSeSNOqpVnL4J2dou3r6bpU=; b=gXurlmd60qwOO5zmRida9FTQE1bALC6hYOM+EUMz7LD6+L1nP0Ph3C2BhbjrgyUXyR UJIl+1CTC1iU1h6+2DNn1dNI6qX/6zsmwsDXjy/BayZr5tQjVdX1V0duoGhdqVKoX87s 3AW5kDqBKp2Lo03NlUCXLYWJw7RcfeDZndU3uK5dCXHEWZli0nmL3exVeo8Fvb8LbHMe qFaRVjpnAHPXIhtvXWNTz8UD5m/TX7TUFIGBSyQYA5qBt8erqYn2P7W+ZM+BLqnR/y6o ZgertyEtCa/En3yiLFLsKQZ2I23ch5hCo/wO3i7P/n7Pe34xwWohxCsv2bY6h0HMPEvR PYKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=wrSX0j+EcG826eaPkT4heSeSNOqpVnL4J2dou3r6bpU=; b=6aklItdH6d2cbKtUo1iR/rXJi4L8VbtCDl3/Y/8yIpBKaqMAF9BlGU0CiVxEQu0xgH zNyaVhTi1Zv96p2lSuVzq3HktKlQ/ncm6/WIs+gubXnE8v2q7XU4VfDOBVbV8OZ9nAoK JH0Fdu8475QTFLRhL8XLUOC9UCVIlLTvO/ZG9u6nU/C55W1YK6lAfWQQkV4NpiXcyL5n 5Vz5LMcX5XkTxnAiE2abJ5UXjjunqir8YW14pZJv8O2xWWSdjnLSb11cJ6uOLtjTXbil EKne9BljEqbiTN8U91YrnM2gV2wjzJPAmpUt/G9viwDl2Ey7cFIKOyyNqCkMcAJspN3Z feog== X-Gm-Message-State: AJIora+VLvkkV6RcfQf6+sdogPqIH5M/fhePv9udhtNSqdiQIomXcEAL +QiU0O7rd2jwAuTd0ximq9yHTw== X-Google-Smtp-Source: AGRyM1vCKQQH1l7q1IMGQAuPOK2vcRK0IrrOUJJDODqAkc/RQyKVXcG4KoUBvmLa9zwDFPNF8Y8Ogg== X-Received: by 2002:a05:651c:b8b:b0:25e:35f:db9d with SMTP id bg11-20020a05651c0b8b00b0025e035fdb9dmr5084896ljb.397.1658906161546; Wed, 27 Jul 2022 00:16:01 -0700 (PDT) Received: from [192.168.3.197] (78-26-46-173.network.trollfjord.no. [78.26.46.173]) by smtp.gmail.com with ESMTPSA id v3-20020a05651203a300b00478f174c598sm258621lfp.95.2022.07.27.00.16.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Jul 2022 00:16:00 -0700 (PDT) Message-ID: Date: Wed, 27 Jul 2022 09:15:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 02/22] dt-bindings: power: Add power-domain header for RV1126 Content-Language: en-US To: Jagan Teki Cc: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Kever Yang , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Elaine Zhang References: <20220723204335.750095-1-jagan@edgeble.ai> <20220723204335.750095-3-jagan@edgeble.ai> <360f7d11-96f4-369e-1289-6c9dc3c49ca4@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 27/07/2022 09:09, Jagan Teki wrote: > On Wed, 27 Jul 2022 at 12:31, Krzysztof Kozlowski > wrote: >> >> On 27/07/2022 08:52, Jagan Teki wrote: >>> On Tue, 26 Jul 2022 at 19:22, Krzysztof Kozlowski >>> wrote: >>>> >>>> On 26/07/2022 15:44, Jagan Teki wrote: >>>>> On Sun, 24 Jul 2022 at 02:28, Krzysztof Kozlowski >>>>> wrote: >>>>>> >>>>>> On 23/07/2022 22:43, Jagan Teki wrote: >>>>>>> Add power-domain header for RV1126 SoC from description in TRM. >>>>>>> >>>>>>> Signed-off-by: Elaine Zhang >>>>>>> Signed-off-by: Jagan Teki >>>>>>> --- >>>>>>> include/dt-bindings/power/rv1126-power.h | 34 ++++++++++++++++++++++++ >>>>>>> 1 file changed, 34 insertions(+) >>>>>>> create mode 100644 include/dt-bindings/power/rv1126-power.h >>>>>>> >>>>>>> diff --git a/include/dt-bindings/power/rv1126-power.h b/include/dt-bindings/power/rv1126-power.h >>>>>>> new file mode 100644 >>>>>>> index 000000000000..f15930ff06f7 >>>>>>> --- /dev/null >>>>>>> +++ b/include/dt-bindings/power/rv1126-power.h >>>>>>> @@ -0,0 +1,34 @@ >>>>>>> +/* SPDX-License-Identifier: GPL-2.0 */ >>>>>> >>>>>> Dual license and a blank line, please. >>>>> >>>>> Yes, all rockchip power includes (at least here) are GPL-2.0 what is >>>>> the issue with it? >>>> >>>> The headers are part of bindings and all bindings should be dual >>>> licensed, so they can be used in other projects. >>>> >>>> Of course if copyright holder does not agree to release it on BSD, then >>>> it would be fine as exception. Also would be fine from us not to accept >>>> such bindings. :) >>> >>> I don't hold anything here to use dual-licensing. The only thing I'm >>> wondering here is none of the rockchip power includes (which are >>> merged) are using dual-licensing they simply have GPL-2.0 which is >>> used in BSP. Let me know what you suggest? >> >> Hm, I think you asked this above and I answered that dual license should >> be used. Maybe we misunderstand each other? > > Sorry, I'm asking again as I'm liable to change the license here or not. > >> >> Do you include in this header any work which cannot be licensed on BSD >> (e.g. is derivative of existing GPL-2 work)? > > Yes, it is from BSP > https://github.com/rockchip-linux/kernel/blob/develop-4.19/include/dt-bindings/power/rv1126-power.h Eh... if you don't have permission to relicense it and you copied the IDs (although one would say it is not really copyrightable work), then let it be GPL-2.0. In the future just write the IDs by yourself (not as derivative work) and dual-license the header. Best regards, Krzysztof