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.7 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,URIBL_BLOCKED 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 896C6C4320A for ; Fri, 13 Aug 2021 18:09:35 +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 55D4D610E9 for ; Fri, 13 Aug 2021 18:09:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 55D4D610E9 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=0AbEYZBbw2VzunhQ6pCUnGj4YZKKueo89+AzXf86JZE=; b=w1aycBYmzYoPUl 7BT9cDlNNEg4wu3Rzeeewjoapm4PZIvQ5CTdosN5F88rMG+jPeZ/IprwWfaB90PJ2jYkgeJUe6oRZ fu9ZNy+4KxizSGpNlAi4KdVGCH7bzDQRJmlrOkaO9XZCWxHjUrHB8hFnc0ik+H8F49i3VXLauEbpt B6E5lXQ0E5Z2QMLy/Crw6k5fxX0XXvFy1dEG+6rloW1zErMbh558ILvIabYwCBeFuwKNTaUJ5sIk1 SFn9wsYwcnIGwfaOLS/AoDrSE3YYHEnFcFUVqVU7oqiYaWs1eBekrd7p8tybxufi4BUvVM8CYIZP/ 1mjvt+NjcOyeppnWXvHg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEbaY-00DKNa-MF; Fri, 13 Aug 2021 18:07:26 +0000 Received: from mail-ot1-f46.google.com ([209.85.210.46]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEbaR-00DKMX-PT for linux-arm-kernel@lists.infradead.org; Fri, 13 Aug 2021 18:07:23 +0000 Received: by mail-ot1-f46.google.com with SMTP id u13-20020a9d4d8d0000b02905177c9e0a4aso2437414otk.3 for ; Fri, 13 Aug 2021 11:07:19 -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=iihg9oRsXmwP2LhA3OLBni38vE7IHeZGut4WUp0feJE=; b=e6c16rbrC+9Xjli2dbJshoJPJxK8xvgikA9B0llmfBsPyMTGkDvkg5obCwTDZmBLot fttL6Rg0qKOdVOotsvmm8APSy4N1J+XCFT1mJEKt2fx2IA8IyrGz6VVZzCwH7IOSTuIP dwxgGVZarEREiYV08mmkJ62Xy/lSrWH//sLxw2flQhupj0ynZUKX+dhOv8SkfCy6AfYo frCPRnJ2ETykHjkMt0c4p3y84qX7py81wj4uiuDviKIE84liw5wgH9NRBaKWWIYyeWRD RW9bF3hm4SA2/awB4qXqOlqV20d+E9o3f2FFrg5KCQBaUWwxjHBHktWk+14IwqE3Spd+ vX5Q== X-Gm-Message-State: AOAM533OXjGqppjA91bFYR+bpUUKyJI7HesdHwmyJa5ev9qA1VxplAKU 2Pu7ZHKISRzzAGp9Cx38tQ== X-Google-Smtp-Source: ABdhPJwjoyNFeYNurFTeKCKi0twKkY7fxrdc9/HBCH8Vet1bzVMNhHbiW8MFbwKmkDJ0MC3q6mH5Lw== X-Received: by 2002:a9d:4806:: with SMTP id c6mr577839otf.210.1628878039192; Fri, 13 Aug 2021 11:07:19 -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 a19sm457340otl.48.2021.08.13.11.07.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Aug 2021 11:07:18 -0700 (PDT) Received: (nullmailer pid 3780434 invoked by uid 1000); Fri, 13 Aug 2021 18:07:17 -0000 Date: Fri, 13 Aug 2021 13:07:17 -0500 From: Rob Herring To: Chester Lin Cc: Greg Kroah-Hartman , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, Shawn Guo , Krzysztof Kozlowski , 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 , Andreas =?iso-8859-1?Q?F=E4rber?= , "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> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210805065429.27485-3-clin@suse.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210813_110719_874887_3372471D X-CRM114-Status: GOOD ( 24.46 ) 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 Thu, Aug 05, 2021 at 02:54:23PM +0800, 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 > > 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) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/serial/fsl,s32-linflexuart.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Freescale LINFlexD UART > + > +description: | > + 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 > + https://www.nxp.com/webapp/Download?colCode=S32V234RM. > + > +maintainers: > + - Greg Kroah-Hartman > + - Rob Herring Someone that cares about this h/w, not who applies patches. > + > +allOf: > + - $ref: "serial.yaml" > + > +properties: > + compatible: > + description: The LINFlexD controller on S32V234 SoC, which can be > + configured in UART mode. Drop 'on S32V234 SoC' so we're not editting for every new SoC. > + items: > + - const: fsl,s32v234-linflexuart > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + > +unevaluatedProperties: false > + > +examples: > + - | > + serial@40053000 { > + compatible = "fsl,s32v234-linflexuart"; > + reg = <0x40053000 0x1000>; > + interrupts = <0 59 4>; > + }; > -- > 2.30.0 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel