Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp400873ybl; Wed, 11 Dec 2019 01:28:00 -0800 (PST) X-Google-Smtp-Source: APXvYqwoVgKndkEYdSo4q7E5k9G6CDeaFJiBLs7ldOzpHWm82AUcSnjEiZyCMXHR1Aa27K5z7Hqo X-Received: by 2002:a05:6808:8ec:: with SMTP id d12mr1868138oic.131.1576056480288; Wed, 11 Dec 2019 01:28:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576056480; cv=none; d=google.com; s=arc-20160816; b=dwgCB5oMqxisPR+BXFOQQnxR04HqewDmz08+r/UwRMHEZRbv/s87j1qvkpNU+IVvYT Cw0cnxuK/oucGxfApO5l4ciQp7YicD/0hxEqtsSORzVZ6OKeLx7qwfcGbulvV0Kzpfzx GYVfusFZfVH0z87SLn36w45Qo/kKvAxvX9tbds1ZL9xvwM2MUrql5Brkjz7V6byJVqrE Eo+/UtXngoHazZzEqH9YhC7m98RoT8BljgFKnDjj8/VpvFtkK9ktfdtyVQLUuG8UeTCO a3ZCGaYTRCvih2R/jAYgqSHpgCiF4beAtAgCsJ+e+1jP7PTVq42LDvTQyBa5XeunHx8n tnXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=B10NZImvQFajR/3CloD4EtZEzMrVLXQrISVSMcMFT3g=; b=hfLJlS4kR62GVlNwm+Q/JZUPt1kktoOgt5KornFJlHJPM9nGFtLI+pxefXKdLnZ2R0 uG7rpA7VT4tRfQBtDEaeAbGjnXq4CQMDM6/z8eLEWcz5W98HsDVDNzpAQSzvYQsmifn+ y6VtglfaVm2/H63PbSvq/o3mATaZibDcBlbVy+TccSkXLVR0Ii+5hXvSZS4epbwRBorW kJVpr/MAY3JJCDdnsdmbRwOLeEVgutNz2g2E2K59uNnH7aCCfg+EyQGSI1pM9R7ugSJs mmUvXjJyq+/1yv1/42ntrehPrVja2gs8KOM5DZKLGHKd5Q192/PAOC8uXK5AO6JkiWtY U5Aw== ARC-Authentication-Results: i=1; mx.google.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=fail (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 j13si749756otk.9.2019.12.11.01.27.48; Wed, 11 Dec 2019 01:28:00 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728441AbfLKJ0E (ORCPT + 99 others); Wed, 11 Dec 2019 04:26:04 -0500 Received: from inva021.nxp.com ([92.121.34.21]:42470 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726983AbfLKJ0E (ORCPT ); Wed, 11 Dec 2019 04:26:04 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 295812008DD; Wed, 11 Dec 2019 10:26:02 +0100 (CET) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 1B830200987; Wed, 11 Dec 2019 10:26:02 +0100 (CET) Received: from fsr-ub1664-175.ea.freescale.net (fsr-ub1664-175.ea.freescale.net [10.171.82.40]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 9715620568; Wed, 11 Dec 2019 10:26:01 +0100 (CET) From: Abel Vesa To: Shawn Guo , Stephen Boyd , Sascha Hauer Cc: Dong Aisheng , NXP Linux Team , Peng Fan , Linux Kernel Mailing List , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Leonard Crestez , Jacky Bai , Abel Vesa Subject: [RESEND v2 00/11] clk: imx: Trivial cleanups for clk_hw based API Date: Wed, 11 Dec 2019 11:25:39 +0200 Message-Id: <1576056350-20715-1-git-send-email-abel.vesa@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Shawn, just rebased on your clk/imx branch as requested. Abel Vesa (11): clk: imx: Add correct failure handling for clk based helpers clk: imx: Rename the SCCG to SSCG 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/Makefile | 2 +- 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-imx8mq.c | 6 +- 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 | 549 ----------------------------------- drivers/clk/imx/clk-sscg-pll.c | 549 +++++++++++++++++++++++++++++++++++ drivers/clk/imx/clk.h | 102 ++++--- 13 files changed, 724 insertions(+), 709 deletions(-) delete mode 100644 drivers/clk/imx/clk-sccg-pll.c create mode 100644 drivers/clk/imx/clk-sscg-pll.c -- 2.7.4