Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F13B5C433EF for ; Wed, 6 Apr 2022 07:54:17 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.299675.510738 (Exim 4.92) (envelope-from ) id 1nc0UE-0006O8-LV; Wed, 06 Apr 2022 07:53:54 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 299675.510738; Wed, 06 Apr 2022 07:53:54 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nc0UE-0006O1-Gv; Wed, 06 Apr 2022 07:53:54 +0000 Received: by outflank-mailman (input) for mailman id 299675; Wed, 06 Apr 2022 07:53:53 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nc0UD-0006Nu-I3 for xen-devel@lists.xenproject.org; Wed, 06 Apr 2022 07:53:53 +0000 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by se1-gles-flk1.inumbo.com (Halon) with ESMTP id b26c940f-b57e-11ec-8fbc-03012f2f19d4; Wed, 06 Apr 2022 09:53:50 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 137D323A; Wed, 6 Apr 2022 00:53:51 -0700 (PDT) Received: from [10.57.6.245] (unknown [10.57.6.245]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6443A3F718; Wed, 6 Apr 2022 00:53:48 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: b26c940f-b57e-11ec-8fbc-03012f2f19d4 Message-ID: <44d035c4-f2ff-b726-ed67-5c09d472ccde@arm.com> Date: Wed, 6 Apr 2022 09:53:45 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH V2 1/2] xen/arm: Add i.MX lpuart driver Content-Language: en-US To: Peng Fan , "Peng Fan (OSS)" , "sstabellini@kernel.org" , "julien@xen.org" , "Volodymyr_Babchuk@epam.com" , "bertrand.marquis@arm.com" Cc: "andrew.cooper3@citrix.com" , "george.dunlap@citrix.com" , "jbeulich@suse.com" , "wl@xen.org" , "xen-devel@lists.xenproject.org" , "van.freenix@gmail.com" References: <20220402054223.10304-1-peng.fan@oss.nxp.com> <20220402054223.10304-2-peng.fan@oss.nxp.com> From: Michal Orzel In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 06.04.2022 09:39, Peng Fan wrote: >> Subject: Re: [PATCH V2 1/2] xen/arm: Add i.MX lpuart driver >> >> Hi Peng, >> >> On 02.04.2022 07:42, Peng Fan (OSS) wrote: >>> From: Peng Fan >>> >>> The i.MX LPUART Documentation: >>> >> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww. >>> >> nxp.com%2Fwebapp%2FDownload%3FcolCode%3DIMX8QMIEC&data=0 >> 4%7C01%7Cp >>> >> eng.fan%40nxp.com%7Cc7d221ce800342bbd7c108da179e72ca%7C686ea1d >> 3bc2b4c6 >>> >> fa92cd99c5c301635%7C0%7C1%7C637848266543058498%7CUnknown%7C >> TWFpbGZsb3d >>> >> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0% >> 3D%7C >>> >> 3000&sdata=3CV%2FoJViSFzqRby0h577SiusHRQnC8KiXscntQW%2BZOs >> %3D& >>> reserved=0 Chatper 13.6 Low Power Universal Asynchronous Receiver/ >>> Transmitter (LPUART) >>> >>> Signed-off-by: Peng Fan >>> --- >>> xen/drivers/char/Kconfig | 8 + >>> xen/drivers/char/Makefile | 1 + >>> xen/drivers/char/imx-lpuart.c | 275 >>> ++++++++++++++++++++++++++++++++++ >>> xen/include/xen/imx-lpuart.h | 64 ++++++++ >>> 4 files changed, 348 insertions(+) >>> create mode 100644 xen/drivers/char/imx-lpuart.c create mode >> 100644 >>> xen/include/xen/imx-lpuart.h >>> >>> diff --git a/xen/drivers/char/Kconfig b/xen/drivers/char/Kconfig index >>> 2ff5b288e2..0efdb2128f 100644 >>> --- a/xen/drivers/char/Kconfig >>> +++ b/xen/drivers/char/Kconfig >>> @@ -13,6 +13,14 @@ config HAS_CADENCE_UART >>> This selects the Xilinx Zynq Cadence UART. If you have a Xilinx Zynq >>> based board, say Y. >>> >>> +config HAS_IMX_LPUART >>> + bool "i.MX LPUART driver" >>> + default y >>> + depends on ARM_64 >>> + help >>> + This selects the i.MX LPUART. If you have a i.MX8QM based board, >>> + say Y. >> Why did you move "say Y" to the next line? > > I configured vimrc with " set cc=75,100 ", the "." will be at 80, so I > move "say Y." to next line. > It won't be at 80 but at 77 which is less than 80 (required by CODING_STYLE) unless you found a requirement to split lines in Kconfig files at 75. Cheers,