Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp37894170rwd; Tue, 11 Jul 2023 23:18:59 -0700 (PDT) X-Google-Smtp-Source: APBJJlEPyz83SvPZJGXGsfMujsu1P2ki9dX8PpU20bgcJDiywPyjWxQYEcr/7LSsXkOU/rngDvxq X-Received: by 2002:a05:6358:8813:b0:134:e777:c78b with SMTP id hv19-20020a056358881300b00134e777c78bmr20401024rwb.5.1689142739207; Tue, 11 Jul 2023 23:18:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689142739; cv=none; d=google.com; s=arc-20160816; b=zE6DnDwdLpVBIXie0hiL53DzO4zhrouWAEc7ABE4//D4drkEXqa8+nEd/a8NKILE/U qTjMEeOGjzWF2ZgXLrjgwKYs881FYRJ68U3CC8I87Ho3D/tmludCSjhqIVUsaBwPctHB qc3I4P8PEsClrG/GkhCl10FOA/MAJV79CRXbPN5EJInuNrsEj0H4g+Zv+TrNIRq1u4Jx O3iNpma+PUesuaH60/iv++Au1RdtWokugTTW4THY7Z/qfZQtFvqcRdV5qGmXVW9wl3Ab mPXVJ7n8AuGnJJxMppN2VZG9TfUzbL9Rgcj7gqzBRaDYWjaZjZ9Zl7D2vbRxT/x/5MV0 MEtQ== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=m1YbKiFqM090gUCnTTI+360ovt+fEPcs/XCL7R+ae5o=; fh=XZSM16B95Lz3og3sPaJo2U1x5jeEP0mCuRlmvltttfk=; b=bnzT2IfB6c372FBMRKNN96pcygazTYNQnh+/1G6tuAwbSjjnbhrg6tE/ArzRT+QnHH dLusHFtfBp7nngVC0yd1VnhY4yjdfdj9h01F0VpmmfLAR/iYX/HpOgJeR2VVcjIQhfC5 cmZLI1ThjWCYmLhr4HaqpS/nOFRN4DGDS5vKn8TTe/FW87CuOHVKqmBcM72+FYJR/DAM K1PaOub1RBTefK3jtF8Jyo12UYda15/kBWgH0c4lY34bwWYwT64jA5jLoo8qyGLs2CQT 2iSyu5/J1XA8xv0v71U8LmF7KRmAdot46Ez7msQ+/Kg7M55QmoW5U3I+NA8Lh32SynnW TIfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RDCxFd9Z; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b1-20020a655781000000b005347c4d09ddsi2563142pgr.678.2023.07.11.23.18.46; Tue, 11 Jul 2023 23:18:59 -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=@linaro.org header.s=google header.b=RDCxFd9Z; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231828AbjGLF4d (ORCPT + 99 others); Wed, 12 Jul 2023 01:56:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230196AbjGLF4c (ORCPT ); Wed, 12 Jul 2023 01:56:32 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B84B173A for ; Tue, 11 Jul 2023 22:56:30 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-51e5da79223so3294595a12.1 for ; Tue, 11 Jul 2023 22:56:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689141389; x=1691733389; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=m1YbKiFqM090gUCnTTI+360ovt+fEPcs/XCL7R+ae5o=; b=RDCxFd9ZchsRaClrOnejBcepkfj7xzss8D126jJveGs/1pgb91WAKSVVdZMyrFFxUD /tNI5vspbCVmLxFIUcfZeNYvqqAuMKjm65jmBrZZWTCg/uvKhEwWq84Bh8Hlc+ah/ckh u9wtiNUIdEam5urofKU5UoBqPpvpsbpdFOHtEWSB2h3DHMhbybwMMLukQyUA9uVOBZhW LsJEVHrf24hwUJZ1ZFPadZyN5eah1h02Ue8JQBP/8xcN+EsuQgu5R1bsQyFy9f9axJ4c HOsGsGPl4G/SypDFBNchG3m9ujMCgg6uQbq9nhJEW7H4Mqown6n5ShBFPknpJhCN2fGK /EtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689141389; x=1691733389; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=m1YbKiFqM090gUCnTTI+360ovt+fEPcs/XCL7R+ae5o=; b=OFYOzA4OIQ14U6f7O6T262Zd5jmfyoT7zfVeKFp6kCD0UkgqDWbToj8Jufjz/f3HOp U4lcD78coDuUqfzZ5sq4K6033LP+l2KoMfZc/hxcKVhlkjpMyR8FFqxhoY8B/Hg6nOaW 9i5+b0dLBqgWSBBj0I6VBGpq0NB3MXRBxe7u4+6zW5olBbj5lrLVaJHi5C62S01pZz4f ifSuxCjAEFxHpr7DAQGq9zDLSTTrgaOD4SDzdE0dvDRyyO1MWUjArDipz9vmTmeuTRMn eD3cNEyxNSkr1U02VNaX6krOeKAthYwd6cA8qGIfi+id4MZgWbif6jtfw/1BIZOwVCyg vkCQ== X-Gm-Message-State: ABy/qLYZAEg0AvVGTx/jZbaT6cVY/sNFOXVQyZW1dy4EtcBNeuTIsc7u LWt5oZsp7MO88bjdj654KUUGXA== X-Received: by 2002:a50:ef07:0:b0:51e:2974:f471 with SMTP id m7-20020a50ef07000000b0051e2974f471mr13156566eds.42.1689141388970; Tue, 11 Jul 2023 22:56:28 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id a2-20020aa7d902000000b0051e0eba608bsm2214158edr.19.2023.07.11.22.56.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Jul 2023 22:56:28 -0700 (PDT) Message-ID: <33bcb7c0-0bf9-e3fc-ec55-476c0cbd6105@linaro.org> Date: Wed, 12 Jul 2023 07:56:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH V2 1/2] dt-bindings: gpio: Add a header file for Amlogic C3 SoCs Content-Language: en-US To: Conor Dooley , Huqiang Qin Cc: linus.walleij@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, neil.armstrong@linaro.org, khilman@baylibre.com, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com, brgl@bgdev.pl, andy@kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230710042812.2007928-1-huqiang.qin@amlogic.com> <20230710042812.2007928-2-huqiang.qin@amlogic.com> <20230710-maybe-mantis-e647d94fd13a@spud> <424cb61a-9102-9a43-c999-36939e8d6cc0@amlogic.com> <20230711-monthly-return-8792ce346c26@spud> From: Krzysztof Kozlowski In-Reply-To: <20230711-monthly-return-8792ce346c26@spud> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,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 11/07/2023 20:05, Conor Dooley wrote: >>>> +++ b/include/dt-bindings/gpio/amlogic-c3-gpio.h >>>> @@ -0,0 +1,72 @@ >>>> +/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ >>> Any reason to deviate from the usual license terms for bindings, which is >>> "GPL-2.0-only OR BSD-2-Clause"? >> >> I initially used the license commonly used by Amlogic (reference: meson-s4-gpio.h): >> ``` >> /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ >> ``` >> >> But when I checked the patch, some warnings appeared: >> ``` >> WARNING: DT binding headers should be licensed (GPL-2.0-only OR .*) >> #37: FILE: include/dt-bindings/gpio/amlogic-c3-gpio.h:1: >> +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ >> ``` >> So I followed the prompts and changed the license. >> >> Can I ignore this warning and use the (GPL-2.0+ OR MIT) license? > > If the tools are happy then I suppose you are okay.. I'll leave that to > Rob or Krzysztof, but if you have a reason for diverging that seems fine > to me. It is very weird that company wants GPLv3 and even weirder that it agrees for GPLv4 and GPLv5 (GPLv5 might force Amlogic to do some interesting things...). I am pretty sure company lawyers don't want it and just do not understand licenses or someone forgot to actually check it. Anyway, it's fine for Linux kernel, if you really need it. However the argument was "meson-s4-gpio.h" has it, which is not really correct argument or accurate. Is it derivative work that you need the same license? If not, why presence of something causes you to do the same without thinking? If Amlogic requires GPLv3 or GPL4 or GPLv2000, please confirm it here with your official email. Otherwise, if it is not a derivative work confirm that. Otherwise just go with what checkpatch asks you. Best regards, Krzysztof