From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-6.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id D54017D2F0 for ; Wed, 21 Aug 2019 21:18:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727257AbfHUVSo (ORCPT ); Wed, 21 Aug 2019 17:18:44 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:37693 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727136AbfHUVSn (ORCPT ); Wed, 21 Aug 2019 17:18:43 -0400 Received: by mail-ot1-f67.google.com with SMTP id f17so3471574otq.4; Wed, 21 Aug 2019 14:18:43 -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:user-agent; bh=0BysGlcLSnXeBZ1pv0mPCj6ITlGQ3QNXjoyF2Ap0RJY=; b=hQ18nXsiPm8wqzfq38jJ8lQCu2q87OuXaZnysQLVlm9K/LZO0fxuRq+Ai+Sdhco7Un fqP9b6yfqiZX7LCIZ4EbqVIEG6YkMLAQ7V3Oqqoas7o7Y/uhdyvhQ8Ra/4D9GfH1yeKH JrU8oWEirm2LVXC+22RKxiZAFoZFBvPLUA5Mm/kIb4RCYMAg0PJWNBHXRbH6cYtsCZG+ gg+MH3jESDgnjwl76sXZsqwodkNrIe54hB+LxVOls4gP6Zl1CeduPswL2eQZEH+EGiSh NaLydsc4XFU+gy+vZE+JghXCafCR3zS1FcNr0sbQGuGsoQuFTgWW17mTox5Gy7mn1vxG UslA== X-Gm-Message-State: APjAAAUQp6p5H2CPCwRFiGhlurGLJMQjZASfA2XSCDMOGmUIN3xfDeX+ hqUFdBmSHe+iye+d/Dk5VA== X-Google-Smtp-Source: APXvYqwyCdp9o8YTLQuqlTyT5OIepCOx0aazVgW8orqSC0e9+vmRZf4pQjus03+ay0tw1yhN7gQitQ== X-Received: by 2002:a05:6830:54:: with SMTP id d20mr25800639otp.225.1566422322638; Wed, 21 Aug 2019 14:18:42 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id o26sm7711687otl.34.2019.08.21.14.18.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2019 14:18:42 -0700 (PDT) Date: Wed, 21 Aug 2019 16:18:41 -0500 From: Rob Herring To: Stefan-gabriel Mirea Cc: "corbet@lwn.net" , "mark.rutland@arm.com" , "gregkh@linuxfoundation.org" , "catalin.marinas@arm.com" , "will@kernel.org" , "shawnguo@kernel.org" , Leo Li , "jslaby@suse.com" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-serial@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Cosmin Stefan Stoica , Larisa Ileana Grigore Subject: Re: [PATCH v2 4/6] dt-bindings: serial: Document Freescale LINFlex UART Message-ID: <20190821211841.GA16627@bogus> References: <20190809112853.15846-1-stefan-gabriel.mirea@nxp.com> <20190809112853.15846-5-stefan-gabriel.mirea@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190809112853.15846-5-stefan-gabriel.mirea@nxp.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Fri, Aug 09, 2019 at 11:29:14AM +0000, Stefan-gabriel Mirea wrote: > From: Stoica Cosmin-Stefan > > Add documentation for the serial communication interface module (LINFlex), > found in two instances on S32V234. > > Signed-off-by: Stoica Cosmin-Stefan > Signed-off-by: Larisa Grigore > Signed-off-by: Stefan-Gabriel Mirea > --- > .../bindings/serial/fsl,s32-linflexuart.txt | 24 +++++++++++++++++++ > 1 file changed, 24 insertions(+) > create mode 100644 Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt > > diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt > new file mode 100644 > index 000000000000..957ffeaca9f1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt > @@ -0,0 +1,24 @@ > +* Freescale Linflex UART Be consistent with the name: LINFlexD? > + > +The LINFlexD controller implements several LIN protocol versions, as well as > +support for full-duplex UART communication through 8-bit and 9-bit frames. The > +Linflex UART driver enables operation only in UART mode. What the driver supports or not is independent of the binding. > + > +See chapter 47 ("LINFlexD") in the reference manual[1]. > + > +Required properties: > +- compatible : > + - "fsl,s32-linflexuart" for linflex configured in uart mode which LINFlexD? > + is compatible with the one integrated on S32V234 SoC Compatibles should be SoC specific. Is 's32' specific enough to account for any differences or future bugs found? > +- reg : Address and length of the register set for the device > +- interrupts : Should contain uart interrupt > + > +Example: > +uart0:serial@40053000 { space ^ > + compatible = "fsl,s32-linflexuart"; > + reg = <0x0 0x40053000 0x0 0x1000>; > + interrupts = <0 59 4>; > + status = "disabled"; Don't show status in examples. > +}; > + > +[1] https://www.nxp.com/webapp/Download?colCode=S32V234RM > -- > 2.22.0 >