From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f51.google.com (mail-oo1-f51.google.com [209.85.161.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 55CDC7A for ; Wed, 4 May 2022 00:12:54 +0000 (UTC) Received: by mail-oo1-f51.google.com with SMTP id f2-20020a4a8f42000000b0035e74942d42so3351537ool.13 for ; Tue, 03 May 2022 17:12:54 -0700 (PDT) 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:content-transfer-encoding :in-reply-to; bh=NpgcwOXxUIOD9DVencnySKK5YuvmcBy25ONszQmYt3g=; b=qT7FYRAKnKfO7gisKUmKADqoRB07UBPdJ/MqlJA3ffZcGXMhYfq6JeZzvv414ROrTu ASixG2PjV+qQa6GbUtkCpZou6B6Xcd1HrEH14pY7WoTjDrRZfx525q9IC+dJgkvtJaf6 CV0Ge9fqGjvFjsEu8T4k0zSnWYqJ0qi86ENZta3q0I5qPv3jB1676gPYxW9ytmkiO8AK TraA1l8QEI6o0uhLifZfIUqfFM3MqpdkMZ95tOku3NsKQurAm6YaqGk8NKi4E0fRQI2F /MdxY0szNrF0WSq6qjmB0wIlSVHo+hJGc/TvYdDGOaAn+ID9TUTkkLSzQjmcRT5+qGPK IICQ== X-Gm-Message-State: AOAM531r6nzVplgCW3lK8nB7ogySGWRaXvu/1ShCeqOEolinVhhuv1CB E/BOsOWxEt6OrcZ/cG4izg== X-Google-Smtp-Source: ABdhPJyGBo9TWKVr3K3lIp/Txn9XdD6mgw1baqvv55+V+9a5WK6OdIb8Y4bF69xigWn6fvkFAmDQKw== X-Received: by 2002:a4a:8783:0:b0:324:b9a2:d605 with SMTP id b3-20020a4a8783000000b00324b9a2d605mr6498711ooi.38.1651623173315; Tue, 03 May 2022 17:12:53 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id q17-20020a9d6651000000b006060322127dsm4487354otm.77.2022.05.03.17.12.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 May 2022 17:12:52 -0700 (PDT) Received: (nullmailer pid 290579 invoked by uid 1000); Wed, 04 May 2022 00:12:51 -0000 Date: Tue, 3 May 2022 19:12:51 -0500 From: Rob Herring To: Jernej =?utf-8?Q?=C5=A0krabec?= Cc: icenowy@outlook.com, Chen-Yu Tsai , Samuel Holland , Ulf Hansson , Linus Walleij , Andre Przywara , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Icenowy Zheng Subject: Re: Re: [PATCH 05/12] dt-bindings: clock: sunxi-ng: add bindings for R329 CCUs Message-ID: References: <20220422140902.1058101-1-icenowy@aosc.io> <1910544.usQuhbGJ8B@kista> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1910544.usQuhbGJ8B@kista> On Tue, May 03, 2022 at 09:55:08PM +0200, Jernej Škrabec wrote: > Dne ponedeljek, 02. maj 2022 ob 23:34:27 CEST je Rob Herring napisal(a): > > On Fri, Apr 22, 2022 at 11:41:08PM +0800, icenowy@outlook.com wrote: > > > From: Icenowy Zheng > > > > > > R329 has a CPUX CCU and a R-CCU, with all PLLs in R-CCU. > > > > > > Add bindings for them, with R-CCU only taking 3 oscillators as input and > > > main CCU taking oscillators + PLLs as input. > > > > > > Signed-off-by: Icenowy Zheng > > > --- > > > --- /dev/null > > > +++ b/include/dt-bindings/clock/sun50i-r329-ccu.h > > > @@ -0,0 +1,73 @@ > > > +/* SPDX-License-Identifier: GPL-2.0 */ > > > +/* > > > + * Copyright (c) 2021 Sipeed > > > > It's 2022. > > > > > diff --git a/include/dt-bindings/clock/sun50i-r329-r-ccu.h b/include/dt- > bindings/clock/sun50i-r329-r-ccu.h > > > new file mode 100644 > > > index 000000000000..c327d1a1b602 > > > --- /dev/null > > > +++ b/include/dt-bindings/clock/sun50i-r329-r-ccu.h > > > @@ -0,0 +1,45 @@ > > > +/* SPDX-License-Identifier: GPL-2.0 */ > > > > > diff --git a/include/dt-bindings/reset/sun50i-r329-ccu.h b/include/dt- > bindings/reset/sun50i-r329-ccu.h > > > new file mode 100644 > > > index 000000000000..bb704a82443f > > > --- /dev/null > > > +++ b/include/dt-bindings/reset/sun50i-r329-ccu.h > > > @@ -0,0 +1,45 @@ > > > +/* SPDX-License-Identifier: (GPL-2.0+ or MIT) */ > > > > > diff --git a/include/dt-bindings/reset/sun50i-r329-r-ccu.h b/include/dt- > bindings/reset/sun50i-r329-r-ccu.h > > > new file mode 100644 > > > index 000000000000..40644f2f21c6 > > > --- /dev/null > > > +++ b/include/dt-bindings/reset/sun50i-r329-r-ccu.h > > > @@ -0,0 +1,24 @@ > > > +/* SPDX-License-Identifier: (GPL-2.0+ or MIT) */ > > > > Why the different licenses? GPL-2.0 OR BSD-2-Clause is preferred. MIT is > > fine if that's what matches the dts files. > > Yes, most, if not all, DT files for Allwinner are dual licensed under GPL2+ and > MIT. There are still some files under include/dt-bindings which are dual > licensed under GPL2+ and X11, but I believe those files are for older SoCs. Okay. FWIW, the SPDX definition of X11 means copyrighted by Xorg Consortium or something where as MIT is the same license with any other copyright. Rob