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 X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE33FC4320E for ; Tue, 31 Aug 2021 21:04:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A097A60FE6 for ; Tue, 31 Aug 2021 21:04:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241364AbhHaVF3 (ORCPT ); Tue, 31 Aug 2021 17:05:29 -0400 Received: from mail-oo1-f49.google.com ([209.85.161.49]:37847 "EHLO mail-oo1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233319AbhHaVF2 (ORCPT ); Tue, 31 Aug 2021 17:05:28 -0400 Received: by mail-oo1-f49.google.com with SMTP id k20-20020a4ad114000000b0029133123994so171495oor.4; Tue, 31 Aug 2021 14:04:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=6X3lAPOMxLN3rTFAzVGKXhE+6Wf53mp+fiu4u2XkFqk=; b=l94qxI8GPiiFcg+4t6FOez3yPmStzocSni52ewodhI4HJwPmCfsolPEN2cz9YzDWt9 +qUHJ5qD+finlVxfptk2DoSINrlrvYZfHmLe6eNlP5F/8L1001/NrzLfnpw2Hl426qRc X1IC+cTDIL+xzWDSoSFqkcEP/ULJt2eSZs1/K0k0zu324I3RFvUk/62gSeaUNmanSmy2 sWGzg9mMwAsyv6Pw8r2NsDZuzNQsTKPmTZ+lWyxCda3HRt0dw6E1Xk9XCrSHOMAFFymd UTX9kmhM5XlZ3Wro3Xx7JfLyjLRN/MAnhUTjTHxHWRMlONK6lWks74dWpylHf2kUh13+ U0Ug== X-Gm-Message-State: AOAM531wsFUK4aYMBPqMVOvOtfSL5llpfAt5EVXelZTTRdDwG7hE6yeh PFNjtQceiqZK0KotXd90uA== X-Google-Smtp-Source: ABdhPJy+38wLNdyakfjq94b8uvfK2Po7YdP3ly0uds0JQwpVUySa5ejGfx0wM2mvRMMEx74jC64xjg== X-Received: by 2002:a4a:b502:: with SMTP id r2mr13715589ooo.70.1630443872079; Tue, 31 Aug 2021 14:04:32 -0700 (PDT) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id l44sm3971442otv.81.2021.08.31.14.04.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Aug 2021 14:04:30 -0700 (PDT) Received: (nullmailer pid 643668 invoked by uid 1000); Tue, 31 Aug 2021 21:04:05 -0000 Date: Tue, 31 Aug 2021 16:04:05 -0500 From: Rob Herring To: Mark Kettenis Cc: devicetree@vger.kernel.org, alyssa@rosenzweig.io, kettenis@openbsd.org, tglx@linutronix.de, maz@kernel.org, marcan@marcan.st, bhelgaas@google.com, nsaenz@kernel.org, f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, jim2101024@gmail.com, daire.mcnamara@microchip.com, nsaenzjulienne@suse.de, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-rpi-kernel@lists.infradead.org Subject: Re: [PATCH v4 1/4] dt-bindings: interrupt-controller: Convert MSI controller to json-schema Message-ID: References: <20210827171534.62380-1-mark.kettenis@xs4all.nl> <20210827171534.62380-2-mark.kettenis@xs4all.nl> <561420d562d3e421@bloch.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <561420d562d3e421@bloch.sibelius.xs4all.nl> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 27, 2021 at 09:15:11PM +0200, Mark Kettenis wrote: > > From: Mark Kettenis > > Date: Fri, 27 Aug 2021 19:15:26 +0200 > > > > From: Mark Kettenis > > > > Split the MSI controller bindings from the MSI binding document > > into DT schema format using json-schema. > > > > Signed-off-by: Mark Kettenis > > --- > > .../interrupt-controller/msi-controller.yaml | 34 +++++++++++++++++++ > > .../bindings/pci/brcm,stb-pcie.yaml | 1 + > > .../bindings/pci/microchip,pcie-host.yaml | 1 + > > 3 files changed, 36 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/msi-controller.yaml > > > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/msi-controller.yaml b/Documentation/devicetree/bindings/interrupt-controller/msi-controller.yaml > > new file mode 100644 > > index 000000000000..5ed6cd46e2e0 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/interrupt-controller/msi-controller.yaml > > @@ -0,0 +1,34 @@ > > +# SPDX-License-Identifier: BSD-2-Clause > > Noticed that checkpatch complains that the preferred license for new > binding schemas is (GPL-2.0-only OR BSD-2-Clause) so I'll fix that in > the next version. Yes, but the text you copied is default GPL-2.0, so you need the author's permission to add BSD license. However, as Mark Rutland wrote all of msi.txt for Arm Ltd, I can tell you dual licensing this is fine. Maybe it's so little to fall under fair use anyways, but IANAL. Rob 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 X-Spam-Level: X-Spam-Status: No, score=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E04AC432BE for ; Tue, 31 Aug 2021 21:08:41 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6806F60698 for ; Tue, 31 Aug 2021 21:08:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6806F60698 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pfllSB+2zaK4uDNtA9voDrzk1z44Yv9TTukWYCwKu+k=; b=h1w8IY6Yd4A1/u o+YrannJnIMUUMDXkNjsMsMhNiXM26Xm6J8UwLJFjRaiqAkfUlm0le4fjc39y6wpOVaO6OPUlIdxh PaDJ6IIXedQftvPqnyH/K4FwnFGCcLbUO1ZYHbSr/A1dG3u9a7G6pRmitWMjn5O+Pve1rXU5ZX+/6 k8V9DS9O11EOzlr2JOLYNiL8SDOntJmK1SLtPPiOU7opEjSUolG8M+7mxSDvTYQnlDxKxStSPGWVC vepLEShVx3H2nWlGzCqBN6AYTr5qqwd+cbH5jCREmsBLUgK3BUydSySST86gl7Lkm0EaQhnMeHTV8 m+yf8C4+FP5ME09A8AcA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLAvv-003COM-S4; Tue, 31 Aug 2021 21:04:40 +0000 Received: from mail-oo1-f44.google.com ([209.85.161.44]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLAvp-003CNI-BM; Tue, 31 Aug 2021 21:04:36 +0000 Received: by mail-oo1-f44.google.com with SMTP id m11-20020a056820034b00b0028bb60b551fso172471ooe.5; Tue, 31 Aug 2021 14:04:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=6X3lAPOMxLN3rTFAzVGKXhE+6Wf53mp+fiu4u2XkFqk=; b=qxSRkXuGfyisYlP+DfMRX/QQMt0KgwvnxwI0AmIL2rVKwOrLSEOWY2lrO3LLnHT1S8 mQRl9NKqhqf3lzWn4U9Gt1H0ZeOa6a425blevkcSMPwDrei04zYb0IHNcYQp06oboYK1 GAzxk4PBAv8SP2+hIBt8Pn1hae7712HERSxAFzEQ2NCzxDUVx2ogB3+zXZ1U3UcojsqI zPN+By74Ou/F51UL9psmcBMtre3TunzIIIWa5HqKqeXkyDftz3ZLr4L83TLD65rEUL9C X3sceMTWZKmDDsjmVTFGD5XZpuh6tLsb9r31murzhMu0PJpVMMknXQ6OCS4raaBCVuRM jw3Q== X-Gm-Message-State: AOAM5333U/sAWvYk6b35jUa0MD3HOskWvk4fxPPsDi735sHxk1HhyBO8 SlW2TsUt6CyDF3GgSDGomg== X-Google-Smtp-Source: ABdhPJy+38wLNdyakfjq94b8uvfK2Po7YdP3ly0uds0JQwpVUySa5ejGfx0wM2mvRMMEx74jC64xjg== X-Received: by 2002:a4a:b502:: with SMTP id r2mr13715589ooo.70.1630443872079; Tue, 31 Aug 2021 14:04:32 -0700 (PDT) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id l44sm3971442otv.81.2021.08.31.14.04.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Aug 2021 14:04:30 -0700 (PDT) Received: (nullmailer pid 643668 invoked by uid 1000); Tue, 31 Aug 2021 21:04:05 -0000 Date: Tue, 31 Aug 2021 16:04:05 -0500 From: Rob Herring To: Mark Kettenis Cc: devicetree@vger.kernel.org, alyssa@rosenzweig.io, kettenis@openbsd.org, tglx@linutronix.de, maz@kernel.org, marcan@marcan.st, bhelgaas@google.com, nsaenz@kernel.org, f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, jim2101024@gmail.com, daire.mcnamara@microchip.com, nsaenzjulienne@suse.de, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-rpi-kernel@lists.infradead.org Subject: Re: [PATCH v4 1/4] dt-bindings: interrupt-controller: Convert MSI controller to json-schema Message-ID: References: <20210827171534.62380-1-mark.kettenis@xs4all.nl> <20210827171534.62380-2-mark.kettenis@xs4all.nl> <561420d562d3e421@bloch.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <561420d562d3e421@bloch.sibelius.xs4all.nl> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210831_140433_430373_EC2BBFBB X-CRM114-Status: GOOD ( 17.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Aug 27, 2021 at 09:15:11PM +0200, Mark Kettenis wrote: > > From: Mark Kettenis > > Date: Fri, 27 Aug 2021 19:15:26 +0200 > > > > From: Mark Kettenis > > > > Split the MSI controller bindings from the MSI binding document > > into DT schema format using json-schema. > > > > Signed-off-by: Mark Kettenis > > --- > > .../interrupt-controller/msi-controller.yaml | 34 +++++++++++++++++++ > > .../bindings/pci/brcm,stb-pcie.yaml | 1 + > > .../bindings/pci/microchip,pcie-host.yaml | 1 + > > 3 files changed, 36 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/msi-controller.yaml > > > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/msi-controller.yaml b/Documentation/devicetree/bindings/interrupt-controller/msi-controller.yaml > > new file mode 100644 > > index 000000000000..5ed6cd46e2e0 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/interrupt-controller/msi-controller.yaml > > @@ -0,0 +1,34 @@ > > +# SPDX-License-Identifier: BSD-2-Clause > > Noticed that checkpatch complains that the preferred license for new > binding schemas is (GPL-2.0-only OR BSD-2-Clause) so I'll fix that in > the next version. Yes, but the text you copied is default GPL-2.0, so you need the author's permission to add BSD license. However, as Mark Rutland wrote all of msi.txt for Arm Ltd, I can tell you dual licensing this is fine. Maybe it's so little to fall under fair use anyways, but IANAL. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel