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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9CA8AC43334 for ; Tue, 5 Jul 2022 13:55:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 759D184509; Tue, 5 Jul 2022 15:55:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="pJT/7ma5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 58B4F84511; Tue, 5 Jul 2022 15:55:38 +0200 (CEST) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8117584509 for ; Tue, 5 Jul 2022 15:55:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82e.google.com with SMTP id ck6so13700810qtb.7 for ; Tue, 05 Jul 2022 06:55:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=yCfBc+gpgNaT5YveWSwDI4CI0VuXBQpsu51Rq5p/KQM=; b=pJT/7ma5SK4uQwwI50S72yL85Zf0SY0i2Wyeen/cK2M03teXD9DNduzagHEOVrujJC XuDQO9BCkiP32CuPBVkOSN0BivvoIUQppcjXqlvaNq6p4eOP5BcHPUBF3XaLSnvNseXz VF0GCb0MnhOrm9XXzaevlPyCnFKP8fbZZjI2Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=yCfBc+gpgNaT5YveWSwDI4CI0VuXBQpsu51Rq5p/KQM=; b=4lAOsitB+O30/InFv+C+13yS0159GX3r/BhRd9ZOSr4/+R7X2rksoLWH90V70mSjwt QsvYEP/Bd4w7Vq+7T5BC42+IHEB/SWYP5ZjKEkxSMtL241lIy2yRfjalLx0OwaRK57vU AUMEWEygDFBQhNG08sE+tWgZ3JeDxf4OdcAwN7YT7PRNrlsy0nyrhmVf2ZRurJfGhdLa m1v/dX/uP/IV6flhjXZZ2QviLX4IcaEtRu1WCLOOFqO3/ijdFGsC3LgqZknrddo0iNSh GrBuhz560SBhNKoMeSzemmQNVwGMwCPDg5Zv4IS/zxx6q+hnuQAY02kkxobvX9BB0khz 02BA== X-Gm-Message-State: AJIora8vNQQA/N6iqWV2k5PTvjXfqs4fFSireKXR394WRsdh2lVZ8h2x RXRABOTpKa9D6LHnYLMNb9jCfg== X-Google-Smtp-Source: AGRyM1tdWPlYlyNoyaNE4IMSZHUHeyG3pfiai4lhLYMV7zNWcNnvxto4hywh86lN7LjYc+4HCpCUiA== X-Received: by 2002:ac8:7f4b:0:b0:31d:4777:c52 with SMTP id g11-20020ac87f4b000000b0031d47770c52mr11031514qtk.648.1657029333575; Tue, 05 Jul 2022 06:55:33 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id b12-20020ac86bcc000000b00304ef50af9fsm21909934qtt.2.2022.07.05.06.55.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 06:55:32 -0700 (PDT) Date: Tue, 5 Jul 2022 09:55:30 -0400 From: Tom Rini To: Sean Anderson Cc: Simon Glass , teik.heng.chong@intel.com, U-Boot Mailing List , Lukasz , Simon , Kris , Kok Kiang , Tien Fong , Siew Chin , Sin Hui , Raaj , Dinesh , Boon Khai , Alif Subject: Re: [Update license 1/1] drivers: clk: Update license for Intel N5X device Message-ID: <20220705135530.GP1146598@bill-the-cat> References: <20220629055150.2084-1-teik.heng.chong@intel.com> <076bacbe-bfa9-9fd3-9249-4ba02b4fb92a@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="q7xFpbLMA4v1i4j3" Content-Disposition: inline In-Reply-To: <076bacbe-bfa9-9fd3-9249-4ba02b4fb92a@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean --q7xFpbLMA4v1i4j3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 05, 2022 at 09:48:45AM -0400, Sean Anderson wrote: > On 7/5/22 5:47 AM, Simon Glass wrote: > > Hi, > >=20 > > On Wed, 29 Jun 2022 at 10:58, wrote: > > >=20 > > > From: Teik Heng Chong > > >=20 > > > All the source code of clk-mem-n5x.c and clk-n5x.c are from Intel, > > > update the license to use both GPL2.0 and BSD-3 Clause because this > > > copy of code may used for open source and internal project. > > >=20 > > > Signed-off-by: Teik Heng Chong > > > --- > > > drivers/clk/altera/clk-mem-n5x.c | 4 ++-- > > > drivers/clk/altera/clk-mem-n5x.h | 4 ++-- > > > drivers/clk/altera/clk-n5x.c | 4 ++-- > > > drivers/clk/altera/clk-n5x.h | 4 ++-- > > > 4 files changed, 8 insertions(+), 8 deletions(-) > > >=20 > > > diff --git a/drivers/clk/altera/clk-mem-n5x.c b/drivers/clk/altera/cl= k-mem-n5x.c > > > index ca44998641..9bbe2cd0ca 100644 > > > --- a/drivers/clk/altera/clk-mem-n5x.c > > > +++ b/drivers/clk/altera/clk-mem-n5x.c > > > @@ -1,6 +1,6 @@ > > > -// SPDX-License-Identifier: GPL-2.0 > > > +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause > >=20 > > +Tom Rini > >=20 > > OR is not a license so I think you should drop that word. >=20 > OR is valid in SPDX license identifier expressions >=20 > https://spdx.dev/spdx-specification-21-web-version/#h.jxpfx0ykyb60 >=20 > > Also U-Boot is GPL so seems strange to use a different license for > > these files. If it was wrong initially, perhaps add a 'Fixes' tag? >=20 > As used in U-Boot, this effectively is an AND (since this code will be > linked with GPL code). As stated in the commit message, presumably this > is to allow use in other (BSD-licensed) projects. Tom, do we generally > allow this sort of thing? Is it OK for someone to come along later and > change the license back (e.g. make it GPL-only again)? >=20 > I *would* like to see a RB or AB from Siew Chin Lim, since he is the > original author of this code, but since it is copyright Intel I suppose > it is fine to leave him out... Note this already is in master. As it's all Intel commits, I figured that was good enough for being able to do this kind of change. As to dual licensing of C code, I'm not in favor of this, overall, no. I understand why device trees do it. And most of the other in-tree examples here are places we import other code from and for good reason (I'm thinking the Android related headers). In this specific example, I'm going to assume that the rigorous legal review I know Intel does in some cases would be done here as I'm not sure how exactly drivers/clk/altera/clk-n5x.c could be used as-is somewhere else, but I also see how about 90% of it could be shared with some other project and not reference U-Boot specifics. --=20 Tom --q7xFpbLMA4v1i4j3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmLEQs4ACgkQFHw5/5Y0 tyxuzAv9Hv6vSujb4OJEvC1EFouIKdOUp80k1ybr8Q5hIh/jgpL09hgdlD3FOuWl IUDNv9vZ96b03jqgaDbmBp2g2asTufyvLZo2LA4SJO+GkSvicYBB5mX2k4ARAntl Fle8mT4bhKdTy3HE/7v8irLA2C9RdiUmEaUvnKx7MZf+IOEbcXNjvQiYxOGFz3TJ weq1N4AFTqxzr41obN5cXvoukyV88TwZ1+dBUvFjKG5vNiYx97kp6CIjSLg0NkPm sC66tZcJKZ0/7D2gmBJWVFlsb4+kqBgFDuoww9YyNdwRHr2ZVlcULJMVjc6DFo9i EDYvgIfZlsFr6y6LM790qEhf9fMSNyGGPgvrgKWNhOTJLpIWe6UWTImcM8OsQp+q lPcQfHIEmkaX1xPUHxJzaERqW/OVrUEaElcIvgvut/xePvfnJiI5Obs50JWgnUHW qrk5rx+9b6p96jSiWwWxKvjA7mf0gNGL0eWoi4naHc6GW0TmZUjTgfI30iuzU1DD xyl0gvcj =JpIS -----END PGP SIGNATURE----- --q7xFpbLMA4v1i4j3--