Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp1005446pxb; Fri, 13 Aug 2021 11:07:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+swp8gadCNC1WV/bQs6UugowGGF51P2+EIYsmZKheb1RD5JywASCnAppXRi1Kn5tCKulR X-Received: by 2002:a05:6402:29a:: with SMTP id l26mr4705087edv.347.1628878039019; Fri, 13 Aug 2021 11:07:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628878039; cv=none; d=google.com; s=arc-20160816; b=RKiTSRmVsbEfapXycp07HI4BDPjGtTzs/MtUZJHxJnanK4jmm2LeE5RJONzdERfDSF aa7DoOs67E9E5dBVn8VoGdcT/PsJ79Bvex9LnOz6HE4X89B5CdugOeoGxQ0LWcjGyaV2 R/quI3eCb0tgECi2BGIKs6q1ArKA9D66fIE1ZHJ6hTlcea6OpRdb21V6uPbyhmj7ZkEe 0dBDAeo+hBXj8IpobqCG/Az/B/mrVuzlYHSwnlTTKoNPBs2KodL+6kR797SFLQyMRZgO JHuzChJH5qApyG+5sf5fK5A2W0rLMo0++8okKAyfiI+ImxnaOuGssICIsewRfnwAvr2S ViNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=3jaTA2yjA5SS7lnLCvNvkVrtuwgO6LNiLl2iqDgDWV4=; b=f2yVDaeNsAC8y3FoxSN99TlluqeQTad3r+qIhUAnAA39Jc/QBpkoqT92+aKJtVb1Me RLICw2pBl4Lvc0eYPDoUwSwMp8SQFlczVMyCK0mB4R6fa98sE59jACdE4gJgX6BUyxv2 uQWmYn9EXnLfSbf5IzCoghkBeUiUUzcufoiGNwYptd7n5RUeVbmrO2232X+ODuzNS1Uh GNAFiNiE2QexmNW84epk3lFS/qnQP2epQXJYYn+2S8rLl3Slw2EXmGwfs0hcKh7h3hFX 11sdsJUgTf0t1iEIh+GAPMbfN59DpMaxXM5Wz4vr7KV9XkBxlzqi5IzZHinzp5mUt0YS gEcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id r17si2321171edv.508.2021.08.13.11.06.32; Fri, 13 Aug 2021 11:07:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232297AbhHMSFP (ORCPT + 99 others); Fri, 13 Aug 2021 14:05:15 -0400 Received: from mail-oi1-f174.google.com ([209.85.167.174]:34337 "EHLO mail-oi1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbhHMSFO (ORCPT ); Fri, 13 Aug 2021 14:05:14 -0400 Received: by mail-oi1-f174.google.com with SMTP id t128so17105396oig.1; Fri, 13 Aug 2021 11:04:47 -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:content-transfer-encoding :in-reply-to; bh=3jaTA2yjA5SS7lnLCvNvkVrtuwgO6LNiLl2iqDgDWV4=; b=uCGjIWE5LKuPlUf+YPEBXQHftPADeFPx0yEu1HeA4vRxUXFmQgqPLYSeQmeKGwpb22 D15r/ud8p360FpvUPZ+UP2jN9PsalDwdwTcmrtzU/owSj7SIZeFesdkayUCqZ/PfZuOo zWcroDxrO9KczfRxiiNmLHA0hmdkt7KhScYVbLt+vTDxfJircs2fQegMQCi0MnTlGIuA e3VYQHRPotxYTGwdnX62MsEs9JZLfBtqvSV/2Jk27kFBLmLILfaGlP0Vq/kUEsOmJ43J kjgkhyNA6a6P5tB1Fp5fHKor2E6Z7qOrmtXuwdgpppFxD/sNXZYiF1GeAIZMol4nWUfH tAmw== X-Gm-Message-State: AOAM533tHfemG1pmfIMbVw/uUgwX9EswbitozjkstnWZ90GOCZBDVABO GbB6zM2umbUktjSlVX1x5w== X-Received: by 2002:a05:6808:20a:: with SMTP id l10mr3205935oie.20.1628877886916; Fri, 13 Aug 2021 11:04:46 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id j2sm494191oia.21.2021.08.13.11.04.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Aug 2021 11:04:46 -0700 (PDT) Received: (nullmailer pid 3776476 invoked by uid 1000); Fri, 13 Aug 2021 18:04:43 -0000 Date: Fri, 13 Aug 2021 13:04:43 -0500 From: Rob Herring To: Chester Lin Cc: Krzysztof Kozlowski , Andreas =?iso-8859-1?Q?F=E4rber?= , Greg Kroah-Hartman , Shawn Guo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, Oleksij Rempel , Stefan Riedmueller , Matthias Schiffer , Li Yang , Fabio Estevam , Matteo Lisi , Frieder Schrempf , Tim Harvey , Jagan Teki , s32@nxp.com, catalin-dan.udma@nxp.com, bogdan.hamciuc@nxp.com, bogdan.folea@nxp.com, ciprianmarian.costea@nxp.com, radu-nicolae.pirea@nxp.com, ghennadi.procopciuc@nxp.com, Matthias Brugger , "Ivan T . Ivanov" , "Lee, Chun-Yi" Subject: Re: [PATCH 2/8] dt-bindings: serial: fsl-linflexuart: convert to json-schema format Message-ID: References: <20210805065429.27485-1-clin@suse.com> <20210805065429.27485-3-clin@suse.com> <1ff13837-e6ca-c476-376d-b4f80450a259@suse.de> <0b42dc7e-a7c1-fe41-e39a-89627d44cbe4@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 13, 2021 at 07:43:17PM +0800, Chester Lin wrote: > On Fri, Aug 13, 2021 at 01:28:40PM +0200, Krzysztof Kozlowski wrote: > > On 13/08/2021 13:11, Chester Lin wrote: > > > Hi Andreas, > > > > > > On Thu, Aug 12, 2021 at 06:04:44PM +0200, Andreas F?rber wrote: > > >> On 05.08.21 08:54, Chester Lin wrote: > > >>> Convert the FSL LINFlexD UART binding to json-schema. > > >>> > > >>> Signed-off-by: Chester Lin > > >>> --- > > >>> .../bindings/serial/fsl,s32-linflexuart.txt | 22 --------- > > >>> .../bindings/serial/fsl,s32-linflexuart.yaml | 48 +++++++++++++++++++ > > >>> 2 files changed, 48 insertions(+), 22 deletions(-) > > >>> delete mode 100644 Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt > > >>> create mode 100644 Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml > > >> > > >> Thanks for your effort, Chester. > > >> > > >>> diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt > > >>> deleted file mode 100644 > > >>> index f1bbe0826be5..000000000000 > > >>> --- a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt > > >>> +++ /dev/null > > >>> @@ -1,22 +0,0 @@ > > >>> -* Freescale LINFlexD UART > > >>> - > > >>> -The LINFlexD controller implements several LIN protocol versions, as well as > > >>> -support for full-duplex UART communication through 8-bit and 9-bit frames. > > >>> - > > >>> -See chapter 47 ("LINFlexD") in the reference manual[1]. > > >>> - > > >>> -Required properties: > > >>> -- compatible : > > >>> - - "fsl,s32v234-linflexuart" for LINFlexD configured in UART mode, which > > >>> - is compatible with the one integrated on S32V234 SoC > > >>> -- reg : Address and length of the register set for the device > > >>> -- interrupts : Should contain uart interrupt > > >>> - > > >>> -Example: > > >>> -uart0: serial@40053000 { > > >>> - compatible = "fsl,s32v234-linflexuart"; > > >>> - reg = <0x0 0x40053000 0x0 0x1000>; > > >>> - interrupts = <0 59 4>; > > >>> -}; > > >>> - > > >>> -[1] https://www.nxp.com/webapp/Download?colCode=S32V234RM > > >>> diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml > > >>> new file mode 100644 > > >>> index 000000000000..acfe34706ccb > > >>> --- /dev/null > > >>> +++ b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml > > >>> @@ -0,0 +1,48 @@ > > >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > >> > > >> Since this is dual-licensed and BSD-2-Clause would seem compatible with > > >> GPLv3, this could probably be s/GPL-2.0-only/GPL-2.0-or-later/ ? Not a > > >> blocker. > > > > > > There's no license identifier in the original file so it's not a problem to > > > choose "GPL-2.0-or-later". > > > > That is not entirely correct. If there is no explicit license in the > > file, it's kernel's default so GPL-2.0-only. You cannot relicense > > derivative work without getting permission from authors and copyright > > holders. > > > > However if you did not copy the text/description from original bindings, > > your work won't be derivative so you can relicense it. > > > > Sorry for my misunderstanding and thanks for the reminder. TBC, please try and get permission to relicense. The single author was from NXP so changing the license here just needs the okay from any NXP employee. But use 'GPL-2.0-only' not 'GPL-2.0-or-later' please. As gregkh says, are you okay with GPLv4, v5, etc.? Rob