From patchwork Mon Jul 19 07:47:05 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: 479815 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp3868237jao; Mon, 19 Jul 2021 00:16:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCUzVzAjMjSXXIJGKMfv0+A5bJ0jHIMZtiaiVvtq1TvO8A2aUDz+a/3fYDN3R21C1qHidr X-Received: by 2002:a17:907:7683:: with SMTP id jv3mr26041548ejc.272.1626678994995; Mon, 19 Jul 2021 00:16:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1626678994; cv=pass; d=google.com; s=arc-20160816; b=AM0W/oe9bvq3FtaczDg3JhLkKXxHC4mh7daETk11XtYugUcfeOBT6Gfrw+kkNZVzP8 xj7FP82+2x8fpF7DRcRm3Kr1BvwG95y/sto0lt7sKHrCJWy7oOnZBwodgqMGDiQUo8fN 69H+A/XlvTmCvo1/pJBpdD8viRi+WqYjaw2nkXjtVAH3XMBRqkmqgIMpwxxFYJaNze17 GgoCxP9ZXQy5cgMEEkZAIMI476/ZvbSn3ZpqGwg7KmI1ySwQuNtE+C2IUnLH4Oofz9TB xMCvLHLuQh9GXZGlLWaPiArxbfMK72KyasDAJzjFTqGHmKkCE4MkvmnxwoHuAb8J5ouj 2tAA== 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=oA9cOWd/vB/4xELPolOjQMDAAYKeedgGZQlFmoR9NWGBb2PuaydnvRYSSY6pNTGPQB 29Tbh/U6mQVZ7zcZ35IGNldpx3VrvEIG1jdnFvoOTSJ63UgfTBywS59Ik2raITawGELp /LlkJvcp8mGyDxsj2/jUoEB67hazmiJhIKDSnx2DDCBITaiExxDd1Ir8vVcPT2cb6ls4 EcHDMpCJuttJGtb6QWHIfiUNlLQJ9BhTZ0Ft+Y3NQqQ5c4eLxTtMoVIjR/VMIom8ewhC iilm9O7Fh/3IjTuYE+TYBGQvMUmikl+nQYOAhKqYSCpZMfTP5VpZz1xr6Pa5DZm47xJy 9gpg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b="mv70/1CU"; 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 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id l26si20884067edq.393.2021.07.19.00.16.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jul 2021 00:16:34 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b="mv70/1CU"; 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 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 260BA82C6F; Mon, 19 Jul 2021 09:14:45 +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="mv70/1CU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8579882C48; Mon, 19 Jul 2021 09:14:21 +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.6 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 EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20621.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::621]) (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 46F6D82BB4 for ; Mon, 19 Jul 2021 09:14:12 +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=NAqs58XISmeAMWoC1jGi3KWy8YX2525nZJQArE5lbuyJbazQZBkLWF0bIyIK5sqYA4/MSMjnePw1WDtNNiauxydsvTMOxQJoSjgMcY61m1MtYvre5NKmF9A4HG9zEBWsYGJj8uvbzG9sW6iGDvihgyr1Rd/UyxlcEUO2Vcc1dcQEVhe1ryVwYJCY6dA1yLCFinqpOLJHDZNQYJmEKIWFs7z0xHtzOugpu+9tB3JmiOfTPRJLSC+L17ea7v6vXhMRQUFix247hRCoN2tULj+s3BeooZHnjASVd8KJ6wrtxAq8d9ytAgAiXpP/dXhNED1xLfkVVTu0mmr+uzcjjI8mug== 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=N1XtuoKv0aOcy9qPwHqKdSNWr+Kv+v2ETQTBme0csltqRyqjs30A6c/N5kVP4drl76J8bEDC0HH93LXC9LhcbfJrnja1JF31sWGFb1VW8pLkfF3bGC1gV8iJj6YVDeNp5zgPKP4KkVnwGkNLtsLxP0cEn+yXCF6vTLUgl0RTxFbcYkK8v78UxCS1fW/8/gxdieI4swb1S3yIBWNj9o2fC+MygydQIN+cDFIcoYzRnA0bXCVmaS/K7g4hLKWlpTpSMJhC6t2F2fXUcIdOwy0BKn7d4duaaQk1K3emvmgGLJPmrpFnhZAbXRwdDVKt+Xam7x+2tWgaIsT52B9d0u5oTQ== 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=mv70/1CUViPwRj0DdG3BkosLrGgjVD/XfIhdByZEO/7pQemlPCK0Wcc2AePR0xVYEWFU0b2Q+LkoKG9H2gPS52f5qaI58BwHGOHFD3fjSefS61REYb34IAa3qj2DaUYQ+rtRNZBQvIz3++jf5YXZmtPC5M5qsduOHaN3pf2YwkQ= 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 DB6PR0402MB2933.eurprd04.prod.outlook.com (2603:10a6:4:9c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21; Mon, 19 Jul 2021 07:14:10 +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.032; Mon, 19 Jul 2021 07:14:10 +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 V3 15/44] driver: serial: fsl_lpuart: support i.MX8ULP Date: Mon, 19 Jul 2021 15:47:05 +0800 Message-Id: <20210719074734.29170-16-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210719074734.29170-1-peng.fan@oss.nxp.com> References: <20210719074734.29170-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SGAP274CA0006.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::18) 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 SGAP274CA0006.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Mon, 19 Jul 2021 07:14:08 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 722d82cc-54a6-4f38-e7ae-08d94a84ce28 X-MS-TrafficTypeDiagnostic: DB6PR0402MB2933: 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: quvxzu6TmAdZ45y2oOYlDosKmGRx31OUxrBq4+CMXVRJFStqBbfcuo3JRPby7EHjvVwbRd+lNRYj2fLOkrE11wYNk/T5i0F8grIv300e77HIG1vjDZDw1GSVAy8wry4fzqObAWIbCM0HEFEP/FVOWqkWmdWO9nslORR33HUfKlwJmiXBLuTu5G3IYHMYKLqHMoxp18CVK9sAVbWzmxK0m48wxBTOr/HVsy7iITThpiqLNwX4Da82fL6XrsOaMc4WrDIlZE6m4HL2YRHJQIfW3TpZx0q3xMOSqTn5o3nR8hqxGV0R3CWoo9ubPwITjRN06IQq9C38UxcwjSygvaBsCOaXXnGFWWU4BuXJCFRfFg30CVM+CPdKa12GDewOjckWV3zWzt2WTv3wPABtzxpDLRvF+eGBH8IyCzrVC7ekyMfh0iZEHvOnprybGhIIfcjUCG3hUYIgb9UIdctYzJfeeMI+X9Zu6OJxAWGWTcGK68vPKsMN+SOYfyZ4RSBq6PfOGp9S3DaWqSJ0L48dosi0+D+EAyK8T4sv8hVL57b6FA7u79dTeE02VUSFdI4Vy0jTcPJsilWuL726zARtHyF6K6Woj73YS//Sd0flz8wLU8vHsZGxuDx9jM9qSz0FcOwVc7J76U20txaAWxi9Ru559ck85LauPiK3lHGfozffB+wxtPxO+yPVM4GABmMkeuZEvrjzEu/dcNvOedceDT3Yzw== 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)(366004)(5660300002)(508600001)(6666004)(316002)(956004)(83380400001)(8676002)(66946007)(6486002)(6512007)(66476007)(66556008)(8936002)(2616005)(1076003)(26005)(52116002)(4326008)(186003)(86362001)(38100700002)(6506007)(38350700002)(4744005)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 9pyFEm36uKy6dcuRpLmKErnNsFZPzuipWGAAXU5BAzo7kHqkF4BGyFebN8c7e5JtKnIoEbXPRAbjiyMY7KPntgp8QoiOrXO3Wx7yZ5EfTbne1YyEi68XfFjYXes9Oq3Nc19KGsuztbdqrdf4Xhu03QiKWTuDgO+RkmpTCkznXXvVkqqB/bFJbyk+jHtEwN/l7HH2u6YFEGGtYQly/k7xNQgH/xfq+jkMAicrR4cZQEn6KxiW4M4Fi71FBLKt7C5fBTiRRpmi0iGQgfDtThnMpuBEiTZ21WSkV6XRysikqbI94bJB7GpTGGdTlhlKTcCOsP/es6hGQ03iJq+VFqtysGS0fP4WLEaLt0jKHIJRebDfH1Bm3CN7dq2IV5ugIVBotn1AeXc9xAQA72yA/bZwqm/zLY6RcDDL1JU8mDlEJrrEIyprwkNtUhnQCDLAfKzSv1aXRK42+DaOLI0GtnghsW6f7JYQ5lcG+LozhjfYNCusG1vl0PKQZVeN0DVWMziYXj2ZusuuAoa0WRaij4crNPeFxSk4cNH3WiTzIkDkA+k2cJDF8WPH7FcOhkZc7md4GrJB7TJaOVJDECLPszS9iV5El/qEwHUuePDRrLJmYg/tetWQrhAoj4P2M6aXj2saLDC500OCaLbejxahMhp2Wkle8uEJ77pM45dlsSPdcC1AZFyPdla/k7FLKSg/pNp5tqw16yjjSF/dHQWY6wMq+Q+932kNca/1ok4LfNQdOfRnoKvHihEqfW0qsVl+mFhUIRtLjcdCzrl+Bh/02h9aHJV7GonIG+leP5MZylHcTbj0+SgDgSKxuAmrKkxMkhUSi8S3lflk/oMcpzmDIpdeVGN8YeBJdm9IDZV9krAFehmcK4pF0FhXWZqYGh+w5PuDn8uCyWaE0Nxx77ZTxSIj5UzkRDT8tVSt+hYBKLckFJoaJAn60zMhLr3bTo3kxnZwAxdtqaeGhPUK8K7eKxTgrm87ZXlu2TnaqYCw8TbUZTT32qTfNSWJU81TiMMnBr1E7LCzuZ6N+ozJISqkdZuupqQgLfNw0+TFBUw8P4mVdluYVIFou9SorpwwVczMGX6tNetV4+j3gB7FyGT8RmfqSCLoHUBlEaujGrCbmvo9vDbwsH3jhRoE5M3XLD34LDw3twBDusOQM4spiAdE9r+AGkJU1RH6tUQSnMh8H+58Cam0F2BJOb5fWN0JjUmYHJr3Yxw3Esn20iy2+UFIyJZbviVJN8lUUS7fH6/XiLVBOF0iApgB3K3earSe33kKiXjAkbJWIkpoPEfB7gyZ8nLUMZx5oss+5tqV6idn9OHY2ZljuEkH0c14Fvymf+gTiePh X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 722d82cc-54a6-4f38-e7ae-08d94a84ce28 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2021 07:14:10.7710 (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: tAvLWe+ZLVclhId5dY5hdX2NMsWWdUg2tS07yMrbi+or73ZuMzLOsZEEnY3lRWRLRifXk4obe0uZicKU0SM2zw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2933 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;