From patchwork Wed Jan 20 09:30: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: 12031781 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=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 7AD56C433E6 for ; Wed, 20 Jan 2021 09:32:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 29AB021D79 for ; Wed, 20 Jan 2021 09:32:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 29AB021D79 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VupLbRuBiFQe/HFgjUsGm0P9rZNeJZujMHT2hLCfyno=; b=DJcx0YQW3iDAuqUl6BmIYJ+RK z8nlgyZKfmITd3BTlLWXnp7E9WXv9Sjas46MwTXh7QLqHVedZpTtEu8SpMbLtlpZzj/CrQOL5uKMj ys387u+IEFeZn7yLM213JzW90Ex+SBbMRXd++n+0nO34OFNU9zPTzOnm6gz5XzXzaPs0LERvMEKFB 9qyXcp5vyWfX1XtpOPnNWN0xAHXHbBVaIFkQqa8t7C1awLXrZo/RWRFE7mycwvKIKQS7rE7EzNoBK OGBv7E7NncC/E6k9j4tEm7wjweY9H+UgGu80d85RtPOZOyAA5cNXg/4fOxMM004zpGKkQXSzYH2sM frK7Zz/gw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29pL-0000yR-Hb; Wed, 20 Jan 2021 09:30:59 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29p8-0000sd-O3 for linux-arm-kernel@lists.infradead.org; Wed, 20 Jan 2021 09:30:49 +0000 Received: by mail-wm1-x32c.google.com with SMTP id u14so2175779wmq.4 for ; Wed, 20 Jan 2021 01:30:46 -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=bN1EA9Jtu/mSRFpfLqJ4hYJd1C2lXhS1XjJCl6CFg1g=; b=zFYfx91XPKACjv/flqRWziV33Y4m/EmmyZgP+idh0JI5dCaeislX7SISmaLy2s4VR7 TIc1ogI7o6CjxnsWalSTE5E/3mDU/Dt9phL15/9AbLNEQW72xnXogiNhgutU8MmGoO93 Jv4du5hB7Px9HKxcCnEB1RVI476qeKJqLJo8S6/DiBQJ72je2SmV2umD81hzKuyPpm7k LbS+mWh5mZyQUje328YOPnyARiClql6txorS+c+WVnuF4iSZJCSE7JIz3KQJRmL5wwsC hmSNKVZDLydPhFLGljT+Jfv+sefoEExI+oL65ad3J1xNjCFPK4zzlSzB7xU349ywBE/U 7msQ== 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=bN1EA9Jtu/mSRFpfLqJ4hYJd1C2lXhS1XjJCl6CFg1g=; b=AT7GLFtNvllRsQZPC9HyMwSDXP8HQV0Z1kSyPx+HbUAmevoDuZfkUlR3U2QdbYFeiv gfi/+LZbcA8XZLkWriWQKhDHM/+4vG9Tr+kTpPzH+RxdGHgtp4BcaMhRt0VAgm/6+RK4 AFipNv4+WpnEBcm2c9satqkIxcH0O7LkYeh8IrIjdCnoSC36nbpRqOil7dEO0usfcEjT e+fxhBXZhliBW4Wy7eMRBz5ndB2Ktmkbihj2XrrRORgtcMeohRKR3TG955wtFxU6t4cl Y4eHA1jS//N4cqewt9tZ2Tq+yJJZnz6o72hPnUBLwFatbOFZ9v8BN328b1XfYOHgoUbm CdTQ== X-Gm-Message-State: AOAM533/el1jmMjc0pPMsWL+sk8Bn78F/UsTXyuEhK9NXq+ROMrvKucI hFW3GuaL2jc4cAGzkF/o4WK9RA== X-Google-Smtp-Source: ABdhPJy0QU7f/Vsm0leMTTjzvUhzClwhW+2h4hj2Ui406VthDvXgvODPTyr3pTl1F0dkQzpvKhwYUg== X-Received: by 2002:a1c:9d8b:: with SMTP id g133mr3413636wme.44.1611135045419; Wed, 20 Jan 2021 01:30:45 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id z130sm2889201wmb.33.2021.01.20.01.30.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 01:30:44 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 01/20] clk: rockchip: clk: Demote non-conformant kernel-doc headers Date: Wed, 20 Jan 2021 09:30:21 +0000 Message-Id: <20210120093040.1719407-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210120093040.1719407-1-lee.jones@linaro.org> References: <20210120093040.1719407-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_043046_812074_B1704D9A X-CRM114-Status: GOOD ( 15.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , Xing Zheng , Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Thomas Abraham , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'name' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'parent_names' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'num_parents' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'base' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'muxdiv_offset' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'mux_shift' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'mux_width' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'mux_flags' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'div_offset' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'div_shift' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'div_width' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'div_flags' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'div_table' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'gate_offset' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'gate_shift' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'gate_flags' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'flags' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:45: warning: Function parameter or member 'lock' not described in 'rockchip_clk_register_branch' drivers/clk/rockchip/clk.c:180: warning: Function parameter or member 'hw' not described in 'rockchip_fractional_approximation' drivers/clk/rockchip/clk.c:180: warning: Function parameter or member 'rate' not described in 'rockchip_fractional_approximation' drivers/clk/rockchip/clk.c:180: warning: Function parameter or member 'parent_rate' not described in 'rockchip_fractional_approximation' drivers/clk/rockchip/clk.c:180: warning: Function parameter or member 'm' not described in 'rockchip_fractional_approximation' drivers/clk/rockchip/clk.c:180: warning: Function parameter or member 'n' not described in 'rockchip_fractional_approximation' Cc: Michael Turquette Cc: Stephen Boyd Cc: Heiko Stuebner Cc: Xing Zheng Cc: Thomas Abraham Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-rockchip@lists.infradead.org Signed-off-by: Lee Jones --- drivers/clk/rockchip/clk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/rockchip/clk.c b/drivers/clk/rockchip/clk.c index 336481bc6cc72..049e5e0b64f62 100644 --- a/drivers/clk/rockchip/clk.c +++ b/drivers/clk/rockchip/clk.c @@ -24,7 +24,7 @@ #include #include "clk.h" -/** +/* * Register a clock branch. * Most clock branches have a form like * @@ -170,7 +170,7 @@ static int rockchip_clk_frac_notifier_cb(struct notifier_block *nb, return notifier_from_errno(ret); } -/** +/* * fractional divider must set that denominator is 20 times larger than * numerator to generate precise clock frequency. */ From patchwork Wed Jan 20 09:30: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: 12031785 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=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 6E7FDC433E6 for ; Wed, 20 Jan 2021 09:32:50 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2E57222D08 for ; Wed, 20 Jan 2021 09:32:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2E57222D08 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lslCKr8mxfH0+zhhRk7TfjGt//4bQPrqRQJ5rHsCkDc=; b=L3Y7htdKOu3N/hT0C0T/4TIcZ /AKJXnqVRRKNy/duwAK6CQLG7J43viP9MZGeBwpdZdTgz/rOh3X/dgF+1QVkg0p8tnOc4FdETEWx+ vv6x3KaYVT4TR5heieV2CKQBTJoMMO2TnwKINKAt9r5I8sqbbA9CAMZpqIlnbRrqfexlkDIeUFPqB hxxZtsYBE/ZZIam/Et8KyBemqhE85uWZDs14Nq15Dd47mwCZ0O/2x8gAj5BCxv+FLp3jsGEwUBhsU LAGdtmoHu1wOXgHzOLRjL6eAqKo2v5bjv57y+ymA2nWdtjibH0TXCWByP8yhavIMjkuQtaVny7a/A BW0m28qYA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29pV-00012X-VO; Wed, 20 Jan 2021 09:31:10 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29pA-0000ta-2M for linux-arm-kernel@lists.infradead.org; Wed, 20 Jan 2021 09:30:51 +0000 Received: by mail-wm1-x336.google.com with SMTP id e15so2203215wme.0 for ; Wed, 20 Jan 2021 01:30: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=PqNANroWmMHlO1pRmhfJauWaSkV5jIwl7ipaqnMtcdc=; b=r0xJj3iB0NP1VzuG0B7s27YaKBg2dVt5KTN1XK54fbdJh0jq3G54zNMhnwwnyHT/PE tdsDlrHxHhQyOfxYkld8cwEZY9gbcAuJ87kUf6Fi2u7nqvFZ/lY+tMnvnavmzSybTP5a THX6J+XYLf/EDt62ObOWuQzrnu5L68ef/NL8d+2In/tmQaq98NILRUzgTy91mue5ljku QEb6rPIVAGiYwD2p1k1gqAcR5ZEDUcdpTTpOqoAonBKL2XcyYjHkuciDAt/4/4s/w788 aYnWkFiI9ezQgbL8qWVj77H+i4lyNQEbtuF1/HgDSyM9gLCNRWieZJ6f889c5RAWifpI 1e3g== 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=PqNANroWmMHlO1pRmhfJauWaSkV5jIwl7ipaqnMtcdc=; b=WSO9N5VeIkEhiy1m3HGsDjJFW920mcBk8x5swgJgNHUsjenulhr1g4qLHBtGArT5Wt FvqhamAAvrz8QP5CrWtrMvmKqt4G9OkBPK4sEoPZrYNkiqOu+l1vEOgIevTOAIMnuZ90 BqcVNuOKIVpjFbFxg7/G2ATuVVRBmE6iRoMVi9uQ02mvnAGRQAY/fhxQUgWUcMMUzTJv vF+L1mGAM/JgBiKDvaT+7mMnWnY36I9BUEVIXfCGgFOINPoyQzGRZVEjsU5sxCd6Djrd uSmeYnao+SIJetWX39PNbFUe55SAbsKx+PycZXXSNLhggXEb3x9k7kEYZPmyIYE/uAX9 1tAg== X-Gm-Message-State: AOAM530sDBWoaQIEfR3KzCVfh68JYXZnHlSMmUEhZ84WwyV1z7i7e92D Egkc4Tv/eqiCSXf0GUNIdp0oSA== X-Google-Smtp-Source: ABdhPJwsXAxMF8Ve1yt/YsnaYPprvYXsGFiL+2XiIwlYnp0wwtvGw07v4C3WFGTMZ5NOkVV9nw9TSw== X-Received: by 2002:a1c:9c84:: with SMTP id f126mr3505815wme.152.1611135046604; Wed, 20 Jan 2021 01:30:46 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id z130sm2889201wmb.33.2021.01.20.01.30.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 01:30:46 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 02/20] clk: rockchip: clk-cpu: Remove unused/undocumented struct members Date: Wed, 20 Jan 2021 09:30:22 +0000 Message-Id: <20210120093040.1719407-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210120093040.1719407-1-lee.jones@linaro.org> References: <20210120093040.1719407-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_043048_149708_E3A26166 X-CRM114-Status: GOOD ( 12.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Thomas Abraham , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/clk/rockchip/clk-cpu.c:65: warning: Function parameter or member 'cpu_mux' not described in 'rockchip_cpuclk' drivers/clk/rockchip/clk-cpu.c:65: warning: Function parameter or member 'cpu_mux_ops' not described in 'rockchip_cpuclk' Cc: Michael Turquette Cc: Stephen Boyd Cc: Heiko Stuebner Cc: Thomas Abraham Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-rockchip@lists.infradead.org Signed-off-by: Lee Jones --- drivers/clk/rockchip/clk-cpu.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/clk/rockchip/clk-cpu.c b/drivers/clk/rockchip/clk-cpu.c index 0dc478a19451b..fa9027fb1920a 100644 --- a/drivers/clk/rockchip/clk-cpu.c +++ b/drivers/clk/rockchip/clk-cpu.c @@ -51,10 +51,6 @@ */ struct rockchip_cpuclk { struct clk_hw hw; - - struct clk_mux cpu_mux; - const struct clk_ops *cpu_mux_ops; - struct clk *alt_parent; void __iomem *reg_base; struct notifier_block clk_nb; From patchwork Wed Jan 20 09:30: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: 12031783 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=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 A2B5CC433E0 for ; Wed, 20 Jan 2021 09:32:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 40D8521D79 for ; Wed, 20 Jan 2021 09:32:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 40D8521D79 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ojTQBykAylItf59uN+vH0DY7fLt2Usx5ptI/n7nph1k=; b=P5WU83SnMBJbEpnCvuxdoCPfq jxStECqoS6v4j4EH1y3vVZtEoNtsBiQlZ3IqLqTXneyapvFE1JORuHYsq8FD2B04m+sMVXGB8TeCJ Fq198BZ96EiXWCck/fPMvGiXa59blptceYsk02tvxNFVlgNHwCmuUnv8jbyDwMOcTe5+yxu1+winM kl6+WgJCRFCMFUz+43I9v3DKV6Kp6KTPQlizr3RsSWhl+XJTsjX4yg3+dOInJ4+VKnctQ6XMuyo0e 4cuG7I4ZHbhhzFSIJWmIWqvPEkWZJQ3RgY0pw37cAAuHChYE/+kyCucgCS26xPBPjuen1dcIYLTin 7/NnNZ9yA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29pg-00015p-CV; Wed, 20 Jan 2021 09:31:20 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29pB-0000u3-4F for linux-arm-kernel@lists.infradead.org; Wed, 20 Jan 2021 09:30:52 +0000 Received: by mail-wr1-x434.google.com with SMTP id y17so22374192wrr.10 for ; Wed, 20 Jan 2021 01:30: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=yKuuR4wyj2fWlRIK+EKlFxHaqO4Ik4r36A/blNvBUws=; b=DIvBQakzIghVLP5ZRiLIIk76X0nPl+XMwv0GEsSui7fhaPObPa2RRoeC5vLmI46t+9 0J8F7W9pM9FtV7GG39c9ZhJuoXJOnXKDFEtfBnHUm1Zu86NWbje0uoE96V8beoCS736d 0EcIrfgUlc1tdGBM8Iqhu6n7qhw8UmEAYEee6oboUVo9LNL5jjHtJcwRM4OtpOw5cBzM 4f9IJYsbGIYrHf8ab3zTb8IZP3jKVeDxoZVxhuYve4it/wHpstW+l/njlAZUdGuF/bgL NpVn4KuGqXcoC3KPlwRhsG6tdeTtP3yzZEdcX0m8QvqtLwBMp0JaPj/1s0M77Eze8x6T 1DLA== 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=yKuuR4wyj2fWlRIK+EKlFxHaqO4Ik4r36A/blNvBUws=; b=jaugtO+igic4J5dzMEeFbsgz04xc6g5aaLiKE65pGdezn57aUo3kcHD9rICsQ5Q0bf U+ubtIFX/44DK+eQrcOOIcExdI3fSzPAgErirXcUbNcus8et9ufwaJUvTgIDqGr7qgLc E+pryR6fEMGYi9P8kY48Vt/PnSGnl5MkV5iOoFRqxxgz/2raW/pDo2wZ8sfeTFTlF8uv x4pgjd7Iifmq2KQI3BPUTKCx1PXmS+9raqj2Q+tI6EKovKnhJtwi2QQwoFI9yvwAzJpT C5dwJmXTl+emsVQLFTUf0ockeP/B0GKBbpoP0TK3gsN3W39+eFrsHNp70B0Gsb5ronqw GYAA== X-Gm-Message-State: AOAM530k3nwY1MBZTEKZhHfLvguYcjuRNnSRdKoSijrRA+Y3ueKRVgHX BitiZRTqn/VwsS3I+QGu0/aeuA== X-Google-Smtp-Source: ABdhPJzkANdQfSHYBemOqLUzk1mQilYRQs50FdyxtrCmZ5LECdlrx9Qh+/KOY40JABAEyKPBigBseg== X-Received: by 2002:adf:e54a:: with SMTP id z10mr8481420wrm.1.1611135047757; Wed, 20 Jan 2021 01:30:47 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id z130sm2889201wmb.33.2021.01.20.01.30.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 01:30:47 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 03/20] clk: rockchip: clk-pll: Demote kernel-doc abuses to standard comment blocks Date: Wed, 20 Jan 2021 09:30:23 +0000 Message-Id: <20210120093040.1719407-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210120093040.1719407-1-lee.jones@linaro.org> References: <20210120093040.1719407-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_043049_401693_984F6B1F X-CRM114-Status: GOOD ( 13.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , Xing Zheng , Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/clk/rockchip/clk-pll.c:104: warning: Function parameter or member 'i' not described in 'RK3036_PLLCON' drivers/clk/rockchip/clk-pll.c:365: warning: Function parameter or member 'nr' not described in 'RK3066_PLL_RESET_DELAY' drivers/clk/rockchip/clk-pll.c:584: warning: Function parameter or member 'i' not described in 'RK3399_PLLCON' Cc: Michael Turquette Cc: Stephen Boyd Cc: Heiko Stuebner Cc: Xing Zheng Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-rockchip@lists.infradead.org Signed-off-by: Lee Jones --- drivers/clk/rockchip/clk-pll.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/rockchip/clk-pll.c b/drivers/clk/rockchip/clk-pll.c index 4c6c9167ef509..fe937bcdb4876 100644 --- a/drivers/clk/rockchip/clk-pll.c +++ b/drivers/clk/rockchip/clk-pll.c @@ -97,7 +97,7 @@ static int rockchip_pll_wait_lock(struct rockchip_clk_pll *pll) return ret; } -/** +/* * PLL used in RK3036 */ @@ -358,7 +358,7 @@ static const struct clk_ops rockchip_rk3036_pll_clk_ops = { .init = rockchip_rk3036_pll_init, }; -/** +/* * PLL used in RK3066, RK3188 and RK3288 */ @@ -577,7 +577,7 @@ static const struct clk_ops rockchip_rk3066_pll_clk_ops = { .init = rockchip_rk3066_pll_init, }; -/** +/* * PLL used in RK3399 */ From patchwork Wed Jan 20 09:30:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12031831 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=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_NONE,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 4E3A0C433DB for ; Wed, 20 Jan 2021 09:33:33 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E8D2021D79 for ; Wed, 20 Jan 2021 09:33:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E8D2021D79 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=J7jI97M5S4bQyMze3dfn92zH5PRdIsqIqs2ob5U08l8=; b=rMR/CsIJ0i1vvsPG4y50HGZRL yhVVohFaf6LnbFGk2UK41xoH8Ehx6OtYpmwMaXRXE70kz6igslUeIHTM0FTtXHriVXSlHCCqzJ/yn pGwMn6I6bRV8/Fknq8wzF1tWRcjA3iYRCkJT3xAHoPjVd2AH5NG7VKhFXT+ES6J6tM4xukZVFpEIH F3CYCO4ol8yQepLcyYNInZ+WqaZZIMPbXsvFJhxuoW8+y8pEvSf/pwoqPD8duizYf0ZI7zkqbmrqN uSoiksk0ZPsDtlLQnphe7Hb0P0wORV0s4CDJkwBsPoNGYP21lNI1SV7Ov5I1W58Olk18N2SWm/URE g+WHvDVqw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29q0-0001BD-1F; Wed, 20 Jan 2021 09:31:41 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29pC-0000uR-4d for linux-arm-kernel@lists.infradead.org; Wed, 20 Jan 2021 09:30:52 +0000 Received: by mail-wr1-x429.google.com with SMTP id v15so18719005wrx.4 for ; Wed, 20 Jan 2021 01:30: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=mIiZ6UdkfZ1pzms9iuBNbuiycjVakqbZxBNbxqLfJT0=; b=XmAXV4QTvia9d7Vz/pwW/8VDwM1KnqnvenvY8gWiIM4kU7VmW018gvcjDYTBZDGLvn UNJcx0c3Lwhntubpnh/K+KYhcJaeWY30f+AL9iD/SAeDtsB+S61sU2SMHk4dn5mOwoS/ gkuzsCjm1midnauwlSPHSouHc3o7UsEj4f9W0dnnIiKfXnzmqv8zUTrmowL2VUJ7/PcX ltN/5JSGkyzRH5oWfc+tLKMCHxJvUC2JP9R0B39FOMBN5sBg/4OF6GEtcKxF+osaJtry HvD73sMOxl1aYjWXlzgbgZ61Eb+G6SNv9ppWLJiTsd4DVDv9n9S2C8z0CY6ankFpaOJP ey1g== 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=mIiZ6UdkfZ1pzms9iuBNbuiycjVakqbZxBNbxqLfJT0=; b=gthPo1dp8uLYaxnaBVOeN3SUU22sL817A2ChoBD7JRHaR/ZcworJD1adQCGPkw8mpz ztPgGRYReRUlNLcxCZ8sXJLwZpze2L4tMhe0+Ma6eJWr1NbFQRxZ4il2l54E1ekCXDFm MSxAPO9q9Yzlgel1vjMM+oEzoSH72OhzhVBgWeCrSQh9DBXcMDQV6Vjc6t4AuTp/wguR W1xjh7s4arxnLSYd7Qfm/4+ZEnW6pxAJb7cdJAbOxN4MVeMRs2GRaP5f6HSjfpL+9dtT NfTohs/16wgCMWiTXYTT++DWAsqh/h4m2BTRzzriDRRuBS0SpicsfyHC3pehO2Rx8NF9 JPDA== X-Gm-Message-State: AOAM531VXEu8Dop6+sJysRhsEaJ0MY477Qcxjz2xtCfSgJ3FeTwPFNWQ 2G8gaMG05K/xGlFqRvEx353Jqw== X-Google-Smtp-Source: ABdhPJzb9TpEAlS6uB5qzU34JkRauMRiiiQnVSqfLKRcLm1T15iP+zYNBDZVnTR85MF/1qEjQkO7nQ== X-Received: by 2002:a5d:6311:: with SMTP id i17mr6328988wru.195.1611135048804; Wed, 20 Jan 2021 01:30:48 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id z130sm2889201wmb.33.2021.01.20.01.30.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 01:30:48 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 04/20] clk: rockchip: clk-half-divider: Demote non-conformant kernel-doc header Date: Wed, 20 Jan 2021 09:30:24 +0000 Message-Id: <20210120093040.1719407-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210120093040.1719407-1-lee.jones@linaro.org> References: <20210120093040.1719407-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_043050_237369_B69716DB X-CRM114-Status: GOOD ( 14.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/clk/rockchip/clk-half-divider.c:168: warning: Function parameter or member 'name' not described in 'rockchip_clk_register_halfdiv' drivers/clk/rockchip/clk-half-divider.c:168: warning: Function parameter or member 'parent_names' not described in 'rockchip_clk_register_halfdiv' drivers/clk/rockchip/clk-half-divider.c:168: warning: Function parameter or member 'num_parents' not described in 'rockchip_clk_register_halfdiv' drivers/clk/rockchip/clk-half-divider.c:168: warning: Function parameter or member 'base' not described in 'rockchip_clk_register_halfdiv' drivers/clk/rockchip/clk-half-divider.c:168: warning: Function parameter or member 'muxdiv_offset' not described in 'rockchip_clk_register_halfdiv' drivers/clk/rockchip/clk-half-divider.c:168: warning: Function parameter or member 'mux_shift' not described in 'rockchip_clk_register_halfdiv' drivers/clk/rockchip/clk-half-divider.c:168: warning: Function parameter or member 'mux_width' not described in 'rockchip_clk_register_halfdiv' drivers/clk/rockchip/clk-half-divider.c:168: warning: Function parameter or member 'mux_flags' not described in 'rockchip_clk_register_halfdiv' drivers/clk/rockchip/clk-half-divider.c:168: warning: Function parameter or member 'div_shift' not described in 'rockchip_clk_register_halfdiv' drivers/clk/rockchip/clk-half-divider.c:168: warning: Function parameter or member 'div_width' not described in 'rockchip_clk_register_halfdiv' drivers/clk/rockchip/clk-half-divider.c:168: warning: Function parameter or member 'div_flags' not described in 'rockchip_clk_register_halfdiv' drivers/clk/rockchip/clk-half-divider.c:168: warning: Function parameter or member 'gate_offset' not described in 'rockchip_clk_register_halfdiv' drivers/clk/rockchip/clk-half-divider.c:168: warning: Function parameter or member 'gate_shift' not described in 'rockchip_clk_register_halfdiv' drivers/clk/rockchip/clk-half-divider.c:168: warning: Function parameter or member 'gate_flags' not described in 'rockchip_clk_register_halfdiv' drivers/clk/rockchip/clk-half-divider.c:168: warning: Function parameter or member 'flags' not described in 'rockchip_clk_register_halfdiv' drivers/clk/rockchip/clk-half-divider.c:168: warning: Function parameter or member 'lock' not described in 'rockchip_clk_register_halfdiv' Cc: Michael Turquette Cc: Stephen Boyd Cc: Heiko Stuebner Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-rockchip@lists.infradead.org Signed-off-by: Lee Jones --- drivers/clk/rockchip/clk-half-divider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-half-divider.c b/drivers/clk/rockchip/clk-half-divider.c index ccd5c270c2132..64f7faad2148f 100644 --- a/drivers/clk/rockchip/clk-half-divider.c +++ b/drivers/clk/rockchip/clk-half-divider.c @@ -145,7 +145,7 @@ static const struct clk_ops clk_half_divider_ops = { .set_rate = clk_half_divider_set_rate, }; -/** +/* * Register a clock branch. * Most clock branches have a form like * From patchwork Wed Jan 20 09:30:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12031829 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=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 D822DC433E0 for ; Wed, 20 Jan 2021 09:33:32 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8336A21D79 for ; Wed, 20 Jan 2021 09:33:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8336A21D79 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JhZKtht5l5ZNxZJFdJetUx/dKk9g2mcxbYDl2410mAM=; b=pT0KSEsOS7Jl1o0JiDvzKEFRh WiXZ+sTn6q6/96Q/6IxY4sMzvTZL+Jg7H0pY6dr4pQLv1aF5bNLfZ97+tAz1XEc3+OQZ5p7RWO4wQ rvZZ8OL9kPsSxOjbhw3WAIsjfK5CAvsKTeBIetL8It9Ds80H4/Wf+21q3gt2hLoxGw0iJUnjrNl4i LsBw38mP5GTfylPW0nwtCUfVZ8Zo6qmUA/PgzBW6lRUfdictnS+YkVOUxoiOea5rhSIfV0H6Zr/rH P953vw/6zYhBICtr7Das5tfZ4xuP94lk4uX0ak1ZirNRkE/l2MDPhmC5KKGmgNFNW5Ouc30NIffg3 cqOkYjoFQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29q9-0001FA-AM; Wed, 20 Jan 2021 09:31:49 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29pD-0000vf-6R for linux-arm-kernel@lists.infradead.org; Wed, 20 Jan 2021 09:30:54 +0000 Received: by mail-wr1-x436.google.com with SMTP id q7so446597wre.13 for ; Wed, 20 Jan 2021 01:30: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=6/9ceGuP2+USnecXvRgfX3tvKaOryov7Wtt62UymmUI=; b=zsUrflxnAFc3IYIoSFc8k7W7CGDz3d03oEmgRPfbTwW3ESR2Dd1HAIRTyGM1OLiVfI p6Y1uTIvaMxcPEMqPh/evVtCuoHbIvzxPeqSXptIr5Uo0WtScNxE0Z0ZdUGqOFpBGGhZ wTEXcO0uGLIFXtnwB4uVdwmzd7P36XWmOSE6JIfEZ4Bc9pE73igQ9hrjpMG0FJ9lIS2Q iMiLtWwNDQMYvpJDyDcGYWR7BtFEacGsBhnedZBrcm30nNzCCvl+4v6IXQ02v5ia8t+C 4YEMjg5866/ByZseWyjDneNiGU6Qc/TBPm8wlm3Qf1xdt0vr0dM81wLvPl6sAejuOB+F /CMg== 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=6/9ceGuP2+USnecXvRgfX3tvKaOryov7Wtt62UymmUI=; b=XFpk/7knUnoyK3nOIicuN1rI07yruP4lMyJSovQ10jNADcoao5wa2EyYSv8bhLPgFd V7UGAAnliJca8xZ27f8aTfcCks7UNV8e1M3hv5Pp6W3pVfylZsFdU+A17MA6DlTWIwpR /X27Wf9pmeLfkDdAzVHxPsnDjMA3kumu7/vZoEFrH6dHhCsicbRI40Hr9Y1f+8acEplr jkR9HsAuN30gZId6ijoOWCVtNK9oGtDKCCmA/4y/kb5F9FstHEIpPOweAMfHjDznJGKF Pi/N66aHVii4iUUl7DxVe68vHvyCZq5FTAn0Ev2rZQBQvGJWZVREUhB/d1J63Uc3XZBe TM0Q== X-Gm-Message-State: AOAM532GOV75KsNImEnjYMcZppsDbvW7wmImqWkc7sFnMKsZ/ZfnDURM oYTb9yXYF/5z56Ukpd/D6SikQA== X-Google-Smtp-Source: ABdhPJxWJSx1DGb1ljzPDImV+Hf4w4rCdj0LPOUIBwdeWFk2edG0+I7aroI98jI1pCvoDF6IEzLT1g== X-Received: by 2002:adf:ded0:: with SMTP id i16mr2314632wrn.264.1611135049958; Wed, 20 Jan 2021 01:30:49 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id z130sm2889201wmb.33.2021.01.20.01.30.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 01:30:49 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 05/20] clk: bcm: clk-iproc-pll: Demote kernel-doc abuse Date: Wed, 20 Jan 2021 09:30:25 +0000 Message-Id: <20210120093040.1719407-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210120093040.1719407-1-lee.jones@linaro.org> References: <20210120093040.1719407-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_043051_984141_A45F3313 X-CRM114-Status: GOOD ( 14.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Scott Branden , Stephen Boyd , Ray Jui , Michael Turquette , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/clk/bcm/clk-iproc-pll.c:712: warning: Function parameter or member 'pll' not described in 'iproc_pll_sw_cfg' Cc: Michael Turquette Cc: Stephen Boyd Cc: Ray Jui Cc: Scott Branden Cc: bcm-kernel-feedback-list@broadcom.com Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/clk/bcm/clk-iproc-pll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/bcm/clk-iproc-pll.c b/drivers/clk/bcm/clk-iproc-pll.c index 274441e2ddb28..33da30f99c79b 100644 --- a/drivers/clk/bcm/clk-iproc-pll.c +++ b/drivers/clk/bcm/clk-iproc-pll.c @@ -704,7 +704,7 @@ static const struct clk_ops iproc_clk_ops = { .set_rate = iproc_clk_set_rate, }; -/** +/* * Some PLLs require the PLL SW override bit to be set before changes can be * applied to the PLL */ From patchwork Wed Jan 20 09:30:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12031833 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=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 B654FC433E0 for ; Wed, 20 Jan 2021 09:33:44 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5A43621D79 for ; Wed, 20 Jan 2021 09:33:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5A43621D79 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2uous9DNRf1x3LgSdu4zQryyris/uD//C6WSLwQVSw0=; b=kx8mZ3VwGO47Tg8RWdRr2FBmV le6DAgDeTFgFobMc0L3oLzuKKQMRbDqg1xta4wcHTxEk6xNDxRttcrOu20xjUAxDYXLnQGzhDbU/g oy2DngG2qQ8zivdWDHc5SY/jSMYteoSa6zm1rDXCDDDvqsdSlr+2K88Zv+Ww3pUv3tmYvUHBr9KAg e6qqKFBSWCMplLO/PsYODGvyhELM0y7IOkmJS19UB2scmOsdCVAtgy8gesmugj2V9OBQZ9OpS/xov JY19GnREH9YVJo6ZyHebDbv4Ie+6ZkKmPCCq/3uX8/0p8sJfMDyr6t9kZE9cSinglinpEnbQeKTAf lQYzIsRSQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29qS-0001Mq-Hp; Wed, 20 Jan 2021 09:32:08 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29pJ-0000y6-29 for linux-arm-kernel@lists.infradead.org; Wed, 20 Jan 2021 09:30:59 +0000 Received: by mail-wm1-x331.google.com with SMTP id i63so2180569wma.4 for ; Wed, 20 Jan 2021 01:30: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=1CyzRhBdQWuy7NbbbUGcka0gVixtKRd5z8W/5jUM6uQ=; b=opSRLVAxhm/wlOnyPfNYTkIGkaz+7I8D0awfOj8/cW6MfioryWdd3b9OCHmD8IDARc rYPHmSk1kA/ZVs8KqvXHWlxSeSdVGutfnATOGa0jNWvqDNZ8t30f6AttQB/3bmNyCEN7 LRNaIKi6cKwB2l0wsy5t6eICcFltJYoalBLpZdPd56sz8eivoyVOcTzdM7v+njz1cKCS TSQvv75X6S4tRMWB05+B4+hfI86Nk+kr1bsodzsrFXnNO+65uLsFfBh3NrGNZGOYUG2J eV15YaKJla80nYXEzkwI2Ho2UyCjIZ5tiniui4SXzo3qsIhGNwt4M2XbRRVeMMS+5gfx C1SQ== 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=1CyzRhBdQWuy7NbbbUGcka0gVixtKRd5z8W/5jUM6uQ=; b=kv0PQ6mTPgtVvEGdvUAEOYCOkTFkPoZJS5bJHYOK9CWnQlpq9kdZWDl3xvjWpCDacR 3xGHBy/Zo/itKPDIgALc+o2cExTCgfUvKOG3bOegvmgJKRwRye4p4a6UtReQ4Fd1WMFc EZdH+/dyQUWup8udMldr0bJRvrZRMkQdRcqjDRSeT78Bsm9tsX1jLd1C42pZr+BhCBQ/ yczoPV/2jveJyBXkc9AwZI8lnyYV/A+YsrCvHw0WdmXG8P0tMkhevLvN/4QjLCuR+A4+ uCTf6/9LaXto78LlDn/kSrsRrvoXYe+N6PdIPpuGXovPw39P9Nw1rXpc1Yo/A7cBz1pp 4qWg== X-Gm-Message-State: AOAM5339afZzgLD4ESNG6gmTV849fGdlXrmwZfTR/PlnAdiKx0TYrXiT L9NqI0/wYob+DyVg/DHbvNmYCw== X-Google-Smtp-Source: ABdhPJzmWq3xuS8OdEo60LQmwNZROF/cZlYDhVqbDGwlETLLVTrl3eruNCzEnQ7eb8d+ti2f22fv+g== X-Received: by 2002:a1c:e2d7:: with SMTP id z206mr3484728wmg.168.1611135055706; Wed, 20 Jan 2021 01:30:55 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id z130sm2889201wmb.33.2021.01.20.01.30.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 01:30:55 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 10/20] clk: imx: clk-imx31: Remove unused static const table 'uart_clks' Date: Wed, 20 Jan 2021 09:30:30 +0000 Message-Id: <20210120093040.1719407-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210120093040.1719407-1-lee.jones@linaro.org> References: <20210120093040.1719407-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_043057_170002_07AC1184 X-CRM114-Status: GOOD ( 14.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Stephen Boyd , Fabio Estevam , Michael Turquette , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , Shawn Guo , Sascha Hauer , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/clk/imx/clk-imx31.c:54:28: warning: ‘uart_clks’ defined but not used [-Wunused-const-variable=] Cc: Michael Turquette Cc: Stephen Boyd Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: NXP Linux Team Cc: Arnd Bergmann Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/clk/imx/clk-imx31.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/clk/imx/clk-imx31.c b/drivers/clk/imx/clk-imx31.c index 7b13fb57d8428..c44e18c6f63f7 100644 --- a/drivers/clk/imx/clk-imx31.c +++ b/drivers/clk/imx/clk-imx31.c @@ -51,16 +51,6 @@ enum mx31_clks { static struct clk *clk[clk_max]; static struct clk_onecell_data clk_data; -static struct clk ** const uart_clks[] __initconst = { - &clk[ipg], - &clk[uart1_gate], - &clk[uart2_gate], - &clk[uart3_gate], - &clk[uart4_gate], - &clk[uart5_gate], - NULL -}; - static void __init _mx31_clocks_init(void __iomem *base, unsigned long fref) { clk[dummy] = imx_clk_fixed("dummy", 0); From patchwork Wed Jan 20 09:30: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: 12031835 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=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 A6584C433DB for ; Wed, 20 Jan 2021 09:33:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1FCEF21D79 for ; Wed, 20 Jan 2021 09:33:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1FCEF21D79 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=K0/AG8uXqCZTiOjaPtYNKfnb9jBFNrwdrzOoimL9Hfs=; b=BLKPViUZnhl2FIb5n/LwjEJhw E2xRQsXkfZRhD+y8rmCC8P0UqrGB9V+0fVaYTdGYfx6SMulMhnm7yKJVsy5MDyO8V0AttffF8VBQx l8Ut53AxVpH/AdPaZWPrtVYuVYa3JZIAYGIIPLd5SwU7XYJ7qYnWzIdJdEO06kG4dWPBEYtUzhm1/ UUk7fDNP/GgJQx148OaokAMHbLtCliR/reAuDgpBFBCObh9V6CHYDZtDr87WrtsGII1GCIn2J7iEk HPMR6jLkPKwRtL5qtDCqVzcjVOGWqRk6j/2TFPqV4HZvF0aNFsrk6FuCGIgVL5BW39tveefNI/MBj 9m6nchLJw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29qY-0001PM-BK; Wed, 20 Jan 2021 09:32:14 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29pN-0000zc-Ty for linux-arm-kernel@lists.infradead.org; Wed, 20 Jan 2021 09:31:03 +0000 Received: by mail-wr1-x42d.google.com with SMTP id q7so447204wre.13 for ; Wed, 20 Jan 2021 01:31: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=mu8xCztc0AgIARBS5szSrpdQPwfSUoIoG1rzTMM/Vwk=; b=EsuZKp4rqkAfbLaJ6Zgg5MUQDUQ1/lPYc0Ira44cBcDWzwVjzSxYL48gc6q2rTNexX Egeklkm7Eb73cstVN6foJSJ9PKGHytPoZRp4cGufOh28Yuv+4AEvAC06zXmebdyYAz9G n6EMZx0foqpyjP0Rn53FRFj4XP5zSCiG1dQBMHU5DY0T6ZholCFVudiPK8Jlgif4nRpL +x5CabDVTNH4NV2eOAFbwIe89W0ZIFo8GUMfTViy4nNJIXtv1pqj0f8tPu51cIr/jSmP Gvxm7tAz3n01OiAvzYl/7a/HTMWebH7RGtVKZ8zGBOYFAE6fIXQR2zwDCMYtOwpLdAgI 4iFA== 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=mu8xCztc0AgIARBS5szSrpdQPwfSUoIoG1rzTMM/Vwk=; b=t5TixeZ0XncJ3yr45bse0v7NsUel2OMxz/rPGepWPpyUCZHvJr5YMCzuyBKwaQQZpn fxVZjrbeyO8pHAR8vefXRaq/B5pQlG1LK5lcC7GAZWiqB4E63mYeWAX0wKSRhk8/PJXy sjzVYH7YuYpaVjwSMqCfwTk/8KnFqkMMGzZdRthpxZIM04b/2Pd49TGtg2MrV4NATjpE smCDZWEsRv7JUstnccyw/PPN2+waa40GLVujIbRKABVJTjo002b5FzDpxe8GDqmPp2fN TaumDwryPua+8uKugy6RJpAKz78r+LY+Co9gJT2cy667iQ1U9BSZT57ltjasvBK43GKI Z5wA== X-Gm-Message-State: AOAM533Rl0inlN9jCa1rlXjW4bjJkSGFv08GW/Ik9606ydsSDz+MIGq1 DOJnZWKzmD7ylZeDEjPZnn56ig== X-Google-Smtp-Source: ABdhPJwqoP/VfLcHNwCpfnTCoMaX1/gJf0um8tj8jdmEDVhpdjgfnb6XiTOC2d6IV4znwXTumkOMhg== X-Received: by 2002:a05:6000:108b:: with SMTP id y11mr8137126wrw.379.1611135060418; Wed, 20 Jan 2021 01:31:00 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id z130sm2889201wmb.33.2021.01.20.01.30.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 01:30:59 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 14/20] clk: sunxi: clk-sunxi: Demote a bunch of non-conformant kernel-doc headers Date: Wed, 20 Jan 2021 09:30:34 +0000 Message-Id: <20210120093040.1719407-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210120093040.1719407-1-lee.jones@linaro.org> References: <20210120093040.1719407-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_043102_015870_0A78B0AB X-CRM114-Status: GOOD ( 14.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , =?utf-8?q?Emilio_L=C3=B3pez?= , Michael Turquette , linux-kernel@vger.kernel.org, Maxime Ripard , Stephen Boyd , Chen-Yu Tsai , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/clk/sunxi/clk-sunxi.c:34: warning: Function parameter or member 'req' not described in 'sun4i_get_pll1_factors' drivers/clk/sunxi/clk-sunxi.c:81: warning: Function parameter or member 'req' not described in 'sun6i_a31_get_pll1_factors' drivers/clk/sunxi/clk-sunxi.c:158: warning: Function parameter or member 'req' not described in 'sun8i_a23_get_pll1_factors' drivers/clk/sunxi/clk-sunxi.c:202: warning: Function parameter or member 'req' not described in 'sun4i_get_pll5_factors' drivers/clk/sunxi/clk-sunxi.c:229: warning: Function parameter or member 'req' not described in 'sun6i_a31_get_pll6_factors' drivers/clk/sunxi/clk-sunxi.c:250: warning: Function parameter or member 'req' not described in 'sun5i_a13_get_ahb_factors' drivers/clk/sunxi/clk-sunxi.c:289: warning: Function parameter or member 'req' not described in 'sun6i_get_ahb1_factors' drivers/clk/sunxi/clk-sunxi.c:328: warning: Function parameter or member 'req' not described in 'sun6i_ahb1_recalc' drivers/clk/sunxi/clk-sunxi.c:346: warning: Function parameter or member 'req' not described in 'sun4i_get_apb1_factors' drivers/clk/sunxi/clk-sunxi.c:385: warning: Function parameter or member 'req' not described in 'sun7i_a20_get_out_factors' drivers/clk/sunxi/clk-sunxi.c:415: warning: cannot understand function prototype: 'const struct clk_factors_config sun4i_pll1_config = ' drivers/clk/sunxi/clk-sunxi.c:724: warning: cannot understand function prototype: 'struct div_data ' drivers/clk/sunxi/clk-sunxi.c:945: warning: Function parameter or member 'node' not described in 'sunxi_divs_clk_setup' drivers/clk/sunxi/clk-sunxi.c:945: warning: Function parameter or member 'data' not described in 'sunxi_divs_clk_setup' 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-sunxi.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c index e1aa1fbac48a0..5fe7049ea693a 100644 --- a/drivers/clk/sunxi/clk-sunxi.c +++ b/drivers/clk/sunxi/clk-sunxi.c @@ -23,7 +23,7 @@ static DEFINE_SPINLOCK(clk_lock); /* Maximum number of parents our clocks have */ #define SUNXI_MAX_PARENTS 5 -/** +/* * sun4i_get_pll1_factors() - calculates n, k, m, p factors for PLL1 * PLL1 rate is calculated as follows * rate = (parent_rate * n * (k + 1) >> p) / (m + 1); @@ -71,7 +71,7 @@ static void sun4i_get_pll1_factors(struct factors_request *req) req->n = div / 4; } -/** +/* * sun6i_a31_get_pll1_factors() - calculates n, k and m factors for PLL1 * PLL1 rate is calculated as follows * rate = parent_rate * (n + 1) * (k + 1) / (m + 1); @@ -147,7 +147,7 @@ static void sun6i_a31_get_pll1_factors(struct factors_request *req) } } -/** +/* * sun8i_a23_get_pll1_factors() - calculates n, k, m, p factors for PLL1 * PLL1 rate is calculated as follows * rate = (parent_rate * (n + 1) * (k + 1) >> p) / (m + 1); @@ -191,7 +191,7 @@ static void sun8i_a23_get_pll1_factors(struct factors_request *req) req->n = div / 4 - 1; } -/** +/* * sun4i_get_pll5_factors() - calculates n, k factors for PLL5 * PLL5 rate is calculated as follows * rate = parent_rate * n * (k + 1) @@ -218,7 +218,7 @@ static void sun4i_get_pll5_factors(struct factors_request *req) req->n = DIV_ROUND_UP(div, (req->k + 1)); } -/** +/* * sun6i_a31_get_pll6_factors() - calculates n, k factors for A31 PLL6x2 * PLL6x2 rate is calculated as follows * rate = parent_rate * (n + 1) * (k + 1) @@ -240,7 +240,7 @@ static void sun6i_a31_get_pll6_factors(struct factors_request *req) req->n = DIV_ROUND_UP(div, (req->k + 1)) - 1; } -/** +/* * sun5i_a13_get_ahb_factors() - calculates m, p factors for AHB * AHB rate is calculated as follows * rate = parent_rate >> p @@ -276,7 +276,7 @@ static void sun5i_a13_get_ahb_factors(struct factors_request *req) #define SUN6I_AHB1_PARENT_PLL6 3 -/** +/* * sun6i_a31_get_ahb_factors() - calculates m, p factors for AHB * AHB rate is calculated as follows * rate = parent_rate >> p @@ -320,7 +320,7 @@ static void sun6i_get_ahb1_factors(struct factors_request *req) req->m = calcm - 1; } -/** +/* * sun6i_ahb1_recalc() - calculates AHB clock rate from m, p factors and * parent index */ @@ -336,7 +336,7 @@ static void sun6i_ahb1_recalc(struct factors_request *req) req->rate >>= req->p; } -/** +/* * sun4i_get_apb1_factors() - calculates m, p factors for APB1 * APB1 rate is calculated as follows * rate = (parent_rate >> p) / (m + 1); @@ -375,7 +375,7 @@ static void sun4i_get_apb1_factors(struct factors_request *req) -/** +/* * sun7i_a20_get_out_factors() - calculates m, p factors for CLK_OUT_A/B * CLK_OUT rate is calculated as follows * rate = (parent_rate >> p) / (m + 1); @@ -408,7 +408,7 @@ static void sun7i_a20_get_out_factors(struct factors_request *req) req->p = calcp; } -/** +/* * sunxi_factors_clk_setup() - Setup function for factor clocks */ @@ -625,7 +625,7 @@ CLK_OF_DECLARE(sun7i_out, "allwinner,sun7i-a20-out-clk", sun7i_out_clk_setup); -/** +/* * sunxi_mux_clk_setup() - Setup function for muxes */ @@ -717,7 +717,7 @@ CLK_OF_DECLARE(sun8i_ahb2, "allwinner,sun8i-h3-ahb2-clk", sun8i_ahb2_clk_setup); -/** +/* * sunxi_divider_clk_setup() - Setup function for simple divider clocks */ @@ -853,7 +853,7 @@ CLK_OF_DECLARE(sun8i_axi, "allwinner,sun8i-a23-axi-clk", -/** +/* * sunxi_gates_clk_setup() - Setup function for leaf gates on clocks */ @@ -863,7 +863,7 @@ struct gates_data { DECLARE_BITMAP(mask, SUNXI_GATES_MAX_SIZE); }; -/** +/* * sunxi_divs_clk_setup() helper data */ @@ -929,7 +929,7 @@ static const struct divs_data sun6i_a31_pll6_divs_data __initconst = { } }; -/** +/* * sunxi_divs_clk_setup() - Setup function for leaf divisors on clocks * * These clocks look something like this From patchwork Wed Jan 20 09:30: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: 12031839 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=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 40A19C433DB for ; Wed, 20 Jan 2021 09:33:56 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E010521D79 for ; Wed, 20 Jan 2021 09:33:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E010521D79 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6n6ukgNbcTUC0oxmyzbupXNtgVxk4BoUS4/jvxiqAgM=; b=Wpn9FpyI7k/Ffw9Hfs9ZzUsqS VtBGPZeaZsElNV7LtHCENL0Bq6roEBhVU+2BaT6/kKQsaeiGyfE0DUNeTvqXBaDnMJRV1+SSQm77N zUM8VnJT0fYLtDNkKN3GHCU7XO/VBKEsrUy7dDbaOUjDZ4PsN82a26aSGrEw0WPKxfliiJ7lwqrde J1Lo5V9cacqixxGdDHlT4xX+7JZFaDgmfteK+wMRroc4URcag/kBuXqKxntVVD5V2G2xJbuTdscnM plB8PlZjn8475Yy47MkhX2w3ND+enlR1b50KMxGsdVrb/yKN/EeWxD30lLptsmCAG+2qpcqrjJvrX P8AJniJ+Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29qf-0001Sn-BC; Wed, 20 Jan 2021 09:32:21 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29pQ-00010p-PE for linux-arm-kernel@lists.infradead.org; Wed, 20 Jan 2021 09:31:05 +0000 Received: by mail-wm1-x336.google.com with SMTP id m187so2194703wme.2 for ; Wed, 20 Jan 2021 01:31: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=b1bl3qDXqs2QWsHtpCw1hYF8Czg/cncqDgLkvEY/iUQ=; b=UluTl24PAc0woLh+QvL0QkYieyL8otdwZgyoUVCvs/WZzW56EfbtkrYY1dCNvDJp3w FzBe6w4ufIzbE7dIKpZDo7lVaZq04Rc/mEi6Ct4dw1B6TE+BZ/Il1dYj6+m9zjHnNY6s qPojgNZy5RlZL/rDlV3G0nrrPChfb3o1/RU/nzUwVdRbOtFuuJDMgT6LMubMqA+iu59+ 0LaI13OVJu5D16VmdGHmWDpb2Oyge/w/gqde8+P2Xtm4IXN4FfwUGvWzBUCg3TJte2PG Dtbe24gAgK8QrwZ91tRZfCd0FTMUnsKwqoHRyrpuEPK+iL3mxIfFCzXajyGBYapubtFI M+Ww== 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=b1bl3qDXqs2QWsHtpCw1hYF8Czg/cncqDgLkvEY/iUQ=; b=LsgEH2ktDpRiTUgxg9mkOUpseZ5qGBY+yI0MbC8RwqFZDYWOdYNwuA/H+xQlkEGSX4 oor6uBLufXAMoc/+DVBkP3JQT2cc1hVLuWUziWJEixGeUk/nXYoYUhQ4PSlSP6xDne8X 3ah2cI3bF5PKsIwlVfWRTDS3Un5KEcai9+n7xVFlXJZ/eJEJL02tG4PaQQKk33cMQx1m 9bKLGpPk4u+eCv9vtXuoqK5eKC/LnYi4JpBY76K3VUlbFei8MV+0otoG0NjoeyW8NSkr yZeXVZ0ry/HmbgaB1DHlUuqhyLTVbagIhmt018BSbPnMv2OIkP+6dAcc78UQNMbsFMKl p1gw== X-Gm-Message-State: AOAM531dEB1d4ctq/4zuLMlaeaBqLIOQAXIZclIYCXeZ7k79syCTJjDq 3id6W3KGWF29ljupbpe2tKmQqoXTAYwEXXnq X-Google-Smtp-Source: ABdhPJzhia3eL7yODrhkrLrPZukKCx6m5jAT0hXZEPPdZjxL5Q87B2VVnH1Y3E2ycOLMSqlFt8W/GQ== X-Received: by 2002:a1c:2802:: with SMTP id o2mr3494011wmo.68.1611135063932; Wed, 20 Jan 2021 01:31:03 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id z130sm2889201wmb.33.2021.01.20.01.31.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 01:31:03 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 17/20] clk: sunxi: clk-a10-ve: Demote obvious kernel-doc abuse Date: Wed, 20 Jan 2021 09:30:37 +0000 Message-Id: <20210120093040.1719407-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210120093040.1719407-1-lee.jones@linaro.org> References: <20210120093040.1719407-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_043104_866413_853A63E7 X-CRM114-Status: GOOD ( 13.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , =?utf-8?q?Emilio_L=C3=B3pez?= , Michael Turquette , linux-kernel@vger.kernel.org, Maxime Ripard , Stephen Boyd , Chen-Yu Tsai , Philipp Zabel , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/clk/sunxi/clk-a10-ve.c:27: warning: cannot understand function prototype: 'struct ve_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-a10-ve.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi/clk-a10-ve.c b/drivers/clk/sunxi/clk-a10-ve.c index cb5daa4b37db7..65810937a13a1 100644 --- a/drivers/clk/sunxi/clk-a10-ve.c +++ b/drivers/clk/sunxi/clk-a10-ve.c @@ -20,7 +20,7 @@ static DEFINE_SPINLOCK(ve_lock); #define SUN4I_VE_DIVIDER_WIDTH 3 #define SUN4I_VE_RESET 0 -/** +/* * sunxi_ve_reset... - reset bit in ve clk registers handling */ From patchwork Wed Jan 20 09:30:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12031837 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=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 90773C433E0 for ; Wed, 20 Jan 2021 09:33:54 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3B96B2310C for ; Wed, 20 Jan 2021 09:33:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B96B2310C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=g7zdGQVHgWUokz6DJQnkUCGaRYkGPDFtRL4saoa2jbQ=; b=P0MhbyDL4rOVXwLZpeEj1AIAx UxDMVIjwe8cpXZpJFKnO4ED2TDlVbFbHCD6lxJRk+oz1va4YP3DKkpPxMGG/8dj3KgKGe8sMD+H4V EXstk5F10FlPdQ3GyACNbbCgDwOmUpD0jPgusVRx7MRJyDr6IzN4eo4YGjaimWcQk5nCseJjb5Qbt vuX/+NiCAY8pWCaeQGS+Jmg8Wi0h2+3b4Oeo9/x6ZzOnHoAoXZ3A30vacifwZaZDUbKVvjh66BAXl bgAOdEj5Ypv1gdfkMemt/KI00xYW3VR+KvpU2tJoiBT41n9DK7nSsQK296p65Plvp0JiSOYaw4ZzX Tnna5LxEQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29qi-0001VP-Ol; Wed, 20 Jan 2021 09:32:24 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29pS-00011K-6x for linux-arm-kernel@lists.infradead.org; Wed, 20 Jan 2021 09:31:07 +0000 Received: by mail-wr1-x433.google.com with SMTP id c12so3839607wrc.7 for ; Wed, 20 Jan 2021 01:31:05 -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=lmw0jyVjQb9zgrucTAXa+ls8bVgxcyDhXKzVAXRUfbE=; b=X9QF3Lr3lN7dfe1V82tisU0Bi6WFV+lr/xGNcVA4sl/jAxKUPqQBTGZJ2/jLXg7T5b S/Wsl6ARdue2rFAIO53TtgxLTt0/tvL/mAFPCwzo273AewD2Bmx4M4awO0lzBZLk3x8P 0S1nH5aC2xTSXqrQV4en+BElaoK7xnX+4e/oy01MQHPAmGCN0xDx+76dfwN8dSfzvGQv EMuOV/1x/ihvrAfJe7z8HDDGWusTxMr7qGr9+TZYxrHJayz+guwpPoyhniyX4oLdNnwD gfZIlLtL2hsJQkt4WZaEOI0bE+jPDZ/O/Jvj6iLZHsBZrvSDvNmurFnL6z7T8PGDVG7k xzaw== 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=lmw0jyVjQb9zgrucTAXa+ls8bVgxcyDhXKzVAXRUfbE=; b=uUXKO+GjvwWSigaPMC37RA/egMmuOSwQ4gxGlgALs9ZeAyUkWLGNkV+YuHfzWGE/Z8 P3vsnMzeBV7kmp2vEwApE7vsjziRJY/B2iuw+ZwwLxPrn+tcGiPIvfNiDJk+/9kXDqEI 1y/+EAb4u2MsQXyJzQAjcQyQpXvtmU8FNMQ8845x09ffI/MxbA45j4OIeQkQEq6xxHo1 Y7x8k0eRv8+B6thXX/9gVIS2ty5TP7ZZWeZ790R3HHWMy70k+cNe2DtGrcqLkKvIvgeW g1RNLJ+nSle/7jNigSKPpqezaoIitoWNTIlCUK1EDuovhf/OLfMvxtzosquxdbnO8dRs 4DAg== X-Gm-Message-State: AOAM533essGkOlXqgQlydpNIcUJjofNU96eQAcvTi29QqpfCoKyg2PV7 7E/zS3kz3A2BfZ67ts+PCILHaA== X-Google-Smtp-Source: ABdhPJw5BbnjDe6qfRdwflh1jGaOVIlPHk1+fbLgvVnuE3BkdewXjP9WY4nGwSoTihOU+7wFYSYr2A== X-Received: by 2002:adf:f403:: with SMTP id g3mr2435594wro.212.1611135065099; Wed, 20 Jan 2021 01:31:05 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id z130sm2889201wmb.33.2021.01.20.01.31.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 01:31:04 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 18/20] clk: sunxi: clk-mod0: Demote non-conformant kernel-doc header Date: Wed, 20 Jan 2021 09:30:38 +0000 Message-Id: <20210120093040.1719407-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210120093040.1719407-1-lee.jones@linaro.org> References: <20210120093040.1719407-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_043106_299015_C2474403 X-CRM114-Status: GOOD ( 14.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , =?utf-8?q?Emilio_L=C3=B3pez?= , Michael Turquette , linux-kernel@vger.kernel.org, Maxime Ripard , Stephen Boyd , Chen-Yu Tsai , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/clk/sunxi/clk-mod0.c:24: warning: Function parameter or member 'req' not described in 'sun4i_a10_get_mod0_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-mod0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi/clk-mod0.c b/drivers/clk/sunxi/clk-mod0.c index 0cca91e075a53..f9d715ec99087 100644 --- a/drivers/clk/sunxi/clk-mod0.c +++ b/drivers/clk/sunxi/clk-mod0.c @@ -14,7 +14,7 @@ #include "clk-factors.h" -/** +/* * sun4i_a10_get_mod0_factors() - calculates m, n factors for MOD0-style clocks * MOD0 rate is calculated as follows * rate = (parent_rate >> p) / (m + 1); From patchwork Wed Jan 20 09:30:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12031841 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=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 9688CC433E0 for ; Wed, 20 Jan 2021 09:34:00 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 528F821D79 for ; Wed, 20 Jan 2021 09:34:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 528F821D79 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4VaizePreThkNI+WqnY1u3ZT8rbwX3XzAwzAj88U6jA=; b=pDSTPm+hhOHc1nUWLbUCNlyr/ 2xxrOj4oVEV3QPOpwdQMY7p6KpIUkBL7TW7CA06Xda0gu9IXclh2BTV0jk8o3br78Ju4C0T7Ly86u MwGpOTucLz/5aYXBYl045a4/3fzg9XZIap1AIqGVRyjHir5o/ZTnoU/WuN61Lu9+K8csbDexG4asf Zx5oysJDRs0YIgBWqT/QGTyfPcsgBsrbppZM2UlvgTVbg8gbIhQN0+7+hfqP0NigJuUe9exxYX+he VLE45WKtwEQcjbzRcPAkWGKNW6WyMpu7fJK2ycfjN0iy6IBvaWW2EfEoqO1oiVcYm40j3o1+5Ylm3 mj0dt4scw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29qq-0001YB-0E; Wed, 20 Jan 2021 09:32:32 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29pT-000125-1b for linux-arm-kernel@lists.infradead.org; Wed, 20 Jan 2021 09:31:08 +0000 Received: by mail-wr1-x436.google.com with SMTP id c12so3839668wrc.7 for ; Wed, 20 Jan 2021 01:31: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=a0eH26ZUBg4+GW3DVSJr3IUvZueqhdMA0PLfT85K6+E=; b=MjDM98OLBbyugGi5z9i8y3gcFvSTFvaDlzZxfuqFRWUxgSzmGg2bkwE84t92uYf3f6 1YC5KMlqojalOqRujF0SHuZGdDwHrCiGwDMcBAg0Aj/mKmm/3KW0wRqSG/CC9X+EgW6V wgBJQjilcc/l3PCDgB58vftVv7zWvgFr+YarUsf0Ylf28g3UaeElmEhXEv4l+r2sPzlH xIhcd2qZxZ+ASJDUzSESYgjgs2SeT8Q/Y0JIbk9y2cI8JYvdm75jFkVj2RfMVFYjKxv7 yDdPDIKrgozZvxl92hv7PGPi/lDZ9Bot2HwlsvP2CgSD5yzzRUqe3so1F0IZOk55caqh bJsQ== 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=a0eH26ZUBg4+GW3DVSJr3IUvZueqhdMA0PLfT85K6+E=; b=N1kChB3XOyRcYKay35NkWihFGD2UvD5/V8NO2+d0rbbACwATeRj7jP19hWEG2b8ca3 eCTFUD/wHtOMeYmRWn+Jcdnqh6SwWwUsRn/tVgbnKiBg9VVSS42MAcK5OtxhsiQmnTez T4YQH3JYTGYO9svIw3ToiK53k9HvUXMoq3JEyDiNEwCN6PsYNbYdNULwdvksvPHO2zqI MYB1NFYmBjaIXYeVvZoDksPIqc6dJ3/MHehSKuerX5RIMcUBClZbGwUYIXiJ8rUerxLq 04175jsgCWT+I2jRkOkm8awc+Ot/truJpDcI/1JoRX5ig0Wm3NL100//f5kqkyVoBdll FWyA== X-Gm-Message-State: AOAM5324zk1/tTIYRmCWtdAK+7B/rsI0tH3nGmACNBbsUlfZzQBsOtjc 0ou+DzzdR4ZUhmbFvjS0vASb+w== X-Google-Smtp-Source: ABdhPJx3ZjCpUjZVjx48wSf2aRSX7D5zkaVbcdktQcNjUP6AbBni3d5m+dVFFlpKQcmNFhyVo9XKgA== X-Received: by 2002:a05:6000:1542:: with SMTP id 2mr8360962wry.356.1611135066213; Wed, 20 Jan 2021 01:31:06 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id z130sm2889201wmb.33.2021.01.20.01.31.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 01:31:05 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 19/20] clk: versatile: clk-icst: Fix worthy struct documentation block Date: Wed, 20 Jan 2021 09:30:39 +0000 Message-Id: <20210120093040.1719407-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210120093040.1719407-1-lee.jones@linaro.org> References: <20210120093040.1719407-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_043107_123606_5C31F818 X-CRM114-Status: GOOD ( 12.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Linus Walleij , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Also demote non-worthy header to standard comment block. Fixes the following W=1 kernel build warning(s): drivers/clk/versatile/clk-icst.c:53: warning: Function parameter or member 'map' not described in 'clk_icst' drivers/clk/versatile/clk-icst.c:53: warning: Function parameter or member 'vcoreg_off' not described in 'clk_icst' drivers/clk/versatile/clk-icst.c:53: warning: Function parameter or member 'lockreg_off' not described in 'clk_icst' drivers/clk/versatile/clk-icst.c:435: warning: cannot understand function prototype: 'const struct icst_params icst525_apcp_cm_params = ' Cc: Linus Walleij Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-arm-kernel@lists.infradead.org Cc: linux-clk@vger.kernel.org Signed-off-by: Lee Jones Reviewed-by: Linus Walleij --- drivers/clk/versatile/clk-icst.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/clk/versatile/clk-icst.c b/drivers/clk/versatile/clk-icst.c index 692be2fd9261a..fdd6aa3cb1fc8 100644 --- a/drivers/clk/versatile/clk-icst.c +++ b/drivers/clk/versatile/clk-icst.c @@ -36,8 +36,9 @@ /** * struct clk_icst - ICST VCO clock wrapper * @hw: corresponding clock hardware entry - * @vcoreg: VCO register address - * @lockreg: VCO lock register address + * @map: register map + * @vcoreg_off: VCO register address + * @lockreg_off: VCO lock register address * @params: parameters for this ICST instance * @rate: current rate * @ctype: the type of control register for the ICST @@ -428,7 +429,7 @@ static const struct icst_params icst307_params = { .idx2s = icst307_idx2s, }; -/** +/* * The core modules on the Integrator/AP and Integrator/CP have * especially crippled ICST525 control. */ From patchwork Wed Jan 20 09:30:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12031843 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=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 B7366C433E0 for ; Wed, 20 Jan 2021 09:34:37 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6A2A721D79 for ; Wed, 20 Jan 2021 09:34:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6A2A721D79 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9jEL7UO9T9RzBathZ7BJitcOg+ZXyCSnpAJ4EXUa9Gg=; b=g6uDAmiW5blFpbtZH1cS0/Wfm rSzIbEM6HmKcNcvCj+IszhGvBbzwzycKp3IEmf7Bfa2s7m9cxHHE6bzYl/iJ2KfmsvYd7/RUy/704 3P3wEay5SLxLTlWnVKhlVdb4U5Ayn0CHtldVETqrehrSzUYy9fPnpbtFEQETvjMm5pm/gtmErMDno uBXI1XFi9MSRs1qYLiAI/mRk6FYCXVsYukGY6zaJwwB8zeWAc4ORd8HTEKxSnWAoqORUPuPIGLxrq gJD2Bl+DZn+qfiJGzkjJbyCYIpQ21Po/Jn8+6MBR/UJ/lJEP/Cy4HApPb1Jlk2Y9aAaqMr30k4/Xh DZhYpR1Cg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29r2-0001ff-2P; Wed, 20 Jan 2021 09:32:44 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l29pU-00012d-Cq for linux-arm-kernel@lists.infradead.org; Wed, 20 Jan 2021 09:31:11 +0000 Received: by mail-wr1-x429.google.com with SMTP id a12so22347971wrv.8 for ; Wed, 20 Jan 2021 01:31:08 -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=30zhW0o3snNlsU80MAuQCHF/yyUQuJN98MT9hG2uNLE=; b=GDnVmsL1Y/UF6IyBi1RZRwAiaruRNo916+Ywds3s+t3914DBSKdDUoK0fwtHd3ln7m CpJSPAQhcBa6O65j3BdZypOX7xMhsifEBZLp9wybgh8+22mhg3iIrmXLNDU50QAcna4P dwuf9Gf/NF5Kfw2zbo6yBO14UF1pNbu6rUDxBgAOcWnGBVj3uCtGhcN+1+MNf4SZmFYy rZgoPlssFmR1AWjdJAfHeZIz3CfNAlfIO5repl6TCiE+RjwYntlYcMx2hVHvirqR4fKi gqLgPHOZGjNaG76L1kumYAgPiBYTlDwVOS2aTfqDYzYMBQOs+R6bm1WOpktDBZxTBv3q Fr3Q== 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=30zhW0o3snNlsU80MAuQCHF/yyUQuJN98MT9hG2uNLE=; b=LNPYQprh/VdmMZEfAO9EwxUMQVOEWZM6QMjcHYSTdoBQaHYnAGFSbT5S6jDK9BaIjx iYaqswkB60mQvYYTl+9d0EBpCeMm0dMn7HV5PPY+zJcfTg9ZRh5FoSrp1PWyT++43FYG Vjpje1EJsqAbHABBb+AD8GESvLevOdkRsPzpRtJ/WsANyLyPRVRFuuLAeslb6ynAZqgr BztXHOWA8Mhr53cppZgFDDUBdgNho5ahazjToLpD9PzF1/vHbsW0lX6Ot4EydsqVlHoh nJMXI38ZN+c26pdcGfVPpw2Ag3iUxuzqqNjmZnHddwHt95C+vhiKEe7rxAcZH3/dH6qX 4mmA== X-Gm-Message-State: AOAM531FD807kGgUTHqaGx/OxTniDJ6e8PvNsWHCX4Z7Qgxb5lAjfFJB bhZ45CRjlMo0Utv2eFyJ+ZYR7nwla5so79oG X-Google-Smtp-Source: ABdhPJxEUayvz2eG5bIKF5fnpCWN+R+WuJ/i+WEMiP79FcBTYCv2kmHFklBGQ14t2rl3txn6CfCi7w== X-Received: by 2002:adf:a3c1:: with SMTP id m1mr8264522wrb.357.1611135067352; Wed, 20 Jan 2021 01:31:07 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id z130sm2889201wmb.33.2021.01.20.01.31.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 01:31:06 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 20/20] clk: zynq: clkc: Remove various instances of an unused variable 'clk' Date: Wed, 20 Jan 2021 09:30:40 +0000 Message-Id: <20210120093040.1719407-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210120093040.1719407-1-lee.jones@linaro.org> References: <20210120093040.1719407-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_043108_515309_4A34525B X-CRM114-Status: GOOD ( 14.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org, Michal Simek , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, =?utf-8?q?S=C3=B6ren_Brinkmann?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/clk/zynq/clkc.c: In function ‘zynq_clk_register_fclk’: drivers/clk/zynq/clkc.c:106:14: warning: variable ‘clk’ set but not used [-Wunused-but-set-variable] drivers/clk/zynq/clkc.c: In function ‘zynq_clk_register_periph_clk’: drivers/clk/zynq/clkc.c:179:14: warning: variable ‘clk’ set but not used [-Wunused-but-set-variable] drivers/clk/zynq/clkc.c: In function ‘zynq_clk_setup’: drivers/clk/zynq/clkc.c:220:14: warning: variable ‘clk’ set but not used [-Wunused-but-set-variable] 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/clkc.c | 73 ++++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 38 deletions(-) diff --git a/drivers/clk/zynq/clkc.c b/drivers/clk/zynq/clkc.c index ffbb9008c1c99..204b83d911b90 100644 --- a/drivers/clk/zynq/clkc.c +++ b/drivers/clk/zynq/clkc.c @@ -103,7 +103,6 @@ static void __init zynq_clk_register_fclk(enum zynq_clk fclk, const char *clk_name, void __iomem *fclk_ctrl_reg, const char **parents, int enable) { - struct clk *clk; u32 enable_reg; char *mux_name; char *div0_name; @@ -131,15 +130,15 @@ static void __init zynq_clk_register_fclk(enum zynq_clk fclk, if (!div1_name) goto err_div1_name; - clk = clk_register_mux(NULL, mux_name, parents, 4, + clk_register_mux(NULL, mux_name, parents, 4, CLK_SET_RATE_NO_REPARENT, fclk_ctrl_reg, 4, 2, 0, fclk_lock); - clk = clk_register_divider(NULL, div0_name, mux_name, + clk_register_divider(NULL, div0_name, mux_name, 0, fclk_ctrl_reg, 8, 6, CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO, fclk_lock); - clk = clk_register_divider(NULL, div1_name, div0_name, + clk_register_divider(NULL, div1_name, div0_name, CLK_SET_RATE_PARENT, fclk_ctrl_reg, 20, 6, CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO, fclk_lock); @@ -176,7 +175,6 @@ static void __init zynq_clk_register_periph_clk(enum zynq_clk clk0, const char *clk_name1, void __iomem *clk_ctrl, const char **parents, unsigned int two_gates) { - struct clk *clk; char *mux_name; char *div_name; spinlock_t *lock; @@ -189,10 +187,10 @@ static void __init zynq_clk_register_periph_clk(enum zynq_clk clk0, mux_name = kasprintf(GFP_KERNEL, "%s_mux", clk_name0); div_name = kasprintf(GFP_KERNEL, "%s_div", clk_name0); - clk = clk_register_mux(NULL, mux_name, parents, 4, + clk_register_mux(NULL, mux_name, parents, 4, CLK_SET_RATE_NO_REPARENT, clk_ctrl, 4, 2, 0, lock); - clk = clk_register_divider(NULL, div_name, mux_name, 0, clk_ctrl, 8, 6, + clk_register_divider(NULL, div_name, mux_name, 0, clk_ctrl, 8, 6, CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO, lock); clks[clk0] = clk_register_gate(NULL, clk_name0, div_name, @@ -217,7 +215,6 @@ static void __init zynq_clk_setup(struct device_node *np) int i; u32 tmp; int ret; - struct clk *clk; char *clk_name; unsigned int fclk_enable = 0; const char *clk_output_name[clk_max]; @@ -257,19 +254,19 @@ static void __init zynq_clk_setup(struct device_node *np) ps_clk = clk_register_fixed_rate(NULL, "ps_clk", NULL, 0, tmp); /* PLLs */ - clk = clk_register_zynq_pll("armpll_int", "ps_clk", SLCR_ARMPLL_CTRL, + clk_register_zynq_pll("armpll_int", "ps_clk", SLCR_ARMPLL_CTRL, SLCR_PLL_STATUS, 0, &armpll_lock); clks[armpll] = clk_register_mux(NULL, clk_output_name[armpll], armpll_parents, 2, CLK_SET_RATE_NO_REPARENT, SLCR_ARMPLL_CTRL, 4, 1, 0, &armpll_lock); - clk = clk_register_zynq_pll("ddrpll_int", "ps_clk", SLCR_DDRPLL_CTRL, + clk_register_zynq_pll("ddrpll_int", "ps_clk", SLCR_DDRPLL_CTRL, SLCR_PLL_STATUS, 1, &ddrpll_lock); clks[ddrpll] = clk_register_mux(NULL, clk_output_name[ddrpll], ddrpll_parents, 2, CLK_SET_RATE_NO_REPARENT, SLCR_DDRPLL_CTRL, 4, 1, 0, &ddrpll_lock); - clk = clk_register_zynq_pll("iopll_int", "ps_clk", SLCR_IOPLL_CTRL, + clk_register_zynq_pll("iopll_int", "ps_clk", SLCR_IOPLL_CTRL, SLCR_PLL_STATUS, 2, &iopll_lock); clks[iopll] = clk_register_mux(NULL, clk_output_name[iopll], iopll_parents, 2, CLK_SET_RATE_NO_REPARENT, @@ -277,10 +274,10 @@ static void __init zynq_clk_setup(struct device_node *np) /* CPU clocks */ tmp = readl(SLCR_621_TRUE) & 1; - clk = clk_register_mux(NULL, "cpu_mux", cpu_parents, 4, + clk_register_mux(NULL, "cpu_mux", cpu_parents, 4, CLK_SET_RATE_NO_REPARENT, SLCR_ARM_CLK_CTRL, 4, 2, 0, &armclk_lock); - clk = clk_register_divider(NULL, "cpu_div", "cpu_mux", 0, + clk_register_divider(NULL, "cpu_div", "cpu_mux", 0, SLCR_ARM_CLK_CTRL, 8, 6, CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO, &armclk_lock); @@ -288,20 +285,20 @@ static void __init zynq_clk_setup(struct device_node *np) "cpu_div", CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED, SLCR_ARM_CLK_CTRL, 24, 0, &armclk_lock); - clk = clk_register_fixed_factor(NULL, "cpu_3or2x_div", "cpu_div", 0, + clk_register_fixed_factor(NULL, "cpu_3or2x_div", "cpu_div", 0, 1, 2); clks[cpu_3or2x] = clk_register_gate(NULL, clk_output_name[cpu_3or2x], "cpu_3or2x_div", CLK_IGNORE_UNUSED, SLCR_ARM_CLK_CTRL, 25, 0, &armclk_lock); - clk = clk_register_fixed_factor(NULL, "cpu_2x_div", "cpu_div", 0, 1, + clk_register_fixed_factor(NULL, "cpu_2x_div", "cpu_div", 0, 1, 2 + tmp); clks[cpu_2x] = clk_register_gate(NULL, clk_output_name[cpu_2x], "cpu_2x_div", CLK_IGNORE_UNUSED, SLCR_ARM_CLK_CTRL, 26, 0, &armclk_lock); clk_prepare_enable(clks[cpu_2x]); - clk = clk_register_fixed_factor(NULL, "cpu_1x_div", "cpu_div", 0, 1, + clk_register_fixed_factor(NULL, "cpu_1x_div", "cpu_div", 0, 1, 4 + 2 * tmp); clks[cpu_1x] = clk_register_gate(NULL, clk_output_name[cpu_1x], "cpu_1x_div", CLK_IGNORE_UNUSED, SLCR_ARM_CLK_CTRL, 27, @@ -324,23 +321,23 @@ static void __init zynq_clk_setup(struct device_node *np) &swdtclk_lock); /* DDR clocks */ - clk = clk_register_divider(NULL, "ddr2x_div", "ddrpll", 0, + clk_register_divider(NULL, "ddr2x_div", "ddrpll", 0, SLCR_DDR_CLK_CTRL, 26, 6, CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO, &ddrclk_lock); clks[ddr2x] = clk_register_gate(NULL, clk_output_name[ddr2x], "ddr2x_div", 0, SLCR_DDR_CLK_CTRL, 1, 0, &ddrclk_lock); clk_prepare_enable(clks[ddr2x]); - clk = clk_register_divider(NULL, "ddr3x_div", "ddrpll", 0, + clk_register_divider(NULL, "ddr3x_div", "ddrpll", 0, SLCR_DDR_CLK_CTRL, 20, 6, CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO, &ddrclk_lock); clks[ddr3x] = clk_register_gate(NULL, clk_output_name[ddr3x], "ddr3x_div", 0, SLCR_DDR_CLK_CTRL, 0, 0, &ddrclk_lock); clk_prepare_enable(clks[ddr3x]); - clk = clk_register_divider(NULL, "dci_div0", "ddrpll", 0, + clk_register_divider(NULL, "dci_div0", "ddrpll", 0, SLCR_DCI_CLK_CTRL, 8, 6, CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO, &dciclk_lock); - clk = clk_register_divider(NULL, "dci_div1", "dci_div0", + clk_register_divider(NULL, "dci_div1", "dci_div0", CLK_SET_RATE_PARENT, SLCR_DCI_CLK_CTRL, 20, 6, CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO, &dciclk_lock); @@ -385,17 +382,17 @@ static void __init zynq_clk_setup(struct device_node *np) gem0_mux_parents[i + 1] = of_clk_get_parent_name(np, idx); } - clk = clk_register_mux(NULL, "gem0_mux", periph_parents, 4, + clk_register_mux(NULL, "gem0_mux", periph_parents, 4, CLK_SET_RATE_NO_REPARENT, SLCR_GEM0_CLK_CTRL, 4, 2, 0, &gem0clk_lock); - clk = clk_register_divider(NULL, "gem0_div0", "gem0_mux", 0, + clk_register_divider(NULL, "gem0_div0", "gem0_mux", 0, SLCR_GEM0_CLK_CTRL, 8, 6, CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO, &gem0clk_lock); - clk = clk_register_divider(NULL, "gem0_div1", "gem0_div0", + clk_register_divider(NULL, "gem0_div1", "gem0_div0", CLK_SET_RATE_PARENT, SLCR_GEM0_CLK_CTRL, 20, 6, CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO, &gem0clk_lock); - clk = clk_register_mux(NULL, "gem0_emio_mux", gem0_mux_parents, 2, + clk_register_mux(NULL, "gem0_emio_mux", gem0_mux_parents, 2, CLK_SET_RATE_PARENT | CLK_SET_RATE_NO_REPARENT, SLCR_GEM0_CLK_CTRL, 6, 1, 0, &gem0clk_lock); @@ -410,17 +407,17 @@ static void __init zynq_clk_setup(struct device_node *np) gem1_mux_parents[i + 1] = of_clk_get_parent_name(np, idx); } - clk = clk_register_mux(NULL, "gem1_mux", periph_parents, 4, + clk_register_mux(NULL, "gem1_mux", periph_parents, 4, CLK_SET_RATE_NO_REPARENT, SLCR_GEM1_CLK_CTRL, 4, 2, 0, &gem1clk_lock); - clk = clk_register_divider(NULL, "gem1_div0", "gem1_mux", 0, + clk_register_divider(NULL, "gem1_div0", "gem1_mux", 0, SLCR_GEM1_CLK_CTRL, 8, 6, CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO, &gem1clk_lock); - clk = clk_register_divider(NULL, "gem1_div1", "gem1_div0", + clk_register_divider(NULL, "gem1_div1", "gem1_div0", CLK_SET_RATE_PARENT, SLCR_GEM1_CLK_CTRL, 20, 6, CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO, &gem1clk_lock); - clk = clk_register_mux(NULL, "gem1_emio_mux", gem1_mux_parents, 2, + clk_register_mux(NULL, "gem1_emio_mux", gem1_mux_parents, 2, CLK_SET_RATE_PARENT | CLK_SET_RATE_NO_REPARENT, SLCR_GEM1_CLK_CTRL, 6, 1, 0, &gem1clk_lock); @@ -442,27 +439,27 @@ static void __init zynq_clk_setup(struct device_node *np) can_mio_mux_parents[i] = dummy_nm; } kfree(clk_name); - clk = clk_register_mux(NULL, "can_mux", periph_parents, 4, + clk_register_mux(NULL, "can_mux", periph_parents, 4, CLK_SET_RATE_NO_REPARENT, SLCR_CAN_CLK_CTRL, 4, 2, 0, &canclk_lock); - clk = clk_register_divider(NULL, "can_div0", "can_mux", 0, + clk_register_divider(NULL, "can_div0", "can_mux", 0, SLCR_CAN_CLK_CTRL, 8, 6, CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO, &canclk_lock); - clk = clk_register_divider(NULL, "can_div1", "can_div0", + clk_register_divider(NULL, "can_div1", "can_div0", CLK_SET_RATE_PARENT, SLCR_CAN_CLK_CTRL, 20, 6, CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO, &canclk_lock); - clk = clk_register_gate(NULL, "can0_gate", "can_div1", + clk_register_gate(NULL, "can0_gate", "can_div1", CLK_SET_RATE_PARENT, SLCR_CAN_CLK_CTRL, 0, 0, &canclk_lock); - clk = clk_register_gate(NULL, "can1_gate", "can_div1", + clk_register_gate(NULL, "can1_gate", "can_div1", CLK_SET_RATE_PARENT, SLCR_CAN_CLK_CTRL, 1, 0, &canclk_lock); - clk = clk_register_mux(NULL, "can0_mio_mux", + clk_register_mux(NULL, "can0_mio_mux", can_mio_mux_parents, 54, CLK_SET_RATE_PARENT | CLK_SET_RATE_NO_REPARENT, SLCR_CAN_MIOCLK_CTRL, 0, 6, 0, &canmioclk_lock); - clk = clk_register_mux(NULL, "can1_mio_mux", + clk_register_mux(NULL, "can1_mio_mux", can_mio_mux_parents, 54, CLK_SET_RATE_PARENT | CLK_SET_RATE_NO_REPARENT, SLCR_CAN_MIOCLK_CTRL, 16, 6, 0, &canmioclk_lock); @@ -482,13 +479,13 @@ static void __init zynq_clk_setup(struct device_node *np) dbg_emio_mux_parents[i + 1] = of_clk_get_parent_name(np, idx); } - clk = clk_register_mux(NULL, "dbg_mux", periph_parents, 4, + clk_register_mux(NULL, "dbg_mux", periph_parents, 4, CLK_SET_RATE_NO_REPARENT, SLCR_DBG_CLK_CTRL, 4, 2, 0, &dbgclk_lock); - clk = clk_register_divider(NULL, "dbg_div", "dbg_mux", 0, + clk_register_divider(NULL, "dbg_div", "dbg_mux", 0, SLCR_DBG_CLK_CTRL, 8, 6, CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO, &dbgclk_lock); - clk = clk_register_mux(NULL, "dbg_emio_mux", dbg_emio_mux_parents, 2, + clk_register_mux(NULL, "dbg_emio_mux", dbg_emio_mux_parents, 2, CLK_SET_RATE_NO_REPARENT, SLCR_DBG_CLK_CTRL, 6, 1, 0, &dbgclk_lock); clks[dbg_trc] = clk_register_gate(NULL, clk_output_name[dbg_trc],