Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp199038pxb; Tue, 19 Oct 2021 00:35:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5HdQt/Vl4y9EJ5673d5IPbhxh6ThLZAhkJGMtAikgBluLiWI5AXXwaklM/Ym8oWswOfMc X-Received: by 2002:a50:9d48:: with SMTP id j8mr52368179edk.165.1634628942954; Tue, 19 Oct 2021 00:35:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1634628942; cv=pass; d=google.com; s=arc-20160816; b=ukxSTK0g3kLf2HnutIDiUOLZJQ3lPw6rF97/zLOf1CwVzcFsbIeq4+wdmpS+JJofGJ IXFVl/KoZHnycOd3KnHBHaVapD1jrp2CDk91BCsoZ2oKULC1/elO0RU1IZx5noAxewVN jdePPIadsHVO9OL4gWAAtd89WAsb46f6fjquK+DGNS41nuW6hAGCfB2L46H1oH9Uct15 TbXSNkKDbYsEPcRL5CGggabLYhhbhu62oJULkNp9BJBIrYST0MvLSfVDDusObr83AkZW ifCI4CtCwiTER0G7G7RtWJtpy+jrBl9woBxeH1scjLnpGbkVd/JOduJVX8jFBvzRDx86 msnw== 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=alg8bTvIpAAizR4bBPSNVZqwS1F9jF3VNh8rEU7yCfA=; b=ze5i5WDQ99lxxcMJIW+5KI0azFnjvKEG4lUebTSBtL66K93St0A8ZnYo2lXAeWt7N7 8pt+5iVc9cZTEkglrI1O1sIJXLeQPaWSTVYmtfyhH9n9HJmCDz4BNPPjHnI0ukfEU6Gc VRYA10hlLrpLJzSTgSads77iCUCfzsy/qu1SKKctO8rdZNWMwOQ7zPh7PQncwctsUwUL TLYq20bvBizWUKICllTo0B0gV6lhnWaAQzkFuWdSW/1EQEQBE0CPW46OvqLs9qlAZ0Ux phkcWb94sU2Eb7R6PVUidy3o72l6tVv7bpbdFlnpGURrclqIBI42BboQZP7qxJ3iyan2 9xYQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=OtAqA8ir; 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 n2si28123805edi.385.2021.10.19.00.35.16; Tue, 19 Oct 2021 00:35:42 -0700 (PDT) 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=OtAqA8ir; 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 S234458AbhJSHfL (ORCPT + 99 others); Tue, 19 Oct 2021 03:35:11 -0400 Received: from mail-db8eur05on2063.outbound.protection.outlook.com ([40.107.20.63]:38401 "EHLO EUR05-DB8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229930AbhJSHfL (ORCPT ); Tue, 19 Oct 2021 03:35:11 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HOHNpK/+N/sFf+1wRNgK/rntN9j7TCRkDLsX78ZrPw9Qq5CWiDZati1hl3fWh9rsOkt1w7JRJ3Jkw7pt2P4NQd6L9XahFp6u6eQt4fIgyKSUSZGzuJA287lb/LYCbzhMavDoDZApptnVR0i+8PBqDu++ie+vFzxbFr82uK6E6XanGpg7SMrEWRZZ1wVBnuGvMp+mysIkRvHmtBiIOe9P+lNvpFwENMTs9bl+2Cw0KrVvCoUVNzxjnA7srm27RhP3NLLsRtvLpURkezVSlDUoSZ/WNF6hZTsdaL2Cuhs4gGgSNhMZuJcbTwMZi+e4OEFDM45i1mRyN+YQfLPbLUl9Vg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=alg8bTvIpAAizR4bBPSNVZqwS1F9jF3VNh8rEU7yCfA=; b=SHj0oiXrNe1E7bghwydR8I7wfh65rkZlbwIKTWV4LLYeVBrgM1GjiS8mvv13VCBL5LPsK79PblMzB/l1n1EZFVGkO94lPu9wd/YEU8BJ+U/uApVBgItUFDVCYKMmMo0/tHmOFMAXqnqNh93KFJPLWmr7EGk/Ws7Bx2RBGq1YnE1XEvnIhEdnkzS2tB326sBtDQAj0tophBaD9/qBPQ30RgipgEvUERWgtNsqp3WLaowngea8Vwuk4uByBoODiPvVepOYY87HNGccgvaV3zOS5Oom02VqB7ykbNA+i0yT+eNcjXHGczC7KkJBLPTrqzppczUVZcUw3J6KZxB3IwHu5w== 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=alg8bTvIpAAizR4bBPSNVZqwS1F9jF3VNh8rEU7yCfA=; b=OtAqA8irtEonlxqos63VGf1RfhxJ+OvCFqZ61yfoUH25SMW1BIgkGuVPCp0YHA9gI7z4zk8XK46CwDaT/C9lcN9DBPQJBH2NWAyv3iXLU0KD0p8gpSubbSPDSdn34Xpmda8DgUbCMDbHV5R7aRWRcdd5UHmXEuwMBvlmvk3Z0bg= Received: from AS8PR04MB8676.eurprd04.prod.outlook.com (2603:10a6:20b:42b::10) by AS8PR04MB8882.eurprd04.prod.outlook.com (2603:10a6:20b:42d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16; Tue, 19 Oct 2021 07:32:55 +0000 Received: from AS8PR04MB8676.eurprd04.prod.outlook.com ([fe80::b059:46c6:685b:e0fc]) by AS8PR04MB8676.eurprd04.prod.outlook.com ([fe80::b059:46c6:685b:e0fc%4]) with mapi id 15.20.4608.018; Tue, 19 Oct 2021 07:32:55 +0000 From: Richard Zhu To: Lucas Stach , "bhelgaas@google.com" , "lorenzo.pieralisi@arm.com" CC: "linux-pci@vger.kernel.org" , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "kernel@pengutronix.de" Subject: RE: [RESEND v2 1/5] PCI: imx6: Encapsulate the clock enable into one standalone function Thread-Topic: [RESEND v2 1/5] PCI: imx6: Encapsulate the clock enable into one standalone function Thread-Index: AQHXwY4s6kZeP+E3uEGrVnpQc2fDkqvUXbIAgAWWIQA= Date: Tue, 19 Oct 2021 07:32:55 +0000 Message-ID: References: <1634277941-6672-1-git-send-email-hongxing.zhu@nxp.com> <1634277941-6672-2-git-send-email-hongxing.zhu@nxp.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: pengutronix.de; dkim=none (message not signed) header.d=none;pengutronix.de; dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e4313ebf-89cb-4c10-1f7c-08d992d2aacf x-ms-traffictypediagnostic: AS8PR04MB8882: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2331; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5sJi4GNeB1r5QkE9uGGC/DyelturoClOotDJgltQYnbNR/+caOym6NhQ0t++9xrOtAnVhxVuB9VJ1MJhPrOCrrvj8CoBHMQEv0NH0diail7sdKoLzAuNOTcoO/GMdthbKSmhY8SB+4mXRm8uTeM8UPSxZnC6jXq/+vIS9KI1Gztd2OeR0msk1I0XR7rZRKzfh+HHxSVCu6ZVu13a1e7ShUeJeThXXMCi/zGgOgBqkfpRyMumDwniJjo4kCFdjZzDrr2YqbKLNkG9HX+gXdHfJGmlQF9ZuYXiTaCawRrBiAr9y8tHSEmnPwE7TdrrbURUlDhMDHYWAwsFmqidduSePPDIeGbbjDd5ZK9vI7H/smvo1n3JhDfHVqyQAocyTct2zzLjr07ebOomPNZDU83TKA49jQSOGjiGpEZ5flv5w+B1P1YVNjaLWOsAVsbTg7HRWOxifJxZ1OD8chmNvDvXqzMlAUCXzuTNi87GtqAK6oV6D5ld3neZ5UiIvNk2cItaucQpk/w/TtGsXvVJvXFYNMOyGXRpXCAZVCLukGiqUqDssX6ijqjto2BqJTBAZfa1ZMtF6MzJl5ZaVPfInUOaMs+VH6y+Kxa2gVkhlYwRzqfQXjb2S0X0Ycb74tOTZY8nxeSHeOMyJs/7p8C46laUAmL4dEBaLsccabxMFMXpuP4fvAA9SV5yW7ulH0EQNW+BLJ1NCWHIocEV5iyqCavAog== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8676.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(186003)(52536014)(86362001)(2906002)(122000001)(33656002)(76116006)(508600001)(9686003)(6506007)(8676002)(66556008)(26005)(53546011)(110136005)(5660300002)(316002)(83380400001)(66946007)(54906003)(64756008)(66446008)(66476007)(38100700002)(38070700005)(55016002)(8936002)(7696005)(4326008)(71200400001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bURMYVhXRGdjZmlTSlUvU2s0Y1dhaXIvM3pDdE82eGhSMkFlUHAzd1VmQXhD?= =?utf-8?B?V1pwT3JTTWRSTmJiRk5NcHdBZHg2elQwVGRRaWdDTGNncnoxZmYwQVJoejFN?= =?utf-8?B?TzlKS1Zvdy9IeXVrMFIrWGY4OEhRV1drNEpaZk9HNzhHVnJXdHNCVndaMG1M?= =?utf-8?B?M21Yakk5R1l6SlNNck5DVHhBMnlpVlRkbVk2N3RDYWhncnNGR3Vhd3o3d3Ir?= =?utf-8?B?YTdhblA5Q0JzU3VRL21Xa1RVNUlHZ1FVYW90cmowRGV4SU4yN2pqZ2M1Mzd3?= =?utf-8?B?U1kxQy85dElYN2wzeE40eXkrVSs1YlJ4cDhrYjNtOHRLOTN1TjRySGVvemxu?= =?utf-8?B?U3BCK3RZT2ZVNk1ZMDVDR1BKYlNOcDFmdzVJV2NOZUsvWVZCSkd4TXpLQ2s0?= =?utf-8?B?NStuMFNZMzRNanl1eTM3eHd0OUZ6Ly84Zkt0ZEpzekdOR0Z0UWtJWXFZeUNy?= =?utf-8?B?VmM5dVZkUVFIL1hLYjR5bGlSYTRvUVIyOHp6bjJTKzJmdEJyWDFxcmdnNzda?= =?utf-8?B?WkEzSllKWkhneXlOTURtck0wWE16ay9HNEo2VUhnaDBYbEoyM2luSW93Z2RH?= =?utf-8?B?Z2crYWF4RXgzVTY1UklmOXVSWTRDZmgrWHRGdHFGWVlxSVZ4T01BaXVsdmtt?= =?utf-8?B?MkgyRktVRTFvUzFOL0ttMXpETk9YbUNBaEFmeTFqUEp4MUhnT3l2WUV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0ekVkUmJMaCswVVdt?= =?utf-8?B?U0M4RWxndW04ZlRBU09nMFc1ZGZEM0lZVjc1NjljTTFYcHQvMVY0cThqRVQ3?= =?utf-8?B?REVXQlZmUGJPWDg1M00zUUprWjVpeEF2YmgwZkFXOFh6bHJzUU14QXBjRG9L?= =?utf-8?Q?1aCn6uzqE73OMaw+i8iRdijhGTw3qzQ7F2IAUKK?= 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: AS8PR04MB8676.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e4313ebf-89cb-4c10-1f7c-08d992d2aacf X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Oct 2021 07:32:55.5188 (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: Fiu4xH1rhyaWf5mFj6aqDeLBt/Cx6f6Vl+nCI8vvNMChRVJi96QQyeGLcdi/YBmq+cTtov8c2fkxsVV8nht72g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8882 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEx1Y2FzIFN0YWNoIDxsLnN0 YWNoQHBlbmd1dHJvbml4LmRlPg0KPiBTZW50OiBTYXR1cmRheSwgT2N0b2JlciAxNiwgMjAyMSAy OjE0IEFNDQo+IFRvOiBSaWNoYXJkIFpodSA8aG9uZ3hpbmcuemh1QG54cC5jb20+OyBiaGVsZ2Fh c0Bnb29nbGUuY29tOw0KPiBsb3JlbnpvLnBpZXJhbGlzaUBhcm0uY29tDQo+IENjOiBs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