From patchwork Wed Jul 21 14:16:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 483292 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp6210743jao; Wed, 21 Jul 2021 06:46:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy49IrdtAPRDpECA2s91vIH2KO3X/qr2cQdBk8iconFNxdRc05AFKVoUKlREBRq2sUe/hRM X-Received: by 2002:a17:907:ab0:: with SMTP id bz16mr38708256ejc.33.1626875174287; Wed, 21 Jul 2021 06:46:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1626875174; cv=pass; d=google.com; s=arc-20160816; b=zZvcYH0qpNRWiUrbhtMBx80iuDqEy8Qi4ye9lP1ZIcFxjlAL5LzacdxafGydu1tFYC 3qsT5OKadxWlRPnUKkgzAaD6tzkJPqNz36XYXsoa0UUdn8IIGIagS7QlxiBXfP8VoDpT He/XaPvF26r5VpgnP5LkVFYMWOkemEUT6DAlRhBDNBRJJNnJ/3yn2lKo0n2/wZ7C5DeS cCqbZr6Un7yn/yp0Us1AhezgQcOUjYQFk4ErAA+eG2lymXV8EFSNQUO8a4qayXAZKhs/ /2J95gTqKqELcRx27jNdyIlXXmcWqPO9w4WhBVYLiXRwTbHu/HkVwhejcQqoc6/4GKm/ rzOw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=BTOe0P5nfHfgleMHQKP6xM/be/g84GQXqAgK+z6Z1Aw=; b=Q2w7F6u0Ai1ei+S6fGJUaaw5uMYvhJlD7gvnm+1wGAkzhH1Wed++8cgsGS69y3DFPo qDI/3ENYpB63yGaxHrRjsRGaY+SENINguZ+nHIyg87e5w0/xmsEIq5hqlrFjobeTSEcS rATl0La0CTb6ynLbY0QGEuE+ntgKBSqd77l0vdm3CuyO7ebaGngVhD6cFsZ9WzoMXR2r /eBCzrkRliZ+vBH5ibSNmy7B99wyWtwvLdnJwM2y+4WVP86NQhYs1ccWPqnc9Fyf6iCJ +XDQrYJ5jokU9JC7r33ZXkEu2i5B/TaOKiCfzRRNUEX/fKW2zFhNol3ty8yfVkS+zSSn uR5g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=QvIuDdZ1; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id u6si29647706eju.564.2021.07.21.06.46.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jul 2021 06:46:14 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=QvIuDdZ1; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 07F81829F9; Wed, 21 Jul 2021 15:44:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="QvIuDdZ1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 97E2282C54; Wed, 21 Jul 2021 15:44:04 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03on0608.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0a::608]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4CC658164D for ; Wed, 21 Jul 2021 15:43:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@oss.nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NBZCHRDeQMBnHXJddLObSppHqcbvPcLeYTGmHaRiRF+foRPoyo+GWEdu/S6dW5Z69x54EX6YJDEYubHQziI42h/8u6bx2ns9ZsuQIVB477RJ70EIyVWh5vpvD11n2ADSc66VoByLY+ih5JAdjyMPsruop0YwCqeMKUkpbU/N+WTC9RpKmm8XYWgSgXAWdp6EsoMj54F1bmJQ70WyzJ/WZNKu0oILlCgjB/Lbn/R9f26ZuSlqoTxR9YSNqP6GsWQMgaiVd/7ZQDyLoa6v9TEIVLYTAhcr7exzHu+MB76hMnphCX229Ryp9YLilOu+DH7uUvxnindvDFH6cq08MWroXg== 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=BTOe0P5nfHfgleMHQKP6xM/be/g84GQXqAgK+z6Z1Aw=; b=jNDXiyjJz0KX04rkuLiKEIc9oe07fheGlEmX/iaXH6tW1qzdQkaDkLe3ZEDpZJ2WgWg0hCiqKgarCBQ+swidNFd3nYy65vWMJYOW2ny4rx2RisP9LhyYtETqXCQBrSJkJ7qUTB3AJ1h/e22hIWbomKGSrGF9rh3rkCai3PjQmuaoc7+J+duB/g1WraI+PllPHdX9rnR1ZHVtauRMwlunggrhBEhv8ceFEdiCTdScvulRSy3y4LNjOBfr9zL1sebmz3M86ZxLkJNQR/z5KccW0qopQcjAatU1gkcfc8Jg/8S9lbU5p7Yjkd6WUMii+QFCCd0yXzRQlc2arY/lNj1fqw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BTOe0P5nfHfgleMHQKP6xM/be/g84GQXqAgK+z6Z1Aw=; b=QvIuDdZ1X/cryh5C1tJeipTBoEWWbb1a6sW+irw1HTMh7pPCsAyDM+VyK3tXKGrk8haK4PEy6NxX9vfSdO1fvb08g0A57HErkgn6MaUeParxGPa/P8ZfnNGx1NO9tAc4BXw+fFdn/iSKNQkk/pnxRi535heYUpQq88BUAfn+2nc= Authentication-Results: denx.de; dkim=none (message not signed) header.d=none; denx.de; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB7PR04MB4633.eurprd04.prod.outlook.com (2603:10a6:5:36::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21; Wed, 21 Jul 2021 13:43:54 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd%9]) with mapi id 15.20.4331.034; Wed, 21 Jul 2021 13:43:54 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [PATCH V4 15/44] driver: serial: fsl_lpuart: support i.MX8ULP Date: Wed, 21 Jul 2021 22:16:56 +0800 Message-Id: <20210721141725.23346-16-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210721141725.23346-1-peng.fan@oss.nxp.com> References: <20210721141725.23346-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR0401CA0015.apcprd04.prod.outlook.com (2603:1096:3:1::25) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by SG2PR0401CA0015.apcprd04.prod.outlook.com (2603:1096:3:1::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Wed, 21 Jul 2021 13:43:52 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bb713044-9e35-4058-d1e0-08d94c4d94ee X-MS-TrafficTypeDiagnostic: DB7PR04MB4633: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:336; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4S865b2LzNSJiTeSTRtnm0oZ9YiCxAgzsMHbpfiGi008ZNKViYb+f96qE1gcovWek2z6VkwCRL2UIlThwtOKtqQcBBiF1P5ffBb7dNacifKtMjBBJjShNIiVtXafeYNeN7wI9OJ1imbSofWlJVKZBFXbJ87kZyUVJpBte1KdEK8hWL7rMphkdLXumqQLvaXszTUJ2LKhr0NzNoNTJZrkpaHDCsczCugrgphhd3i8iQg94hbsFTJTVPyPAapUgT0nurc0/CCmL6m4dw0vEd3zamgvaUrrrAa88I9KtkJOCkN6Na2g/y7cU/bcuv3gOrG2MxhwUftg9p3/MG6UtlPfcd59VR1IddVQ4HAFd0yCqvcxi9rAz0JjrrKbka6loA3besico9KfbyBNO4Pci6HbJO/GcSu9LhkVVSwYsROxeMVg+/jhm8Ab10zkaiUhwP586KozPSmJQfBGSpu1KAOIiXFLQdHbAjrqcrO2yUCxaf0QhPoVekR2sc7NyU+Q738OZ2q0X8wGPnW8qYCNFM8oRQYs/pTK0D/2WfR8ZUB41xRPi2Gasy/WbUtfz97oXW+d5ac+rjMDreS6LCgW1HNQaeBorhHhAB3/ukcpj9HnrHtQt3CFMIzsgRXjCyOczqrK4VyY1wCrq38Xu3xqeoWgiV9qNoCznzxsWcyVsA1gAa8PSdVesMdNwVqUPLhJAVvJ5yor/nQZIio4KPgHO9nIrQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(376002)(366004)(346002)(39860400002)(396003)(2906002)(6486002)(6512007)(38100700002)(38350700002)(956004)(5660300002)(83380400001)(86362001)(8676002)(26005)(2616005)(66556008)(66946007)(6506007)(66476007)(478600001)(1076003)(316002)(52116002)(8936002)(4326008)(4744005)(186003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qLYHb7UR8yGjD9za3ivq7RsTBzOy6aBFh109uTSqy11nOHOgU6X2DWCNyj8n6hYEyJpZCHtN1ORgNgRsgSM9YlhmYwVPVrpeDucA3AiGs3wzjOtiOcM1j836FfpydcquLLGekGiBS/iPCzZ6W2x8BaDfM/MxTqVAgaJdbzzLrdHo4aKmPN4BTDn4Jk9DCJ0gXt8kepeYmowluZlf2FN8h/6b8WmnAVEY6KIjCGE8hklnYdGaHn9pSA7VOYKZhQb6h9u8jLL1DVHgYQ6qPI2krlmnIJHIrR5HnzJMwgIwaVWCTsrPb4OGumaJZjeu+iBTTejpGsCDkXN5R9E2NrOndGG4mNZ3dTIq8BSlsZxOnE3T2eUSegJ0P9mUTVSOffx/rpOR6+mB8hT4W5VDVIZ6/Nu8bB3k9X8ikP68sQDkvhO3SVCiTA0DVG1qHBkZ1HO/7i2LKGjs9hxZBqnqt5jn0qHryCXbz/obbJL0SJHbtN2LvoQZTkJCJGssj6oJF2c/s4pxmdjssje36Py9RhhOXZTvm7xHd3t4kxNeDSB5wbdIlAVarYrTqZl5IJFI4oM4l9wNlEPG7GHxy5VbrVBnQhCt3i9v1QgZbHFjFhCwy75M3s3NnjvecIfmi/J85f/xAzU7ETVOR8RjQSmcqkEKMnckCXxaHauGstO0b2guS8xGsD5fplfBZ4Fk4zY6YeMaGDqlOOokBegyXaFmcTbVSMtw5FLvyU/+XK6DSxLe/M3gi7k7uWevxfABLYMqTPYErfGrpe0OZiSo/Ci5/cswX8Ce+rRfxGr5ourbivXBxe9CvK+PwdRsAZHGnDPiufkBl4hRcY0XHGv395IPEAfQxAca8qcYZuU4oubfSPe4tb2vpwMIf9QFhHF/MMBg0jEXV44CQuQIP9Tx1uhkeaOeaRk0/CUBOmso6DM41bK2kkg/fQXaMbjK25AP4+DC6Aa2DzlPNdLhdIGOfLxjaIWipdQNgkzz/8uYad9DUT+iYdz9sc5p1K2UC6zcPc0Bb08MojHzH8RKikqGGRwgLva4i0fUDEDkQcbVFbqj3RXF2+1lK0BAqdhZfKyayc1co6CuqcS9343WOO7By8Fcydu0xpb93a9oTlhJ/5TLzCu4AJor1j1HOUSDV2yf16qY+LYSYyHSYUkzgC1tcBoCkJsRaKR5E0VGJe/L3f3D/vJYH8EPAFdzl0OyLF57ZxG7yT7toB3atgJLU3pyI8FFIV56x/mhbre9siKz+i+sGuxsCsV4gJqCK1hpby66Q3mx7jASiz5TuGf7kxRHdpRsak2uHSzjia65xqxjDYJ0Cw5XB23yh25IwBw8Nn5z65IUfqLs X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bb713044-9e35-4058-d1e0-08d94c4d94ee X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2021 13:43:54.7996 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DpFGeQ9XVG3sgs76WRTduFxyk1xzi6ulVAju2JqDsuX3ky1pDkiroWVceMQWWtB/HVIPbEX3uxdtq175HbOlwA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4633 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan i.MX8ULP lpuart has same register layout as i.MX7ULP and i.MX8 Signed-off-by: Peng Fan --- include/fsl_lpuart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.30.0 diff --git a/include/fsl_lpuart.h b/include/fsl_lpuart.h index 511fb84367..18e5cc15d6 100644 --- a/include/fsl_lpuart.h +++ b/include/fsl_lpuart.h @@ -5,7 +5,7 @@ */ #if defined(CONFIG_ARCH_MX7ULP) || defined(CONFIG_ARCH_IMX8) || \ - defined(CONFIG_ARCH_IMXRT) + defined(CONFIG_ARCH_IMXRT) || defined(CONFIG_ARCH_IMX8ULP) struct lpuart_fsl_reg32 { u32 verid; u32 param;