From patchwork Mon Nov 30 10:18:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 334713 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp4509035ilb; Mon, 30 Nov 2020 02:19:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJzmRCKO12Ch7wwi4GbvmZxBMfQeMul4FupLdnqo7b9sLPLzPaSYkzgu4sgtofHown2Mv4+v X-Received: by 2002:a17:906:4412:: with SMTP id x18mr15047700ejo.301.1606731554598; Mon, 30 Nov 2020 02:19:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606731554; cv=none; d=google.com; s=arc-20160816; b=G9/xVxLMTI8n9++zOS0zMTjc1qVFCoRS6Jh+NBeDDPgXZaEJDAY8wNBGozt9NzNscX 1jXXF3iul68/+y1VwdOc00nB4E74oHqhj4cPvofW0It6I1Fb5MRNrefrCxnm82L8wiVm I8QDWqHSp07dubXXPLCnohnhLxtquaMd42YeonQPFgPuDJzogmis1j9EtlUSg98giHrd XnQszIEDvlCL87dW9ggKh7qWJXpeXC29Jk34jHOEH/Gn9yFZfLi45V+IEws5otEbu9Uj beHHBA4AGBXg6kL9NW33Uzt1XDdVvKd6kPMGg8zZ8f6C3pfUyupeXLtlfbKgwcAFHtY4 L2PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=xH7vKwH75HQqDx86IPkYSGMZHwM3mrlZlWhRbG+87CQ=; b=AuR6eHAO9LRwsO4kNe5gueIjwMGt5WqSDsVcS3jWTQOUWa9Dru4flAGPtJA26LJc1q ikeZYPTg0r9dypLcjvm4B/gexcubBWbuQs6zdwzUZe44C2fgOnsevKmJo27KrY/h7tnJ JaqkcrdUg8/3WmDfmJKx2j5rDQo2AffiaNBRMojm5Mbjp1qZYWJDSeo/U5Op11Q62k/Z gC8PRycOKdwIrqtEpEjzJfa90uqX1IIUKVyYZvOIQiTcaKFRVAyp5LEly0+/Qu1EtkkA PJdhI1f3M6u3qIRCChDtZy0X2QIzLiYXocQTS7ncDwYzhU7F6efjL7IayWomIT0kfW7H ZioA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N3svmper; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ga18si9814753ejc.519.2020.11.30.02.19.14; Mon, 30 Nov 2020 02:19:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N3svmper; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726955AbgK3KSr (ORCPT + 15 others); Mon, 30 Nov 2020 05:18:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726828AbgK3KSr (ORCPT ); Mon, 30 Nov 2020 05:18:47 -0500 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEF95C0613D4 for ; Mon, 30 Nov 2020 02:18:06 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id o1so1407686wrx.7 for ; Mon, 30 Nov 2020 02:18: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:mime-version :content-transfer-encoding; bh=xH7vKwH75HQqDx86IPkYSGMZHwM3mrlZlWhRbG+87CQ=; b=N3svmperiaqvbJV6FavHC8Mhwdny4JUatn5EMlCXuafLWAwx+evti/oLhbQm4Yi8pR p8gkhAukBsT5IMdq15tLEcAG49wfdXszuQDPAJzSPR1sj9aEL01uoG8Sju/iJfEuGaMz 5U0oSHtLLmm1Ec54Gd/PflqR28XwtlUvw+Bg+w+8MSVtEa0X5kJ+Tmi1auYo7bKeLGDr vXjYlFcTV5hzKB8yZlNT9ykvxffQ6uNoeRXb/Z4SLQr0FV8IH6uNVyRLh0mPzM/tFtGR j1K/T7FSUsxTVEgIcMayCPeRknu2cNtE/oR2w98lfguav/s57qXUWJACkuF9eMroDoJ1 cKuQ== 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:mime-version :content-transfer-encoding; bh=xH7vKwH75HQqDx86IPkYSGMZHwM3mrlZlWhRbG+87CQ=; b=Ouftzt4zdDimMkvfmGXVCjUakruSigQcUBo/17vrF12rSgaQuU4nRIoqarxJ9zvRJS sigCkxdKGSWp5VZjm0MgWWMRMcZGqdm8xV1qliSRHyz3+DylEm9hOw5wuEb2qK09xFl3 XHgUfHUBe5YiV7Xt/xQU4VTf1rXzvr4w6JlA6mCAnknlJIEDyQaaosDs1esW5mPXhFjf h6XHtiER1/9YpB018BHCIF4/HuJANueOyAFbDBJ42DIZ0S/e8qtAFkiG6QVSEMMlaMWG F5tOL1DeTB+g2p556Ww48NGhO5KpA51hOcp9r+HvP3rZHJuVGPmfeM5gD6CiclxPV5S6 GNLw== X-Gm-Message-State: AOAM533tYEoPShDcCG4roiX77u9/21lqwWLAJ9AH1D2r1vbm0L1ql4Tw N+vR1+tzwmpARcbb3aVshC06og== X-Received: by 2002:adf:f0c3:: with SMTP id x3mr19495602wro.327.1606731485408; Mon, 30 Nov 2020 02:18:05 -0800 (PST) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id c187sm26314234wmd.23.2020.11.30.02.18.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Nov 2020 02:18:04 -0800 (PST) From: Georgi Djakov To: kholk11@gmail.com Cc: bjorn.andersson@linaro.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, georgi.djakov@linaro.org Subject: [PATCH 1/2] interconnect: qcom: sdm660: Fix the kerneldoc for qcom_icc_provider Date: Mon, 30 Nov 2020 12:18:07 +0200 Message-Id: <20201130101808.26472-1-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Fix the following warning by documenting the regmap field: sdm660.c:191: warning: Function parameter or member 'regmap' not described in 'qcom_icc_provider' Signed-off-by: Georgi Djakov --- drivers/interconnect/qcom/sdm660.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/interconnect/qcom/sdm660.c b/drivers/interconnect/qcom/sdm660.c index 6953d6d99a11..dbcfc8f15738 100644 --- a/drivers/interconnect/qcom/sdm660.c +++ b/drivers/interconnect/qcom/sdm660.c @@ -179,6 +179,7 @@ static const struct clk_bulk_data bus_mm_clocks[] = { * @bus_clks: the clk_bulk_data table of bus clocks * @num_clks: the total number of clk_bulk_data entries * @is_bimc_node: indicates whether to use bimc specific setting + * @regmap: regmap for accessing the QoS registers * @mmio: NoC base iospace */ struct qcom_icc_provider { From patchwork Mon Nov 30 10:18:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 334714 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp4509046ilb; Mon, 30 Nov 2020 02:19:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwBXMjocI4I3pDKcX3v2R0rEJqxPnoXgOOA+U2SiqaFpb7KmmN1oTvCukwBqow3IRcNoL6c X-Received: by 2002:a05:6402:c83:: with SMTP id cm3mr20210577edb.189.1606731555550; Mon, 30 Nov 2020 02:19:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606731555; cv=none; d=google.com; s=arc-20160816; b=mR7a0D0G1/SmYoCl8mV4f6QZC9bon+qQiNw/OmxWVnLnDjMt1qY3+Et2tfj/1IVEYM 0CxNl/9eBZHtOJrN2RHGS0iRSA5hGs6u1blLmGfSxiQHIA+k+C303QMwZVgL6VSOfKjw 2p/hRSigVj/q85iOlQcvERzZHAe4ZZ6nZ63YNrdHDV8RthpBfHIG9zFSHNmQdvsAtq5m vDbBk1oyWnZyaQk2YEIvzvmAPH61Os/ecJtznm3VBs3c50GAFllwmxRsdoxm9b4ZCUGA MlmptrESdAnO098SuI71KFX4qxqp13oOs0s957QDKnqWIfCWF50wtu2ImzFWBFbAUIrP o8sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oNprQPHEZ5bCkTJhMC7KxuMdxZwrsH+cbZUBqg21pEI=; b=aeCBGqQCORi/1XNxphDMTd4YhzUE6+uvhKKuuGAQXF+ROKnLPp/XQCfYMopUzjmMMU 5y1oUExeGiU0yBSOnmohn8hstxGHO7s6N5jjJ0kXzQj0UuSoFdEt+U0t30l5vEjWItsz Z9q685Xj3h/ByXlOSLXbGuG8GRVJ098Cy94kBadp2ZQibPIRQprEaYRQg/HeuE+rn4Q2 nEKZbQ1AX2dkRYd5lxi6rodJCxD//jLnniLfCOWi0a3Rl1bhZRm0Ms9PRR4+rrgWUk+f RI/K9JdQNCSIVpFE4L1JNwxpCo3fzp7TQuKhjdqG3ZO4j0fnCRtrcQM0dQusoi/sZY4e pWRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mA34uqal; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ga18si9814753ejc.519.2020.11.30.02.19.15; Mon, 30 Nov 2020 02:19:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mA34uqal; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726828AbgK3KSs (ORCPT + 15 others); Mon, 30 Nov 2020 05:18:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725965AbgK3KSs (ORCPT ); Mon, 30 Nov 2020 05:18:48 -0500 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDE90C0617A6 for ; Mon, 30 Nov 2020 02:18:07 -0800 (PST) Received: by mail-wm1-x344.google.com with SMTP id c198so17802293wmd.0 for ; Mon, 30 Nov 2020 02:18:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oNprQPHEZ5bCkTJhMC7KxuMdxZwrsH+cbZUBqg21pEI=; b=mA34uqaleLeOt7k18c52QcgFkQ20NkK2TIBEl/YDaxdq4YwAvKjGiz94TdRYzKE/5o 7S0QoNpeMib4VwTk7bDWL6oVNXsaXHmujN1zYf/AcFo0bvye8jOnaEDKtxS9NEUendat rVnYd7yfT+GEPZRLVAcsHd31dk/aSXkmZQCAcH0ow9gbxdX9KKarIf4b7eg+oBB+H4a1 8y9Jisu02bvmUs8Wi61etSba4RexxjWY1AriQY6xfC4khiVN2dUXkuutsFciZOgeiEwW opXA9bOu826Au3RSOWoKLglNongyejvFJC98YjsmljDpe2/vJEOg/1Cm8YOBmIBfq6yr sL1w== 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=oNprQPHEZ5bCkTJhMC7KxuMdxZwrsH+cbZUBqg21pEI=; b=O4jzMJWLAfINcQTREU3F5+qrnubxVj/Y1n+TtmbO+VVADbB97JnrzrVZ8OeszRY/3D y7xtDzB3BHiR4wqMWF6ji3c3GDyQvuNVG3ikG+uedQw6QlyrQUU9uvqRLt+iAEDqTEnY nUAAijWdOCPPqOfEFdNf7L2dN+nxeICvs0TpKmlxnI7vblVejyn0Mb6h3dcaZ423z+XS IJpKxLwO/8gKLYyp+b2O5fT0eK/LtPtcIgT4bQwFuTphHzWfB/MD3T3OeZuGyb+BfdMP rkwQcLqaE74bVRUvrqS2BcpmHaqer8IGqkNaW4Mt/GV/MQISfvnw3RD9bKmpbmObADTT uaKA== X-Gm-Message-State: AOAM532nBZh76QNGiLfb6yEtMaUqkCgvwhR0ZDlgfq+//18BkacmvEOs UbLd0OMpC+iPp/Qi67Ka8Mad8A== X-Received: by 2002:a1c:e084:: with SMTP id x126mr3188715wmg.109.1606731486493; Mon, 30 Nov 2020 02:18:06 -0800 (PST) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id c187sm26314234wmd.23.2020.11.30.02.18.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Nov 2020 02:18:05 -0800 (PST) From: Georgi Djakov To: kholk11@gmail.com Cc: bjorn.andersson@linaro.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, georgi.djakov@linaro.org Subject: [PATCH 2/2] interconnect: qcom: sdm660: Remove unused macros Date: Mon, 30 Nov 2020 12:18:08 +0200 Message-Id: <20201130101808.26472-2-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.29.0 In-Reply-To: <20201130101808.26472-1-georgi.djakov@linaro.org> References: <20201130101808.26472-1-georgi.djakov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The following is observed when compiling with -Wunused-macros: sdm660.c:43: warning: macro "NOC_PERM_MODE_FIXED" is not used sdm660.c:44: warning: macro "NOC_PERM_MODE_BYPASS" is not used sdm660.c:39: warning: macro "NOC_QOS_MODE_LIMITER" is not used These are not used anywhere in the code, so let's remove them. Signed-off-by: Georgi Djakov --- drivers/interconnect/qcom/sdm660.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/interconnect/qcom/sdm660.c b/drivers/interconnect/qcom/sdm660.c index dbcfc8f15738..bf7e544129c3 100644 --- a/drivers/interconnect/qcom/sdm660.c +++ b/drivers/interconnect/qcom/sdm660.c @@ -36,13 +36,9 @@ /* Valid for both NoC and BIMC */ #define NOC_QOS_MODE_FIXED 0x0 -#define NOC_QOS_MODE_LIMITER 0x1 #define NOC_QOS_MODE_BYPASS 0x2 /* NoC QoS */ -#define NOC_PERM_MODE_FIXED 1 -#define NOC_PERM_MODE_BYPASS (1 << NOC_QOS_MODE_BYPASS) - #define NOC_QOS_PRIORITYn_ADDR(n) (0x8 + (n * 0x1000)) #define NOC_QOS_PRIORITY_MASK 0xf #define NOC_QOS_PRIORITY_P1_SHIFT 0x2