Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2819126ybl; Thu, 19 Dec 2019 22:14:41 -0800 (PST) X-Google-Smtp-Source: APXvYqxp3EaFI1uDQ/vuVxf0JbAp4A45SK93bShI9qzHgpeqA8k52lNUsiPsDGiL4wn0YCwhDRLw X-Received: by 2002:a9d:3b5:: with SMTP id f50mr12711322otf.354.1576822481315; Thu, 19 Dec 2019 22:14:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1576822481; cv=pass; d=google.com; s=arc-20160816; b=PjyDAWcCKYvypra3sSzpZLVFe3GRPI6t7X0YLoLe5jzf3NaDRx1hUz84nmFopSOriK icVlkIMpA6rxe+SvH5PcMXiIG9Bc9JV6OI91p3dCW9rMlSH6SUvUZvuXHprVeRrkJR5V DJPlWNFkIW7AxRQvgTnhZZTUCrfcU2HJA/x1b6LhBqiYP1l6O42+c4yQ8uLQAj6G6mRK jNeKSdD88r8bR8VRNx1YcSWb79NwvCBl8QePry16UiIkLqpDVzBM7nqo9QIex0Ft2sp4 EPBWdi8xDhnJduyPyjKHOolkxNbIpvjeHLnur9qk0jt95JmrMZTi9fAJINvilXPK5uNt iBeg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=vp7H+cg23gXApADNamgiSE2RURspLu9tDvGvzf5U5fs=; b=cZ9BhjE6JNEA9RfW69GbbHSSWbH5zCqaqJvEc9wndQidq7+Gk6azwPmIO3KWIc/s4W QnqMYn7dRMf356tipfHJowuz+XCGD/OIP/glm6yVwxD76zl2sbg600j9GgJdsVb058lp P8FqNzKbsPMSpEc8hjrq7WRMuV3q59v2mbuMj0yoR2j0mHSW6dZGNf5JrTQsRa/q0YGG Vu/bV7qoi/+pWGFc7w8zeXS87ia9NYe0SWPLQG091xZtqAdNZEdaDY1VINUGJf/RjOIV YagWeVzdtJ2TB810wZnwRxAGAGOM8RXAvjpWkHfqT3W/VdDXqYan70wCtzrGW/iN56Tt K65w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=QJgFuIJ7; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1si4623848otf.174.2019.12.19.22.14.29; Thu, 19 Dec 2019 22:14:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=QJgFuIJ7; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727167AbfLTGNe (ORCPT + 99 others); Fri, 20 Dec 2019 01:13:34 -0500 Received: from mail-eopbgr140089.outbound.protection.outlook.com ([40.107.14.89]:14318 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725853AbfLTGNd (ORCPT ); Fri, 20 Dec 2019 01:13:33 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YfPuK063QPkFYqInw5UR7PYI67xyJB1TXfQrEnTpb0za8Chhfj/kxcaplyv15tyz6YQZN34Or3GEne3jYsv48THBJAS//pZ0/RY822eKI5TDekxAobGH1eze6fdzKcTM+BN5iAx6WzvQh46iexrGrjOWpKfYIF0qKx7SQclGCWGfm2eCeUdVBGaPAgnJeXmPxe4KwYOf9iB9KGXis4vZCwdgR8Q2bqay5d5ALcNC/X0z1Fkp0/82R/aljNBfvBVklE+UjTiLMSIdIOW7fStg27FsEthUnK/qNu9/sLpKQ13W7vFqE0BBSXMDzPpIFSqDbLPMTb+oQy3/5VF150ldrQ== 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=vp7H+cg23gXApADNamgiSE2RURspLu9tDvGvzf5U5fs=; b=amWBj+xy4gV0JnTQCo+LlCC/CxlyawudUy02DJQQCbHQPXWqU8Aaryqzce8vmZJ06B+EjjP4gXZ5M7R9WhOSi8Q8Bx0pM7//XtzS0PMNsgUapCIxE/k5zDvMnTyFGbmjuAF2h+JJvCc/5Jjhl4xbszszJcJ/uEH63GLFuaU7wLSmRKd1YgNsgNFAlJujmO5qttRmYHVDh6m5nlmzetUr0G7MmgO9ydaXIAK00p9+cNDelYRCjnqeSokuUzu2pky7tTTdNxNR9SoEm/dxfcixgLGKucri25MC+mN/vHXiQx2M1C0p9hbASvZMljvGaZX6elvXMZN9Ydkgx6g7xkWEVw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vp7H+cg23gXApADNamgiSE2RURspLu9tDvGvzf5U5fs=; b=QJgFuIJ7rHhlxZmieey4AMwrqgUFqYI0vPpF3MOd4z2vBqvKfmIa5jKtjaXLdZfA0U/9d730W9oWuWG8PnE78/R3womkZO0guypbKD0/vWCEa3cgAzbglahz49nL1jO45aTtQrNxnTYk4doECuz6oxPRVGcWwERRa9iX5lOHooQ= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB4801.eurprd04.prod.outlook.com (20.177.41.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.18; Fri, 20 Dec 2019 06:13:30 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::505:87e7:6b49:3d29]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::505:87e7:6b49:3d29%7]) with mapi id 15.20.2559.015; Fri, 20 Dec 2019 06:13:30 +0000 From: Peng Fan To: "gregkh@linuxfoundation.org" , "jslaby@suse.com" CC: "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx , Alice Guo , Peng Fan Subject: [PATCH V2 0/3] tty: serial: lpuart: cleanup and improve for earlycon Thread-Topic: [PATCH V2 0/3] tty: serial: lpuart: cleanup and improve for earlycon Thread-Index: AQHVtvyZaPBJM02kmUSDrut+ax1uyw== Date: Fri, 20 Dec 2019 06:13:30 +0000 Message-ID: <1576822230-23125-1-git-send-email-peng.fan@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR03CA0056.apcprd03.prod.outlook.com (2603:1096:202:17::26) To AM0PR04MB4481.eurprd04.prod.outlook.com (2603:10a6:208:70::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.67] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 7d9753cb-3ca0-4517-8b81-08d78513bc1e x-ms-traffictypediagnostic: AM0PR04MB4801:|AM0PR04MB4801: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3826; x-forefront-prvs: 025796F161 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(396003)(376002)(346002)(366004)(39860400002)(189003)(199004)(316002)(110136005)(66476007)(66556008)(5660300002)(64756008)(66446008)(26005)(81166006)(81156014)(71200400001)(36756003)(6486002)(4326008)(6512007)(186003)(2906002)(86362001)(54906003)(478600001)(66946007)(8676002)(2616005)(8936002)(52116002)(4744005)(6506007)(44832011);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4801;H:AM0PR04MB4481.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FLLocU93LT2zhX1Vo8oaPOCBkVtl2g8Z2GjoXfszNc9ysNcLRw+9pRuMi3b2wBMBc9gJjKcIs0Mau0nh5AwOnFfSCVIF8+o8MQQhoewErDa+wb9FPTve7/DkejYWJ9Qi8xrBUmNDhByCHP0i6OUIfvmG7QJBCK+Ot9PUez+it4kdRnPz9Q5htgSxdVY9XOX8vFIuDNfnkX3AFS2h7crJuZGC2DtuxctDAaN9xoDynw3b+jNNiHeBJIF/hCoj+1i6FVYoYNPi1iVZNBnPiQMZ7HQhRIodt6EpcvbinXSzgEstD1fgXSowKU0DZKmgsG8a3ax8sMhnJdeRj/L9rLknonDvu3cnHSnGvS7CBGuEOeBcjBWHhlvTcL5/Tt5a5ciAuIYinWA5L9PU3p6C9sevTKvK8D1n4H02X6+YzVuF6vsSB1Mh8uoCkO3l+N2Ndu6a Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7d9753cb-3ca0-4517-8b81-08d78513bc1e X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Dec 2019 06:13:30.7403 (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: qtD75FZk9V7j+zZ1njy4faNF6eEhbsgbjf24qkME10DYJUKKMovAuAWgLdrg1UmpAk6H4DhJv1TV2Ay+SWGJHA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4801 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Fan V2: Drop a wrong patch which should not be included in this patchset, nothing else changed. EARLYCON_DECLARE could be dropped, since OF_EARLYCON_DECLARE does same. i.MX8QXP is compatible with i.MX7ULP, no need an extra entry. When we could not use stdout-path for earlycon for i.MX8QXP, we need pass mmio32 to earlycon, so update code to support the iotype. Peng Fan (3): tty: serial: fsl_lpuart: drop EARLYCON_DECLARE tty: serial: fsl_lpuart: support UPIO_MEM32 for lpuart32 tty: serial: fsl_lpuart: drop earlycon entry for i.MX8QXP drivers/tty/serial/fsl_lpuart.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) --=20 2.16.4