From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,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 DB993C10F0B for ; Tue, 12 Mar 2019 11:00:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A8743206DF for ; Tue, 12 Mar 2019 11:00:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726452AbfCLLAX (ORCPT ); Tue, 12 Mar 2019 07:00:23 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:45755 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726434AbfCLLAU (ORCPT ); Tue, 12 Mar 2019 07:00:20 -0400 Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1h3f8s-0005nL-Bx; Tue, 12 Mar 2019 12:00:18 +0100 Received: from mtr by dude02.lab.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1h3f8r-0007bN-H6; Tue, 12 Mar 2019 12:00:17 +0100 From: Michael Tretter To: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: kernel@pengutronix.de, Michael Turquette , Stephen Boyd , Michal Simek , Jolly Shah , Michael Tretter Subject: [PATCH 0/5] clk: zynqmp: fix CLK_FRAC and various cleanups Date: Tue, 12 Mar 2019 12:00:11 +0100 Message-Id: <20190312110016.29174-1-m.tretter@pengutronix.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::28 X-SA-Exim-Mail-From: mtr@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-clk@vger.kernel.org Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Hello, These are various patches for the ZynqMP clock driver. Patch 1 fixes an erroneous test for the CLK_FRAC flag. Patch 2 fixes a wrong function name in the kernel-doc. However, I think most of the kernel-doc for the static functions is pretty useless/misleading and maybe instead of fixing, we should just remove it. Patches 3 to 5 are cleanup and refactoring and make the macros that are used to handle the responses from the firmware more consistent. Michael Michael Tretter (5): clk: zynqmp: fix check for fractional clock clk: zynqmp: fix doc of __zynqmp_clock_get_parents clk: zynqmp: do not export zynqmp_clk_register_mux clk: zynqmp: cleanup sizes of firmware responses clk: zynqmp: make field definitions of query responses consistent drivers/clk/zynqmp/clk-mux-zynqmp.c | 1 - drivers/clk/zynqmp/clk-zynqmp.h | 6 --- drivers/clk/zynqmp/clkc.c | 71 +++++++++++++++-------------- drivers/clk/zynqmp/divider.c | 2 +- 4 files changed, 38 insertions(+), 42 deletions(-) -- 2.20.1 From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 597FFC43381 for ; Tue, 12 Mar 2019 11:00:53 +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 2776D206DF for ; Tue, 12 Mar 2019 11:00:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Z8763InU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2776D206DF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=4hHWLD2yKKLbdXu7Rnbj7fIHegII0whzKSVpxcTGPik=; b=Z8763InUhf4SZu 2SMrx7zYR1BjOo3y40fGs27k56hlM/Onnh5xLBXa+77Ii3xQzyAnlf5XKWD60cKoz7T0mK3V52Tej pYVxyU8sn0/qF5KKDlv1YtoXorlpzW1Utp3t/f/VNAJC5VoWnlHBBQJkJ/RoEoI/bmlX0zKuplWI9 5g42wlInxLG0y/ftOYnxxr5vFef0SaR6L0YzUOGNVQxlD1wruF5MMg3HPh56Xd8dLI+EIwN260r1x DGryi283WyERkiJ0474Cr5tcRH3+XM0wNZpSXGiYbnKFXGZjBlHa5yS2oVRroTggOMQE13Uhc24CO it+uFX69TPxjwb1Q/Hkg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3f9K-0007t5-Uc; Tue, 12 Mar 2019 11:00:46 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3f8x-0007TX-3r for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2019 11:00:28 +0000 Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1h3f8s-0005nL-Bx; Tue, 12 Mar 2019 12:00:18 +0100 Received: from mtr by dude02.lab.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1h3f8r-0007bN-H6; Tue, 12 Mar 2019 12:00:17 +0100 From: Michael Tretter To: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/5] clk: zynqmp: fix CLK_FRAC and various cleanups Date: Tue, 12 Mar 2019 12:00:11 +0100 Message-Id: <20190312110016.29174-1-m.tretter@pengutronix.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::28 X-SA-Exim-Mail-From: mtr@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190312_040023_376501_F4899559 X-CRM114-Status: UNSURE ( 8.71 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Boyd , Michael Turquette , Michal Simek , Michael Tretter , kernel@pengutronix.de, Jolly Shah Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, These are various patches for the ZynqMP clock driver. Patch 1 fixes an erroneous test for the CLK_FRAC flag. Patch 2 fixes a wrong function name in the kernel-doc. However, I think most of the kernel-doc for the static functions is pretty useless/misleading and maybe instead of fixing, we should just remove it. Patches 3 to 5 are cleanup and refactoring and make the macros that are used to handle the responses from the firmware more consistent. Michael Michael Tretter (5): clk: zynqmp: fix check for fractional clock clk: zynqmp: fix doc of __zynqmp_clock_get_parents clk: zynqmp: do not export zynqmp_clk_register_mux clk: zynqmp: cleanup sizes of firmware responses clk: zynqmp: make field definitions of query responses consistent drivers/clk/zynqmp/clk-mux-zynqmp.c | 1 - drivers/clk/zynqmp/clk-zynqmp.h | 6 --- drivers/clk/zynqmp/clkc.c | 71 +++++++++++++++-------------- drivers/clk/zynqmp/divider.c | 2 +- 4 files changed, 38 insertions(+), 42 deletions(-) -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel