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,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 0E5C8C4338F for ; Fri, 13 Aug 2021 11:46:26 +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 BEEFF61042 for ; Fri, 13 Aug 2021 11:46:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BEEFF61042 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com 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:MIME-Version:In-Reply-To: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=cCnDnsIo/uwH6/CIXewfkm8iP4bkkPeXxnPXZBugb8U=; b=NwkXZyyMFsBzl8 HkcNDbBsV3H8cF/qgQGPKChlQVrUIP4/IHIfmHbaX03cj1bX5EbPDPlkfhW7Kk9USpaA1SGwv+ACx 7IAIFLk1mAuRAej5zFldi0IpgS90fr3qnslPKUd3KU3RyeHa3v0BgxmbZvJ0hcULeVSf9DJJvDJ/j V1ub0ndTSho5/6PFaC8TwNbMi8uJtucpO85KDjlOr40yKNQaWpx8XFA61OHIFUOfXTPMXelrzEaL7 a1Xsqjcfx1z4VqdAwWJUIe5jFZC12FqFgaiqRNGcAy0bUVtzYd+3roWKU4MKkQSaJeL86lrS3zfOH LANnlAXtfWIe4LRtUT7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEVbH-00CY6I-JN; Fri, 13 Aug 2021 11:43:47 +0000 Received: from de-smtp-delivery-102.mimecast.com ([194.104.111.102]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEVbB-00CY5f-Hk for linux-arm-kernel@lists.infradead.org; Fri, 13 Aug 2021 11:43:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1628855019; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WVwPfKDC8Iw0H+ktDvAT/5PKvV6UKDIRQwi8tN8/qRM=; b=mUm5AezXww5YF/0t014oZSK3DYjDkz7l6fNJQdU8j8P+wtgr7AcIq5ZncLH/hCACA5g+KM MYZg9L2A+/2NyMYg6SBsGNT9e6NnhhJ7f4o5FLwfG+9g2UpvV1N3udTzeOMtUvHZZdZUSL A73OWR5SXqRFjrwI09E7YpNH8qqZyYQ= Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04lp2059.outbound.protection.outlook.com [104.47.12.59]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-2-luxq68jwNZOSaAAzXB2ERg-1; Fri, 13 Aug 2021 13:43:38 +0200 X-MC-Unique: luxq68jwNZOSaAAzXB2ERg-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EsfoC6B/k6wZaSCgT/ZhxI0gEq/uzdUg+8qFW49Ee5xTXlx44w7KICWtIXJ1xgvKabDJkI6N1cUjiPoB09NVr+LJ8VWDjOMk7RtfK9oW4BgAdKWu372tdVHRIDgpnHJYMyOcPR7oe5T5vMfj8F2mBrPyQENuWkzaz+JRtRbS2saKvwZRP/SSJLnAHSG4HG3MHVi6vzk1yJqPNmZNHvHJTPDRn0L0Y3oauFLjmfux6gErC7n35WAj9UB9n8YOLNtDx5u8imMSRnX+L+d5fOQ7J8YZrUkHJwtrZ2vAQAOfQBSAmnzd/gutwilgwDdjohmcBo9apHyBTD4W/88Kwfn9BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8IfJlhlHglGw3DCZ/+1JXzoHUnD3KZlayIStNm7SXHk=; b=kLz1UhRwf2eX41DnfmDwuJ9rXDhuGk4crkqDdomx6FS90udVvcuOEy+DmJXGFyAcaBweyPCGI07kY7RC27wFenX7kRve7geR1BA9Xfki0BOK/6UcopakurvBkK0+Q1BBC1+nw8INpRqYDkl/0x9igyWJuRFF7LllCkNgctC/WG3gI9VvjhAdGyqA2F0Kx6P3eKi4MIK0xUirC+nC1XgTUUMM4EUlvx7eRPAbYZfP1P4DgikEMthBOZ10+gCE61C0Von62Oo6dv6NZhBdVpwRJkHW47tUH9ZQWh5ER8wgHoVyPx+Io6RxHk/1f/5G5dTnAEMcjDGQWGg90ak7lyMPQA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=suse.com; Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) by VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.15; Fri, 13 Aug 2021 11:43:34 +0000 Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::504b:de61:1358:c344]) by VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::504b:de61:1358:c344%4]) with mapi id 15.20.4415.019; Fri, 13 Aug 2021 11:43:34 +0000 Date: Fri, 13 Aug 2021 19:43:17 +0800 From: Chester Lin To: Krzysztof Kozlowski CC: Andreas =?iso-8859-1?Q?F=E4rber?= , Greg Kroah-Hartman , Rob Herring , 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> Content-Disposition: inline In-Reply-To: <0b42dc7e-a7c1-fe41-e39a-89627d44cbe4@kernel.org> X-ClientProxiedBy: HK2PR02CA0209.apcprd02.prod.outlook.com (2603:1096:201:20::21) To VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-8mug (118.166.51.198) by HK2PR02CA0209.apcprd02.prod.outlook.com (2603:1096:201:20::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.13 via Frontend Transport; Fri, 13 Aug 2021 11:43:25 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 329f8089-305e-42e2-025f-08d95e4f94ad X-MS-TrafficTypeDiagnostic: VI1PR0402MB3439: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ttgyEvuti42lPisc0ZeC0WGk0ShUYpifErOCZsRaw0OQdJqbGCG/LmVIaxv6VudEjOCy+UqP5WLjGIR3U+MgcIpXBxRpQRfoNcJ2HXMuSeG/JoySeP/nytbytHwNGLs3MdDc2usXxCMyirjJVizIWTFnOwc1Jr2RVoiOYH6dVdbe2RsR8MJ8+JvHh9+MSZ4EUFWNOq6gion5DO+iUtCMK+wH78+WS9/vw2y8tInV1KaJAml7bD3J07v4p9Euq+9+WNEtDBq2b18EYbHeKyQYSCh5KbXp3fQOs8+9aUzRyslr74WwnaaXKQycC1KE3YOmONzTNs2GlLzM82Tsc6fubCrIrIInPoZKKO7pgRX9RcULL6caYbaqMLdEDTypcuG1fyRTjuN8TOoRd9SeN0SOkgJDRMnbBZuoI8AR2TTwddkX9en0UiKQMnaR7WrUkwcwcWVXpa6WMyndKQ0fppds7+MNFY4nghxoBRyoyE71JsCdivEUFsdNYeHKztuZKnJW3BFpDP2VLSS35b0Qte61Vtpy9Z3UkC8PrmOFOVNVvwRkesesFlR0JaUHe07FphsxMNCkAP14sSjTaYFV4wMIHxCe9sIs5hT32v6yeQOG+Bk1Ut6p+CgWWXbcC0DM0hEWv/oB64r3ODcESyqxiV/gvICcfhMIs2ImeVqxLPeV5XzBNGzzX8HDGGFjk0kN3hH1UyxdZX7tW0EPCM0LjNgnP3iktWQedQmWtFEOZjqXNFQ= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0402MB3439.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(39850400004)(376002)(346002)(396003)(366004)(54906003)(7416002)(66574015)(4326008)(19627235002)(316002)(6496006)(956004)(66946007)(6916009)(107886003)(186003)(38100700002)(55236004)(8676002)(478600001)(8936002)(55016002)(66556008)(966005)(5660300002)(33716001)(66476007)(83380400001)(6666004)(26005)(53546011)(2906002)(86362001)(9686003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Jbis8uGp/x0Ll6LBdFt+syo+9ScoHr5x39SsRg1uHvivoPHZhK5MQms+yy1W?= =?us-ascii?Q?Ti60hSxTLPuROUh9o4IwAM9ZPyYTzBira9ugoQ/YvpZfWHj02QZ9S4KT3gnm?= =?us-ascii?Q?nXDNClznMYvLOYXCgyvWk8ti1wwKRLI4x+33+NwSJ4b6d7HI3CS8Zgacs7Vg?= =?us-ascii?Q?oXPRE4USuDII1mubEAbQWfqpAc+SOC83fJh9fhEd80oJm7ePdjePDlKx8U9w?= =?us-ascii?Q?qAq3fhAoMEW6Hfsi90Goh2x/n42MBnFRIrDGVlY3E9YsqL1+yG8pLGEtrV87?= =?us-ascii?Q?0YDMEtzqPcST6j/+CNvNnDYTCygKr3fBhy/JzNQ03YmUyfqngzw4ES8PWMpl?= =?us-ascii?Q?bBxWcWCnFHAZLfIcc0eLuOEQTIg4/hDkNKsqzI1bW62itjas2aTe62BPE/MN?= =?us-ascii?Q?piF1n2+DOpd//UKPTfW/HC040ZjFqlNq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INpdL5Ge6m+9?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 329f8089-305e-42e2-025f-08d95e4f94ad X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3439.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Aug 2021 11:43:34.1498 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7ixd/qdxoTQxGw0umBkhf8nli5QhFkQS9KKqtnSTSZiwlne8J8z2xgcfTW/LY7h3 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3439 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210813_044341_801076_37FABD8C X-CRM114-Status: GOOD ( 23.03 ) 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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=E4rber 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-linflex= uart.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 f= rames. > >>> - > >>> -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 =3D "fsl,s32v234-linflexuart"; > >>> - reg =3D <0x0 0x40053000 0x0 0x1000>; > >>> - interrupts =3D <0 59 4>; > >>> -}; > >>> - > >>> -[1] https://www.nxp.com/webapp/Download?colCode=3DS32V234RM > >>> diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflex= uart.yaml b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.ya= ml > >>> new file mode 100644 > >>> index 000000000000..acfe34706ccb > >>> --- /dev/null > >>> +++ b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.ya= ml > >>> @@ -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 proble= m 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. Regards, Chester _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel