From patchwork Tue Jan 26 12:45:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046559 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, 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 0F3A0C433DB for ; Tue, 26 Jan 2021 13:15:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E05042311C for ; Tue, 26 Jan 2021 13:15:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391568AbhAZNPX (ORCPT ); Tue, 26 Jan 2021 08:15:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391884AbhAZMrW (ORCPT ); Tue, 26 Jan 2021 07:47:22 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 458A1C0698C2 for ; Tue, 26 Jan 2021 04:45:47 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id c127so2614839wmf.5 for ; Tue, 26 Jan 2021 04:45:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PGeifpJKwjmOW+Ep9Ua2GRyOjoW8Ji8HLmvStTZxjac=; b=v/GZXImGJGb/kVvhK0npWRAIjwWvAMSPszbanie2gyQyaHIgNwv+GU3OY5PEDCFNvb Pdc4HM2L/mZ726eJc04eNfiTzO4Z89LCNDfVMeHPSFU3MY1VHTFI6+/myba3re2O/8Zi c6h/JKld/C95nLyWd2MAKMotO9aJeyjdcfO5QrDqoAchQcQg5NFB0on4wIzTMMqcT2GU CFT5LRCbrpOnA4+gIOhhegepdFDJMwbIYFrbkwXajcdkASOpNhqkyYtwiJ1gM8Zb7ecv rBjrxYe5yH1RmYRdRFxfUp/TSCEX4bn8VDsyg4XFIOKnnsI2fQ98NaAipX4yDM/ozDbO lpJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PGeifpJKwjmOW+Ep9Ua2GRyOjoW8Ji8HLmvStTZxjac=; b=HMZ0LJkztoMwK0ito0uwvoTdm3QQk0v7hk5ENzRWc1Wh54viXwTZ/oSyHk58saJu0U ed1VXdl5U762JdPuE06VPK8sW50JgjjIoy9mt+KwQzIUafCoDwRNzNa6ZSgq8AN7mf4V 30/J1xNCKvAXxPpS7xMHRE3E+xTn99EqycQoWu3MQUImHKKpwUsOUIdHGBquPO3hF4v7 GTXm3HpRPVMp6S0VooiryFkTHs1IE93zVDelT6N/OkLLZ71QxOInITqUXrkCLqt0cnI7 h9BlEQ2XKkTr6G39YnXJAOvXq0NqRWMyl8n2FPNyEFFzKEmtew4lIaidCuBsHXMcIXmL 0Vfw== X-Gm-Message-State: AOAM530Slil8WEA+yGAm2N/3aw/IuK9/1EAU2hIWJv1igN7hY21dmrSD n2dVEyUyfsztC7CRJgZjiagJMg== X-Google-Smtp-Source: ABdhPJxXTxLgbK5EkVRfr+MJjeLWFuHWBUr/C2CyGD6BUSoJivoD9uH6eJohEpOALz25PXoDpvXWJw== X-Received: by 2002:a1c:f706:: with SMTP id v6mr4568060wmh.85.1611665145981; Tue, 26 Jan 2021 04:45:45 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:45 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Michael Turquette , Stephen Boyd , Michal Simek , =?utf-8?q?S=C3=B6ren_Brinkmann?= , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 01/21] clk: zynq: pll: Fix kernel-doc formatting in 'clk_register_zynq_pll's header Date: Tue, 26 Jan 2021 12:45:20 +0000 Message-Id: <20210126124540.3320214-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/zynq/pll.c:187: warning: Function parameter or member 'name' not described in 'clk_register_zynq_pll' drivers/clk/zynq/pll.c:187: warning: Function parameter or member 'parent' not described in 'clk_register_zynq_pll' drivers/clk/zynq/pll.c:187: warning: Function parameter or member 'pll_ctrl' not described in 'clk_register_zynq_pll' drivers/clk/zynq/pll.c:187: warning: Function parameter or member 'pll_status' not described in 'clk_register_zynq_pll' drivers/clk/zynq/pll.c:187: warning: Function parameter or member 'lock_index' not described in 'clk_register_zynq_pll' drivers/clk/zynq/pll.c:187: warning: Function parameter or member 'lock' not described in 'clk_register_zynq_pll' Cc: Michael Turquette Cc: Stephen Boyd Cc: Michal Simek Cc: "Sören Brinkmann" Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/clk/zynq/pll.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/clk/zynq/pll.c b/drivers/clk/zynq/pll.c index dcb2037a95964..54f4184de89af 100644 --- a/drivers/clk/zynq/pll.c +++ b/drivers/clk/zynq/pll.c @@ -173,12 +173,12 @@ static const struct clk_ops zynq_pll_ops = { /** * clk_register_zynq_pll() - Register PLL with the clock framework - * @name PLL name - * @parent Parent clock name - * @pll_ctrl Pointer to PLL control register - * @pll_status Pointer to PLL status register - * @lock_index Bit index to this PLL's lock status bit in @pll_status - * @lock Register lock + * @name: PLL name + * @parent: Parent clock name + * @pll_ctrl: Pointer to PLL control register + * @pll_status: Pointer to PLL status register + * @lock_index: Bit index to this PLL's lock status bit in @pll_status + * @lock: Register lock * Returns handle to the registered clock. */ struct clk *clk_register_zynq_pll(const char *name, const char *parent, From patchwork Tue Jan 26 12:45:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046557 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, 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 85C4EC433E0 for ; Tue, 26 Jan 2021 13:12:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 572682311D for ; Tue, 26 Jan 2021 13:12:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391803AbhAZNM0 (ORCPT ); Tue, 26 Jan 2021 08:12:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403806AbhAZMrY (ORCPT ); Tue, 26 Jan 2021 07:47:24 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73416C0698C6 for ; Tue, 26 Jan 2021 04:45:48 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id i9so2663543wmq.1 for ; Tue, 26 Jan 2021 04:45:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HHkd09sGQoktrv+rkNaMJyxZ3/BBMappx4i1qFyA51o=; b=TnYbFNbQymHArsvv6uMgb5tO3NV5ZnbJxvZzMuj+1YlGF4WEMMgKVeViAGi6q+qoFc rYEHRkr8wrhzIEJ0KYFizjHBZBjPUmAsSX6B5wGaskQglrH5c5UrsbeGazcmS4NCeKZN TSs37HB8TICrWogbEReV4KE2rUwYlSEIGChJJpEOQRJ14zYlsqmuH2ASFKwrrazTfWr8 VILbJQ0gzu9SJzW4ozcjvP5X86pRPWJ3yrCL9TdRNXG/eX+lfARbzE0B34srRPyLEGZI hpdL8SOAnlS8c9NJf96iFNX4CEopinC21YSoHPMIAmS1K3vJl9xlXnezvOkzEHpxNqRb N4ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HHkd09sGQoktrv+rkNaMJyxZ3/BBMappx4i1qFyA51o=; b=VXl1T6DkBe4oiCgy+tnpdLlY83lUZXo04gSKA53VcVxU8/vHnr95gSddmuwDW6tJKm +Oq+nsM7PSS3NXeNCeOyj3OMPMFvsto6rbd1Mq0SzS+uK2JsNcTFd59rwYVsersRQo6a /q3c4lHmtgbs5cIXxyUSEM0VqfyDDzOK/5UUJLi/NaBuR4NE1JzfN376DkPHDHH/X8x9 YF1OH0x68Y9UFH5KH6mhi3GXQEMuw43J9b3sJAcpWyiERxtvlSU3cgix8q+9YmDir8DK 5LKXnXobc+rz1fJFGJEX9Uu6WMT4kV0zhBKkQn3ACWz56BS3msHU6BtTnuFvxat4Moyi JxhQ== X-Gm-Message-State: AOAM532/b/9pBrhBM6gK2Az/e8sBraK/4LshaOHfg4FFMPvNe+6r5Maa tWoK8ADdkC5bH32+BtGcuRhHDYJJLExqNtkk X-Google-Smtp-Source: ABdhPJznDZLr3xkcd36SC/SloQ9HjiUzc0tkJlFOigVXQd5LVJLP45/rs7+AF+735jAMGyeQsWkaDQ== X-Received: by 2002:a1c:9648:: with SMTP id y69mr4463242wmd.40.1611665147239; Tue, 26 Jan 2021 04:45:47 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:46 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Tero Kristo , Michael Turquette , Stephen Boyd , Richard Woodruff , linux-omap@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 02/21] clk: ti: clkt_dpll: Fix some kernel-doc misdemeanours Date: Tue, 26 Jan 2021 12:45:21 +0000 Message-Id: <20210126124540.3320214-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/ti/clkt_dpll.c:284: warning: Function parameter or member 'hw' not described in 'omap2_dpll_round_rate' drivers/clk/ti/clkt_dpll.c:284: warning: Function parameter or member 'parent_rate' not described in 'omap2_dpll_round_rate' drivers/clk/ti/clkt_dpll.c:284: warning: Excess function parameter 'clk' description in 'omap2_dpll_round_rate' Cc: Tero Kristo Cc: Michael Turquette Cc: Stephen Boyd Cc: Richard Woodruff Cc: linux-omap@vger.kernel.org Cc: linux-clk@vger.kernel.org Signed-off-by: Lee Jones --- drivers/clk/ti/clkt_dpll.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/ti/clkt_dpll.c b/drivers/clk/ti/clkt_dpll.c index 87ece6cd4226b..dfaa4d1f0b64b 100644 --- a/drivers/clk/ti/clkt_dpll.c +++ b/drivers/clk/ti/clkt_dpll.c @@ -269,8 +269,9 @@ unsigned long omap2_get_dpll_rate(struct clk_hw_omap *clk) /** * omap2_dpll_round_rate - round a target rate for an OMAP DPLL - * @clk: struct clk * for a DPLL + * @hw: struct clk_hw containing the struct clk * for a DPLL * @target_rate: desired DPLL clock rate + * @parent_rate: parent's DPLL clock rate * * Given a DPLL and a desired target rate, round the target rate to a * possible, programmable rate for this DPLL. Attempts to select the From patchwork Tue Jan 26 12:45:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046395 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, 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 8D528C433E9 for ; Tue, 26 Jan 2021 12:47:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5B89C2311D for ; Tue, 26 Jan 2021 12:47:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403932AbhAZMrj (ORCPT ); Tue, 26 Jan 2021 07:47:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403861AbhAZMrY (ORCPT ); Tue, 26 Jan 2021 07:47:24 -0500 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6F44C0698C7 for ; Tue, 26 Jan 2021 04:45:49 -0800 (PST) Received: by mail-wr1-x432.google.com with SMTP id b5so16302219wrr.10 for ; Tue, 26 Jan 2021 04:45:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WIsLlUBr7Kh7BZjK4/tzaEQaD5gOhXUmlIRcSEzBbI8=; b=KBIuvuxWrh/YHwqRTTMIL423owDV0Nl1IVyou3pBo7m5XVmmufbH5nQK9UNoFci9Eo jVd9fgJLVT8P5uq6Tv2hUOZ9+OmlPR2PsLU6f8QlQVValXfKle4l32gUn/QJK8Ifgcv0 PBMoX2RNgiCpryMQMK1LgBovkr9KiSwo9NDHo9y1CqE+KTyu+vn0zsuofbhM+8uthjoU E1fgKyqvTOHvY27HGmHT1IrWVy9fUyTb7ggpapnW8AlsJOW+hn23+BnmfNu51ZVTyIc7 /PFTwFTeqSl+AFoJMglXVM+qTf0RV0zQXwGfgKA+LqDD261F7dYfnxgJiiTyF2aTIXIX PBAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WIsLlUBr7Kh7BZjK4/tzaEQaD5gOhXUmlIRcSEzBbI8=; b=E4VznWGSEsgYA9d55+KFi8oiIZsEWOBDWJh8wd7EJWbXQviT7twMdbJ0ctRTaOHKXO H+b46dv8RzLLz4XEaWFmWsf2zaT7fCU6XYUSRm9rU11z9nHZkad9xP/voCFBd+uCOCGU veGOv1lQGdFWaFESehYJ97CRbrw5SCpSj2tRG3UY2ybB7cjQL0DkAO2WsUyRsgj412Hh vlvQqiPnFm49rEy5jCzJZ9zJWE2XSTkK7eTHsBTbI9IzuIGGKaV4FqtrbnBonEp1hjfX f9EAAi+rBlul/gFQXXCDjl8ewvDqYFQ01VNd7xlvrUlza81j6h5SSl1Z6Afge64eoObA BXTQ== X-Gm-Message-State: AOAM531d7WHnUpKN453DDA9dyQ0Eq6KRMxpcj/pLhZB4zA5y/Rb9EnDM 7fWEsq7W+NTwCHoXdjWb4/Ufzg== X-Google-Smtp-Source: ABdhPJw0HLmHdiO+0F1VaKkiHXNhdaDuJI4cogpFC+eE4O4lwiCiOlbdxHobBO6VAE1F0EjG2/oIlA== X-Received: by 2002:adf:c18d:: with SMTP id x13mr5826470wre.128.1611665148519; Tue, 26 Jan 2021 04:45:48 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:47 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Tero Kristo , Michael Turquette , Stephen Boyd , linux-omap@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 03/21] clk: ti: dpll3xxx: Fix some kernel-doc headers and promote other worthy ones Date: Tue, 26 Jan 2021 12:45:22 +0000 Message-Id: <20210126124540.3320214-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/ti/dpll3xxx.c:414: warning: Function parameter or member 'hw' not described in 'omap3_dpll_recalc' drivers/clk/ti/dpll3xxx.c:414: warning: Function parameter or member 'parent_rate' not described in 'omap3_dpll_recalc' drivers/clk/ti/dpll3xxx.c:414: warning: Excess function parameter 'clk' description in 'omap3_dpll_recalc' drivers/clk/ti/dpll3xxx.c:437: warning: Function parameter or member 'hw' not described in 'omap3_noncore_dpll_enable' drivers/clk/ti/dpll3xxx.c:437: warning: Excess function parameter 'clk' description in 'omap3_noncore_dpll_enable' drivers/clk/ti/dpll3xxx.c:479: warning: Function parameter or member 'hw' not described in 'omap3_noncore_dpll_disable' drivers/clk/ti/dpll3xxx.c:479: warning: Excess function parameter 'clk' description in 'omap3_noncore_dpll_disable' drivers/clk/ti/dpll3xxx.c:755: warning: Function parameter or member 'hw' not described in 'omap3_clkoutx2_recalc' drivers/clk/ti/dpll3xxx.c:755: warning: Function parameter or member 'parent_rate' not described in 'omap3_clkoutx2_recalc' drivers/clk/ti/dpll3xxx.c:755: warning: Excess function parameter 'clk' description in 'omap3_clkoutx2_recalc' Cc: Tero Kristo Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-omap@vger.kernel.org Cc: linux-clk@vger.kernel.org Signed-off-by: Lee Jones --- drivers/clk/ti/dpll3xxx.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/clk/ti/dpll3xxx.c b/drivers/clk/ti/dpll3xxx.c index 2490026948b47..6097b099a5dff 100644 --- a/drivers/clk/ti/dpll3xxx.c +++ b/drivers/clk/ti/dpll3xxx.c @@ -125,7 +125,7 @@ static u16 _omap3_dpll_compute_freqsel(struct clk_hw_omap *clk, u8 n) return f; } -/* +/** * _omap3_noncore_dpll_lock - instruct a DPLL to lock and wait for readiness * @clk: pointer to a DPLL struct clk * @@ -168,7 +168,7 @@ static int _omap3_noncore_dpll_lock(struct clk_hw_omap *clk) return r; } -/* +/** * _omap3_noncore_dpll_bypass - instruct a DPLL to bypass and wait for readiness * @clk: pointer to a DPLL struct clk * @@ -204,7 +204,7 @@ static int _omap3_noncore_dpll_bypass(struct clk_hw_omap *clk) return r; } -/* +/** * _omap3_noncore_dpll_stop - instruct a DPLL to stop * @clk: pointer to a DPLL struct clk * @@ -291,7 +291,7 @@ static void _lookup_sddiv(struct clk_hw_omap *clk, u8 *sd_div, u16 m, u8 n) *sd_div = sd; } -/* +/** * _omap3_noncore_dpll_program - set non-core DPLL M,N values directly * @clk: struct clk * of DPLL to set * @freqsel: FREQSEL value to set @@ -406,7 +406,8 @@ static int omap3_noncore_dpll_program(struct clk_hw_omap *clk, u16 freqsel) /** * omap3_dpll_recalc - recalculate DPLL rate - * @clk: DPLL struct clk + * @hw: struct clk_hw containing the DPLL struct clk + * @parent_rate: clock rate of the DPLL parent * * Recalculate and propagate the DPLL rate. */ @@ -421,7 +422,7 @@ unsigned long omap3_dpll_recalc(struct clk_hw *hw, unsigned long parent_rate) /** * omap3_noncore_dpll_enable - instruct a DPLL to enter bypass or lock mode - * @clk: pointer to a DPLL struct clk + * @hw: struct clk_hw containing then pointer to a DPLL struct clk * * Instructs a non-CORE DPLL to enable, e.g., to enter bypass or lock. * The choice of modes depends on the DPLL's programmed rate: if it is @@ -470,7 +471,7 @@ int omap3_noncore_dpll_enable(struct clk_hw *hw) /** * omap3_noncore_dpll_disable - instruct a DPLL to enter low-power stop - * @clk: pointer to a DPLL struct clk + * @hw: struct clk_hw containing then pointer to a DPLL struct clk * * Instructs a non-CORE DPLL to enter low-power stop. This function is * intended for use in struct clkops. No return value. @@ -745,7 +746,8 @@ static struct clk_hw_omap *omap3_find_clkoutx2_dpll(struct clk_hw *hw) /** * omap3_clkoutx2_recalc - recalculate DPLL X2 output virtual clock rate - * @clk: DPLL output struct clk + * @hw: pointer struct clk_hw + * @parent_rate: clock rate of the DPLL parent * * Using parent clock DPLL data, look up DPLL state. If locked, set our * rate to the dpll_clk * 2; otherwise, just use dpll_clk. @@ -913,7 +915,7 @@ const struct clk_hw_omap_ops clkhwops_omap3_dpll = { * omap3_dpll4_set_rate - set rate for omap3 per-dpll * @hw: clock to change * @rate: target rate for clock - * @parent_rate: rate of the parent clock + * @parent_rate: clock rate of the DPLL parent * * Check if the current SoC supports the per-dpll reprogram operation * or not, and then do the rate change if supported. Returns -EINVAL From patchwork Tue Jan 26 12:45:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046553 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 ECCA5C433DB for ; Tue, 26 Jan 2021 13:12:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BA2AC23109 for ; Tue, 26 Jan 2021 13:12:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391931AbhAZNME (ORCPT ); Tue, 26 Jan 2021 08:12:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391909AbhAZMrw (ORCPT ); Tue, 26 Jan 2021 07:47:52 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F19E1C0698CB for ; Tue, 26 Jan 2021 04:45:50 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id g10so16338538wrx.1 for ; Tue, 26 Jan 2021 04:45:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tBcmISQSY7al+YXFrknNe1bUw1SwG09WB9C2kPAzCl4=; b=cyrjzWy83Rq8JRlGTOPUrMmxadvUnL9vvSIwiT3lS5yx2UIM7HYTjxC2kb6/frhSfw eL79RzsZqjIO7fQm26/px8IhbQJ7T+PJVEDBkJXNY/MZoyd6Mz0LHerlebTI9qf3jQ4+ nm3cPAfc9dPOwRZwVpThmEGq8rECXtzO/NPlqtGgQfuoJpy4BXhMszQL9K5/wjYVDplW WfMVfWJJUIJ7uR2/o10H2ZM3P6Dr/NmWnTHX5OMwo8ySPtZ7Hkr7F1SQwNanh7MGEmBB BehkkQe5ulO3rIzCzKhjVCKxeNNFd8mv17kNzT8DjG8zSygdmP4csM/A7Jj8DMN/YNVr HPgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tBcmISQSY7al+YXFrknNe1bUw1SwG09WB9C2kPAzCl4=; b=oaHN4FU1kiyNxFlwNpmAZ2rAxk1+QMBhzH76Ncu3Hh3r2WgOZ/5GcsB7rxij6ETqE2 OgQeWvFroRIMeCMa/62DEb6+bdmMprEkFZ3iDmle7OvXY9YWK++y8PMfVXPdZxi/rTDG EwaOLxsUXcjZXafVYH8xAhpXKG8+DtRze6JCpJJz1mkbvJrC0tNxrFPGzCP2OskfDY2E 4S+wuIuPJnsJLpiejDouE2FQMiiZ1lVpRRKHvzvNOsYouBT0H+CSJJb/Rn9V5/OHbj9H RncPW97aCqGVJNJXb5w6MXmeivvGg6pMTDX/BaY3kFDjcvrhIE3O7wp8Qf922GVQUc7t pSJg== X-Gm-Message-State: AOAM533qKxrV1gxs6rOEGN4Yn6MuiXp78/xnkg4H8JYHsejT7N3tZ6tE VsdQpb0nm3HOzkujhNoZ+Jye+Q== X-Google-Smtp-Source: ABdhPJxF21KMVb8+euVFIN2MtWkgjYTAzbXApT5h5t62yJx2bd7huKJoccmycG7F/+QFypE8Db85CQ== X-Received: by 2002:adf:ecd2:: with SMTP id s18mr3962490wro.311.1611665149702; Tue, 26 Jan 2021 04:45:49 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:49 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 04/21] clk: qcom: clk-regmap: Provide missing description for 'devm_clk_register_regmap()'s dev param Date: Tue, 26 Jan 2021 12:45:23 +0000 Message-Id: <20210126124540.3320214-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/qcom/clk-regmap.c:97: warning: Function parameter or member 'dev' not described in 'devm_clk_register_regmap' Cc: Andy Gross Cc: Bjorn Andersson Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-arm-msm@vger.kernel.org Cc: linux-clk@vger.kernel.org Signed-off-by: Lee Jones Reviewed-by: Bjorn Andersson --- drivers/clk/qcom/clk-regmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/clk-regmap.c b/drivers/clk/qcom/clk-regmap.c index ce80db27ccf2a..92ac4e0d7dbe2 100644 --- a/drivers/clk/qcom/clk-regmap.c +++ b/drivers/clk/qcom/clk-regmap.c @@ -87,6 +87,7 @@ EXPORT_SYMBOL_GPL(clk_disable_regmap); /** * devm_clk_register_regmap - register a clk_regmap clock * + * @dev: reference to the caller's device * @rclk: clk to operate on * * Clocks that use regmap for their register I/O should register their From patchwork Tue Jan 26 12:45:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046397 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, 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 B460BC433DB for ; Tue, 26 Jan 2021 12:48:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 898492310E for ; Tue, 26 Jan 2021 12:48:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391651AbhAZMsW (ORCPT ); Tue, 26 Jan 2021 07:48:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391915AbhAZMrw (ORCPT ); Tue, 26 Jan 2021 07:47:52 -0500 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23751C0698CD for ; Tue, 26 Jan 2021 04:45:52 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id a1so16323309wrq.6 for ; Tue, 26 Jan 2021 04:45:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=N/Y+6T8TTSu8d83A2XzlHvv9/Bw0gU//w5nr9fAJlo4=; b=cVPSG987Hn12pzJnrmO1fa88QJIfdteE/Aaioqfl1kcNfsviHd1mC1LiGhGi0xNZhm CiMDsua6PlSMR1n9vusdYumF1G9vaagTMm8U6M6FQ0/JrsgTzw+1xtupGZvy1D4kSaYB +1xqsmoWpZJB+RdHTaYO19hQ7vL7Bb/mK2xDfY4DE5pmVgYVjVOSJJymzZbRNt4I8sov ZwohflbP98Bo41S/k0OarAYMMTeeXa6oJANxqzSiubZ7FDmRkKS1cW57/6FCHjihfuGx zDbwSdPTj0NVyrihOrtIrq4NREv0Slo0NEpp5Nc/ZnJDaEo7HcemWCwd7OwdhuKSOzL+ N0yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=N/Y+6T8TTSu8d83A2XzlHvv9/Bw0gU//w5nr9fAJlo4=; b=NBodtZCbadwz6wufJyBmieTcH1So2XtA+BBkYRL97PaTuKairD78XOKeZqr3Jnluii Y04Q+H6pht43OkPirlOVUgcEHhf29Jc9Ddo1VVWjIQNJp0ygOWgR2ze/USWXPre3b0f7 ccMNX8uzV356WjMBfxwk5m1AEE/oJJmrjdU/oab5ckRPU1G/AvJ5PKYUX6VY8rb4YqeT WonIfqI+RzZyEmIoMxNcvSW4st2pFgj1lRnvXj5a+id3sw5utMWzS9gxlpy04aaJsuT2 wrs1FENPjt1KJvLvazog0eJ3szxK5YGWzM6QpKllnkxRL/jOw62tMAqaWFaAkmNbgAru wapA== X-Gm-Message-State: AOAM531GoG6uS9XpyLHLignNxPtgT0huZJe3zeAqRl38qvMizTGjx41E 7irMW1FKi3t4itm00B9eJqiL2OO0TmSKhq6A X-Google-Smtp-Source: ABdhPJzX2sNvznoB78FA81m7YLor2FvymMTtY+0KWuz+yiWb/aVjjszjTWnGjJWcV7IO8TapAXXogg== X-Received: by 2002:a05:6000:104f:: with SMTP id c15mr5809009wrx.239.1611665150925; Tue, 26 Jan 2021 04:45:50 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:50 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, =?utf-8?q?Emilio_L=C3=B3pez?= , Michael Turquette , Stephen Boyd , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 05/21] clk: sunxi: clk-sun9i-core: Demote non-conformant kernel-doc headers Date: Tue, 26 Jan 2021 12:45:24 +0000 Message-Id: <20210126124540.3320214-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Headers must describe their parameters. Fixes the following W=1 kernel build warning(s): drivers/clk/sunxi/clk-sun9i-core.c:27: warning: Function parameter or member 'req' not described in 'sun9i_a80_get_pll4_factors' drivers/clk/sunxi/clk-sun9i-core.c:100: warning: Function parameter or member 'req' not described in 'sun9i_a80_get_gt_factors' drivers/clk/sunxi/clk-sun9i-core.c:155: warning: Function parameter or member 'req' not described in 'sun9i_a80_get_ahb_factors' drivers/clk/sunxi/clk-sun9i-core.c:235: warning: Function parameter or member 'req' not described in 'sun9i_a80_get_apb1_factors' Cc: "Emilio López" Cc: Michael Turquette Cc: Stephen Boyd Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: Jernej Skrabec Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/clk/sunxi/clk-sun9i-core.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/sunxi/clk-sun9i-core.c b/drivers/clk/sunxi/clk-sun9i-core.c index 305ad78d5fb4f..d93c7a53c6c02 100644 --- a/drivers/clk/sunxi/clk-sun9i-core.c +++ b/drivers/clk/sunxi/clk-sun9i-core.c @@ -14,7 +14,7 @@ #include "clk-factors.h" -/** +/* * sun9i_a80_get_pll4_factors() - calculates n, p, m factors for PLL4 * PLL4 rate is calculated as follows * rate = (parent_rate * n >> p) / (m + 1); @@ -90,7 +90,7 @@ static void __init sun9i_a80_pll4_setup(struct device_node *node) CLK_OF_DECLARE(sun9i_a80_pll4, "allwinner,sun9i-a80-pll4-clk", sun9i_a80_pll4_setup); -/** +/* * sun9i_a80_get_gt_factors() - calculates m factor for GT * GT rate is calculated as follows * rate = parent_rate / (m + 1); @@ -145,7 +145,7 @@ static void __init sun9i_a80_gt_setup(struct device_node *node) CLK_OF_DECLARE(sun9i_a80_gt, "allwinner,sun9i-a80-gt-clk", sun9i_a80_gt_setup); -/** +/* * sun9i_a80_get_ahb_factors() - calculates p factor for AHB0/1/2 * AHB rate is calculated as follows * rate = parent_rate >> p; @@ -225,7 +225,7 @@ static void __init sun9i_a80_apb0_setup(struct device_node *node) CLK_OF_DECLARE(sun9i_a80_apb0, "allwinner,sun9i-a80-apb0-clk", sun9i_a80_apb0_setup); -/** +/* * sun9i_a80_get_apb1_factors() - calculates m, p factors for APB1 * APB1 rate is calculated as follows * rate = (parent_rate >> p) / (m + 1); From patchwork Tue Jan 26 12:45:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046399 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, 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 60557C433DB for ; Tue, 26 Jan 2021 12:49:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3817523109 for ; Tue, 26 Jan 2021 12:49:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391957AbhAZMsq (ORCPT ); Tue, 26 Jan 2021 07:48:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391916AbhAZMrw (ORCPT ); Tue, 26 Jan 2021 07:47:52 -0500 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 474E7C0698D0 for ; Tue, 26 Jan 2021 04:45:53 -0800 (PST) Received: by mail-wr1-x432.google.com with SMTP id d16so15643156wro.11 for ; Tue, 26 Jan 2021 04:45:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XuvdeEVGgVGx8Q6bfVHqk100qI9P2WGDJUgmEfT3Z80=; b=qVYoj1LV43OERPJkGr6NsVaicAcn1JfbweAsSv4QBHHFtLXYj48oJA1HhFmkUEi2EZ EzvZ+5Vig/rfcG7me0rL+pNqn4XYtc6Ku5X5bHO2ATdWdPMwnm8aRhHWbxSPg4pTQRrk QaYBpInkNzdJ0ZcAO3KfvGPwRaG5kwDptYkTGAJ/uNRTZJpF2PqwOaBNL68+u/s8YkH2 PhMQQT1wdU1YhRkAN7b+WZ+lKQYhhYN/HIbn3ImwPDj3BiPOIk5ZY6vUi401NleKyoc1 AsD1Wew2f+VZdKcplOi7bCvk8gRMMs/TeU1+rgsBqPqT9060O/maLEI4OtshFoKzA8zS OF/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XuvdeEVGgVGx8Q6bfVHqk100qI9P2WGDJUgmEfT3Z80=; b=r35szU/VEeREovrtWLyDOoLTN8fn90q4rDt5PcWU4aPDKNpDBhXMLZkmKnFR4QWrxO m9EzTU8Nj5FVl4qyT4AtL7YCI7Zbhp14e9L1IqalwP6GhIBBY+yjWWlWNwaUrpg3k9Wz On1jwi5ABtx/Iv6CUBpN9nJkZ1aaOWfHmZ3jQDq5cXym1WUbpQvbsV5izui4n+z8O9lY 7wEkh7gAFKy5O8gXX3HI82UMpse8iB2oI98tztcpnRMLNolVQvp7HGG9ZmPMQiVr7dRN 2sbEc55hdlPmyL/57c/fv8li+AgUQGMWG3fLialehrzCNrsK1wF+gna2n+QqmGwV7gIL QmdQ== X-Gm-Message-State: AOAM533v5s5J+Y5nWC9hhxzkkebJfNmmMNeq/uujAgPQVlad38ANqbNS YRgGHM5iJpMvMXrLq023XyI6pA== X-Google-Smtp-Source: ABdhPJyKKCPuEPaelxY+HfAhH8/k3ZMsUja3L7lTXwAZLVcQ/bRenxKcss5It+OKhPJb9XgdisE7UQ== X-Received: by 2002:a05:6000:1252:: with SMTP id j18mr5772873wrx.232.1611665152035; Tue, 26 Jan 2021 04:45:52 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:51 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, =?utf-8?q?Emilio_L=C3=B3pez?= , Michael Turquette , Stephen Boyd , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Philipp Zabel , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 06/21] clk: sunxi: clk-usb: Demote obvious kernel-doc abuse Date: Tue, 26 Jan 2021 12:45:25 +0000 Message-Id: <20210126124540.3320214-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/sunxi/clk-usb.c:22: warning: cannot understand function prototype: 'struct usb_reset_data ' Cc: "Emilio López" Cc: Michael Turquette Cc: Stephen Boyd Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: Jernej Skrabec Cc: Philipp Zabel Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/clk/sunxi/clk-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi/clk-usb.c b/drivers/clk/sunxi/clk-usb.c index d78a78495bede..5460218f3467a 100644 --- a/drivers/clk/sunxi/clk-usb.c +++ b/drivers/clk/sunxi/clk-usb.c @@ -15,7 +15,7 @@ #include -/** +/* * sunxi_usb_reset... - reset bits in usb clk registers handling */ From patchwork Tue Jan 26 12:45:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046555 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 6AEEFC433DB for ; Tue, 26 Jan 2021 13:12:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3D59523110 for ; Tue, 26 Jan 2021 13:12:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391907AbhAZNMZ (ORCPT ); Tue, 26 Jan 2021 08:12:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391803AbhAZMrw (ORCPT ); Tue, 26 Jan 2021 07:47:52 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71B17C0698D1 for ; Tue, 26 Jan 2021 04:45:54 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id 190so2361301wmz.0 for ; Tue, 26 Jan 2021 04:45:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=N8T1u34dorC88muTgROvb30sAlojxHjcjn3S8eWKchI=; b=oMD6xl4SFT0eTU53M3uPErJ4+nTXkWKXmdZubrAueDfO34/ooNIHmfH7T8dREJUgm1 OlkGDp/8inaEAuBHE+132rS8QA22d841x8psc4+RlNgkNEDarvxXe47YPeV3ZfW+HANT YCCbXQAyAanjmvkhnvi5ks2A8p0MW5er65CsVWB8lysY23+FhQjF3lSI8N21KSNspYuF IHM/o+AKe4GzK5us1spd0tVVMCypmikMFco+py/5KcYlhwi670zXSjinTjHjU34mUK3a ovNcky78HGkVG8r6Tat6mr0Kiy4zkp3Em916tKSp+5On/sB3u38Gns489lMoZxC1GJ9k lw/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=N8T1u34dorC88muTgROvb30sAlojxHjcjn3S8eWKchI=; b=ZeHHzdPZpaJeNJbwpALXUQ5TExo4EUTU97JhfXslbfURHjAlq/T5Lqf5qBafuYhok4 uFMeY2r4GRzoFV+ZnBpRo1HXdcwGDzvDiSHqFWzVn1W9ozLaAJSLLdVRa6W/GMT9ijtx xL/PLSclWwzQC1wDUif4RAO+0iWcQwxqpicmtlNjZqgYj2K4fDLXuHLE1MiCdmqkonuY V0ch77sJk9UvyTSnk3OcdsfLxkmLWJpOmSYTot7q0ufjyPjzMUvSI7BqKtdjIBW+iFil f3jldR0dhv05TlePqG2ed6itUsvMisbmfEyx5Bx/jip8Psitjpruj1rhOYCp0Bq9LDGe SGlQ== X-Gm-Message-State: AOAM531qiCVqXjESxlhCsvQzbyA+qS4XhVlw6KmLLoHCDzk1qVHsXjqX fCVJs4eLDajrB4MXxwaFf3i+/A== X-Google-Smtp-Source: ABdhPJwQJjhHhz6+8aVdRCxnSCzGI7zL38pJJEIEPZSfK1LrkdeGVtS3fjzmGZYKF25DJn0g2cu2Dg== X-Received: by 2002:a1c:b78b:: with SMTP id h133mr4566691wmf.151.1611665153187; Tue, 26 Jan 2021 04:45:53 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:52 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter De Schrijver , Prashant Gaikwad , Michael Turquette , Stephen Boyd , Thierry Reding , Jonathan Hunter , linux-clk@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH 07/21] clk: tegra: clk-tegra30: Remove unused variable 'reg' Date: Tue, 26 Jan 2021 12:45:26 +0000 Message-Id: <20210126124540.3320214-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/tegra/clk-tegra30.c: In function ‘tegra30_enable_cpu_clock’: drivers/clk/tegra/clk-tegra30.c:1107:15: warning: variable ‘reg’ set but not used [-Wunused-but-set-variable] Cc: Peter De Schrijver Cc: Prashant Gaikwad Cc: Michael Turquette Cc: Stephen Boyd Cc: Thierry Reding Cc: Jonathan Hunter Cc: linux-clk@vger.kernel.org Cc: linux-tegra@vger.kernel.org Signed-off-by: Lee Jones --- drivers/clk/tegra/clk-tegra30.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/clk/tegra/clk-tegra30.c b/drivers/clk/tegra/clk-tegra30.c index 9cf249c344d9e..16dbf83d2f62a 100644 --- a/drivers/clk/tegra/clk-tegra30.c +++ b/drivers/clk/tegra/clk-tegra30.c @@ -1104,12 +1104,9 @@ static void tegra30_cpu_out_of_reset(u32 cpu) static void tegra30_enable_cpu_clock(u32 cpu) { - unsigned int reg; - writel(CPU_CLOCK(cpu), clk_base + TEGRA30_CLK_RST_CONTROLLER_CLK_CPU_CMPLX_CLR); - reg = readl(clk_base + - TEGRA30_CLK_RST_CONTROLLER_CLK_CPU_CMPLX_CLR); + readl(clk_base + TEGRA30_CLK_RST_CONTROLLER_CLK_CPU_CMPLX_CLR); } static void tegra30_disable_cpu_clock(u32 cpu) From patchwork Tue Jan 26 12:45:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046401 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, 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 DB93DC433DB for ; Tue, 26 Jan 2021 12:49:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AF86123109 for ; Tue, 26 Jan 2021 12:49:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391915AbhAZMs4 (ORCPT ); Tue, 26 Jan 2021 07:48:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391691AbhAZMsR (ORCPT ); Tue, 26 Jan 2021 07:48:17 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FDF7C0698D6 for ; Tue, 26 Jan 2021 04:45:56 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id v15so16303029wrx.4 for ; Tue, 26 Jan 2021 04:45:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uU6U7e+Bn+fD4ver5DjrrStmc291AlsHBOuXfK4dxLs=; b=IwFo0CYdlUafY6Byo0R+b6bvvlGXaOENiKJ2ZQwlgfkJsf+VoYu3/yjUzAtePy9TAX HbHRg8cIC0ko9QV9ElrO+pb5yB+MSfM+bN28fKBVoKKUMEArKMGSPGa3pbdQ1sYfRViK CMf/h5hBhebHXfv4JWun5jdh0n8xiz8VDi2yzG4908LH/BUdQbqOd/iyPYgkiigtWvX+ TtAHaCnXn9xqgeOZsuyDsKzw87+x+r5fWGCbAAquK3sLssEoCrwk3nc88SFjDEiU9uuR gx2RBFBQdmS/SX5nP4mg2DV/3cYIRDRx1k2QRzvgWN1sbvuvqxQxRjXeWJZRfjDV9TXb nWTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uU6U7e+Bn+fD4ver5DjrrStmc291AlsHBOuXfK4dxLs=; b=mFPeL/3WgNG83DacNlBapfCJkn1IN59djbj0k5rEJF9PI0Dqvo1gN+ztZXwx+WtK5W MA9D8xVlqLSNyssFeziu55oHgMvHn/8cD8az4wsgG35dwFgZ8lmmk67wPF4RJYjFqHky AAObSrKPkcgWP+nwlOxC4vxEUhQuA/SHLx40RVUA1wA0L+4iv+pWQb6RFN6eyIvPRyHr xTCmSFiHAazsSLheNcKmuoaE77kgQFqj1g8/AYnADrNaJKy7+e37Re4gazEO5ZXYEpzw khbc/EcNYcyb18xphM1PoYROdXNsX9MlA3nUCyrgPUEJcqOXdIrNU8ZaX/z+kFnYyH14 RCdA== X-Gm-Message-State: AOAM532VA1RrQKYTzx55O8Zsvx3RQiO4qKduPJMytMtbqRaTLFSbksEL HHhca9n3S56sMg4o2TU2HxVb3A== X-Google-Smtp-Source: ABdhPJyYah5l8tpqi8HzCI+EEhW6f18InEXMudNL+zdJgmVDef+U6MN1L6N18riaoIOyn4yKX7D4pg== X-Received: by 2002:adf:e4c4:: with SMTP id v4mr5605872wrm.376.1611665155292; Tue, 26 Jan 2021 04:45:55 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:54 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter De Schrijver , Prashant Gaikwad , Michael Turquette , Stephen Boyd , Thierry Reding , Jonathan Hunter , linux-clk@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH 09/21] clk: tegra: cvb: Provide missing description for 'tegra_cvb_add_opp_table()'s align param Date: Tue, 26 Jan 2021 12:45:28 +0000 Message-Id: <20210126124540.3320214-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/tegra/cvb.c:106: warning: Function parameter or member 'align' not described in 'tegra_cvb_add_opp_table' Cc: Peter De Schrijver Cc: Prashant Gaikwad Cc: Michael Turquette Cc: Stephen Boyd Cc: Thierry Reding Cc: Jonathan Hunter Cc: linux-clk@vger.kernel.org Cc: linux-tegra@vger.kernel.org Signed-off-by: Lee Jones --- drivers/clk/tegra/cvb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/tegra/cvb.c b/drivers/clk/tegra/cvb.c index 21115c4e5d3a1..a7fdc7622913c 100644 --- a/drivers/clk/tegra/cvb.c +++ b/drivers/clk/tegra/cvb.c @@ -86,6 +86,7 @@ static int build_opp_table(struct device *dev, const struct cvb_table *table, * @dev: the struct device * for which the OPP table is built * @tables: array of CVB tables * @count: size of the previously mentioned array + * @align: parameters of the regulator step and offset * @process_id: process id of the HW module * @speedo_id: speedo id of the HW module * @speedo_value: speedo value of the HW module From patchwork Tue Jan 26 12:45:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046513 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 C13C6C433E0 for ; Tue, 26 Jan 2021 13:07:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8EF3E2310E for ; Tue, 26 Jan 2021 13:07:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391976AbhAZNHo (ORCPT ); Tue, 26 Jan 2021 08:07:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391971AbhAZMs7 (ORCPT ); Tue, 26 Jan 2021 07:48:59 -0500 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C33AFC0698D9 for ; Tue, 26 Jan 2021 04:45:57 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id d16so15643367wro.11 for ; Tue, 26 Jan 2021 04:45:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iORMEqJhCnrh6wIXXy7N9zvOdfWOGFh+mnFrMk+Wc4I=; b=Ut1+hsKMp53ICFgNhpIw0ZooAhqTLBGxRB1GLTU+ou42L9Dcz2FMt2o95jvhCa5CJf ZdlD9DBP1nU2IMrEQ9ly3HLM8tv74yCFWf3FpjdMVG0AGTNgKqPii/2dhd0ZSTMWHSke SfKwvE+l7fcjMACW9iCx/76oeGNAriPw3VvxzsJlySd9/zOTfQUIsd5T5jPfqnf+CfEn PEdLuEobbG2jPX0Gf/vBfIPoyJk2F6FLkDxVjXkK5SOztcfDLiR2N+b/QRpWjYsMV3c2 o3wVGKiDJsO/jHItbpGtc7Eet8TetxgNijbinf81a/1UNccJcvd1b63IVx6aw38fnnvk 54kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iORMEqJhCnrh6wIXXy7N9zvOdfWOGFh+mnFrMk+Wc4I=; b=bkhmlft4gcIsnGTmIzCdwKQteY6KjRmbkdkfzUdHgM7FLhpApjm2rn4q71Ui0lywCf EArzroMB1CX+8Ya3c6qCvY1jbyKGmGxfzdN86LysumC+OkAcyAorFKOyP/v8a6OjJ5Ke MIOs7sA0O4rkybKucNLZZQoAoF12aFUCqulAVNcoypCIJ/8S7PG2w/ZY6mxYML4ln9N0 bdepNVxHQ1KAiV6SeJwx1In23UGRzjUM05+ZXIRDoYkear/Jw3I5l/SR8T1Up476+R68 PrJ7aaTt0GsENY2d6wKKbkLNLK7UrkYTFR71gDYNtRsB1DwxzDb8qo6aI9/xpYms6+sW G7gQ== X-Gm-Message-State: AOAM531IgpJrXVA5D14YQr4uYqYA5PfgNOHzTnRMmreguGjZZ58I+Ftf c5PfoaWyShm0aAUbNg3ypFsZsQ== X-Google-Smtp-Source: ABdhPJw2nx2B0oh6rm7aHoz4WYg84KTipml2Niimp8U30RwYdhTXFbsI0bCANZV1kpnLUvqsibBRAw== X-Received: by 2002:a5d:6c6b:: with SMTP id r11mr5998536wrz.38.1611665156576; Tue, 26 Jan 2021 04:45:56 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:55 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Tero Kristo , Michael Turquette , Stephen Boyd , linux-omap@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 10/21] clk: ti: dpll44xx: Fix some potential doc-rot Date: Tue, 26 Jan 2021 12:45:29 +0000 Message-Id: <20210126124540.3320214-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/ti/dpll44xx.c:114: warning: Function parameter or member 'hw' not described in 'omap4_dpll_regm4xen_recalc' drivers/clk/ti/dpll44xx.c:114: warning: Function parameter or member 'parent_rate' not described in 'omap4_dpll_regm4xen_recalc' drivers/clk/ti/dpll44xx.c:114: warning: Excess function parameter 'clk' description in 'omap4_dpll_regm4xen_recalc' drivers/clk/ti/dpll44xx.c:150: warning: Function parameter or member 'hw' not described in 'omap4_dpll_regm4xen_round_rate' drivers/clk/ti/dpll44xx.c:150: warning: Function parameter or member 'parent_rate' not described in 'omap4_dpll_regm4xen_round_rate' drivers/clk/ti/dpll44xx.c:150: warning: Excess function parameter 'clk' description in 'omap4_dpll_regm4xen_round_rate' Cc: Tero Kristo Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-omap@vger.kernel.org Cc: linux-clk@vger.kernel.org Signed-off-by: Lee Jones --- drivers/clk/ti/dpll44xx.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/clk/ti/dpll44xx.c b/drivers/clk/ti/dpll44xx.c index 89c3ed1a24b82..3fc2cab69a3fe 100644 --- a/drivers/clk/ti/dpll44xx.c +++ b/drivers/clk/ti/dpll44xx.c @@ -102,7 +102,8 @@ static void omap4_dpll_lpmode_recalc(struct dpll_data *dd) /** * omap4_dpll_regm4xen_recalc - compute DPLL rate, considering REGM4XEN bit - * @clk: struct clk * of the DPLL to compute the rate for + * @hw: pointer to the clock to compute the rate for + * @parent_rate: clock rate of the DPLL parent * * Compute the output rate for the OMAP4 DPLL represented by @clk. * Takes the REGM4XEN bit into consideration, which is needed for the @@ -134,8 +135,9 @@ unsigned long omap4_dpll_regm4xen_recalc(struct clk_hw *hw, /** * omap4_dpll_regm4xen_round_rate - round DPLL rate, considering REGM4XEN bit - * @clk: struct clk * of the DPLL to round a rate for + * @hw: struct hw_clk containing the struct clk * of the DPLL to round a rate for * @target_rate: the desired rate of the DPLL + * @parent_rate: clock rate of the DPLL parent * * Compute the rate that would be programmed into the DPLL hardware * for @clk if set_rate() were to be provided with the rate From patchwork Tue Jan 26 12:45:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046525 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 41B47C433DB for ; Tue, 26 Jan 2021 13:11:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 08AE62311B for ; Tue, 26 Jan 2021 13:11:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391341AbhAZNLF (ORCPT ); Tue, 26 Jan 2021 08:11:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391941AbhAZMsg (ORCPT ); Tue, 26 Jan 2021 07:48:36 -0500 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDEC8C0698DD for ; Tue, 26 Jan 2021 04:45:58 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id u14so2627421wmq.4 for ; Tue, 26 Jan 2021 04:45:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HC9oGmsVO5oAzKPG00K8ovLaaiSlGT3tZa2rImR2jdE=; b=qtT+KJH+lKspIgo6IvnRoDbAhFLYau59bLEimbXlVRgym8AoBAMHvXmGYOOhCg4Igh gzwZXnfHKm+51ASEJvjnO1w1SIXW+N9KH4kNgtDG8b7y0kT5hjeIZvo3e0SdZZJol2HG elgJs/kVgO8UPCbWORn7Vo6GMjdaYb8L9icnkKVwRWKxbAbJJnxkWPsyauZGNPI3Udj+ 0rKtEex+MeckBdtl1VLSa7eliuAuYpzRf7b0JnJ3+wsOKCOj9w/ZVjkGWVvLyQYBkW4+ 3vI/Erlh+URfZV3eV0r47vz+QbO90L2yMztxUhxBNz6eWrv7vdmjvVwJ7OhnEuD8wHaR 2hvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HC9oGmsVO5oAzKPG00K8ovLaaiSlGT3tZa2rImR2jdE=; b=EYwAx1v81c7Geusi24KL26FiHA/GzX+dP1kmlJcY7d5oQytFLQWY0B0Yg/non+1ul4 xJtMmxS98938NARdPfU9/UzaCdFJGmZRHZ9MK1xPkkKNvk+G59s3zo5tYa1S7XR3er1d Af9yRCfam0rjJpU+tyub7JWU1PczUJrv8aeBbhYcVCQ6f2DTXxGInK0vpqXEWyLXWe3P F1pTkYvqCYtJc4ttsQaU+0p/W9RMv2qwunaOdC8vnG9sIHPdsQJijGmYmJ1abG+eaNbG f3XbSmnRzET/+Kp6hg+u74Cb9FHopJnnlIhCu7yuExHCcbBzMmOifCP/Qxx+JNe0XIZL 4e+A== X-Gm-Message-State: AOAM530YCusNrqtZ8vSYm4Hj98Sgu+p2bBAgMXJsslj5v/3hMgg97GL6 QS7ltx+Tl0P0V0+6j7Kr3j4qYw== X-Google-Smtp-Source: ABdhPJx+9ryinrcrzNqRBnQheOhsDKyqDTA69GbijOK1wMVO2OJRSAEClu1EGu535Mt4uLL9Slra/g== X-Received: by 2002:a1c:df04:: with SMTP id w4mr1944888wmg.66.1611665157661; Tue, 26 Jan 2021 04:45:57 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:57 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven , Michael Turquette , Stephen Boyd , Philipp Zabel , linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 11/21] clk: renesas: renesas-cpg-mssr: Fix formatting issues for 'smstpcr_saved's documentation Date: Tue, 26 Jan 2021 12:45:30 +0000 Message-Id: <20210126124540.3320214-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/renesas/renesas-cpg-mssr.c:168: warning: Function parameter or member 'smstpcr_saved' not described in 'cpg_mssr_priv' Cc: Geert Uytterhoeven Cc: Michael Turquette Cc: Stephen Boyd Cc: Philipp Zabel Cc: linux-renesas-soc@vger.kernel.org Cc: linux-clk@vger.kernel.org Signed-off-by: Lee Jones Reviewed-by: Geert Uytterhoeven --- drivers/clk/renesas/renesas-cpg-mssr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/renesas/renesas-cpg-mssr.c b/drivers/clk/renesas/renesas-cpg-mssr.c index 1c3215dc4877c..bffbc3d2faf5f 100644 --- a/drivers/clk/renesas/renesas-cpg-mssr.c +++ b/drivers/clk/renesas/renesas-cpg-mssr.c @@ -136,8 +136,8 @@ static const u16 srstclr_for_v3u[] = { * @control_regs: Pointer to control registers array * @reset_regs: Pointer to reset registers array * @reset_clear_regs: Pointer to reset clearing registers array - * @smstpcr_saved[].mask: Mask of SMSTPCR[] bits under our control - * @smstpcr_saved[].val: Saved values of SMSTPCR[] + * @smstpcr_saved: [].mask: Mask of SMSTPCR[] bits under our control + * [].val: Saved values of SMSTPCR[] * @clks: Array containing all Core and Module Clocks */ struct cpg_mssr_priv { From patchwork Tue Jan 26 12:45:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046511 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, 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 47F0FC433DB for ; Tue, 26 Jan 2021 13:07:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1DFE52310E for ; Tue, 26 Jan 2021 13:07:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391208AbhAZNHc (ORCPT ); Tue, 26 Jan 2021 08:07:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391981AbhAZMtB (ORCPT ); Tue, 26 Jan 2021 07:49:01 -0500 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CBB9C0698DF for ; Tue, 26 Jan 2021 04:46:00 -0800 (PST) Received: by mail-wr1-x42a.google.com with SMTP id c12so16333447wrc.7 for ; Tue, 26 Jan 2021 04:45:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GXshkbgTcCLvcMfQ+97H1sgznjdR4OhpOhHlF1vIaks=; b=IOn9WgbgMEw1WvR4hfDIqRJ4J3Q4fLxrLD1v2OpqwriR9g5cu0rvLO6+nG85AJ/I86 Ro8PQ2sjBGyQ8itEsPu1LMHolkvK1Cbl8WoEY75Xsk3ADB4MZf9bt1A4ZSH0EU2PlBMw Sc5DskgxTKOAHIBTdeZDXENQWvFhRtZ0Lr8D2V0z41ZSMBZEaDSiZ0f81qn3glbEYkSs Vu0zl0pCaTfQU8kULHC3G0u2eeXePBlgB3YoN9e9y37FL3PXnxP2NKMoYKVrAk31qgPB vb1BmBZE7tJ9MVZl/ix+VgWY9rWHLNzqeCdyH1r1M1hGI9eOa/YUy1AjZxC0WLLHPCzo ljkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GXshkbgTcCLvcMfQ+97H1sgznjdR4OhpOhHlF1vIaks=; b=f69qDWn216Z089iUjX79vGHrX8YogkA7/JjTryfsMh1Eh7GXMZ0z+tUvbQ7dCvTTJJ X5AmM5bF81kX3szljZ1rp3bIv/vkpProV52qED428RiShIsViTIsaG4p1CDg2HaHAj0J GEq6TMuMFfwXAFYpC9MZxxxDF+2elOKBUnKajroQAy2PMCuX5CywO56VwL9rrq0rjiB7 kiCCX2roTGpOFtpIHlPcypvfFtTYgwGYuUGwwCHjCoG/domvBUb0oKH0ycaQY0Gkul3t upV3Up6kLvS/FqYt+bcELA6oX43+HJ6qNaZFpJja6lZoEGV3RXpdt6lulvbPQ+v4SNvi JuAw== X-Gm-Message-State: AOAM531HOG38fRHMkoeLdyT/gWeS63dn+TLotSFs8vGVbi+4VZMqQzoS EDmm8e/eatY1aEPP8jL4fyJ9jA== X-Google-Smtp-Source: ABdhPJwoPA9vG6jciVxwrfEtCx9Pr5x7tBugNW6dJqWbI+z0Z16Pw40r5QCFS8r+cJNaiWfnt5Y3CA== X-Received: by 2002:a5d:5549:: with SMTP id g9mr6306888wrw.244.1611665158774; Tue, 26 Jan 2021 04:45:58 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:58 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, =?utf-8?q?Emilio_L=C3=B3pez?= , Michael Turquette , Stephen Boyd , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Boris BREZILLON , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 12/21] clk: sunxi: clk-sun6i-ar100: Demote non-conformant kernel-doc header Date: Tue, 26 Jan 2021 12:45:31 +0000 Message-Id: <20210126124540.3320214-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/sunxi/clk-sun6i-ar100.c:26: warning: Function parameter or member 'req' not described in 'sun6i_get_ar100_factors' Cc: "Emilio López" Cc: Michael Turquette Cc: Stephen Boyd Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: Jernej Skrabec Cc: Boris BREZILLON Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/clk/sunxi/clk-sun6i-ar100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi/clk-sun6i-ar100.c b/drivers/clk/sunxi/clk-sun6i-ar100.c index e1b7d0929cf7f..54babc2b4b9ee 100644 --- a/drivers/clk/sunxi/clk-sun6i-ar100.c +++ b/drivers/clk/sunxi/clk-sun6i-ar100.c @@ -16,7 +16,7 @@ #include "clk-factors.h" -/** +/* * sun6i_get_ar100_factors - Calculates factors p, m for AR100 * * AR100 rate is calculated as follows From patchwork Tue Jan 26 12:45:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046527 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 97DCDC433E9 for ; Tue, 26 Jan 2021 13:11:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5FACD2311B for ; Tue, 26 Jan 2021 13:11:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390185AbhAZNLF (ORCPT ); Tue, 26 Jan 2021 08:11:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391943AbhAZMsh (ORCPT ); Tue, 26 Jan 2021 07:48:37 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AB5AC0698E0 for ; Tue, 26 Jan 2021 04:46:01 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id u14so2627550wmq.4 for ; Tue, 26 Jan 2021 04:46:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4mll2lpwENE608kX1kOhep+FnuspDxHBBTIWjYWHVv4=; b=pN4lfLmmVBgLX1q2BKk4RyuM8nfGi0iSK2p5oFzqbwR48oc2/k0GoyukN3ekRynO06 FKaAaAsWyotTSplcMwQPMAZVfJizyGQiOJBMk0yYcAymhgu9N2ZSbUSh6qjy288ou0pc HqtayVh1cyMBIbzfiBYPHmvVjr9IdO/PtWWdjNpPkVFE2CynLfawGQEBle+vluHgUEPi XIkSyDlNFtRmGLri4EMRNLpm0jF2EqbuLb6EDwAkGFdlQ5TAMlRTr4lVHYp6w+0UpvW3 IMv+nTm9wowh7LVp4WikScVxnNSItGlVg6V+ACms+OKjBP2oRnEDQeXLGZ596/KJomrY KMoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4mll2lpwENE608kX1kOhep+FnuspDxHBBTIWjYWHVv4=; b=uXtjdF4myhZ2G15fKwAHRd9izH4ZrLEo6FNOdZ2bRO3rJNMeTais6qRRMNff9L9U2/ oyBz3RoDC2GRSx2KSwAPQs1NwaL5nemOxQDe7/Cl9AEPuz9ZZQv/tbjdsTlEM80RjJST k3RM0PApBCmVFkvNWMQIAyF19taZkHnbFHFW2J5DokgunI27ixbuAhygFpriW0mqsuwn I6qcble70RgbesMHoGKHsZLFlaLaY/WdsIiXgJIvRBPtai8GpotJovMJs+eltWrIUDjL 6uNvkCub2PbNKC6aDj8HNNIIT9RPdyMNGXY3vm2He7IA/pnIHPhL0WkA1aiYMtqYFTzI Simw== X-Gm-Message-State: AOAM533uG0IGS6crIS/2wE9r6ia7jnmApQOzwuRx3Bn3T5If/RdFyByc Gptl6eEOvxyZZc/AS2sJ+4ooTQ== X-Google-Smtp-Source: ABdhPJwsLKoq02G2opNkx2KyZBjwCJrT1QWUMlzjgyZlIH/qv0W5suRHKqypiyBgXWhP7zNqj62Grg== X-Received: by 2002:a05:600c:1911:: with SMTP id j17mr4552481wmq.63.1611665159968; Tue, 26 Jan 2021 04:45:59 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:59 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 13/21] clk: qcom: gcc-ipq4019: Remove unused variable 'ret' Date: Tue, 26 Jan 2021 12:45:32 +0000 Message-Id: <20210126124540.3320214-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/qcom/gcc-ipq4019.c: In function ‘clk_cpu_div_set_rate’: drivers/clk/qcom/gcc-ipq4019.c:1279:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Andy Gross Cc: Bjorn Andersson Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-arm-msm@vger.kernel.org Cc: linux-clk@vger.kernel.org Signed-off-by: Lee Jones Reviewed-by: Bjorn Andersson --- drivers/clk/qcom/gcc-ipq4019.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/clk/qcom/gcc-ipq4019.c b/drivers/clk/qcom/gcc-ipq4019.c index ef5137fd50f3f..8abad4032de71 100644 --- a/drivers/clk/qcom/gcc-ipq4019.c +++ b/drivers/clk/qcom/gcc-ipq4019.c @@ -1276,16 +1276,15 @@ static int clk_cpu_div_set_rate(struct clk_hw *hw, unsigned long rate, struct clk_fepll *pll = to_clk_fepll(hw); const struct freq_tbl *f; u32 mask; - int ret; f = qcom_find_freq(pll->freq_tbl, rate); if (!f) return -EINVAL; mask = (BIT(pll->cdiv.width) - 1) << pll->cdiv.shift; - ret = regmap_update_bits(pll->cdiv.clkr.regmap, - pll->cdiv.reg, mask, - f->pre_div << pll->cdiv.shift); + regmap_update_bits(pll->cdiv.clkr.regmap, + pll->cdiv.reg, mask, + f->pre_div << pll->cdiv.shift); /* * There is no status bit which can be checked for successful CPU * divider update operation so using delay for the same. From patchwork Tue Jan 26 12:45:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046521 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 DEE0FC433E0 for ; Tue, 26 Jan 2021 13:09:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9DBA923109 for ; Tue, 26 Jan 2021 13:09:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392005AbhAZNJZ (ORCPT ); Tue, 26 Jan 2021 08:09:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391954AbhAZMsj (ORCPT ); Tue, 26 Jan 2021 07:48:39 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E387C0698E4 for ; Tue, 26 Jan 2021 04:46:02 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id 190so2361623wmz.0 for ; Tue, 26 Jan 2021 04:46:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xV2037MpTqxIYdYf/qlhhyKpbo5/pnSBSbkbi3/w7zA=; b=XK+B8cmZJgvGTEGTRyLc3SO5a5c8b6otv/2xECAiu13SXrH30DrwqdXR6kt+X7RnC9 mogCYkgvzIYiEwqc4jUJkT3zYOG8jFC+BBQrV+7WfPifcQ2CrWIQ3YvZNqTniAufzvoK sTT5bXKzKJYLFMD10sEpqkTtp2823oAWVPKnTntVI5Xs7P44i4lckxe5khhY0Gn9Znwx gxjA8TLk/p9L0pzr9bO9mcwBB89TliY8bzv5nsArobkn0D8yzUm50cEIfN0BBU+qvoyj VXj+oywUaId30W8IvPoE0BycccyrJ/JJlcvP/6bq+xihpWzCHJbmwEtwsIZrlAFMqLV9 9gtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xV2037MpTqxIYdYf/qlhhyKpbo5/pnSBSbkbi3/w7zA=; b=TpjcBBnRiFHeDOa59GESu5PcQipe+frDxGuAuQU/sY1Fe5JA92R106dREOdZXEhGg/ faiOCovD++/3SXgANOhqT989k6LXMzIPzQUnnPUlj3q4NkQYDZnSbNQaVznmlZeLMjTR TIqeQJL7/UmUhqs2XjQCkODUleUR33gN7t4bcZAm81hMDBf1zZll9Uy3B56gpCWsO1SO eLs95MOZT2sixWfMTzcP/vg+yLGQAtSInoF0dvKUIZZw22XgZtd8UKe+g1BzdQs510aD E7XtSJ05d15nJRLa8qOatsrVDew0cCqAmVRgGlWw7jtoEvDlHtqeNku2LO/APA9AAJ+d k/TA== X-Gm-Message-State: AOAM532itvreNIJWpRkMl30T9QwU1H4mdE7QvCIN/oUYhO1C3gCWQUpa PAFJqse2If84O28/2f5pARUsOQ== X-Google-Smtp-Source: ABdhPJwX07IygCoQj1H2udFoApgRu91g3BVErGPZlgNSmDRMkZC8ho3Prm3d11PVxLh1npT9oweq3g== X-Received: by 2002:a05:600c:24f:: with SMTP id 15mr4559872wmj.78.1611665161131; Tue, 26 Jan 2021 04:46:01 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.46.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:46:00 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Michael Turquette , Stephen Boyd , Jan Kotas , linux-clk@vger.kernel.org Subject: [PATCH 14/21] clk: clk-fixed-mmio: Demote obvious kernel-doc abuse Date: Tue, 26 Jan 2021 12:45:33 +0000 Message-Id: <20210126124540.3320214-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/clk-fixed-mmio.c:62: warning: Function parameter or member 'pdev' not described in 'of_fixed_mmio_clk_probe' Cc: Michael Turquette Cc: Stephen Boyd Cc: Jan Kotas Cc: linux-clk@vger.kernel.org Signed-off-by: Lee Jones --- drivers/clk/clk-fixed-mmio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-fixed-mmio.c b/drivers/clk/clk-fixed-mmio.c index 51f26619b6a23..5225d17d6b3f3 100644 --- a/drivers/clk/clk-fixed-mmio.c +++ b/drivers/clk/clk-fixed-mmio.c @@ -55,7 +55,7 @@ static void __init of_fixed_mmio_clk_setup(struct device_node *node) } CLK_OF_DECLARE(fixed_mmio_clk, "fixed-mmio-clock", of_fixed_mmio_clk_setup); -/** +/* * This is not executed when of_fixed_mmio_clk_setup succeeded. */ static int of_fixed_mmio_clk_probe(struct platform_device *pdev) From patchwork Tue Jan 26 12:45:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046523 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 ED57CC433DB for ; Tue, 26 Jan 2021 13:10:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ABDFF23110 for ; Tue, 26 Jan 2021 13:10:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392649AbhAZNKG (ORCPT ); Tue, 26 Jan 2021 08:10:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391949AbhAZMsj (ORCPT ); Tue, 26 Jan 2021 07:48:39 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A95CC0698E5 for ; Tue, 26 Jan 2021 04:46:03 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id e15so2665313wme.0 for ; Tue, 26 Jan 2021 04:46:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=h0Ike944NkRAuPgkxrxuW8S6aKRu/hdxaXcbNq0mdiY=; b=oMuqC7H6vpZMq0xrtf4h9+YqRZYqNaIxxNUO+YL9xq2Uyj3Wxxv1OKhVBxslEfWw6+ Onaln1RQf3T2JxLxmRGSb+irSkYcE4aw65l8UvO5p6c8ek0dVT94HHyEguvOepYY37lP 6Wt2ORbsweCvaV+IDoukfJC9CPN/3RBo/Z/m3bswOB2ETZyINXZ+/QBIYdDyeMVATuRK 4mx5KkhOzidfYJxllyaJd0z36EEaMUdtU+E4Kgm6ERMGE+4iJxNmCA/90sVsbnJfDBEx 2L9fSfCOmhz0rr8k3WBrUVR+cw9YfYHXAp3uJtChnK7yQJAAJEsjFGSkojX2XGZItDcG MEvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=h0Ike944NkRAuPgkxrxuW8S6aKRu/hdxaXcbNq0mdiY=; b=g8r9p47X6RNdaWIQHCaen0GjLaprtP7GDhzRfNCwn5ZaKXeUza6INBHIxYCt2rT4JK 0eH4R9qkZTJIpUtw9RaxsSfmKRGtCq3Pe/mbn5qV/F5j+xj57bGODaXO8SieNIfXjRFK xASt2LUWZsxD2goC4p+U5+KjzXm9AaZBWCvSFjNndaj1pkhWn+yOy6LLrwegV+JXrKb3 2lkNQouOV7RBA6fc6oCscDNSMa54CwNg+AMxH0Bks1wyT1W1t68m3bPP7DEo1qSlX959 EssYnTr9A9rSj+WdXp8q9zFAuY3Nc8tB1lNNAUah1yLnaJwAXMFEkqmALZPeJ+6gtPE8 FqOA== X-Gm-Message-State: AOAM533l7B/gfhgAbMGVtKH19X4yFgsokK5+IzwPjcfZqIV6rCNdZL7b 6RxH03bJsuglBB3bsw+QiwIDPA== X-Google-Smtp-Source: ABdhPJxuJVv0MwQsAM6z/D0PIPLHRlfjT3l5zRNHHf84f5J/noC/V3qyelGNBnG29wT4mCKpAyKMGw== X-Received: by 2002:a7b:c055:: with SMTP id u21mr4668212wmc.68.1611665162317; Tue, 26 Jan 2021 04:46:02 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.46.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:46:01 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Michael Turquette , Stephen Boyd , Nuvoton Technologies , openbmc@lists.ozlabs.org, linux-clk@vger.kernel.org Subject: [PATCH 15/21] clk: clk-npcm7xx: Remove unused static const tables 'npcm7xx_gates' and 'npcm7xx_divs_fx' Date: Tue, 26 Jan 2021 12:45:34 +0000 Message-Id: <20210126124540.3320214-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/clk-npcm7xx.c:438:43: warning: ‘npcm7xx_gates’ defined but not used [-Wunused-const-variable=] drivers/clk/clk-npcm7xx.c:365:48: warning: ‘npcm7xx_divs_fx’ defined but not used [-Wunused-const-variable=] Cc: Avi Fishman Cc: Tomer Maimon Cc: Tali Perry Cc: Patrick Venture Cc: Nancy Yuen Cc: Benjamin Fair Cc: Michael Turquette Cc: Stephen Boyd Cc: Nuvoton Technologies Cc: openbmc@lists.ozlabs.org Cc: linux-clk@vger.kernel.org Signed-off-by: Lee Jones --- drivers/clk/clk-npcm7xx.c | 108 -------------------------------------- 1 file changed, 108 deletions(-) diff --git a/drivers/clk/clk-npcm7xx.c b/drivers/clk/clk-npcm7xx.c index 27a86b7a34dbf..e677bb5a784b9 100644 --- a/drivers/clk/clk-npcm7xx.c +++ b/drivers/clk/clk-npcm7xx.c @@ -361,13 +361,6 @@ static const struct npcm7xx_clk_mux_data npcm7xx_muxes[] __initconst = { dvcssel_mux_parents, ARRAY_SIZE(dvcssel_mux_parents), 0, -1}, }; -/* fixed ratio dividers (no register): */ -static const struct npcm7xx_clk_div_fixed_data npcm7xx_divs_fx[] __initconst = { - { 1, 2, NPCM7XX_CLK_S_MC, NPCM7XX_CLK_S_MC_MUX, 0, NPCM7XX_CLK_MC}, - { 1, 2, NPCM7XX_CLK_S_PLL1_DIV2, NPCM7XX_CLK_S_PLL1, 0, -1}, - { 1, 2, NPCM7XX_CLK_S_PLL2_DIV2, NPCM7XX_CLK_S_PLL2, 0, -1}, -}; - /* configurable dividers: */ static const struct npcm7xx_clk_div_data npcm7xx_divs[] __initconst = { {NPCM7XX_CLKDIV1, 28, 3, NPCM7XX_CLK_S_ADC, @@ -435,107 +428,6 @@ static const struct npcm7xx_clk_div_data npcm7xx_divs[] __initconst = { }; -static const struct npcm7xx_clk_gate_data npcm7xx_gates[] __initconst = { - {NPCM7XX_CLKEN1, 31, "smb1-gate", NPCM7XX_CLK_S_APB2, 0}, - {NPCM7XX_CLKEN1, 30, "smb0-gate", NPCM7XX_CLK_S_APB2, 0}, - {NPCM7XX_CLKEN1, 29, "smb7-gate", NPCM7XX_CLK_S_APB2, 0}, - {NPCM7XX_CLKEN1, 28, "smb6-gate", NPCM7XX_CLK_S_APB2, 0}, - {NPCM7XX_CLKEN1, 27, "adc-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN1, 26, "wdt-gate", NPCM7XX_CLK_S_TIMER, 0}, - {NPCM7XX_CLKEN1, 25, "usbdev3-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN1, 24, "usbdev6-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN1, 23, "usbdev5-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN1, 22, "usbdev4-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN1, 21, "emc2-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN1, 20, "timer5_9-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN1, 19, "timer0_4-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN1, 18, "pwmm0-gate", NPCM7XX_CLK_S_APB3, 0}, - {NPCM7XX_CLKEN1, 17, "huart-gate", NPCM7XX_CLK_S_UART, 0}, - {NPCM7XX_CLKEN1, 16, "smb5-gate", NPCM7XX_CLK_S_APB2, 0}, - {NPCM7XX_CLKEN1, 15, "smb4-gate", NPCM7XX_CLK_S_APB2, 0}, - {NPCM7XX_CLKEN1, 14, "smb3-gate", NPCM7XX_CLK_S_APB2, 0}, - {NPCM7XX_CLKEN1, 13, "smb2-gate", NPCM7XX_CLK_S_APB2, 0}, - {NPCM7XX_CLKEN1, 12, "mc-gate", NPCM7XX_CLK_S_MC, 0}, - {NPCM7XX_CLKEN1, 11, "uart01-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN1, 10, "aes-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN1, 9, "peci-gate", NPCM7XX_CLK_S_APB3, 0}, - {NPCM7XX_CLKEN1, 8, "usbdev2-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN1, 7, "uart23-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN1, 6, "emc1-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN1, 5, "usbdev1-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN1, 4, "shm-gate", NPCM7XX_CLK_S_AHB, 0}, - /* bit 3 is reserved */ - {NPCM7XX_CLKEN1, 2, "kcs-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN1, 1, "spi3-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN1, 0, "spi0-gate", NPCM7XX_CLK_S_AHB, 0}, - - {NPCM7XX_CLKEN2, 31, "cp-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN2, 30, "tock-gate", NPCM7XX_CLK_S_TOCK, 0}, - /* bit 29 is reserved */ - {NPCM7XX_CLKEN2, 28, "gmac1-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN2, 27, "usbif-gate", NPCM7XX_CLK_S_USBIF, 0}, - {NPCM7XX_CLKEN2, 26, "usbhost-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN2, 25, "gmac2-gate", NPCM7XX_CLK_S_AHB, 0}, - /* bit 24 is reserved */ - {NPCM7XX_CLKEN2, 23, "pspi2-gate", NPCM7XX_CLK_S_APB5, 0}, - {NPCM7XX_CLKEN2, 22, "pspi1-gate", NPCM7XX_CLK_S_APB5, 0}, - {NPCM7XX_CLKEN2, 21, "3des-gate", NPCM7XX_CLK_S_AHB, 0}, - /* bit 20 is reserved */ - {NPCM7XX_CLKEN2, 19, "siox2-gate", NPCM7XX_CLK_S_APB3, 0}, - {NPCM7XX_CLKEN2, 18, "siox1-gate", NPCM7XX_CLK_S_APB3, 0}, - /* bit 17 is reserved */ - {NPCM7XX_CLKEN2, 16, "fuse-gate", NPCM7XX_CLK_S_APB4, 0}, - /* bit 15 is reserved */ - {NPCM7XX_CLKEN2, 14, "vcd-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN2, 13, "ece-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN2, 12, "vdma-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN2, 11, "ahbpcibrg-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN2, 10, "gfxsys-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN2, 9, "sdhc-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN2, 8, "mmc-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN2, 7, "mft7-gate", NPCM7XX_CLK_S_APB4, 0}, - {NPCM7XX_CLKEN2, 6, "mft6-gate", NPCM7XX_CLK_S_APB4, 0}, - {NPCM7XX_CLKEN2, 5, "mft5-gate", NPCM7XX_CLK_S_APB4, 0}, - {NPCM7XX_CLKEN2, 4, "mft4-gate", NPCM7XX_CLK_S_APB4, 0}, - {NPCM7XX_CLKEN2, 3, "mft3-gate", NPCM7XX_CLK_S_APB4, 0}, - {NPCM7XX_CLKEN2, 2, "mft2-gate", NPCM7XX_CLK_S_APB4, 0}, - {NPCM7XX_CLKEN2, 1, "mft1-gate", NPCM7XX_CLK_S_APB4, 0}, - {NPCM7XX_CLKEN2, 0, "mft0-gate", NPCM7XX_CLK_S_APB4, 0}, - - {NPCM7XX_CLKEN3, 31, "gpiom7-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN3, 30, "gpiom6-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN3, 29, "gpiom5-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN3, 28, "gpiom4-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN3, 27, "gpiom3-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN3, 26, "gpiom2-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN3, 25, "gpiom1-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN3, 24, "gpiom0-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN3, 23, "espi-gate", NPCM7XX_CLK_S_APB2, 0}, - {NPCM7XX_CLKEN3, 22, "smb11-gate", NPCM7XX_CLK_S_APB2, 0}, - {NPCM7XX_CLKEN3, 21, "smb10-gate", NPCM7XX_CLK_S_APB2, 0}, - {NPCM7XX_CLKEN3, 20, "smb9-gate", NPCM7XX_CLK_S_APB2, 0}, - {NPCM7XX_CLKEN3, 19, "smb8-gate", NPCM7XX_CLK_S_APB2, 0}, - {NPCM7XX_CLKEN3, 18, "smb15-gate", NPCM7XX_CLK_S_APB2, 0}, - {NPCM7XX_CLKEN3, 17, "rng-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN3, 16, "timer10_14-gate", NPCM7XX_CLK_S_APB1, 0}, - {NPCM7XX_CLKEN3, 15, "pcirc-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN3, 14, "sececc-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN3, 13, "sha-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN3, 12, "smb14-gate", NPCM7XX_CLK_S_APB2, 0}, - /* bit 11 is reserved */ - /* bit 10 is reserved */ - {NPCM7XX_CLKEN3, 9, "pcimbx-gate", NPCM7XX_CLK_S_AHB, 0}, - /* bit 8 is reserved */ - {NPCM7XX_CLKEN3, 7, "usbdev9-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN3, 6, "usbdev8-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN3, 5, "usbdev7-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN3, 4, "usbdev0-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN3, 3, "smb13-gate", NPCM7XX_CLK_S_APB2, 0}, - {NPCM7XX_CLKEN3, 2, "spix-gate", NPCM7XX_CLK_S_AHB, 0}, - {NPCM7XX_CLKEN3, 1, "smb12-gate", NPCM7XX_CLK_S_APB2, 0}, - {NPCM7XX_CLKEN3, 0, "pwmm1-gate", NPCM7XX_CLK_S_APB3, 0}, -}; - static DEFINE_SPINLOCK(npcm7xx_clk_lock); static void __init npcm7xx_clk_init(struct device_node *clk_np) From patchwork Tue Jan 26 12:45:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046519 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, 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 829F5C433DB for ; Tue, 26 Jan 2021 13:09:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3906523109 for ; Tue, 26 Jan 2021 13:09:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391804AbhAZNJX (ORCPT ); Tue, 26 Jan 2021 08:09:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403939AbhAZMsq (ORCPT ); Tue, 26 Jan 2021 07:48:46 -0500 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E99D5C03E933 for ; Tue, 26 Jan 2021 04:46:04 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id a9so16317212wrt.5 for ; Tue, 26 Jan 2021 04:46:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Vsa1KLPM2HfEp5vPRGS+UCgmT+VY3fPWtM+ipeYcvaE=; b=ubNNa5o9m+gajTa5oKlGyu7B8gwi4nKoh16thJTW4WeFwRg1FKFeybQ9F+rIJulvaq EBfVO029Q4zaQwtL72rs90nuQLE7qUC254lKleHwmU2gYBcRoNvPjCCmN809zdwh/cYg nuTuk7O6VJ5r1Aectu/nUjCx7mj5cP2Av5If4PjQxp0iG/CE6S9ZF1zyADLrz97pGBhe 8ogTNVz3DObwZ44MF+xEI5iPC8MwLjcDi2wxCQbsL5y49kSP2i9UWsjJCU5WqqspQVfL 1h5+sY7XSdE72Mk4ujGNvdlCQBrssRRUo4ciOaaqWZABEL4HNRxtizPvRLPPQJgfJUo1 CNqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Vsa1KLPM2HfEp5vPRGS+UCgmT+VY3fPWtM+ipeYcvaE=; b=ug5muZATen4PBS6lfXNvZ55HgXE4FGu8eoAxZSVKusihQvkz9d8IB4tuTgmX4fRhff tfaO49ZOj4TnUn04xDsjBH3VxEna6rwQ2sGZyjA8e3TE2nWljo8h7ZN/gnoURq/zPdUV jRztx8IxmiBdSr2vxKgX2p/y+HLq8c7LZTg4GDhwljQhys0+IAIbje1xYXfPr+aO7W+L btRdsrKSSC5P6NP0b0/UCu9JF2rAVIr7GixytUO87tOKPmK8Cq6C4b3JcQiaC5V0r7hR AdLuzF/q1xJQ50YLflqXlaQcj0hJqmz1PliTCZhGZCtzFeWMLDxrr1X8IPf0qbBjo4H3 pm/Q== X-Gm-Message-State: AOAM530kASP7cTtROhHcrRGotZRMbjS/kq7bQ6UrsSPovFvl0z+xRFa1 xA2ZkWrgZ6tcw13JNNTt/RE3OZoVJH3BwUmf X-Google-Smtp-Source: ABdhPJw96PjK5RdN98v/EC7iTHJqEnR7IM/3cvwe4dKecgDyNq/XlXgX/iw8xfudPIuyHSNiwCkb1Q== X-Received: by 2002:adf:ecd2:: with SMTP id s18mr3963512wro.311.1611665163634; Tue, 26 Jan 2021 04:46:03 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.46.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:46:02 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 16/21] clk: qcom: mmcc-msm8974: Remove unused static const tables 'mmcc_xo_mmpll0_1_2_gpll0{map}' Date: Tue, 26 Jan 2021 12:45:35 +0000 Message-Id: <20210126124540.3320214-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/qcom/mmcc-msm8974.c:85:27: warning: ‘mmcc_xo_mmpll0_1_2_gpll0’ defined but not used [-Wunused-const-variable=] drivers/clk/qcom/mmcc-msm8974.c:77:32: warning: ‘mmcc_xo_mmpll0_1_2_gpll0_map’ defined but not used [-Wunused-const-variable=] Cc: Andy Gross Cc: Bjorn Andersson Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-arm-msm@vger.kernel.org Cc: linux-clk@vger.kernel.org Signed-off-by: Lee Jones Reviewed-by: Bjorn Andersson --- drivers/clk/qcom/mmcc-msm8974.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/clk/qcom/mmcc-msm8974.c b/drivers/clk/qcom/mmcc-msm8974.c index 015426262d080..a1552b6771bc6 100644 --- a/drivers/clk/qcom/mmcc-msm8974.c +++ b/drivers/clk/qcom/mmcc-msm8974.c @@ -74,22 +74,6 @@ static const char * const mmcc_xo_mmpll0_dsi_hdmi_gpll0[] = { "dsi1pll", }; -static const struct parent_map mmcc_xo_mmpll0_1_2_gpll0_map[] = { - { P_XO, 0 }, - { P_MMPLL0, 1 }, - { P_MMPLL1, 2 }, - { P_GPLL0, 5 }, - { P_MMPLL2, 3 } -}; - -static const char * const mmcc_xo_mmpll0_1_2_gpll0[] = { - "xo", - "mmpll0_vote", - "mmpll1_vote", - "mmss_gpll0_vote", - "mmpll2", -}; - static const struct parent_map mmcc_xo_mmpll0_1_3_gpll0_map[] = { { P_XO, 0 }, { P_MMPLL0, 1 }, From patchwork Tue Jan 26 12:45:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046517 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, 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 7EE69C433DB for ; Tue, 26 Jan 2021 13:09:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 539E023109 for ; Tue, 26 Jan 2021 13:09:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391958AbhAZNJU (ORCPT ); Tue, 26 Jan 2021 08:09:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403941AbhAZMsq (ORCPT ); Tue, 26 Jan 2021 07:48:46 -0500 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A2B1C03542C for ; Tue, 26 Jan 2021 04:46:06 -0800 (PST) Received: by mail-wr1-x433.google.com with SMTP id h9so6071572wrr.9 for ; Tue, 26 Jan 2021 04:46:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=995rP6SFts07/SvvHeFqqlY/SqCHBsfm6ya+Esw8I8M=; b=N2pTVZZmJN4uinBZl9xENNGOHve5i9eUD8+RnxP3LdL9D6vMmow8TXoYXxwhlIWJyt p08XZLz9O3Jypul8pU3IKA7eyIxCqy0VB0VVsZuL21XZVihIURjKjqcWOA3AOvYjk128 YH45w98UvW2RPMed6OxTVkd+t+HaL6MaZrsgEijZxAsjg6LJFq/fBzjxeXAjKSGjeeZC wzDLJUS952ZBrdn6+Q6Nn2xSJnOocJFwka8GbO4cbM0vd8y9O36aLHN8fcRB2KGOe7TQ OvyYDPqO7SWz7wVBSu8BCQ/BCHHOTkKnopWdXGbIlRQuSOoS2FW5h9ME/A9YVn8ZvwDP P5xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=995rP6SFts07/SvvHeFqqlY/SqCHBsfm6ya+Esw8I8M=; b=ljwkqGE6prOKXkqzP7JXPQIN6VKLt5wzK+wY6XExrHzGfox05qOdM/rluqhTOJ4zZy zcwdIur0tjTg6CadYkk0AnD6RlZmvVijMwKSg5Q8zS8k23J1z6XrCkfoQoAHHIjpX4Gl +8qTThj6aW08EhZMW9M2pkdkGHXJNGg3tnoAU2QDc2z7EMsSgbFUbgqoGWqo+DToN5mn Rp28BOQLp0QqvfmLfF4L6Kij1ijQt02YuGeynM0rVkdAi55sJBoKtFotY6ou+vldp/n5 rGrCFb/BjR8z6xjuXCaYAPDccYYlaywQ2RuXxIry3CRzhRNsUAhIM8gaTQJ57kDxd9oh R5DQ== X-Gm-Message-State: AOAM530qUqkADs8FWxA7MyVxJP2+y6HESMi32YEzwegv/6yFleTuF4A0 fC2oYEhHcaCUt9kysq+TQUdyMg== X-Google-Smtp-Source: ABdhPJxFlwssEpZKCZXVFe6JJUQNnpJ5ZXpj8QSRW0OaQrtBZE2bkPYh1gT/A5Bto1xapUFtcl9w7g== X-Received: by 2002:a5d:434d:: with SMTP id u13mr5975442wrr.6.1611665164897; Tue, 26 Jan 2021 04:46:04 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.46.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:46:04 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Michael Turquette , Stephen Boyd , Loc Ho , linux-clk@vger.kernel.org Subject: [PATCH 17/21] clk: clk-xgene: Add description for 'mask' and fix formatting for 'flags' Date: Tue, 26 Jan 2021 12:45:36 +0000 Message-Id: <20210126124540.3320214-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/clk-xgene.c:229: warning: Function parameter or member 'mask' not described in 'xgene_clk_pmd' drivers/clk/clk-xgene.c:229: warning: Function parameter or member 'flags' not described in 'xgene_clk_pmd' Cc: Michael Turquette Cc: Stephen Boyd Cc: Loc Ho Cc: linux-clk@vger.kernel.org Signed-off-by: Lee Jones --- drivers/clk/clk-xgene.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/clk/clk-xgene.c b/drivers/clk/clk-xgene.c index 3fd53057c01fe..857217cbcef87 100644 --- a/drivers/clk/clk-xgene.c +++ b/drivers/clk/clk-xgene.c @@ -206,17 +206,16 @@ static void xgene_pcppllclk_init(struct device_node *np) * @hw: handle between common and hardware-specific interfaces * @reg: register containing the fractional scale multiplier (scaler) * @shift: shift to the unit bit field + * @mask: mask to the unit bit field * @denom: 1/denominator unit * @lock: register lock - * Flags: - * XGENE_CLK_PMD_SCALE_INVERTED - By default the scaler is the value read + * @flags: XGENE_CLK_PMD_SCALE_INVERTED - By default the scaler is the value read * from the register plus one. For example, * 0 for (0 + 1) / denom, * 1 for (1 + 1) / denom and etc. * If this flag is set, it is * 0 for (denom - 0) / denom, * 1 for (denom - 1) / denom and etc. - * */ struct xgene_clk_pmd { struct clk_hw hw; From patchwork Tue Jan 26 12:45:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046515 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, 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 B5612C433E0 for ; Tue, 26 Jan 2021 13:08:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8CF822310E for ; Tue, 26 Jan 2021 13:08:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392339AbhAZNIW (ORCPT ); Tue, 26 Jan 2021 08:08:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391964AbhAZMsz (ORCPT ); Tue, 26 Jan 2021 07:48:55 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 457CAC03542F for ; Tue, 26 Jan 2021 04:46:07 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id i9so2664420wmq.1 for ; Tue, 26 Jan 2021 04:46:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ACuhHqUyAOgeit1pJS1MxY6/38vCSWpT3UKaTx8+/JY=; b=fM8B1mFx2eVpjNGE3vhWFZC0WnRAysxKHxe+DAlNp0M68o88FbxPu79MK7N6KiE2w6 9Xz6u4qdahy0LI9WhaFK/lyoXeoeyTIRv3jDEuQ+1axa99t2wwYOv3R4ZYP7Nf33NHcF h/ifupziL/bRk8bMH6nIbZRqrxAaPuu8HhFAWxW4P1w0jDAp4QjTtN/sMy8BVDVsBKeJ 5XqZMH2ZHCMbswWDflwfuj2IwwEkK5sK41ABrUURUYOQM0CqIeNKuZ/QR+TlG/5OyQY4 UAK2fLKyhInTzveMOSTFN0HX58oaY6FSzzY0nRCsLMpkwG8QaNeop7L+F9Ub+d7NkC/G +g1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ACuhHqUyAOgeit1pJS1MxY6/38vCSWpT3UKaTx8+/JY=; b=ublD+m8Lb0h/lQy72hzIV2a2CdZzKbIzOfvSrlYIxtV2EK/nzUarEH8eGkDXCtQyZs fkcXFdob0nB5s5V6H71fHLSLnBPNw1k5T3EHHSznVYJ40DRyWPlozCKMil3ksvk2THcs KVkCzM4T0EKa1GhuLIWXDGzJWL1tB8cfPmVCV78yzvitJ3yogNlflshwffsSiy/5AfjE MlE1H3unSrLNAGg+/+bwVrgR5OtTL9jz5ArsMAknwKQsUg49b665+s72sn6RzFct6mRr LJqqautGEz/oI/UiFa/BaazfLe338spAKOOoFkdMRH8k0hDBTEyoTOrdGDvsGel5uDJw 999A== X-Gm-Message-State: AOAM532ioqiEMEqoY77IZYJulT+vuCFTJB3a5sxBcVcfsKYmf1qKsW8q td4DCMYLD/vuEiAIglCtAWC18g== X-Google-Smtp-Source: ABdhPJwZRlj953gT/ow/PoTz03HbJCu8kx7ksSmJH59sdocGmJhel18R3yS87cxTtuQ5kIlJ9yN83w== X-Received: by 2002:a1c:f706:: with SMTP id v6mr4569286wmh.85.1611665166044; Tue, 26 Jan 2021 04:46:06 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.46.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:46:05 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 18/21] clk: qcom: clk-rpm: Remove a bunch of superfluous code Date: Tue, 26 Jan 2021 12:45:37 +0000 Message-Id: <20210126124540.3320214-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/qcom/clk-rpm.c:453:29: warning: ‘clk_rpm_branch_ops’ defined but not used [-Wunused-const-variable=] Cc: Andy Gross Cc: Bjorn Andersson Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-arm-msm@vger.kernel.org Cc: linux-clk@vger.kernel.org Signed-off-by: Lee Jones Reviewed-by: Bjorn Andersson --- drivers/clk/qcom/clk-rpm.c | 63 -------------------------------------- 1 file changed, 63 deletions(-) diff --git a/drivers/clk/qcom/clk-rpm.c b/drivers/clk/qcom/clk-rpm.c index f71d228fd6bd5..a18811c380187 100644 --- a/drivers/clk/qcom/clk-rpm.c +++ b/drivers/clk/qcom/clk-rpm.c @@ -73,62 +73,6 @@ }, \ } -#define DEFINE_CLK_RPM_PXO_BRANCH(_platform, _name, _active, r_id, r) \ - static struct clk_rpm _platform##_##_active; \ - static struct clk_rpm _platform##_##_name = { \ - .rpm_clk_id = (r_id), \ - .active_only = true, \ - .peer = &_platform##_##_active, \ - .rate = (r), \ - .branch = true, \ - .hw.init = &(struct clk_init_data){ \ - .ops = &clk_rpm_branch_ops, \ - .name = #_name, \ - .parent_names = (const char *[]){ "pxo_board" }, \ - .num_parents = 1, \ - }, \ - }; \ - static struct clk_rpm _platform##_##_active = { \ - .rpm_clk_id = (r_id), \ - .peer = &_platform##_##_name, \ - .rate = (r), \ - .branch = true, \ - .hw.init = &(struct clk_init_data){ \ - .ops = &clk_rpm_branch_ops, \ - .name = #_active, \ - .parent_names = (const char *[]){ "pxo_board" }, \ - .num_parents = 1, \ - }, \ - } - -#define DEFINE_CLK_RPM_CXO_BRANCH(_platform, _name, _active, r_id, r) \ - static struct clk_rpm _platform##_##_active; \ - static struct clk_rpm _platform##_##_name = { \ - .rpm_clk_id = (r_id), \ - .peer = &_platform##_##_active, \ - .rate = (r), \ - .branch = true, \ - .hw.init = &(struct clk_init_data){ \ - .ops = &clk_rpm_branch_ops, \ - .name = #_name, \ - .parent_names = (const char *[]){ "cxo_board" }, \ - .num_parents = 1, \ - }, \ - }; \ - static struct clk_rpm _platform##_##_active = { \ - .rpm_clk_id = (r_id), \ - .active_only = true, \ - .peer = &_platform##_##_name, \ - .rate = (r), \ - .branch = true, \ - .hw.init = &(struct clk_init_data){ \ - .ops = &clk_rpm_branch_ops, \ - .name = #_active, \ - .parent_names = (const char *[]){ "cxo_board" }, \ - .num_parents = 1, \ - }, \ - } - #define to_clk_rpm(_hw) container_of(_hw, struct clk_rpm, hw) struct rpm_cc; @@ -450,13 +394,6 @@ static const struct clk_ops clk_rpm_ops = { .recalc_rate = clk_rpm_recalc_rate, }; -static const struct clk_ops clk_rpm_branch_ops = { - .prepare = clk_rpm_prepare, - .unprepare = clk_rpm_unprepare, - .round_rate = clk_rpm_round_rate, - .recalc_rate = clk_rpm_recalc_rate, -}; - /* MSM8660/APQ8060 */ DEFINE_CLK_RPM(msm8660, afab_clk, afab_a_clk, QCOM_RPM_APPS_FABRIC_CLK); DEFINE_CLK_RPM(msm8660, sfab_clk, sfab_a_clk, QCOM_RPM_SYS_FABRIC_CLK); From patchwork Tue Jan 26 12:45:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046509 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=-15.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNWANTED_LANGUAGE_BODY,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 51C53C433E0 for ; Tue, 26 Jan 2021 13:07:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 157DD2310E for ; Tue, 26 Jan 2021 13:07:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391999AbhAZNHU (ORCPT ); Tue, 26 Jan 2021 08:07:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391983AbhAZMtB (ORCPT ); Tue, 26 Jan 2021 07:49:01 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1D9DC035435 for ; Tue, 26 Jan 2021 04:46:10 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id a9so16317559wrt.5 for ; Tue, 26 Jan 2021 04:46:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hwOEDN9pFoMRn0bPIH5AwWEBMRWoq5VkGdsYNSR9FGE=; b=cZz01X+VWuBj+9uDKkkXPXM9//fkRR9GHvUotrvnK/n1yjzEnawXB+dGxsS7z9inSF WgG0hLmw8aPkRHv2dpc44VQiBduw1TiWcMJP3SJBGYIs7h3MQ441bXddZcUs0LI6hr+L /jOxSZcoUciHMHscXa1VxI9h9IsFwA20YgG3ApzWADK/Ks5WmuiVESxKQrjI52wsgxjz /+D/Uk6PjuvauamZ7S6/332je+0L8ICB5iLI8emZUdBKZzxo4fsE1pKTt8BMHnxKtKdt Vf9+KwYyK135SHqf8I6fWJkHsF3QmX7LsVpgIIIYzcLiQ0ay4mUcrqpt4n/KLGDWeH/L qfCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hwOEDN9pFoMRn0bPIH5AwWEBMRWoq5VkGdsYNSR9FGE=; b=K1A3IXEafR0YSxKmlbBQoyVCSFtdLDZDGQdwfizILY60K5CoU2yK2W1ff5QLSNv4Re bcHKL4ywrlXv5+EhRccJpk7ZG9Zz5nPi+mJ3NzFl9PRK5xmbTDFuVBBuAmOaDeZ6ov88 n6QOJZiSQvbgdcGxAriUYztcKw7I2ies3Bqdl4r8/d25ygsG3ctsjcbmxImmDTyV2UkN s4CBp5h2sGi7SqZbaAGyDuB+9ymXvsrK+16Kbw6he7u/a2wv6s4soKZU3Siw+PjMdP0s CvXe/jj0Xxp7YjiAIGjQPVGE62t/7V+CFDTZphWfg0BzDDuOtywME4Sd3zdxeU9Ouso0 8pyA== X-Gm-Message-State: AOAM532MTiUO4B2VXCbgGbKBIaATxWCg7Qqiw7EDrbsL15kb/nLiwDxj nzZtoaKjXWpCQdagZpFg80c7zQ== X-Google-Smtp-Source: ABdhPJzSQDfP81pbHTeNqSO7T6XdRtI37YTtqJ1RLv7NXMg826rJtq9xTgY1rh1yu6cBbuWypkDCeg== X-Received: by 2002:a5d:6347:: with SMTP id b7mr5805047wrw.233.1611665169480; Tue, 26 Jan 2021 04:46:09 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.46.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:46:08 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Michael Turquette , Stephen Boyd , Michal Simek , Rajan Vaja , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 21/21] clk: zynqmp: divider: Add missing description for 'max_div' Date: Tue, 26 Jan 2021 12:45:40 +0000 Message-Id: <20210126124540.3320214-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/zynqmp/divider.c:46: warning: Function parameter or member 'max_div' not described in 'zynqmp_clk_divider' Cc: Michael Turquette Cc: Stephen Boyd Cc: Michal Simek Cc: Rajan Vaja Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/clk/zynqmp/divider.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/zynqmp/divider.c b/drivers/clk/zynqmp/divider.c index 66da02b83d393..e9bf7958b8218 100644 --- a/drivers/clk/zynqmp/divider.c +++ b/drivers/clk/zynqmp/divider.c @@ -35,6 +35,7 @@ * @is_frac: The divider is a fractional divider * @clk_id: Id of clock * @div_type: divisor type (TYPE_DIV1 or TYPE_DIV2) + * @max_div: maximum supported divisor (fetched from firmware) */ struct zynqmp_clk_divider { struct clk_hw hw;