Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp586525ybc; Tue, 19 Nov 2019 06:13:09 -0800 (PST) X-Google-Smtp-Source: APXvYqxDoMpDWadEFofWCPlrUvYNztLm9yl/6RICBIlZ6IZ/HXavu2bClJ2Yvrl23itgg8D4nfSL X-Received: by 2002:a05:600c:2383:: with SMTP id m3mr5777872wma.166.1574172789794; Tue, 19 Nov 2019 06:13:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1574172789; cv=pass; d=google.com; s=arc-20160816; b=GsmTCOYaxCC/siFhkmz9+BueYuoNuaTD65RPS/Jsb2w6kSsaJSLjKNU/FGqvbm2+C9 UPXU+aoUGTy9/wDnuemF4yY8mFH+pTKwOo0CFK/Jtq4/yFnXI6sxJyYBAmmdcQXvWsbA xFtpRME1GcT9wvDSDMeN0YdXBWL9xfTIx+nuz7KfOUURZwqz7SV2I4GsmY/Qc9YK71kc s1bDn9FWsWREzdvlYgMUalxdrnv9ZsssgHfAh/KC1xzmOwF8mSaHeF6yuENjgDzUzNlR lw3SvpW7ANUK1Bl+lmfObNlck4t+7kq40gZ58eFqIoxZO2vDM2DpVEKp8PMj8pvj87PQ C52w== 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=SqfRX6RY0z9UsmuVpXOfE2+tikp/DfpE2xdLYXBhwAg=; b=vJXb/IYGBPGWOzQHEF+rG+Uyr/zu8K91I4PJ3IHCuTl1Rpj+du1setsaWlRaqyewPN a6jewMRUSd+RN4i1LcNZB03Q4J8pYklURNd2rHpvzu6N83Xqg7o3+YPD+Up06AEUjYqz tG+VEwRnsEXjS7wyzlQnux/G4zfGtHPDglDnpNZ1m/h2gv4j0kH4OCnJFNlxgRZ1IDnZ F3FQxOi1F9hkO8uxFORx405XoeKp1koY3w3kQo70myHjpRmTFIy2It1B3dA1im85GjPb BJfbap+cSkUEorO7W7oZ9d/O5bNIQFGXhq24jX4eBq+dx3fXyJm9w1QbnREzIssUE0Wn YZWQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=RjmkYfaE; 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 ce3si18155421edb.441.2019.11.19.06.12.44; Tue, 19 Nov 2019 06:13:09 -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=RjmkYfaE; 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 S1727709AbfKSOIm (ORCPT + 99 others); Tue, 19 Nov 2019 09:08:42 -0500 Received: from mail-eopbgr10062.outbound.protection.outlook.com ([40.107.1.62]:54881 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726369AbfKSOIm (ORCPT ); Tue, 19 Nov 2019 09:08:42 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VfDwNtAlEW0KERsdbA9yVd3mLbcw/NOZ+s4l8YjQE8/RYPH59Sc8PgHXs7UckiEMjA0HKTL3eBeZNmml7TFKsSC1ATHokWn+H22223Vva7/BEvAd7XEBqO8A5gunzDtEa8iaVnshNCimjvJVgOLRGT1VuGc8X6s9u26gfLDaFrbOMpMm1ioiQWnNCYG45fkwXdS1FgPKoeVNR8bCL8zwEbOka2u1kDiOdWBb2Ed69oDeUPXPPGbFh6tDId1h+B4hgWxz0HmTgFbiaX39dTH1kSsYZwsk51+hOrsPvZ4NjbF3L68E0CbRIIjj4cCjPp/hUcaOf0FIypVvBCn0FzvVUA== 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=SqfRX6RY0z9UsmuVpXOfE2+tikp/DfpE2xdLYXBhwAg=; b=nLBqYsZ+AI+IuzokB3CZUGE4zBeP0PCUT4qjk7FXR7N3EZZ8L0kjPsrn4ppHCKlvdpIPIGVjH7egRMTMUxGeaz7UMsrKh/ZLEaeO0y91Sij3dHox67UiLXcvSLtFpB2dqsvfHbkEq6AeOmuGTysH7PN8mfmgp/C/7sfHb0Pe5OJSFqSPHUsTky6x6oddg6X9IX6X3lckB7hWlFPLqlQPE4kwP35GWqKX9nLn+5HyDr6RKINl1EDob4+3U4oDTZUjJ4xa3UPHd/8vqEeo62gY7f5TuKiuHM/wdyiwtyV9GjbSy4Xa7vR+hRrcBZ5hAOXT4Hg7RImOCBOOmstVz7LPGg== 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=SqfRX6RY0z9UsmuVpXOfE2+tikp/DfpE2xdLYXBhwAg=; b=RjmkYfaEr1hUODhS4BvJZD/6j9tt4BXnddK8ujokQIbSvb+2QS+LH/FM9KcuXFqkVMOYlDcj1J6d8R2YcXoSRzCJTBxQZHFWZfG4DsZdTnBeVhB8oOa8qatW2xETxJ0MIvFCtcHuxoXtn+9JPUl5ykT8tQqqig68y2iZkkDqyus= Received: from AM0PR04MB5779.eurprd04.prod.outlook.com (20.178.202.151) by AM0PR04MB7044.eurprd04.prod.outlook.com (10.186.128.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.23; Tue, 19 Nov 2019 14:08:38 +0000 Received: from AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::fd44:1b14:587c:9fde]) by AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::fd44:1b14:587c:9fde%7]) with mapi id 15.20.2451.029; Tue, 19 Nov 2019 14:08:38 +0000 From: Abel Vesa To: Aisheng Dong , Shawn Guo , Stephen Boyd , Sascha Hauer , Jacky Bai CC: Peng Fan , dl-linux-imx , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Linux Kernel Mailing List , Abel Vesa Subject: [PATCH 0/9] clk: imx: Trivial cleanups for clk_hw based API Thread-Topic: [PATCH 0/9] clk: imx: Trivial cleanups for clk_hw based API Thread-Index: AQHVnuLWT6CchFdcV0y5WK5bSM6Nyg== Date: Tue, 19 Nov 2019 14:08:38 +0000 Message-ID: <1574172496-12987-1-git-send-email-abel.vesa@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM0PR04CA0026.eurprd04.prod.outlook.com (2603:10a6:208:122::39) To AM0PR04MB5779.eurprd04.prod.outlook.com (2603:10a6:208:131::23) x-originating-ip: [89.37.124.34] x-mailer: git-send-email 2.7.4 authentication-results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: bb83b43a-2109-4748-5e10-08d76cf9f92f x-ms-traffictypediagnostic: AM0PR04MB7044:|AM0PR04MB7044: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1091; x-forefront-prvs: 022649CC2C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(376002)(366004)(396003)(346002)(39860400002)(199004)(189003)(86362001)(66066001)(50226002)(386003)(486006)(102836004)(6506007)(26005)(66946007)(2906002)(6116002)(3846002)(6512007)(6486002)(4326008)(5660300002)(6436002)(7736002)(25786009)(14454004)(71200400001)(305945005)(8936002)(6636002)(478600001)(44832011)(476003)(71190400001)(2616005)(36756003)(256004)(316002)(66476007)(81156014)(81166006)(186003)(54906003)(110136005)(99286004)(8676002)(66446008)(52116002)(64756008)(66556008);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB7044;H:AM0PR04MB5779.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: t6Ipbn/Tq+kKaMw4nTF3OI/dJiDlyz9iXa8g9DQfOe7pUbeQ8FiudTGXN+vHBOQmefp5brgVv2GuChNNLkH0WhbWLnckAMS+phGpj3A61kWgcddSmr9cQTginwfP2xeRVK8DcJUySTYlkTbQD8gcTcFOZuolE1h5mvoOQMfzkRNrQSz79NjLKXEi84vmh8vgeMMBz3LX91Rd2zBe2f4Ki/JalCnNN0VsrE91MCNQnzEpjgZdvwbA49RGS6oX2z9ZUjJjpc0BsxcvknNnLaco+a39r/oT3c7R/W/7knih2BikUD3AdBPKZJKejQ/WT7GJ0H+xo4fyoZ2XiQ7kmYJ5xjJw+M28cYba+39hXb6m5yYCQsy+XV1dp/yx5ROAWpZcw5nKb660d7Tj/NX3jLuXKmdV8dctm6TklnOXE+igMpeRUoBtE7L0L4F/+t6rW0qD 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: bb83b43a-2109-4748-5e10-08d76cf9f92f X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Nov 2019 14:08:38.1031 (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: UYS709/n5yxZbFsZO8QAHquwgMG1aumTlBR3JrLSn6hdx3aj9bWISGQPOUDwfIulnxfmVhMqayPZgWefMHS5Fg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB7044 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These changes are cleanups for the clk_hw based API i.MX clock drivers swit= ch longterm effort. As mentioned in the commit messages, the end goal here is = to have all the i.MX drivers use clk_hw based API only. I've put these all in a single patchset since they do not impact in any way the expected behavior of the drivers and they are quite obvious trivial one= s. More patches to follow for the older i.MX platforms but those might not be = as harmless (and trivial) as these ones. Abel Vesa (9): clk: imx: Replace all the clk based helpers with macros clk: imx: pllv1: Switch to clk_hw based API clk: imx: pllv2: Switch to clk_hw based API clk: imx: imx7ulp composite: Rename to show is clk_hw based clk: imx: Rename sccg and frac pll register to suggest clk_hw clk: imx: Rename the imx_clk_pllv4 to imply it's clk_hw based clk: imx: Rename the imx_clk_pfdv2 to imply it's clk_hw based clk: imx: Rename the imx_clk_divider_gate to imply it's clk_hw based clk: imx7up: Rename the clks to hws drivers/clk/imx/clk-composite-7ulp.c | 2 +- drivers/clk/imx/clk-divider-gate.c | 2 +- drivers/clk/imx/clk-frac-pll.c | 7 +- drivers/clk/imx/clk-imx7ulp.c | 182 +++++++++++++++++--------------= ---- drivers/clk/imx/clk-pfdv2.c | 2 +- drivers/clk/imx/clk-pllv1.c | 14 ++- drivers/clk/imx/clk-pllv2.c | 14 ++- drivers/clk/imx/clk-pllv4.c | 2 +- drivers/clk/imx/clk-sccg-pll.c | 4 +- drivers/clk/imx/clk.h | 69 +++++++------ 10 files changed, 153 insertions(+), 145 deletions(-) --=20 2.7.4