From patchwork Tue Jan 26 12:45:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046365 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=-17.0 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 F306BC433E0 for ; Tue, 26 Jan 2021 12:48:04 +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 97EB123104 for ; Tue, 26 Jan 2021 12:48:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 97EB123104 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=BbmGfZLu9Cxo7gOSARGuSf1BPbhSMirnbRtWw0FWGOk=; b=QDmq2OryBfouCiDqBfjPdWoZy OZ8mnop8z/gUceJj3Rte15ofDp0gf+2mjEnG7jqmXsoOTq6jClcAlagqM3i13wMrpriwrxD170Ga3 5Rr9lhwQNOfrDtggsQcYKf6bFV1z1KBh/qk2NiFBokfSz8/zh4fbw/CeP7eG+89JB4lbbzSMHzN+E ypNXGZodF3C9xc0JrYcGbw/rXC7umgTT9JU7i3TkfZwcLiXZnWRkhxXaw7a6LDBU58um1Wcewo1rb 3s9jzpe6lZnPE2z3enibUHZ0ZsQ5QvHZknUT639vBfcnIcEU5XZ8cm5z/rnZaa6edrYOvJ06OtfYs b6WUIZnHg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4Njf-0000jG-RF; Tue, 26 Jan 2021 12:46:19 +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 1l4NjB-0000Va-CT for linux-arm-kernel@lists.infradead.org; Tue, 26 Jan 2021 12:45:53 +0000 Received: by mail-wm1-x331.google.com with SMTP id 190so2360998wmz.0 for ; Tue, 26 Jan 2021 04:45: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=PGeifpJKwjmOW+Ep9Ua2GRyOjoW8Ji8HLmvStTZxjac=; b=v/GZXImGJGb/kVvhK0npWRAIjwWvAMSPszbanie2gyQyaHIgNwv+GU3OY5PEDCFNvb Pdc4HM2L/mZ726eJc04eNfiTzO4Z89LCNDfVMeHPSFU3MY1VHTFI6+/myba3re2O/8Zi c6h/JKld/C95nLyWd2MAKMotO9aJeyjdcfO5QrDqoAchQcQg5NFB0on4wIzTMMqcT2GU CFT5LRCbrpOnA4+gIOhhegepdFDJMwbIYFrbkwXajcdkASOpNhqkyYtwiJ1gM8Zb7ecv rBjrxYe5yH1RmYRdRFxfUp/TSCEX4bn8VDsyg4XFIOKnnsI2fQ98NaAipX4yDM/ozDbO lpJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PGeifpJKwjmOW+Ep9Ua2GRyOjoW8Ji8HLmvStTZxjac=; b=mpCdTsPrnWvlK/Va7+8E87QKCxMXj1j7I419WssCRYv/4hKWMz/AA7Ud0zJhthEi0O bHq7/3IE812yc4V//8HOailqjVK2udLzPyx26A3veY6gidv71JUyTP2puIqRn2z80ERi ksjBdH+DFYf0FX3S5LcfX/TyQhZTSQh0qC2xgrM7AlEcKjQceVCEVAhBlbOALJXekSML 1RyAlzrro+3apAdnc9MZ5nJhjr6/s6Gu8PQSO/PI8HmonFJFy0SG6L91XSwoTDTwrlsL ICdTrXSJ1IjBHZ8SdDn60TAsRiCVwDEFwwZFgdW6DOJXg8BLvc6AJpclTzDMEZKa8O2d L4UA== X-Gm-Message-State: AOAM530bpYluHXbqW9onxtyXtFh/d1b0XuAay0vevaPFHzh6bGVOfUeX GgYZAMB3atztzF/Wt8RoN8Tt6A== X-Google-Smtp-Source: ABdhPJxXTxLgbK5EkVRfr+MJjeLWFuHWBUr/C2CyGD6BUSoJivoD9uH6eJohEpOALz25PXoDpvXWJw== X-Received: by 2002:a1c:f706:: with SMTP id v6mr4568060wmh.85.1611665145981; Tue, 26 Jan 2021 04:45:45 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:45 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 01/21] clk: zynq: pll: Fix kernel-doc formatting in 'clk_register_zynq_pll's header Date: Tue, 26 Jan 2021 12:45:20 +0000 Message-Id: <20210126124540.3320214-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210126_074549_471700_9AC85102 X-CRM114-Status: GOOD ( 14.03 ) 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/pll.c:187: warning: Function parameter or member 'name' not described in 'clk_register_zynq_pll' drivers/clk/zynq/pll.c:187: warning: Function parameter or member 'parent' not described in 'clk_register_zynq_pll' drivers/clk/zynq/pll.c:187: warning: Function parameter or member 'pll_ctrl' not described in 'clk_register_zynq_pll' drivers/clk/zynq/pll.c:187: warning: Function parameter or member 'pll_status' not described in 'clk_register_zynq_pll' drivers/clk/zynq/pll.c:187: warning: Function parameter or member 'lock_index' not described in 'clk_register_zynq_pll' drivers/clk/zynq/pll.c:187: warning: Function parameter or member 'lock' not described in 'clk_register_zynq_pll' Cc: Michael Turquette Cc: Stephen Boyd Cc: Michal Simek Cc: "Sören Brinkmann" Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones Acked-by: Michal Simek --- drivers/clk/zynq/pll.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/clk/zynq/pll.c b/drivers/clk/zynq/pll.c index dcb2037a95964..54f4184de89af 100644 --- a/drivers/clk/zynq/pll.c +++ b/drivers/clk/zynq/pll.c @@ -173,12 +173,12 @@ static const struct clk_ops zynq_pll_ops = { /** * clk_register_zynq_pll() - Register PLL with the clock framework - * @name PLL name - * @parent Parent clock name - * @pll_ctrl Pointer to PLL control register - * @pll_status Pointer to PLL status register - * @lock_index Bit index to this PLL's lock status bit in @pll_status - * @lock Register lock + * @name: PLL name + * @parent: Parent clock name + * @pll_ctrl: Pointer to PLL control register + * @pll_status: Pointer to PLL status register + * @lock_index: Bit index to this PLL's lock status bit in @pll_status + * @lock: Register lock * Returns handle to the registered clock. */ struct clk *clk_register_zynq_pll(const char *name, const char *parent, From patchwork Tue Jan 26 12:45:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046367 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=-17.0 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 DA103C433E6 for ; Tue, 26 Jan 2021 12:48:13 +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 A477223104 for ; Tue, 26 Jan 2021 12:48:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A477223104 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=2CtDZnBdZ8T3vLPdYm0k1ECXkkpueQjUp3lU2d0TlOw=; b=Md0Ds9Ycju6wXc/94/lJIpuhy cKvxmvclunjwzpavdjS38gt8oTCrU/mSH2KgRpEU3PH9SXbXJFBrJoyBkkt/f/L0O0r3BxK+7xJr9 Rynkytvm9dqk0zXvkvSeyaJy0ib1IdBbheawz/yRHRQgmL6rt6ater8IUUH8EcHvCPdKt1saxyM+c d6o+5c5/+5gnXwQ9LwqBCuJhd/YmBTkyWTwlgg7XjcVyq9CL+oegWRrf8dV22xnGiTGsvpVyi21Z5 GEMUEnpYB76YsAq7AyyUoWzZnEhT5EQZCHLv0ecX9xxx8MuiyTADeHvVC8zV+J1ZDZeOJ9hrTbRwu fj2pHYlaw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4Njn-0000lm-4f; Tue, 26 Jan 2021 12:46:28 +0000 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4NjE-0000Xp-LP for linux-arm-kernel@lists.infradead.org; Tue, 26 Jan 2021 12:45:56 +0000 Received: by mail-wr1-x430.google.com with SMTP id l12so16308129wry.2 for ; Tue, 26 Jan 2021 04:45:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=N/Y+6T8TTSu8d83A2XzlHvv9/Bw0gU//w5nr9fAJlo4=; b=cVPSG987Hn12pzJnrmO1fa88QJIfdteE/Aaioqfl1kcNfsviHd1mC1LiGhGi0xNZhm CiMDsua6PlSMR1n9vusdYumF1G9vaagTMm8U6M6FQ0/JrsgTzw+1xtupGZvy1D4kSaYB +1xqsmoWpZJB+RdHTaYO19hQ7vL7Bb/mK2xDfY4DE5pmVgYVjVOSJJymzZbRNt4I8sov ZwohflbP98Bo41S/k0OarAYMMTeeXa6oJANxqzSiubZ7FDmRkKS1cW57/6FCHjihfuGx zDbwSdPTj0NVyrihOrtIrq4NREv0Slo0NEpp5Nc/ZnJDaEo7HcemWCwd7OwdhuKSOzL+ N0yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=N/Y+6T8TTSu8d83A2XzlHvv9/Bw0gU//w5nr9fAJlo4=; b=toLRU4kZfR9qV53Zgmb1ef4aoTpr1TBn9izru1zw6Y2scIXOVRex6HYLBYZyx1rpDL sie5lwcd9dvW4TahEWCqT4rwOle/cksssSgbq2V1qD15rG4Abqw5ZRUopDxraa4dUsAP LLT6NrCCcx0vCb8TrR0uCvxpZu4xb9Ikj53suYcNwFkXBNtJhPSAa0UZ2gtKAgaSGxin aD2BI/eeGLSiwIDjeGgnQjLaTVq/YK66jLA8YVjR3+mHXYGzcYfsR1XfxBqMtUpOxEKB 9KF10dgiPLr2istu0fetf1EpcAzb6vHBv/k4VtvPQ3YvwaP/gbk+fDMZbSHZg1crnR6G exAA== X-Gm-Message-State: AOAM531MyupNXe+p7sKCLMDtP/ocXGjFXvmON0aNsLosUkdYgr0gZvvH n8LJXX57zaa/9/Ic+ZnqEH5LrQ== X-Google-Smtp-Source: ABdhPJzX2sNvznoB78FA81m7YLor2FvymMTtY+0KWuz+yiWb/aVjjszjTWnGjJWcV7IO8TapAXXogg== X-Received: by 2002:a05:6000:104f:: with SMTP id c15mr5809009wrx.239.1611665150925; Tue, 26 Jan 2021 04:45:50 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:50 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 05/21] clk: sunxi: clk-sun9i-core: Demote non-conformant kernel-doc headers Date: Tue, 26 Jan 2021 12:45:24 +0000 Message-Id: <20210126124540.3320214-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210126_074552_757027_227BB549 X-CRM114-Status: GOOD ( 13.09 ) 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 Headers must describe their parameters. Fixes the following W=1 kernel build warning(s): drivers/clk/sunxi/clk-sun9i-core.c:27: warning: Function parameter or member 'req' not described in 'sun9i_a80_get_pll4_factors' drivers/clk/sunxi/clk-sun9i-core.c:100: warning: Function parameter or member 'req' not described in 'sun9i_a80_get_gt_factors' drivers/clk/sunxi/clk-sun9i-core.c:155: warning: Function parameter or member 'req' not described in 'sun9i_a80_get_ahb_factors' drivers/clk/sunxi/clk-sun9i-core.c:235: warning: Function parameter or member 'req' not described in 'sun9i_a80_get_apb1_factors' Cc: "Emilio López" Cc: Michael Turquette Cc: Stephen Boyd Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: Jernej Skrabec Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/clk/sunxi/clk-sun9i-core.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/sunxi/clk-sun9i-core.c b/drivers/clk/sunxi/clk-sun9i-core.c index 305ad78d5fb4f..d93c7a53c6c02 100644 --- a/drivers/clk/sunxi/clk-sun9i-core.c +++ b/drivers/clk/sunxi/clk-sun9i-core.c @@ -14,7 +14,7 @@ #include "clk-factors.h" -/** +/* * sun9i_a80_get_pll4_factors() - calculates n, p, m factors for PLL4 * PLL4 rate is calculated as follows * rate = (parent_rate * n >> p) / (m + 1); @@ -90,7 +90,7 @@ static void __init sun9i_a80_pll4_setup(struct device_node *node) CLK_OF_DECLARE(sun9i_a80_pll4, "allwinner,sun9i-a80-pll4-clk", sun9i_a80_pll4_setup); -/** +/* * sun9i_a80_get_gt_factors() - calculates m factor for GT * GT rate is calculated as follows * rate = parent_rate / (m + 1); @@ -145,7 +145,7 @@ static void __init sun9i_a80_gt_setup(struct device_node *node) CLK_OF_DECLARE(sun9i_a80_gt, "allwinner,sun9i-a80-gt-clk", sun9i_a80_gt_setup); -/** +/* * sun9i_a80_get_ahb_factors() - calculates p factor for AHB0/1/2 * AHB rate is calculated as follows * rate = parent_rate >> p; @@ -225,7 +225,7 @@ static void __init sun9i_a80_apb0_setup(struct device_node *node) CLK_OF_DECLARE(sun9i_a80_apb0, "allwinner,sun9i-a80-apb0-clk", sun9i_a80_apb0_setup); -/** +/* * sun9i_a80_get_apb1_factors() - calculates m, p factors for APB1 * APB1 rate is calculated as follows * rate = (parent_rate >> p) / (m + 1); From patchwork Tue Jan 26 12:45:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046373 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=-17.0 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 1B9FAC433DB for ; Tue, 26 Jan 2021 12:48:35 +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 D1D9023104 for ; Tue, 26 Jan 2021 12:48:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D1D9023104 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=4GZqEssJiGxC99aeXnq70cbeWfaslHLYAoEAbbEYceA=; b=rB5fo8M1ykMp1TwIK3jBgNpH0 to3kezuHLfHVy59eJAKtAJ/7VvS3JEIM87gy6yuW+YXZXsOlsC4VoqrC5w69sxwigFcmoZsl0d6jD jQIWMwQodWCdaBnjDrxAfHki40wg7c9OrXlJ8Usipjz0vsgKMM5jgVxiz+OLuekMcaVQLaSLqitIi 4probSaoR1oHADF8zB2u9tY3AdYlxqajqL7u7Oliv+4thHbS3YcZuN2rIjISTvRHXDrnQhNcbnt0q tTUMxc5eKclhdmKypMHQxsrWpJiPlGrgYFEfBceDbzEVMPZRSltic2HXBXu++YI7Qrw5UAAwGPBZz ux0FFCMWg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4Njv-0000pE-4f; Tue, 26 Jan 2021 12:46:35 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4NjF-0000Y8-Jq for linux-arm-kernel@lists.infradead.org; Tue, 26 Jan 2021 12:45:57 +0000 Received: by mail-wr1-x42e.google.com with SMTP id c12so16333101wrc.7 for ; Tue, 26 Jan 2021 04:45:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XuvdeEVGgVGx8Q6bfVHqk100qI9P2WGDJUgmEfT3Z80=; b=qVYoj1LV43OERPJkGr6NsVaicAcn1JfbweAsSv4QBHHFtLXYj48oJA1HhFmkUEi2EZ EzvZ+5Vig/rfcG7me0rL+pNqn4XYtc6Ku5X5bHO2ATdWdPMwnm8aRhHWbxSPg4pTQRrk QaYBpInkNzdJ0ZcAO3KfvGPwRaG5kwDptYkTGAJ/uNRTZJpF2PqwOaBNL68+u/s8YkH2 PhMQQT1wdU1YhRkAN7b+WZ+lKQYhhYN/HIbn3ImwPDj3BiPOIk5ZY6vUi401NleKyoc1 AsD1Wew2f+VZdKcplOi7bCvk8gRMMs/TeU1+rgsBqPqT9060O/maLEI4OtshFoKzA8zS OF/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XuvdeEVGgVGx8Q6bfVHqk100qI9P2WGDJUgmEfT3Z80=; b=nXogEOeuGuIHCKi1tO+azJCm1lbeo0/5uj0U9x6nT5VDrPi+hgNwqoiWJPRent/2hX Od+mk7jxOsKORyWeq00hN6BY30prIgQhS0GjuaXlEQcUu3A2f2V/ZEl9e2Qyo3sl4bGA GmR60k7DFBrtvzSLFdOQIB/cErZZGw6Lfie+8fuH8bVvxq8VScUplbwQvQD3qGYD72pm P36f7FKtg5tZPsh4XPzjZjCCE43qJ5PH/DRQER4ke6jmAR9BFYPJWsFnxzIR3E/x1tZ9 y1fWNpx5kKUfxI/M0NdOAv9XTckqsRj9UE60klH4KUYM/Ojyqxs+fN/g7Pj4d3ovstsw dEjw== X-Gm-Message-State: AOAM531hFZDw5MPAZ/gtSUX1oHHnPC0cj7oIP5OjxMEDgaS7k0KOX29r rAme8KhTZcKq71j7/89YYtItVw== X-Google-Smtp-Source: ABdhPJyKKCPuEPaelxY+HfAhH8/k3ZMsUja3L7lTXwAZLVcQ/bRenxKcss5It+OKhPJb9XgdisE7UQ== X-Received: by 2002:a05:6000:1252:: with SMTP id j18mr5772873wrx.232.1611665152035; Tue, 26 Jan 2021 04:45:52 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:51 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 06/21] clk: sunxi: clk-usb: Demote obvious kernel-doc abuse Date: Tue, 26 Jan 2021 12:45:25 +0000 Message-Id: <20210126124540.3320214-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210126_074553_715305_6D69812C X-CRM114-Status: GOOD ( 13.73 ) 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-usb.c:22: warning: cannot understand function prototype: 'struct usb_reset_data ' Cc: "Emilio López" Cc: Michael Turquette Cc: Stephen Boyd Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: Jernej Skrabec Cc: Philipp Zabel Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/clk/sunxi/clk-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi/clk-usb.c b/drivers/clk/sunxi/clk-usb.c index d78a78495bede..5460218f3467a 100644 --- a/drivers/clk/sunxi/clk-usb.c +++ b/drivers/clk/sunxi/clk-usb.c @@ -15,7 +15,7 @@ #include -/** +/* * sunxi_usb_reset... - reset bits in usb clk registers handling */ From patchwork Tue Jan 26 12:45:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046371 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=-17.0 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 064D1C433E6 for ; Tue, 26 Jan 2021 12:48:30 +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 BB56023127 for ; Tue, 26 Jan 2021 12:48:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BB56023127 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=1i3q0sgBjaPPxt674GVHGpVBwl0rdHJRtDLC5Pe310o=; b=V7PtcnKRj5wleI5xVtKAIhrr4 WhO31DUf4kaFmPNyvuYiQlW2RxKY7yhucbkU6tEU5n6cEf6pPYwlP7MpdTPiCzDIGwTgWrMStbaPS QSb+EnbB4gpyj/H8aQ+He+cK1pv65McMaGo8g8Lm/9RscWZfhdWBFaMywjUgWjxhVtdIRtKEytEXr xjFsKFsUcC7eUnxtO+M3q7+Yzi6vOqab9bGmlncizhFLQsWDqC0vJQtjIekw+nLv9ZIxdhcEOIegw rt62QlgPs1P1lL7VsaKgrvlKcEZ4x0GCiBaV/GyDz/cXqiXJ5Z1NaWvConSugTaCdV1A4pip5Ne4r LN67atpUQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4Nk5-0000tZ-QV; Tue, 26 Jan 2021 12:46:45 +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 1l4NjH-0000ZJ-PL for linux-arm-kernel@lists.infradead.org; Tue, 26 Jan 2021 12:45:59 +0000 Received: by mail-wr1-x42d.google.com with SMTP id 7so16317689wrz.0 for ; Tue, 26 Jan 2021 04:45:55 -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=2hzg/8SeTRT9UK29/olnLfJGacHt08VbSRV0nHnvSoU=; b=lWLMnRxvowPMTlaDJFbNmxhWgm9vJFK+V3MilmPDueEgsYLNCwYZs2Mw5//Msre6qQ YcjO+ASNJk3CbvBVUYwwHcHahYoOqtB8ehm1UpFkqSIJBT8QAJ024vozCOPtLzFd+3b5 g4fxKhngoF4xS+5GGHYywN6bcClh8Wl19yOJD32Z251yGQg5GdhAKtHiYMwdMt4WSw1q HN/GXTIpG0IqWFvdZUHU0z9s4P2Ot6ijnJNAK7WFc1RXG/G+0qpBigJQ+LjjIT2CxTlr 68+rz+iOskjnDT95YnpRsbrsFvhIZVm8X5CyOTHiOLvH909RbcktdBJbIospbxigq/qK +KMg== 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=2hzg/8SeTRT9UK29/olnLfJGacHt08VbSRV0nHnvSoU=; b=fEMm7xNaLm64QCdUfeeNSrydfevxUWOAJVKAX72GBlu0LF7uR+3vIWvLd6qbj9pZvz e25TlhI6xtQumavku2p7EicjqB9QOsVduTKa0N/isGY8dpVu29vjFT/gpvPb2L/Rsk4i 5J4Te3wKkG8JStUm6l9l5O2u+kvI01df/Wsdv+pA2TN0hw2/asZqzoxDpk8BEa97O5Le 1fPi8Pwzyrub2zHwPy4Iu8dFZTJ49eWGSY5f9LZPV5txnB5SQsfIcBRGYhVVNdm3VtTA TOGuHf4sG1vzti/gMUdH7ErNRTE1pzYl0yD/DZWXtr34h/EqZKpy364Kk2lwAu56moQf iLLQ== X-Gm-Message-State: AOAM530R2/zaE9faCr4GyNh0IWxVsDwa4JCaDReK4Iuc8fLsTv04THa+ WZyM5MiuvlnRU58ZmVG1F/g3ylKZJwb7XVCE X-Google-Smtp-Source: ABdhPJyjU0lvjeO1wQqSvovQaY4hrhJ2Yh/ZGBtMcXbxz0ciC4bx2nwk/1XVyHtHHP4m8h3In3D4QA== X-Received: by 2002:adf:d4ce:: with SMTP id w14mr5719822wrk.89.1611665154192; Tue, 26 Jan 2021 04:45:54 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:53 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 08/21] clk: clkdev: Ignore suggestion to use gnu_printf() as it's not appropriate here Date: Tue, 26 Jan 2021 12:45:27 +0000 Message-Id: <20210126124540.3320214-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210126_074555_874155_C9B77F79 X-CRM114-Status: GOOD ( 11.90 ) 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: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King 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/clkdev.c: In function ‘vclkdev_alloc’: drivers/clk/clkdev.c:173:3: warning: function ‘vclkdev_alloc’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] Cc: Russell King Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/clk/clkdev.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/clk/clkdev.c b/drivers/clk/clkdev.c index 0f2e3fcf0f19f..5e5f25d568724 100644 --- a/drivers/clk/clkdev.c +++ b/drivers/clk/clkdev.c @@ -153,6 +153,11 @@ struct clk_lookup_alloc { char con_id[MAX_CON_ID]; }; +#pragma GCC diagnostic push +#ifndef __clang__ +#pragma GCC diagnostic ignored "-Wsuggest-attribute=format" +#endif + static struct clk_lookup * __ref vclkdev_alloc(struct clk_hw *hw, const char *con_id, const char *dev_fmt, va_list ap) @@ -177,6 +182,8 @@ vclkdev_alloc(struct clk_hw *hw, const char *con_id, const char *dev_fmt, return &cla->cl; } +#pragma GCC diagnostic pop + static struct clk_lookup * vclkdev_create(struct clk_hw *hw, const char *con_id, const char *dev_fmt, va_list ap) From patchwork Tue Jan 26 12:45:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046377 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=-17.0 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 DD0E2C433DB for ; Tue, 26 Jan 2021 12:48:40 +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 A379E23104 for ; Tue, 26 Jan 2021 12:48:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A379E23104 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=U6TP1aVb7sVGyTYv7eoYdWBhj9RgraZlIQhvE3gs2WM=; b=r0awLS3GpKSufFsiBjcYvPbR2 +tfDbJznEutOiWqRWISESvzL4dGeximsRnE3LEdjEWH2v1ICruHeO5RcT1beUcePBpTQLv896T+cZ fXa5TuraqknVtYZjjWx5cZp//2PtFWwm6cF9WWZLCXMUzTTgpxx7c/KqIujHbh2FNJHRZ2vb5f9JR D6XtT+fgCiFN6kCvK2aMijgWub3wEgBoY4fk54MIU1cKsjeUrNliVwo01GWk/RS+hekk5RYFh28it ScgmeIkB+rv2HA6zwjKXKkVHxzMqj7/5xHnufOiunj0afpeuYFScLvs4lQluRt7HWNtCZ8oliah4C N5cM3ZInA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4NkJ-00010E-A4; Tue, 26 Jan 2021 12:46:59 +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 1l4NjM-0000b0-O1 for linux-arm-kernel@lists.infradead.org; Tue, 26 Jan 2021 12:46:02 +0000 Received: by mail-wr1-x429.google.com with SMTP id a1so16323757wrq.6 for ; Tue, 26 Jan 2021 04:45:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GXshkbgTcCLvcMfQ+97H1sgznjdR4OhpOhHlF1vIaks=; b=IOn9WgbgMEw1WvR4hfDIqRJ4J3Q4fLxrLD1v2OpqwriR9g5cu0rvLO6+nG85AJ/I86 Ro8PQ2sjBGyQ8itEsPu1LMHolkvK1Cbl8WoEY75Xsk3ADB4MZf9bt1A4ZSH0EU2PlBMw Sc5DskgxTKOAHIBTdeZDXENQWvFhRtZ0Lr8D2V0z41ZSMBZEaDSiZ0f81qn3glbEYkSs Vu0zl0pCaTfQU8kULHC3G0u2eeXePBlgB3YoN9e9y37FL3PXnxP2NKMoYKVrAk31qgPB vb1BmBZE7tJ9MVZl/ix+VgWY9rWHLNzqeCdyH1r1M1hGI9eOa/YUy1AjZxC0WLLHPCzo ljkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GXshkbgTcCLvcMfQ+97H1sgznjdR4OhpOhHlF1vIaks=; b=ERLSIj8mZCrkhqj5RNUBIVLkeZkh7qgwHBUSo4aSeIrbPgaeloHWAbCyXObM2WlrXx JjX3JuQpjyrX6M/uYR9VE1AXGzUMSX8NXWNlyhWNzL2iz57rxKl12ZKzzMIh84hFESiZ k0RZxKht3wbkZJTu6LnSGlJslqgnmBxYI/RozdZh0Iy8uHjrAGjwkvfjsGJpdo1jdCDL a9JgvNkzEs9OKKpsme+CUd5HeZeLAOPqLn6hfl54vWr7wHkbZWM3qUXRNOjHb7q3Jn+X ++Af8bksTHk1Zmtp42wZQmleqhivsD56O5eDK2fel5fs6HQOLMXprlvBfqHrdq68ciUe qT8g== X-Gm-Message-State: AOAM5323vYkLjDnbu1dXF/nwtB/4GaAHD9Ega35j0Od0Awhjavdkfbvx i9zvm8WzWspiTin79nhvIvaKKg== X-Google-Smtp-Source: ABdhPJwoPA9vG6jciVxwrfEtCx9Pr5x7tBugNW6dJqWbI+z0Z16Pw40r5QCFS8r+cJNaiWfnt5Y3CA== X-Received: by 2002:a5d:5549:: with SMTP id g9mr6306888wrw.244.1611665158774; Tue, 26 Jan 2021 04:45:58 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:58 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 12/21] clk: sunxi: clk-sun6i-ar100: Demote non-conformant kernel-doc header Date: Tue, 26 Jan 2021 12:45:31 +0000 Message-Id: <20210126124540.3320214-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210126_074600_907844_0627673A X-CRM114-Status: GOOD ( 13.78 ) 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: Boris BREZILLON , 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-sun6i-ar100.c:26: warning: Function parameter or member 'req' not described in 'sun6i_get_ar100_factors' Cc: "Emilio López" Cc: Michael Turquette Cc: Stephen Boyd Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: Jernej Skrabec Cc: Boris BREZILLON Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/clk/sunxi/clk-sun6i-ar100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi/clk-sun6i-ar100.c b/drivers/clk/sunxi/clk-sun6i-ar100.c index e1b7d0929cf7f..54babc2b4b9ee 100644 --- a/drivers/clk/sunxi/clk-sun6i-ar100.c +++ b/drivers/clk/sunxi/clk-sun6i-ar100.c @@ -16,7 +16,7 @@ #include "clk-factors.h" -/** +/* * sun6i_get_ar100_factors - Calculates factors p, m for AR100 * * AR100 rate is calculated as follows From patchwork Tue Jan 26 12:45: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: 12046381 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=-17.0 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 9CF56C433E0 for ; Tue, 26 Jan 2021 12:48:57 +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 5DA5523109 for ; Tue, 26 Jan 2021 12:48:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5DA5523109 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=3xALxKpU8tKwqqMlZf5AMtsrbRAV6GZcU4nwLA5YHJw=; b=zgQG+/EH10s1xfONWhhCcyzAf NW8Zdhje/y6fC2GEmN4LtM284fZuPiWHNbzcpfcSui3I2TdhSvAa3veAfdeLnLR8rXN7uKE/WkQLi DbiLy9R4DxnxONeoqgqv2raq/UA+Cwx898YTZ2AxuAcPI0u/tvRkWv97GHemAWVTTJVPr3I+1Vwep OP/Ha3hmF+dq71P3ytLGi4WNiH12VLvzTGp+OGvXT9Nj/wkq05NEdPyNQEnjF03BhBnHzCUb0x9Cx 0Ep5D2/Kwzfp1r2/poUtRAi1hTcH5FwpIiW8++beUu0QAyUM6TGvcsOHLhxZ4wH9ydvhGg8/g8V/N vL4wkGihQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4NkW-00016D-Ep; Tue, 26 Jan 2021 12:47:12 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4NjU-0000de-OP for linux-arm-kernel@lists.infradead.org; Tue, 26 Jan 2021 12:46:10 +0000 Received: by mail-wm1-x334.google.com with SMTP id i9so2664462wmq.1 for ; Tue, 26 Jan 2021 04:46: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=VUPD/cY/LxhsyGz5jHztNy8YoBG2hAYfm7OqDgw4v6U=; b=FAKKvRzUpV5MunUaX3y3M0fVr0O0QjwYBT91T6fALGVpWDMVrP5aQT40HU3JSycRAE VkDgwCNzC0hH+sllDZ8T04ETOnXBWzWOUMuu3HSV2R7tB98d4jTiTKh+tjhbKv20jKCo YrsgE74qauxuN2zfXJa50Wq5qbd2iMgMLIqFIcpk0UOmgQkUNoBVyiwXyzbnCrPRVYUU ZdmlfIUGK2DdYXj5phDiTToHiksYJcmgPaNYsQGJZP7jFG492ugjPOD6p8Jpgxd4YqFy 9CpIBbASUxkCTSLjhQr33AvPkSK3BCKuoqCCBTkyan5ugwIoCIpFf59EcIWWABAUBMMD G/lA== 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=VUPD/cY/LxhsyGz5jHztNy8YoBG2hAYfm7OqDgw4v6U=; b=WcUSF8wH9aAKHfDolt+bQ1RjRfYPk7dtPYaJgpJr+Yp6JOU3ObepAvI4qP0V9K2QbG 3ZzrWEBL+HjgzZtN868BiRXwG6gAjuIwH0sWJApr0LuRfysfP4W2Q35XLSVHoUfKj+Ks SseoAuQ2CaNlqIieVDqe3CvRoBZHx/oLxoyN0ni7hOmQSwU8Qx1dHiq+GX7Ym8f9RjXl AeDrzUchEMy48OIh64KldKK3jKlW6TzOAZpCO3wW47Qa4s7RWKiq73Uduwu95b1Ndp0+ VKYFwY3qapA0RHqHIGS5wPvVCSx7zyPprjZNatuLHtncvPZFYyDX1yT5YZ5th8eNN/ti hJow== X-Gm-Message-State: AOAM531k6ymmKjHbs6Is/IaxW8cXCmnYRCD0C6RGOT6XULBK7WuKPZl4 psEL7c7Su6GY8gEnPc3Q43HlYg== X-Google-Smtp-Source: ABdhPJzDfZrmi2kd5wjC1UYrN12+BpCm+J6hNVRU+Vg0taR5ItIW4r04IRJtEUstdKlRYXEEAID4Cw== X-Received: by 2002:a1c:9648:: with SMTP id y69mr4464374wmd.40.1611665167134; Tue, 26 Jan 2021 04:46:07 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.46.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:46:06 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 19/21] clk: spear: Move prototype to accessible header Date: Tue, 26 Jan 2021 12:45:38 +0000 Message-Id: <20210126124540.3320214-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210126_074608_870403_CA8D2A81 X-CRM114-Status: GOOD ( 17.66 ) 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: Rajeev Kumar , Viresh Kumar , linux-kernel@vger.kernel.org, Russell King , Shiraz Hashim , 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/spear/spear1310_clock.c:385:13: warning: no previous prototype for ‘spear1310_clk_init’ [-Wmissing-prototypes] drivers/clk/spear/spear1340_clock.c:442:13: warning: no previous prototype for ‘spear1340_clk_init’ [-Wmissing-prototypes] Cc: Viresh Kumar Cc: Shiraz Hashim Cc: Russell King Cc: Rajeev Kumar Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones Acked-by: Viresh Kumar --- arch/arm/mach-spear/generic.h | 12 ------------ arch/arm/mach-spear/spear13xx.c | 1 + drivers/clk/spear/spear1310_clock.c | 1 + drivers/clk/spear/spear1340_clock.c | 1 + include/linux/clk/spear.h | 23 +++++++++++++++++++++++ 5 files changed, 26 insertions(+), 12 deletions(-) create mode 100644 include/linux/clk/spear.h diff --git a/arch/arm/mach-spear/generic.h b/arch/arm/mach-spear/generic.h index 25b4c5e66e396..8ec2b92dca192 100644 --- a/arch/arm/mach-spear/generic.h +++ b/arch/arm/mach-spear/generic.h @@ -43,16 +43,4 @@ void spear13xx_cpu_die(unsigned int cpu); extern const struct smp_operations spear13xx_smp_ops; -#ifdef CONFIG_MACH_SPEAR1310 -void __init spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base); -#else -static inline void spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base) {} -#endif - -#ifdef CONFIG_MACH_SPEAR1340 -void __init spear1340_clk_init(void __iomem *misc_base); -#else -static inline void spear1340_clk_init(void __iomem *misc_base) {} -#endif - #endif /* __MACH_GENERIC_H */ diff --git a/arch/arm/mach-spear/spear13xx.c b/arch/arm/mach-spear/spear13xx.c index 31c43cabf3623..74d1ca2a529a7 100644 --- a/arch/arm/mach-spear/spear13xx.c +++ b/arch/arm/mach-spear/spear13xx.c @@ -15,6 +15,7 @@ #include #include +#include #include #include #include diff --git a/drivers/clk/spear/spear1310_clock.c b/drivers/clk/spear/spear1310_clock.c index 591248c9a88e7..8c89748667899 100644 --- a/drivers/clk/spear/spear1310_clock.c +++ b/drivers/clk/spear/spear1310_clock.c @@ -12,6 +12,7 @@ */ #include +#include #include #include #include diff --git a/drivers/clk/spear/spear1340_clock.c b/drivers/clk/spear/spear1340_clock.c index 9163bbb464112..c0dc94355c873 100644 --- a/drivers/clk/spear/spear1340_clock.c +++ b/drivers/clk/spear/spear1340_clock.c @@ -12,6 +12,7 @@ */ #include +#include #include #include #include diff --git a/include/linux/clk/spear.h b/include/linux/clk/spear.h new file mode 100644 index 0000000000000..a64d034ceddd2 --- /dev/null +++ b/include/linux/clk/spear.h @@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2020 STMicroelectronics - All Rights Reserved + * + * Author: Lee Jones + */ + +#ifndef __LINUX_CLK_SPEAR_H +#define __LINUX_CLK_SPEAR_H + +#ifdef CONFIG_MACH_SPEAR1310 +void __init spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base); +#else +static inline void spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base) {} +#endif + +#ifdef CONFIG_MACH_SPEAR1340 +void __init spear1340_clk_init(void __iomem *misc_base); +#else +static inline void spear1340_clk_init(void __iomem *misc_base) {} +#endif + +#endif From patchwork Tue Jan 26 12:45:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046379 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=-17.0 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 A1DE5C433E6 for ; Tue, 26 Jan 2021 12:48:57 +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 5D74723104 for ; Tue, 26 Jan 2021 12:48:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5D74723104 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=NXSvCcTYKiFWmcgpZqO0CCChgSqY4qvRbZb+WMaYGYM=; b=v9QuzB6ukiby09TeuRcHjF6I2 smUCx/WAgv8rN0z9HRBYzIcaXEwpxPo6Be51PvALh0FvFL07O+keTJrtAuyUhi5UxPBNAubGqz/D3 0v8dZegDP4scOTwZtPQYjR5gdZJm3zDS2qAeBJor+4okKquuQMzD6s0AkVFB0x5ZFhZkT2X8vBGgY hEz2gkEuax8HMBHmB8j9zdgA8feUntudaM4bAI/jM3G2sIqoyXzDUpY34MaS4bRnsH9Z5FI9ZrXAD QQSK7maaTYW22ssrxVBY0+s/0o++b1QiyMGLV7ZGP9QzvGwOroHN0PCQjTyHy3SwgCQjjwYLAKJzW VD540HyCg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4Nkf-0001Cx-RA; Tue, 26 Jan 2021 12:47:21 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4NjV-0000eF-D1 for linux-arm-kernel@lists.infradead.org; Tue, 26 Jan 2021 12:46:11 +0000 Received: by mail-wm1-x329.google.com with SMTP id c128so2649606wme.2 for ; Tue, 26 Jan 2021 04:46:09 -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=zJtSQGuxz964dfYUWXRLdwlnPP2R/QEORl17NxQy5d4=; b=GDA6VuYgWblPv9tnaRfwdw/YrjYKrCWwOqW7HYExURDfcqlHtm9ulxub2JS85ZsYPD TiANdGatfnUgdRGLQh7GoQ22HKgKxvCct1Ju90J2tVyc7HfZDqAHGqZNNl1yx6AEAW/y oAvSsIi7xZKfpE/BhunIxIwoXuZ7U4EJpXkuXQ1Jq+lpDL2EelHHGqMLY6o2zYSOBDH6 ErvsgoNL+63u/tVu4mOPYe+0LqurL6A68GprJpVLYDhioCUiu7qlV8ODNe3IMqzG8OLQ mu8hIIf0sukV9EY1KqWw7EYHnVbnE5GoJFc0Pf7LM7GfQBDGR/osUddtpChhCk/83U7q 6VFQ== 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=zJtSQGuxz964dfYUWXRLdwlnPP2R/QEORl17NxQy5d4=; b=j50tq1LaGhtYLv0Ex4S4Ma9I0mwYEOTvyE/Q2o8slUysmdXj8ztThzpxbBm95uMsEE PZLcj3geck0ABU8hz+Ae3PuDFwI+up2VVDB2ZoqipUKqPTvia4nm7ZB272jn8tadr/Ic bH8Pzg284ZbTjfTfNQuRXpTxpeTy+Dwc9x3SPaLo22UXZks6Eje97C3oi2e/yRzDs1Cv 8SDEzaqp0kxydFWcXJIVGU+hqd5BFVUQYlF7pwXD4swhSgfpqBqiIhF3aC7YSYgU5U/M WP0yoFDt1wsmK/CvUO67h9NGg1SFHm9SPYKJcCxwbARe8AgV+rULwKyvpDgoPy3Y77tq mpFA== X-Gm-Message-State: AOAM533Z/vG8iWNsjp9fPwk4o0DwOetILimyAzQafygPYbrNJmECjSlH AwVIQpDcVvDBltZtzShQiz9j6A== X-Google-Smtp-Source: ABdhPJz6MIZQG2LgzYeGqTVMQgNd8pCBhDKPFxbM5Le6UPbMFQS8g+QNOT/b/djSPdsv18wh7s/uXQ== X-Received: by 2002:a7b:ce11:: with SMTP id m17mr4492622wmc.158.1611665168230; Tue, 26 Jan 2021 04:46:08 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.46.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:46:07 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 20/21] clk: imx: Move 'imx6sl_set_wait_clk()'s prototype out to accessible header Date: Tue, 26 Jan 2021 12:45:39 +0000 Message-Id: <20210126124540.3320214-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210126_074609_709043_AFE2FC1F X-CRM114-Status: GOOD ( 18.11 ) 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: Ahmad Fatoum , Shawn Guo , Sascha Hauer , linux-kernel@vger.kernel.org, Russell King , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , 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-imx6sl.c:156:6: warning: no previous prototype for ‘imx6sl_set_wait_clk’ [-Wmissing-prototypes] Cc: Russell King Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: NXP Linux Team Cc: Ahmad Fatoum Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- arch/arm/mach-imx/common.h | 1 - arch/arm/mach-imx/cpuidle-imx6sl.c | 1 + arch/arm/mach-imx/pm-imx6.c | 1 + drivers/clk/imx/clk-imx6sl.c | 1 + include/linux/clk/imx.h | 15 +++++++++++++++ 5 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 include/linux/clk/imx.h diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h index 2d76e2c6c99e3..2b004cc4f95e5 100644 --- a/arch/arm/mach-imx/common.h +++ b/arch/arm/mach-imx/common.h @@ -85,7 +85,6 @@ void imx_anatop_pre_suspend(void); void imx_anatop_post_resume(void); int imx6_set_lpm(enum mxc_cpu_pwr_mode mode); void imx6_set_int_mem_clk_lpm(bool enable); -void imx6sl_set_wait_clk(bool enter); int imx_mmdc_get_ddr_type(void); int imx7ulp_set_lpm(enum ulp_cpu_pwr_mode mode); diff --git a/arch/arm/mach-imx/cpuidle-imx6sl.c b/arch/arm/mach-imx/cpuidle-imx6sl.c index 4521e5352bf64..b86ffbeb28e42 100644 --- a/arch/arm/mach-imx/cpuidle-imx6sl.c +++ b/arch/arm/mach-imx/cpuidle-imx6sl.c @@ -3,6 +3,7 @@ * Copyright (C) 2014 Freescale Semiconductor, Inc. */ +#include #include #include #include diff --git a/arch/arm/mach-imx/pm-imx6.c b/arch/arm/mach-imx/pm-imx6.c index 40c74b4c4d730..9244437cb1b9b 100644 --- a/arch/arm/mach-imx/pm-imx6.c +++ b/arch/arm/mach-imx/pm-imx6.c @@ -4,6 +4,7 @@ * Copyright 2011 Linaro Ltd. */ +#include #include #include #include diff --git a/drivers/clk/imx/clk-imx6sl.c b/drivers/clk/imx/clk-imx6sl.c index 2f9361946a0e1..29eab05c90689 100644 --- a/drivers/clk/imx/clk-imx6sl.c +++ b/drivers/clk/imx/clk-imx6sl.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include diff --git a/include/linux/clk/imx.h b/include/linux/clk/imx.h new file mode 100644 index 0000000000000..75a0d96965528 --- /dev/null +++ b/include/linux/clk/imx.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2020 Freescale Semiconductor, Inc. + * + * Author: Lee Jones + */ + +#ifndef __LINUX_CLK_IMX_H +#define __LINUX_CLK_IMX_H + +#include + +void imx6sl_set_wait_clk(bool enter); + +#endif From patchwork Tue Jan 26 12:45:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12046383 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.2 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 033DFC43381 for ; Tue, 26 Jan 2021 12:50:14 +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 A9A7C23122 for ; Tue, 26 Jan 2021 12:50:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A9A7C23122 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=h/H01SGz9RDe2BKo1LqyDBC0GKPmkGbaHssrCROBkfI=; b=UwL+xqhfeDlD0xQpsXM2Ht3ZO gItLsZQ1Ew03GUvqOXj+WqJeYaYr1l54Ln/0ILdrTtjrgLewMBmIM1NbzhYosdfqzSBEwMCNGQCY2 KT9s9+TgPRUKYKYKbft7Hda7bvVY6fFXvXFT7Ko0o7lb8TWgv7onALljBdvfY8Rxgvb6AsuHo2CbI LkbawyhJ9iDEOhtG1D68ZlJKDyy3l0J+IZO0yg6oQFHmREo3Sz19GguuKLVyHBUOCJpcCeQmJ3AG1 O122hcS84pWd5u5O2aRO1MzKVF1xY1Zeu1BirjMEslIDjJ4Uj07RQW+E3nKt0e8fUKdR+6HXgb6kU z4c5rzLXQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4NlJ-0001Wn-Qg; Tue, 26 Jan 2021 12:48:02 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4NjX-0000f4-8s for linux-arm-kernel@lists.infradead.org; Tue, 26 Jan 2021 12:46:12 +0000 Received: by mail-wr1-x42b.google.com with SMTP id 7so16318569wrz.0 for ; Tue, 26 Jan 2021 04:46:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hwOEDN9pFoMRn0bPIH5AwWEBMRWoq5VkGdsYNSR9FGE=; b=cZz01X+VWuBj+9uDKkkXPXM9//fkRR9GHvUotrvnK/n1yjzEnawXB+dGxsS7z9inSF WgG0hLmw8aPkRHv2dpc44VQiBduw1TiWcMJP3SJBGYIs7h3MQ441bXddZcUs0LI6hr+L /jOxSZcoUciHMHscXa1VxI9h9IsFwA20YgG3ApzWADK/Ks5WmuiVESxKQrjI52wsgxjz /+D/Uk6PjuvauamZ7S6/332je+0L8ICB5iLI8emZUdBKZzxo4fsE1pKTt8BMHnxKtKdt Vf9+KwYyK135SHqf8I6fWJkHsF3QmX7LsVpgIIIYzcLiQ0ay4mUcrqpt4n/KLGDWeH/L qfCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hwOEDN9pFoMRn0bPIH5AwWEBMRWoq5VkGdsYNSR9FGE=; b=j8hDncUJAhosqIL2a9NSjNISiouSLK0LLAUP/P/dn4A5KYUoRSetr7cuRy3Ptfdips qZnFuc66d6WUB4CmA/Yu07wzvEN2X8yevztv4Wy1hg6v7VS+DB8B7wh3tJ496fz9++Im ajrjH/eSMwWalbvgE47adXFs3oSj7/PwZs7qS9GazkMKaImy42eWY2vvW7upofbqefWe M8J+xLs32KomYGsCW7alS5tpR1HXUgdiai5F5eRSUIWmGbVCYK6eJxxk8e/ZinGo64Rm VGjEL/cinz0d2Qdvcg2lDJUrsoPPJJY9NMO+5jrlUdGno04BJmiQl9E5BfAnycH8oWhx y3cA== X-Gm-Message-State: AOAM5302CEX8j2iHb/rsCMUwzHPCrBePa5UuXCYs4Y0p1r2FovNDfZN+ BoDXjd3CXq3oapTyu9LJJPgJnw== X-Google-Smtp-Source: ABdhPJzSQDfP81pbHTeNqSO7T6XdRtI37YTtqJ1RLv7NXMg826rJtq9xTgY1rh1yu6cBbuWypkDCeg== X-Received: by 2002:a5d:6347:: with SMTP id b7mr5805047wrw.233.1611665169480; Tue, 26 Jan 2021 04:46:09 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.46.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:46:08 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 21/21] clk: zynqmp: divider: Add missing description for 'max_div' Date: Tue, 26 Jan 2021 12:45:40 +0000 Message-Id: <20210126124540.3320214-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210126_074611_900954_0C756D8B X-CRM114-Status: GOOD ( 12.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: Rajan Vaja , Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org, Michal Simek , 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/zynqmp/divider.c:46: warning: Function parameter or member 'max_div' not described in 'zynqmp_clk_divider' Cc: Michael Turquette Cc: Stephen Boyd Cc: Michal Simek Cc: Rajan Vaja Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones Acked-by: Michal Simek --- drivers/clk/zynqmp/divider.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/zynqmp/divider.c b/drivers/clk/zynqmp/divider.c index 66da02b83d393..e9bf7958b8218 100644 --- a/drivers/clk/zynqmp/divider.c +++ b/drivers/clk/zynqmp/divider.c @@ -35,6 +35,7 @@ * @is_frac: The divider is a fractional divider * @clk_id: Id of clock * @div_type: divisor type (TYPE_DIV1 or TYPE_DIV2) + * @max_div: maximum supported divisor (fetched from firmware) */ struct zynqmp_clk_divider { struct clk_hw hw;