From patchwork Mon Apr 12 12:12:44 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: 419548 Delivered-To: patch@linaro.org Received: by 2002:a02:c4d2:0:0:0:0:0 with SMTP id h18csp1665178jaj; Mon, 12 Apr 2021 04:52:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRORUelW1rA46jGFLlrjezE3dXpOgKc8mreCj9t01MzqI8y+aq7IPbBNZEXiZiRfPrCdhI X-Received: by 2002:a05:6402:c1b:: with SMTP id co27mr20594858edb.61.1618228365472; Mon, 12 Apr 2021 04:52:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1618228365; cv=pass; d=google.com; s=arc-20160816; b=dVWogQX8J8ANfJr6GmVbSaQJv4xF6g6VgD9y3U5PMNQA/bI8Ap58dsU0CoVVV0dIpf cbf7PekuUdxY6L/PmdXE4tp2VY0IHBDxKW9ePp14wmE9ponh+3Ak1Mt2SjP9EH9GLEcy sgtdTrcRTEXGnEBZO15e6X96rGdQ6w3c8kiEM+hvmWsZETg3Zw8UKkeC+4+41was9+Vb JGk9bODQTGHBtAwituOLaOcRm/WdQmApC3Q34UGi8lD3Yj9n2GdDXt05zId4a3TqkbuZ xTILtaZVKy4Tv/yYvjWxT0gXSIwxEmEwivoN9toQyTRuN8REMyLEoxLHhsLh9NTe4qsb BzNw== 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=jD4I+X5zFweHUOEOhxBwm0c2ajZ8a7Rz7mM29KMT74XrF8AMXGFvcRW5T1JpGmx9Qj kx0990hXviS5mJtsL6cSe+10f4w8geu/oroGPH8t1PVYVfi77jahhjTfkpjUhbfrWMpT xhzHQVikv6N5zIo0uKyyTsBn49XnGFaCBH0i5NBsoQRtvVkv196GHwCS28zojDZmY6i+ qlfUpFayQj9k/bf2EU+L5lZc76wIruFzzvIoCB/+sR5UgQWsLS4JXeDh94INl2YGWSsv 8s/u2gt6k1QrlkizMELTBDHavrrjXAKNbvWLSEIn6z4mApTQL67ecnc778EXz0MCVp2A 510g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=jqIb6pyR; 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 i6si6818448edc.376.2021.04.12.04.52.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Apr 2021 04:52:45 -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=jqIb6pyR; 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 D686D81ED8; Mon, 12 Apr 2021 13:52:28 +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="jqIb6pyR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9058F8208C; Mon, 12 Apr 2021 13:43:05 +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=1.0 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-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on20624.outbound.protection.outlook.com [IPv6:2a01:111:f400:7d00::624]) (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 69EF381FD4 for ; Mon, 12 Apr 2021 13:42:05 +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=Udd/eIZ1ob4inIKyyXIp7HtzDfTsF+dVxNAH0GzOdQ1piGWacKhEh/I2blTWT2sKf7xyTYixaD+tq+pnRBjp2P/nvN5Pt4ziW3Xl2MELAAnVomNtICKCG7d7wG4tCEhIRWq94wT89Zngg0+tDwjhPKTMK5Cy1OucXkBayf3xv4SZjkLfqDerUPeB3KnvooE9dpciEkL628ggpSLcR2VnhPbacJkrSaq/tTEjSgMUMbz9mJxi6QX58o9N+UhMFaqkpaNSUIhxcxHAkUGhajhj47FRQg54kbtiFBJch9Rt+ePeNa0nTkkIrU1ZQe4K+N6GXEKT663MupPxI01E0JC6tA== 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=GgWQWt9nTtw8a1njzCYSUHstNkEDtIY1+D6Bw5GWmQTSw6T8lrmyKkfWH04OsS69N4G54jTWNWYZLkZJ08HUX3T13WM3bEWT+DX6wxnxSdVCT11YCyXuo1bOB+P3ElbCKhlR89CLPh6Vhwm/BtFs6wqY/ieYV0kfAa4fPoRTYs6YTOrtEmijTFL4oMPIsb/4x8HzLLlkMqQ+mhJk3MBorRBeDVSYw7OT5qDlO107IohL91v4OkDHiuFsdPvyoAFysLClFL+LWPYVVwZWytOk3sRIejRqs9vhTqmqvtwYBnsx9vjDo1pv8eYlZrrlIjc/r05as9gR/BVR1lMjRyVNzg== 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=jqIb6pyR3ZMX70PVm3M5T6BVQ+99jCqwW2yPS4t/hscBSFoNP6GOAxj6gBjV4xKo3fBwSqcxYCQ0C6J3rUld5Dt5XoLzU/X9USoIlbR/ygxSWlUUy+Rh4elTZsuy0YfEJ/cVDch+8TorPKAGkeLv4+a+eoWGbZ7DhX6hqPDNimE= 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 DB7PR04MB5244.eurprd04.prod.outlook.com (2603:10a6:10:21::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.18; Mon, 12 Apr 2021 11:42:04 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf%11]) with mapi id 15.20.3999.032; Mon, 12 Apr 2021 11:42:04 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: u-boot@lists.denx.de, uboot-imx@nxp.com, Peng Fan Subject: [PATCH 15/37] driver: serial: fsl_lpuart: support i.MX8ULP Date: Mon, 12 Apr 2021 20:12:44 +0800 Message-Id: <20210412121306.11484-16-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210412121306.11484-1-peng.fan@oss.nxp.com> References: <20210412121306.11484-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HK2PR0401CA0009.apcprd04.prod.outlook.com (2603:1096:202:2::19) 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 HK2PR0401CA0009.apcprd04.prod.outlook.com (2603:1096:202:2::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.16 via Frontend Transport; Mon, 12 Apr 2021 11:42:02 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dc6f18fd-11a0-4a8c-3599-08d8fda7fe1c X-MS-TrafficTypeDiagnostic: DB7PR04MB5244: 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-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 92Mh8Uup5QLgMGfi3TRQByfbOb4D+vbnsIq9/ORVlb2bbI1gFpO1SIcLx0bCCBlfYk0BV/cvwrqAYNpYrRHfXoHeg9BQ/CI4ZB/FHvaug6pUWQvyuad1aZ6SvYER9CtHhUeegJT7rohidbNGD7SiHW44a/umogHGFOwY3yCb9/AZ1253fmnSEtV00Ibu9fwrW9fcCN7Mx5XpuSTCw7wY58Kl3JSN4rxXsQaQqDF17w6KO+/TgJUQYu2hX84Fm0r9Msk5tPpNVVxXeKXPSuX5SoXyJ/qRpgaTvSOT4hfcqpsNu0QbGa64UFc6M5sj+OA4L2cZD0TNrW9MC0Juv45Jo5uT0g+aiKVslkkXELSlCGmrzET1FLAxjFvwPC1tAm6rRjjgNA1gGJDyi8bLHAPspHQ4ynXZ/CMLnVb2YWPx2oZeaelg7Jw+KlACSNpLfmYFGjnDpRn/P7QKd/s/u99UEJFUl3xiA/au20Bt2Z6lgK6L2WVk+HzOA7szbb9GznO45+4jmQSXK+ylZ1vrAcwcoSsVltpVaDRU8YCvUsvC/BUEAk3+dENC/kjYb1dp8NDEjgkJIaCBU44FOzyrRCds7qQ0Smlpuw7crMAi69igVb+ER8+/cB34MKoLZseMZmf8an6rlFGc7XM7x7m0ERaRwteJj4DYjec+WVS8V29AFpo= 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)(376002)(346002)(136003)(366004)(39860400002)(396003)(16526019)(26005)(186003)(6506007)(4744005)(38100700002)(66946007)(66556008)(66476007)(316002)(8936002)(38350700002)(4326008)(956004)(478600001)(6486002)(5660300002)(6666004)(86362001)(6512007)(2616005)(2906002)(8676002)(52116002)(83380400001)(1076003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: FpDti+NqvbWk7uNM+gp7ArLfuAApvjNOuvt/i+Ko0di6ReyqQWbSaOy9ZecQc+uH+sYn6A+Df9Uo63B4nWouI12Kj7hU9ivXK57CqIUKod6HTmldKlFYe+4CqxX4KrZx9xFzw4Ui1yIxOnK0cZYpfL9AsvII5L7OofPj1LB+SsI2edcfnxmSOVrZOA00FI/2NQ9BUWP4PH0Avm7uKkBQlGeBdh+bScZNK9RsJ1/qGSHQaMvetGA4lWssvU3nbIQTiF2oUzPPlLsO/apinLROfWIuKuUhqkNUAvNwecAqUxNxEV91Vesj4jOwQgbbSK/Csh5ObvY2edJHDwsDKwPAbQLzACIJThvTbUPDW+/Q5TDE+v75MLZTp4UiO8fIptqDSxSC1ZP8eHJht9ibJECMe5+0bl686+9fqMVMpwOq9LN83fYAEwCMFh76cnjjH1FwFIZhTR+sFbSrwfhZuuVS3GxTP3LGVoSoHLOAvKPdpbUSypNeRArt0widDs+/PeYSV2u0InFxh0xT0j4XMI/H0gGHOK0kOfX/1AFqwh2MSZtWI0IYqBvTnPmzhpfFOmI6ojHYS1mEQic9BFaPTTY+6YHBHeUgBavqjaKjhr6EByAzyxIphsNJ+wJ7Q5t5rVRtdoTYNyWBO4YWY+muBjP/DOxd7GpMQA8i63sfWw4HfPhYprFiytMeZpjwjCbz1UlvUk6xWzf/FMQNTh7DdB+FF8+FL3i5dvyzV7RzGgDNFwDo2SAGL0RqMVQxn7wYhW2+s/r/kujwx4P7yzWIgnv4Efl441T2CeutpB1+ECbPp1emMf824JGvXIOUEzN5cUJmu6g/2TQC0up1KMZCROzRn+vjYkpy9DsC09C9loAIdrIPnnzXFZY4Dkn7tqaCofp/v8d28Om3pyxHoltt+/FDLb3Zu09E/rrfnztgJRFHAxieqoiKcwueq+H6WVM2B8N0S98k/sodKKOzZ2zhvs6hlErH07jtE/jrKAvsRd78x85XQBfOUIU5vqDj4GoEdKQAeeD7gXN6aA93QPtaE8NOGJnOwuWGF8gozza2KluiDAieL16rsYhFEAod547YoxWlzKmgjyNf60SlrcFfCLqskfEqcRBYsiczpTnJJmHdHv7Rj25JKZnJ/wzbMMjIiaGpvgtQV3Lg1ppYkGzoRrvqocDCe4J9s2TFqe7d/pXM7ux1thAiija1S9AQXpbvlcvbxrsvq/sl6nIP5nf4wWCvLVFk+hbdnt/U4ZPAHQ1u9ZU5aV8LBaGqkdELVc4uN66aStMg9c1FoNLipaUszQ+6L4MeU3LroypI7cCKuo/WICqcGyf7VhdneWjzfkxOyzNTU7YOLK7hojJ9SMHLMUaEUw== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc6f18fd-11a0-4a8c-3599-08d8fda7fe1c X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2021 11:42:04.0970 (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: 1qb/lVuq8h4AsCugAihFKUDwoHSdssLa/jUG1N7BxM2/cDyY+xLX4nS+4fingyMFfsME4GeFLoy3DbvtMnUQGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB5244 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.102.4 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;