Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2925859pxb; Mon, 16 Nov 2020 00:24:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvzclm6/fq8ostgVZ+AW84bKBdeCxFw1TYKoVrEv1I+tbxKPywsiS5B4zsK9Lvu6rEXNW6 X-Received: by 2002:a17:906:1e0c:: with SMTP id g12mr13089669ejj.115.1605515050639; Mon, 16 Nov 2020 00:24:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1605515050; cv=pass; d=google.com; s=arc-20160816; b=k2g31Es07abiZw2diKvn9B1ItVU5Al8wEHd9b/x6eFba5B/J5DO8WdaLWopNexa4QU trjYZXzdruoMSB7jSsvSZTljquirzDH0//Gnp87ezzDvrXi2BrLCHnIp0wr+J90Hxnnz qe3mTKYL9GpVOYgrvYB+lNBVk8qD/QxwE9YLlq83SchVkKkpEzjmp7tucmL7qTGRaMUV DGJOkUIKRW059nnpKY3pmgE4+3NF1ylzYzk/OlS7bEDzgQFYmPK9anOQEJIi8i6As0cH nX2yMVpBnSGlS34ZWzeYJwNxsq+RId6uig51gZcqqPt9edPw/R2L/kV2DfJZU278qetX FHMw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=iD0Yr6at8fZtxnIUujeaB+iiHgeXsUZkxL7Ch3Jrx3s=; b=nbcxtyfZ4qoZahEBodtYCzAIdNy8GG80PVwWBG0ED0XTvACrRDCZTL/4UvKu4ltjVE 8bsX4ERxG20+53Ojvtlp2EPdZzeiRHVD/zuoMW+bIgCh/B69cHoK254beqOM+inObfcQ zFx5jyL9sw709VCFiBmic93Wv0N/cvtGUCF7dOWoaD8Z1XiKwsW+0YWX+II+Urq9GmAj mNKQ+Gx1B+wduGhOBVRWJO0kYebIsK6uIgKIjIwHTQcwfve6ElFMcUXHxIT5EUr3g6dq qV2MhGYiuVUMvN73u80ODqoMjNT2B2aLmApars4pYW7N44YlKeDVIPCGD5PFZDU2VYd7 URTQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=TcNRyHKB; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id s20si13521022eji.711.2020.11.16.00.23.47; Mon, 16 Nov 2020 00:24:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=TcNRyHKB; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726281AbgKPITF (ORCPT + 99 others); Mon, 16 Nov 2020 03:19:05 -0500 Received: from mail-am6eur05on2087.outbound.protection.outlook.com ([40.107.22.87]:35201 "EHLO EUR05-AM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726176AbgKPITF (ORCPT ); Mon, 16 Nov 2020 03:19:05 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LLDgoy/pgKq/B28ONzV55n2Y80+mLdG3gYlznHPW6DArVGihiDyAmaXIV5Hp0vK8OeJfcsNWe/pfBNaBWyadkoqRdCLpdajjkrEp5YDhg57XTJAuCpARiB2aOHp4tO6tokvCPPP1Ws7StonbEnXwuhbwCIbbqnJXJ6rVLqshft+/IMLv/pPLy+M9ZJWf54YZzqoE/MSchL7tDR8VlF68o2exmJqVYchV6J10/Gu5W/NAE2wz7UdYogYZjCnnpZqHiaqyeEKkw4tYRiZ3LZn9FEJ1hsxXdr3z/p3/g2LPOWFx8ZzH7zWcFiLIeQkQUNtGXq559vkw1btjLeSYgomQLQ== 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=iD0Yr6at8fZtxnIUujeaB+iiHgeXsUZkxL7Ch3Jrx3s=; b=H2aNYgHrcz8nGl0W/KhrvWwv6sXfLZ/2WLXLNicNsp5b9c1CtGbbb1lUo/8IUTvGXZN05WOFUzXUwvlg/22tVyR20fMB/nCfOyz1bv/YlBIX84kGV90DxOEG0GMLsoaQxtYEPc8lBQv0xpEiAimkzLS0Yvsiht5KDNBknVXFCsNEcGOPTKYWN6V5kj4up1X6XRB4DlZLVlVWjm31exBY4PTuTBfL0MPlt6QKVk2JLVE27OCpe6LqFaa4J2Fl71qvFtYBhB/NUgcrrZ1lhNqNDnSgktHQZDJ3gML8HHjTEHsiKYfG/cHVsb31vG9GQAO08rfzo/mBlNyWJAQdITJJLQ== 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=iD0Yr6at8fZtxnIUujeaB+iiHgeXsUZkxL7Ch3Jrx3s=; b=TcNRyHKBRd0BZ3WCmLPolgMCFFN9YY4oAVYf78dHM8lbVDpsNUsNDufzI2oOYq1NXBLAZefYP9X392uZqOjD4AgsqbU4HrWxd213rOr5+1U3zGL9mejpOMVZxZkF5pcLtfzOhqToQ+FoDW/cvAmtAYtAk04d0jefDA2svDtA3QA= Received: from AM6PR04MB6053.eurprd04.prod.outlook.com (2603:10a6:20b:b9::10) by AM6PR04MB5029.eurprd04.prod.outlook.com (2603:10a6:20b:9::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3564.25; Mon, 16 Nov 2020 08:18:59 +0000 Received: from AM6PR04MB6053.eurprd04.prod.outlook.com ([fe80::a968:d7c0:c9f8:b4db]) by AM6PR04MB6053.eurprd04.prod.outlook.com ([fe80::a968:d7c0:c9f8:b4db%7]) with mapi id 15.20.3564.026; Mon, 16 Nov 2020 08:18:59 +0000 From: Alice Guo To: Krzysztof Kozlowski CC: "robh+dt@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , dl-linux-imx , Peng Fan , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: RE: [EXT] Re: [PATCH v3 4/4] soc: imx8m: change to use platform driver Thread-Topic: [EXT] Re: [PATCH v3 4/4] soc: imx8m: change to use platform driver Thread-Index: AQHWuazE7cJrTeDj7UWc2lslcddiW6nH1qUAgAKJ1SA= Date: Mon, 16 Nov 2020 08:18:59 +0000 Message-ID: References: <20201113110409.13546-1-alice.guo@nxp.com> <20201113110409.13546-4-alice.guo@nxp.com> <20201114164128.GD14989@kozik-lap> In-Reply-To: <20201114164128.GD14989@kozik-lap> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; x-originating-ip: [92.121.68.129] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 1da6ec51-0c03-43bd-f0b1-08d88a0844e3 x-ms-traffictypediagnostic: AM6PR04MB5029: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: B3kRFF2llPw38hicrFAWxR2wgwsh63WVTBWpQv1WNRuqq+M/IIzU8cUH7UqxEBjfDJUp/KrFxDve6poH0Vd9tCq18lHyi5cm+A80xkK4W6TugdF8VFGnOLW+pFYKjY1/egLLeRXfzj0jfx8rvEk+PLGebawbwMWeMcfKwN3LSJuJCtoFvG8vh5hYJJb/HTeuYQAfVwf5mRT5CYoYjdjLvoQB1Ow42S9v0TjGQDXxp+vreNWjcDIgIyazLGJCgHGaTktYNFFGf0alR+BkopBgSTl0XzxjD6RFs7InW/9gRo9nhORNdijYhRCsZj5Atf/yqVJWnI6b7LF3bqeFJmkQV6DLbfMLnkOsrbuBXeNOPs8jHYPzq4+0uGTlLMM4aoIt x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB6053.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(396003)(366004)(376002)(346002)(136003)(9686003)(71200400001)(8936002)(8676002)(55016002)(478600001)(316002)(2906002)(53546011)(33656002)(54906003)(66446008)(52536014)(7696005)(26005)(64756008)(66946007)(66556008)(66476007)(6506007)(186003)(76116006)(4326008)(6916009)(5660300002)(86362001)(44832011)(83380400001)(32563001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: DsltjQh9GaV93UlnGfKEkjlTlT0ukNko/IiWl19ft3nFw88fGsvb0ueCZBAkZy43sWDW1kkVE+mks0QcIgBpI3Pn5ZHbx3YztNTUM4E0oevf+kucPZWBfDDpnigKhlJPR+oYQLcicaNm4Sy4AVo1McRZ5d+TE0EHD9krtyUQReve9O/DAqJaDJGO09LK5Et3sQNkq3sVCRW0chHEvqDjLahwLDbhjdRj4LgF3G3Zg+tj5ZuxI+RzKL/KBI0OpBkbWrWtDGM56QPS+XhIyKfiHotZ3ktTezWrxw+PfYGrlIzh0Yz5GUMKOWV28FgaOtNL3v+Ce2C4NbgTN4vZb+Cng1OYpxmo+rZeM7QY03ondxdn9XuFVsR/PywieDAZgs06JmKaatYHVLEIvJy6IFxv0iF1Ng1NuRVN7L8Dk82vZKJnhnKSj7+jYaAFZ/+uzs7x2g4E2D9vQxggZTjTby33kPc+fE0eusy52RGtAhyJ0NnGOghJpw9ubidu+LTN/ahh6MXs8oExu6EHqZI0rnQ+w15VLETmixVenKA8CYvierEF0LjQ973TsXB5USERTblazaFG3PN9772fv3ipQBHzou0p0Ggj+ylj0CBd/2TelJdIXcFJrikP40h4gVmpRFrTfnBBuVtiGYOcj3UvYdnJQR6ajvV5IEZVQc6dfxy3aq8zQ8X/HGJIK2qoZB71zFAsXHbqqGkhcKs5n3GqINknX7cveN3B4XyVt91WnJylEBzRbb7No5R7lUqu1oGZMbGY3bNjVo5xtbEjSsFy6+w5TiwKQnARfENIgN8SSXDENmGnPUxXvHgjK2SepupLKxaCfZnX66uqoMyugrytxBvn4O1Ewr30vs70JLgYBWjOODDLHKu6WtPWW8+JxSMYbRCu/GmlRB21PWE3AvdorYgQ0w== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6053.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1da6ec51-0c03-43bd-f0b1-08d88a0844e3 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Nov 2020 08:18:59.1696 (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: XuNBkev5O2/jhSAwG3eEi5yQNUtzLLRtX+PCymzSmoidvRAOtaoxTi32ExkTO1qwGbGoGcC403G0632nNOFBUQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB5029 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogS3J6eXN6dG9mIEtvemxv d3NraSA8a3J6a0BrZXJuZWwub3JnPg0KPiBTZW50OiAyMDIw5bm0MTHmnIgxNeaXpSAwOjQxDQo+ IFRvOiBBbGljZSBHdW8gPGFsaWNlLmd1b0BueHAuY29tPg0KPiBDYzogcm9iaCtkdEBrZXJuZWwu b3JnOyBzaGF3bmd1b0BrZXJuZWwub3JnOyBzLmhhdWVyQHBlbmd1dHJvbml4LmRlOw0KPiBkbC1s aW51eC1pbXggPGxpbnV4LWlteEBueHAuY29tPjsgUGVuZyBGYW4gPHBlbmcuZmFuQG54cC5jb20+ Ow0KPiBkZXZpY2V0cmVlQHZnZXIua2VybmVsLm9yZzsgbGludXgta2VybmVsQHZnZXIua2VybmVs Lm9yZzsNCj4gbGludXgtYXJtLWtlcm5lbEBsaXN0cy5pbmZyYWRlYWQub3JnDQo+IFN1YmplY3Q6 IFtFWFRdIFJlOiBbUEFUQ0ggdjMgNC80XSBzb2M6IGlteDhtOiBjaGFuZ2UgdG8gdXNlIHBsYXRm b3JtIGRyaXZlcg0KPiANCj4gQ2F1dGlvbjogRVhUIEVtYWlsDQo+IA0KPiBPbiBGcmksIE5vdiAx MywgMjAyMCBhdCAwNzowNDowOVBNICswODAwLCBBbGljZSBHdW8gd3JvdGU6DQo+ID4gRGlyZWN0 bHkgcmVhZGluZyBvY290cCByZWdpc3RlciBkZXBlbmRzIG9uIHRoYXQgYm9vdGxvYWRlciBlbmFi bGV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