Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4354725ybv; Mon, 10 Feb 2020 17:44:06 -0800 (PST) X-Google-Smtp-Source: APXvYqz49Vbb6LhTOThnKAr7Im65dqriSrIHEIrtIpuRasbtUjRcpinhmikC0oR2yviJRbmFom4M X-Received: by 2002:a05:6808:244:: with SMTP id m4mr1384505oie.125.1581385446825; Mon, 10 Feb 2020 17:44:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1581385446; cv=pass; d=google.com; s=arc-20160816; b=w+CBgEtzOCHHs6p4daVYEAFOa6k3k2FftMZEiKDm/EvU4I9QRqmo1sllbMnSm6gSKB 3E0iS7ooa2RApN6gyDOBXDkCXyYqcmq7fgWFR3mve76tiddQq+4p+mtUlcOKo1ndhfvc VNKBiQgxCDqWu6LecovDj86Zwdbu9Z5qcOtuvFFWGPOyxMfU98owQt5okwszTRUCj3S0 kT5iWGut4XfQ58G6VUHBRPOfsAXxbg4UJ/PY79xq7G3rwA3A22vDzMEswMXHfrrW5DvC /sHx+K/QcJ83vK4d4tCVWE63mSnvLmx3L3Jf4feGA6FuO0FU0RafosSyRAddUlkCbC9f 5atg== 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:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=CvxNdjn4Jpa6VgPvhcQLnshzTnBwTz0mLeDVww1P4vk=; b=xM+td249NBoAlzAw/dEc9E71E8LNN4ZOSacCF+yZJoCnawCZhdypV1FOHbiQ1hFpyc 7rbjAMAFa44Sjn9D882SGLV8nB8u333/OatxhDfMoHyRMA8LaAOEAcWcK2SEK5BKjdnh RVSUdSMK7WH2qoEtxaZE+k9aoFZeP9QPnpfaq0v8x2+PZMfBGIvzfgtP7qBt7lFU9vcn qbqsiJCiQpE0Mrj0IzNMY/K5qX82//2K/oioOaRYRq35IOT7HZMm4zCIMxMwIoUHh4Iy uxsKUfDV3Vg4DWVMPsjLSkoph8IFcEZ61llhou4vBfwfjMtJzSJa3Jdum/AkUdWmj611 oQqw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=jrEeJ3CW; 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 25si1014994oiz.230.2020.02.10.17.43.54; Mon, 10 Feb 2020 17:44:06 -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=jrEeJ3CW; 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 S1727698AbgBKBYN (ORCPT + 99 others); Mon, 10 Feb 2020 20:24:13 -0500 Received: from mail-eopbgr140078.outbound.protection.outlook.com ([40.107.14.78]:24926 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727398AbgBKBYN (ORCPT ); Mon, 10 Feb 2020 20:24:13 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LdGxvdJbEySz04slxKoNQePXtUwhIsNTjzwzg6d0w8rWzHnHc4+5vTWQ9f/BsecvuOXO6IT/2FFzY7/+vPPBGjPArb69CuLHPeM60BmuYy8JPnXc/IZnWbII6HyGgyQdGQ9pveHOQPdh8c7YdNPpdBEPbFXPn50RyVQqNgyZkmRZW15f7SjIHBe7I+BFj9LimaM6mnM7ZXnHkptwLp/cebY20vflxksCnnoElxI+ngMowY9753PEsNECJbWuKVlYNn0dSKSwwVfDvzr/xsL7HxzEDs6EAp8Bl3j3q00UIcGcEexxycj5Xbjo7RzEU+JEZfmkIEjvBv/RBUNB80duSQ== 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=CvxNdjn4Jpa6VgPvhcQLnshzTnBwTz0mLeDVww1P4vk=; b=nPBqizkXVBYvB4v43pPvF+Fa15EgAhXWuT/uHkiRb8wgZic7MXidug406Kr4tYx+MTZ/I/FWRcQUh7VEn2x310gurJHvwdbhdlzBSRX+AWVpWp1idGhMAPjMzXxmThldDKIS+mrn4721WgSohMCUI6gOHPd0cZtmbNCLdz31TJSBvsIm9PAEMbiwBeBf/jaaQOkjZgGXvDd/nU3kLrM9zKdHOWSmPjo2mxHat8ds7liuSK90Us+U/pv/TbcDQiOhl7aW9U4mIK/ibLXHC37NbIID5rYUpK+ETzQK1LU7QW5wmNvunA3xTis2M4k+O3gYyV04TqZZGc/cxM1ClHrFag== 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=CvxNdjn4Jpa6VgPvhcQLnshzTnBwTz0mLeDVww1P4vk=; b=jrEeJ3CWemcI3q+Yl5m/5RpKG1ndA/EauwoVt/ehKiiPhpBUtgi3f7kKIn6aMndrxQHYa2qiMLCrvmVzrD5So/nsB4blBkmj6bbKeCy+qoOSQW9SJ9qV43FimNhTESJkqZGU8jXAZUuGqk2d2yFv/+NmeNFumw8bw7EOjZSbfKU= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB5507.eurprd04.prod.outlook.com (20.178.112.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.23; Tue, 11 Feb 2020 01:24:08 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::91e2:17:b3f4:d422]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::91e2:17:b3f4:d422%3]) with mapi id 15.20.2707.030; Tue, 11 Feb 2020 01:24:08 +0000 From: Peng Fan To: Stephen Boyd , Abel Vesa , Aisheng Dong , Leonard Crestez , "s.hauer@pengutronix.de" , "shawnguo@kernel.org" , "viresh.kumar@linaro.org" CC: "kernel@pengutronix.de" , "festevam@gmail.com" , dl-linux-imx , Jacky Bai , Anson Huang , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-clk@vger.kernel.org" Subject: RE: [PATCH 4/7] clk: imx: add imx_hw_clk_cpuv2 for i.MX7ULP Thread-Topic: [PATCH 4/7] clk: imx: add imx_hw_clk_cpuv2 for i.MX7ULP Thread-Index: AQHV22DMfuNfrztGkEGJ4CGkxeeucqgVDumAgAApfcA= Date: Tue, 11 Feb 2020 01:24:08 +0000 Message-ID: References: <1580823277-13644-1-git-send-email-peng.fan@nxp.com> <1580823277-13644-5-git-send-email-peng.fan@nxp.com> <158137431730.121156.17920534869042984062@swboyd.mtv.corp.google.com> In-Reply-To: <158137431730.121156.17920534869042984062@swboyd.mtv.corp.google.com> 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=peng.fan@nxp.com; x-originating-ip: [119.31.174.68] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 21597be9-8f2d-42e4-c834-08d7ae91179b x-ms-traffictypediagnostic: AM0PR04MB5507:|AM0PR04MB5507: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 0310C78181 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(366004)(396003)(346002)(39860400002)(376002)(136003)(199004)(189003)(8936002)(81166006)(478600001)(81156014)(52536014)(76116006)(71200400001)(966005)(186003)(9686003)(6506007)(26005)(66556008)(55016002)(66476007)(66446008)(66946007)(64756008)(8676002)(316002)(5660300002)(44832011)(7696005)(110136005)(54906003)(2906002)(33656002)(4326008)(86362001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB5507;H:AM0PR04MB4481.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX: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: ShI/50u45pL4zPblfqkRC53XwNWfBBdHrYaJLdrBF3WX1mEfDBzK1/kn2BhiE3FpksaOLiaTaX3/sVJfcF1blZps3E2LtzJAC35g+Tct1IiWiOMNO1GXNJikKMqFk0OiUan5RzmVnqI/GF2qehOTt5Kw8J3/ceKZwhaoCmMeADqEpIDL6CpTrjwgqd35FpPUuGwQdw6MBW7u/GI0aO6QR2c9gYz83aoCRL1lOabexP4Gfv2Cotfns9JjVhpeAe88Yrkg3STuNHk6H1L6PKH21LN7AOqDvxVzqTPpaXiNPqbsK/9vXyX3jsER8uilydvFNPDhL0+ohsw3IGgi7hJGnoBnaTo8sqWEvfMwTUYJtyhVOFG57eVw7DifYpDSKgtXBZuLI7sXwzVLUdaoFo2oWCIRHLhON8opMBONNp313VgeWWXBa0BHHHlaLsdsSsjBIUNRaubpx+NYIMciHfGVu//wAISXAY/Jojc1KBxYfOPfPXbLhZC6AnbjJ1yugjmRpPb+arpTETMAtbe2GvgQIw== x-ms-exchange-antispam-messagedata: gUXrMaA5JS1tGoxnK+E5vJw7DKWp8sPEFzWt+JQek+V1QhqvJDjYtlwvKNDNJRq7XD0nZ1FoMDpL7enmeWQoe8cnfJaHYIUYQgbUeTTlyS6zfCORSzFws1128WD26ebEsvPhBm61LDE9PW+3bfv4YA== 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: 21597be9-8f2d-42e4-c834-08d7ae91179b X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Feb 2020 01:24:08.4771 (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: GGdxZ+yHZoCLxXjATrTCTTGGk7GDx1H5oxxgdzL+EX0EvnjDrWcwTaGxfYzUBtt10YAB1coirPdcGZlwVvnZ9Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5507 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBTdWJqZWN0OiBSZTogW1BBVENIIDQvN10gY2xrOiBpbXg6IGFkZCBpbXhfaHdfY2xrX2NwdXYy IGZvciBpLk1YN1VMUA0KDQorIFZpcmVzaA0KDQpIaSBTdGVwaGVuLA0KDQo+IA0KPiBRdW90aW5n IHBlbmcuZmFuQG54cC5jb20gKDIwMjAtMDItMDQgMDU6MzQ6MzQpDQo+ID4gRnJvbTogUGVuZyBG YW4gPHBlbmcuZmFuQG54cC5jb20+DQo+ID4NCj4gPiBBZG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