Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3606254yba; Mon, 29 Apr 2019 05:35:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPuSYd0gYYhCQtT42LtAAfm011jhmPWkEYoLOXPrNgrKru/BKfXOFgSdykkCO76KVE+XwU X-Received: by 2002:aa7:8186:: with SMTP id g6mr26368543pfi.126.1556541358155; Mon, 29 Apr 2019 05:35:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556541358; cv=none; d=google.com; s=arc-20160816; b=pwl/zqeekHsY+TxAMj8AwGV4LSnpesRsnW4LVwHb4nSe5VxgKrXRaOXvGUXS8LgiIu Wn9xO6tjCbGj2hkXJFDJxR+8JlM5xUvSMrtU+LCuTkuypeJzxMYUp6bGoi6O9lgurM7/ BrIstP9vcWm0z5fJyTiXmDIXcUD4XXrEKkhpSHDR8Pxa/mh7uotu5C0GLYAA+yWCcDhe Tpzx9KFA4fx2essr8mk1se+3v4k0zW8S+4fPnglM6e9rxw4113FiRUuwE0TVvNhjQaia G5Y0ZAKEvPkbO06MTEmW1oW5fEvI9hOrv6I6azf5RydI5Dr8RNQfsrn4htZBODrGOGF7 1q8A== ARC-Message-Signature: i=1; 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:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=1tCQODn8B9suG6zD9VA54Wls7OaoMge7cK25IlRJ/+o=; b=dPbQ3IHmnPzUpAbM0xqCF+XOwHRlSCqGl15G6wJY0rDuVuOOm2Krzi/CzJwDkmKsn1 GMUaAJ0QVTQ9AKSffqk6GO7LLr6Vru7DD6w/NCb0uWc7kopoSvyIxPymcZtMKrtaYpgS 91hd6QzWxSfpJzE1Z0EPp6wgkuMOJ8HhO55pkNe1q5oRjWwL/SGaBQmXcJC2eYXeZzbF xqn3r/ITy49gRVP9xYSH1Bt6wDumUEOdf5+oXZnemwySDrzr53KVz58ybB4O9jnLPGci XUM3VHuCygtYOuUIOgnYuHGXJQgOX5ylqwtYqRvolcQ3JTwg5a8vyn9xalDNwgrNLUwJ hQxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=kXMVbLyd; 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 d6si33697724pfr.262.2019.04.29.05.35.42; Mon, 29 Apr 2019 05:35:58 -0700 (PDT) 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=selector1 header.b=kXMVbLyd; 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 S1728071AbfD2Meq (ORCPT + 99 others); Mon, 29 Apr 2019 08:34:46 -0400 Received: from mail-eopbgr150042.outbound.protection.outlook.com ([40.107.15.42]:2326 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727956AbfD2Meq (ORCPT ); Mon, 29 Apr 2019 08:34:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1tCQODn8B9suG6zD9VA54Wls7OaoMge7cK25IlRJ/+o=; b=kXMVbLydF9bZmjl4n5PNHJ/Xz0q9SB7DI4b/1JWZ7IIF7Kinb4CONzT0h4aO6SBFgjMHPBDMvhhkArxIDreDi18fsv8CLb9cjFzQWtMg8hbY9Zq1Iy1WHmjKXCrtJnUMtxa7YHKPQWiWOH+rwjOLXyMtYJpRs/vb+UDMz69JmaU= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3898.eurprd04.prod.outlook.com (52.134.65.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.12; Mon, 29 Apr 2019 12:34:36 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::e8ca:4f6b:e43:c170]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::e8ca:4f6b:e43:c170%3]) with mapi id 15.20.1835.018; Mon, 29 Apr 2019 12:34:36 +0000 From: Anson Huang To: Aisheng Dong , "mturquette@baylibre.com" , "sboyd@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" CC: dl-linux-imx Subject: RE: [PATCH] clk: imx: add fractional-N pll support to pllv4 Thread-Topic: [PATCH] clk: imx: add fractional-N pll support to pllv4 Thread-Index: AQHU/jo/D2ZwDi5WREOeVbOKgmEXYaZS+19AgAAXj0A= Date: Mon, 29 Apr 2019 12:34:36 +0000 Message-ID: References: <1556507637-22847-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-originating-ip: [119.31.174.68] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 24701db4-af4c-471a-a2b2-08d6cc9f0a42 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:DB3PR0402MB3898; x-ms-traffictypediagnostic: DB3PR0402MB3898: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:785; x-forefront-prvs: 0022134A87 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(366004)(346002)(396003)(136003)(376002)(13464003)(189003)(199004)(71190400001)(102836004)(6246003)(256004)(2201001)(110136005)(97736004)(2906002)(64756008)(66556008)(66476007)(476003)(5660300002)(71200400001)(478600001)(86362001)(11346002)(446003)(73956011)(66066001)(76116006)(66446008)(66946007)(186003)(7696005)(76176011)(26005)(33656002)(55016002)(486006)(6436002)(7736002)(14454004)(52536014)(8936002)(68736007)(99286004)(74316002)(44832011)(305945005)(6116002)(81156014)(229853002)(8676002)(3846002)(53546011)(53936002)(81166006)(4326008)(2501003)(9686003)(316002)(25786009)(6506007)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3898;H:DB3PR0402MB3916.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-message-info: 74wgxQUEIzZmuQbpArzFyBYCzxC6nsgqwsKnnVvzi7pRifgmdxvRVirRkUeZnzj4I6Zr0g+dd60KG1/KabTj2LwjUnpuD/38jfXZQTVWAOEyP1o7aLYXlAaHAt27o5Mk5ylAdckE7bNbItN/1i1GU6P/BNMS0xGaAh7nuLTw9A2xjW28+y27NTSUN4VQP9YVgR3uaPXSY/UEWcBaxhnD94XpBnNm/j/vVtzudH48H2Yg+tTuHBQ6By3QRik2+/fvnBElNFHsVwwgwVoovZEqyDj5hxuJGZ2DWc08zEAH3kzz43mzOGyOkwyHsfQKGwNeUhpC2nRZylwEhWUizij+9NtGXflKSiImkyk65domLdxfBegIBBUGiHROA0SyZjqFLHubdho/OL7+1o/N7MuJqSTW5G6M1l6Q86wYuWmo2p0= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 24701db4-af4c-471a-a2b2-08d6cc9f0a42 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Apr 2019 12:34:36.2588 (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-Transport-CrossTenantHeadersStamped: DB3PR0402MB3898 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIEFpc2hlbmcNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBBaXNo ZW5nIERvbmcNCj4gU2VudDogTW9uZGF5LCBBcHJpbCAyOSwgMjAxOSA3OjI4IFBNDQo+IFRvOiBB bnNvbiBIdWFuZyA8YW5zb24uaHVhbmdAbnhwLmNvbT47IG10dXJxdWV0dGVAYmF5bGlicmUuY29t Ow0KPiBzYm95ZEBrZXJuZWwub3JnOyBzaGF3bmd1b0BrZXJuZWwub3JnOyBzLmhhdWVyQHBlbmd1 dHJvbml4LmRlOw0KPiBrZXJuZWxAcGVuZ3V0cm9uaXguZGU7IGZlc3RldmFtQGdtYWlsLmNvbTsg bGludXgtY2xrQHZnZXIua2VybmVsLm9yZzsNCj4gbGludXgtYXJtLWtlcm5lbEBsaXN0cy5pbmZy YWRlYWQub3JnOyBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnDQo+IENjOiBkbC1saW51eC1p bXggPGxpbnV4LWlteEBueHAuY29tPg0KPiBTdWJqZWN0OiBSRTogW1BBVENIXSB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wDQo+ID4gMCAgICAgMCAgNTAwMDANCj4gPiAgICAgICAgICBhcGxsX3BmZDMgICAgICAgICAg ICAgICAgMCAgICAgICAgMCAgICAgICAgMCAgIDc5MjAwMDAwMA0KPiA+IDAgICAgIDAgIDUwMDAw DQo+ID4gICAgICAgICAgYXBsbF9wZmQyICAgICAgICAgICAgICAgIDAgICAgICAgIDAgICAgICAg IDAgICAzMzk0Mjg1NzENCj4gPiAwICAgICAwICA1MDAwMA0KPiA+ICAgICAgICAgIGFwbGxfcGZk MSAgICAgICAgICAgICAgICAwICAgICAgICAwICAgICAgICAwICAgMzUyMDAwMDAwDQo+ID4gMCAg ICAgMCAgNTAwMDANCj4gPiAgICAgICAgICAgICB1c2RoYzAgICAgICAgICAgICAgICAgMCAgICAg ICAgMCAgICAgICAgMCAgIDM1MjAwMDAwMA0KPiA+IDAgICAgIDAgIDUwMDAwDQo+ID4gICAgICAg ICAgYXBsbF9wZmQwICAgICAgICAgICAgICAgIDEgICAgICAgIDEgICAgICAgIDEgICAzNTIwMDAw MDANCj4gPiAwICAgICAwICA1MDAwMA0KPiA+DQo+ID4gV2l0aCBmcmFjdGlvbjoNCj4gPiBhcGxs X3ByZV9zZWwgICAgICAgICAgICAgICAgICAgICAgMSAgICAgICAgMSAgICAgICAgMSAgICAyNDAw MDAwMA0KPiA+IDAgICAgIDAgIDUwMDAwDQo+ID4gICAgYXBsbF9wcmVfZGl2ICAgICAgICAgICAg ICAgICAgIDEgICAgICAgIDEgICAgICAgIDIgICAgMjQwMDAwMDANCj4gPiAwICAgICAwICA1MDAw MA0KPiA+ICAgICAgIGFwbGwgICAgICAgICAgICAgICAgICAgICAgICAxICAgICAgICAxICAgICAg ICAyICAgNTI5MjAwMDAwDQo+ID4gMCAgICAgMCAgNTAwMDANCj4gPiAgICAgICAgICBhcGxsX3Bm ZDMgICAgICAgICAgICAgICAgMCAgICAgICAgMCAgICAgICAgMCAgIDc5MzgwMDAwMA0KPiA+IDAg ICAgIDAgIDUwMDAwDQo+ID4gICAgICAgICAgYXBsbF9wZmQyICAgICAgICAgICAgICAgIDAgICAg ICAgIDAgICAgICAgIDAgICAzNDAyMDAwMDANCj4gPiAwICAgICAwICA1MDAwMA0KPiA+ICAgICAg ICAgIGFwbGxfcGZkMSAgICAgICAgICAgICAgICAwICAgICAgICAwICAgICAgICAwICAgMzUyODAw MDAwDQo+ID4gMCAgICAgMCAgNTAwMDANCj4gPiAgICAgICAgICAgICB1c2RoYzAgICAgICAgICAg ICAgICAgMCAgICAgICAgMCAgICAgICAgMCAgIDM1MjgwMDAwMA0KPiA+IDAgICAgIDAgIDUwMDAw DQo+ID4gICAgICAgICAgYXBsbF9wZmQwICAgICAgICAgICAgICAgIDEgICAgICAgIDEgICAgICAg IDEgICAzNTI4MDAwMDANCj4gPiAwICAgICAwICA1MDAwMA0KPiA+DQo+ID4gU2lnbmVkLW9mZi1i eTogQW5zb24gSHVhbmcgPEFuc29uLkh1YW5nQG54cC5jb20+DQo+ID4gLS0tDQo+ID4gIGRyaXZl cnMvY2xrL2lteC9jbGstcGxsdjQuYyB8IDY4DQo+ID4gKysrKysrKysrKysrKysrKysrKysrKysr KysrKysrKysrKysrKysrLS0tLS0tDQo+ID4gIDEgZmlsZSBjaGFuZ2VkLCA2MCBpbnNlcnRpb25z KCspLCA4IGRlbGV0aW9ucygtKQ0KPiA+DQo+ID4gZGlmZiAtLWdpdCBhL2RyaXZlcnMvY2xrL2lt eC9jbGstcGxsdjQuYyBiL2RyaXZlcnMvY2xrL2lteC9jbGstcGxsdjQuYw0KPiA+IGluZGV4IGQz OGJjOWYuLjRjZWQ1Y2EgMTAwNjQ0DQo+ID4gLS0tIGEvZHJpdmVycy9jbGsvaW14L2Nsay1wbGx2 NC5jDQo+ID4gKysrIGIvZHJpdmVycy9jbGsvaW14L2Nsay1wbGx2NC5jDQo+ID4gQEAgLTY0LDEz ICs2NCwxOCBAQCBzdGF0aWMgdW5zaWduZWQgbG9uZyBjbGtfcGxsdjRfcmVjYWxj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