From patchwork Mon Sep 13 08:24:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 12488125 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93908C433EF for ; Mon, 13 Sep 2021 08:28:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5B0DC60F5B for ; Mon, 13 Sep 2021 08:28:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5B0DC60F5B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=3UvOfYxg85nI4gGBzyj25t3vbk07j6hBfgP209fUMLs=; b=g5AmC35R5L84gE Y0OjAR9YSV+LX1CTCNjWMuHgRSYYtKtgQ/juRduGW+i/sNIoKuoXIuFz3Ha8Jq7L0bfqrOB7d9I/4 FFAJT3z36duf7SfpiQ869tYQsI5sK24vHaaEO2zcr+5FSdWIAElXGQpvdh+BTJxZFvB4twvD0yDyD PVorOogyp1mnrtSSXN5atAI9XcXRibYl+cTPHSPUKV7FXh85fV7kfZZD/18i80WB2XMb8II3LQnHA NmGZFrPXmChK8ikVHy3ZALmbmFF4+LEz4PL2TSjF/TRGyNShVhdISxqkJHUe/0SnE2o/mHFyngr49 gT90QpSai3p48pwIlZ/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mPhHF-000j54-JJ; Mon, 13 Sep 2021 08:25:21 +0000 Received: from inva020.nxp.com ([92.121.34.13]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mPhHA-000j1y-H9 for linux-arm-kernel@lists.infradead.org; Mon, 13 Sep 2021 08:25:17 +0000 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 90BA21A2A1B; Mon, 13 Sep 2021 10:25:12 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 83FE01A29F9; Mon, 13 Sep 2021 10:25:12 +0200 (CEST) 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 36836202EC; Mon, 13 Sep 2021 10:25:12 +0200 (CEST) From: Abel Vesa To: Stephen Boyd Cc: NXP Linux Team , linux-clk@vger.kernel.org, Linux Kernel Mailing List , linux-arm-kernel@lists.infradead.org, Abel Vesa Subject: [PATCH 0/8] imx: clk: Rework all the wrappers Date: Mon, 13 Sep 2021 11:24:42 +0300 Message-Id: <1631521490-17171-1-git-send-email-abel.vesa@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210913_012516_769871_1ACB7D05 X-CRM114-Status: UNSURE ( 5.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Remove the unused wrapper and rework the rest in order to prepare for removing the non clk_hw based ones. Abel Vesa (8): clk: imx: Remove unused helpers clk: imx: Make mux/mux2 clk based helpers use clk_hw based ones clk: imx: Rework all clk_hw_register_gate wrappers clk: imx: Rework all clk_hw_register_gate2 wrappers clk: imx: Rework all clk_hw_register_mux wrappers clk: imx: Rework all clk_hw_register_divider wrappers clk: imx: Rework all imx_clk_hw_composite wrappers clk: imx: Rework imx_clk_hw_pll14xx wrapper drivers/clk/imx/clk-composite-8m.c | 4 +- drivers/clk/imx/clk.h | 431 ++++++++--------------------- 2 files changed, 122 insertions(+), 313 deletions(-)