Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp909439ybi; Wed, 3 Jul 2019 06:31:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxjeXXPj7Eo7bBZ/uzs4O4f9Ivb6Bk2p1B62wyT+vg9g147xYEzBKTsdtr6ThLEJGdPx62O X-Received: by 2002:a17:90a:f488:: with SMTP id bx8mr12724486pjb.91.1562160703639; Wed, 03 Jul 2019 06:31:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562160703; cv=none; d=google.com; s=arc-20160816; b=cJoEhmVjiz++Vz979cZSSeOks3lznCg/Uw22arSiYPyzQhMHrXmfdOk1YZS0Ljr4XY 4rtgp5j6/kvlT0o7RKhRNtl+49xM6+lL7iD6JJk9b72X+Ga3g9S0BtDIsEjGaXnSVQyA B9wXtRvlrd751YsvrBs2JJ1IhK6hS4P36r9KCNrTNvlYgaGwz+201tSyNKcO8JOktYo0 NlDKhxRNOoaAg6CKB5zKDlzmH3sS0eZzpeeqB93Ee/fX3sPgbGP4M7tF3cWWvxsG0jCF BSN7ssIlv+W7weCkSOp/mCllBi+pyRN6SIlMunVPNL89bCqGx+msllBr8CmUuZYPAmJv BO2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=RrdXiMM9sgHhuYarzUaI6P+OVfHd1cK7yTjAA3dXMAQ=; b=VMOKx1qo2Fh6zyxE70Q9O/IP+MoX2qOCdo/d74L/1FZOeBalZvFDGNLSn8okAM7sWW m22A4XcWmYz3qiIXoPhrrod0YpLfdh4FbTpFgWcvymIl9QFo6SocmIxOu8fs5PqAhamt hPFuEg+v/n/luZoO7fbjVTbi11v4q8CUSfbtHdhIx6lRGDrIBkvoDEjWutgooRx7cUgG JAIumbXJyPqUOYF8F4ZJPobt73XDmdDs9x7TfoYeQemd2sEqeQwZctLNoPNWNTHQV8Wh 2rSLueYZEtp+EC68nDxyia98WVaPUUzkvYfLEPrWzzzyTc8j+axc97mB+zZnA0C4Ts+p hB4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BqdXSUPS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a13si2254353plm.333.2019.07.03.06.31.26; Wed, 03 Jul 2019 06:31:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BqdXSUPS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726686AbfGCNaO (ORCPT + 99 others); Wed, 3 Jul 2019 09:30:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:45100 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725830AbfGCNaO (ORCPT ); Wed, 3 Jul 2019 09:30:14 -0400 Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D20E1218A6; Wed, 3 Jul 2019 13:30:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562160613; bh=cTnWaBSee+lzmHVjDnO8oDfQOivVCKCn+qdIVLNTsGU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=BqdXSUPSo303eoTU7vVKkQ4GfPqANU4J/QUjenOb4vVv9QGo42NYw5JSZz3ho7ZFO aKEaVwlYydckJDB7R675dG1+ZpJBx/+Iea1OQd1f/k67lpSgO75ZbOX6U3aXA+Yoxc gp9uhKoupJTIZp8Y2k/rnprqfMEh0HjrmIg9p/is= Received: by mail-qt1-f174.google.com with SMTP id p15so872874qtl.3; Wed, 03 Jul 2019 06:30:12 -0700 (PDT) X-Gm-Message-State: APjAAAX1qQ2kckLplWnL27COxsi57AWhdgao1WuXSSFeLu/wD3CRqJy3 4vtWZzRG+z9NcH7C4uZKaTFgN9BvM1o/IFQ7Gg== X-Received: by 2002:a0c:acef:: with SMTP id n44mr32868030qvc.39.1562160612082; Wed, 03 Jul 2019 06:30:12 -0700 (PDT) MIME-Version: 1.0 References: <20190702203523.2412-1-martin.blumenstingl@googlemail.com> <20190702203523.2412-2-martin.blumenstingl@googlemail.com> In-Reply-To: From: Rob Herring Date: Wed, 3 Jul 2019 07:30:00 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/4] dt-bindings: phy: add binding for the Lantiq VRX200 and ARX300 PCIe PHYs To: Martin Blumenstingl Cc: linux-mips@vger.kernel.org, devicetree@vger.kernel.org, John Crispin , Kishon Vijay Abraham I , "linux-kernel@vger.kernel.org" , Hauke Mehrtens , Paul Burton , Ralf Baechle , Mark Rutland , Martin Schiller Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 3, 2019 at 2:58 AM Martin Blumenstingl wrote: > > Hi Rob, > > On Wed, Jul 3, 2019 at 1:34 AM Rob Herring wrote: > > > > On Tue, Jul 2, 2019 at 2:35 PM Martin Blumenstingl > > wrote: > > > > > > Add the bindings for the PCIe PHY on Lantiq VRX200 and ARX300 SoCs. > > > The IP block contains settings for the PHY and a PLL. > > > The PLL mode is configurable through a dedicated #phy-cell in .dts. > > > > > > Signed-off-by: Martin Blumenstingl > > > --- > > > .../bindings/phy/lantiq,vrx200-pcie-phy.yaml | 87 +++++++++++++++++++ > > > .../dt-bindings/phy/phy-lantiq-vrx200-pcie.h | 11 +++ > > > 2 files changed, 98 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/phy/lantiq,vrx200-pcie-phy.yaml > > > create mode 100644 include/dt-bindings/phy/phy-lantiq-vrx200-pcie.h > > > > > > diff --git a/Documentation/devicetree/bindings/phy/lantiq,vrx200-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/lantiq,vrx200-pcie-phy.yaml > > > new file mode 100644 > > > index 000000000000..b7b222e772d0 > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/phy/lantiq,vrx200-pcie-phy.yaml > > > @@ -0,0 +1,87 @@ > > > +# SPDX-License-Identifier: GPL-2.0 > > > > The preference is (GPL-2.0 OR BSD-2-Clause) for new bindings. > to make sure I understand this correctly: > the license is then only valid for the bindings - is it fine if the > driver uses GPL-2.0-only? Yes, as this isn't derived from the driver code nor used by the driver code (though that would be fine). BTW, 'GPL-2.0-only' is the newer, preferred form of 'GPL-2.0', so I guess we should be using (GPL-2.0-only OR BSD-2-Clause). > I don't have any datasheet for these SoCs so all my knowledge is based > on the GPL-2.0-only driver from the Lantiq board support package > (called "UGW"). > the .yaml file is 100% my own work so I'm fine with having GPL-2.0 OR > BSD-2-Clause > however, that still has to be compatible with my driver, which I chose > to be GPL-2.0-only because that's the license from the Lantiq board > support package > > > Martin