From patchwork Mon Jul 13 14:49:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235429 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2905879ilg; Mon, 13 Jul 2020 07:49:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzogQobHCZ323moU7tntptnFQrafkQfVYgPDI8aFql6elZ/GCT7KvcP0s8jGT9ITAPVmi7/ X-Received: by 2002:a17:906:fa9a:: with SMTP id lt26mr133945ejb.502.1594651778359; Mon, 13 Jul 2020 07:49:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651778; cv=none; d=google.com; s=arc-20160816; b=BFBJhJechZpZsJMLEuuW+Dzvpo0hjz6LKWsSyPg2FLf/N13m850CihkgOY8yiDhSQ3 m7QgPHTlyHrEBsM/Ek7Ab+b0zI0xuZhzr6E8XBTFHZZ/cfdfB8wi0dK5xUeqVx1Dl2Ix gDWW99CuYpIrqivW/JfsVI/Jq5DN+nJZXsi6a5kyYISMb3IY1J8xXBkR4XVCtyZ3Mr/c ipmOyAKQc+1Gc2PPRVooWi5cZRh9OtjV9p/zlEEPp8rWkLgcEyXmsym3XAj4AMOJDDcn 3xpuhcbi5H+J8QDDLfbeYBAOk16uKlbTIYRN9HaS92+aBMRP4rOSR3XH9vRqtx2qP42J lf2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1vzOm+Wxxl66itaxak6yGc68arwrZOiyNRd2hReQUvM=; b=p/3EL0AXbpaBNZ+I7kh0rzZceTg4rbaEAgQGqPERFv40EajLZPrx5BFBiEMQYp7bnK PTh1ZF7QwQ5sf76uyu097Jt2NX7Q2kTu56i5NIdnTa3CZrvDUNIeRQTEMnCM26QFxHEv DwXXbR1eLzTfScUCTJH7dgCkKkDpYKBbDlHHd7PFBBSVQhgbrf/lApdX5wNNNnlNx58p cU2MR51/PYDNKoH4lm1nTUVZFSOWvkKYn8v2Uj2iTkwUkO/+gy8fCritmwVfuJvl/jdV jqDhvU8CGKWwJdAbCbpUznO/UAF4H7h2vnTHr0XR4AzvyuEQadnwtHr1vOYTy5ut3iwf WDcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bxE70Uh4; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 88si10182049edr.154.2020.07.13.07.49.38; Mon, 13 Jul 2020 07:49:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=bxE70Uh4; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730007AbgGMOtg (ORCPT + 5 others); Mon, 13 Jul 2020 10:49:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729895AbgGMOtf (ORCPT ); Mon, 13 Jul 2020 10:49:35 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 670F4C061755 for ; Mon, 13 Jul 2020 07:49:35 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id o8so13578223wmh.4 for ; Mon, 13 Jul 2020 07:49:35 -0700 (PDT) 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=1vzOm+Wxxl66itaxak6yGc68arwrZOiyNRd2hReQUvM=; b=bxE70Uh4AXsVWAKo2T/XG7xcyZ+wYk/UE1Oj1K9VheDTBBbntgw6I9aN6Ryi7YN7Hd 6A/lzM75vKOg0Rg/hp2HH+KfpCdQWtpMbivGS+KZiryf00AIWPO5b4ml+6JbAUxG4YDX bKrQytCckcWMV4+BR6JXl8+eE2NhiSSgRXwLROGl0lLVHpbu+AR5OUTFkQlfEKH4lHRL ne2dSkONSTP6gT8rCuD6mxOyMe6Vfag456jJXcvCWCSf2EI8wUPnMbKKxGTmvqKCumMj a5PJIUWXaAnsLpHnPMb45J+SuCWO8KLCHYkQt5Q+CiIltc44bST5yeme+9ecSrDDB8GY zBng== 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=1vzOm+Wxxl66itaxak6yGc68arwrZOiyNRd2hReQUvM=; b=TleEVcEIBjb0Am47dKubnrM1o4aXLaeY7XPry7veMVNWp65CcDMmn5ZT9JY0J+LyZI OUMTeRecdy/3FFmEgTp77ebM077/lU5YpUU+QeVIOyTBQCv8bwlxfDfTjl73qeD5YXL6 3ScqXzWaizo7RN54g6AA3wfvZpgwKMuFF3Ez7HReFh5zgQSGrw4Lqxg6T9yAQtu35zlm W2ZCL9eG2fTT/z5+AlCoFrkoQwYbyV72UpVooewMKKnvGVS+Pzgu41MhceSnar2fxYM3 clTI5xRZj0Iv+YrBErNHtQQ6m3gppBJnufmhcPH/yK59VsZUHPfhN/N4TvJSxB7+uRwP 8c8Q== X-Gm-Message-State: AOAM533BsEBKiJXixFAJisT33Y4UmcCzXDdHvLcSDsW49HF0bwO0JVZJ LgOfsQ1Mg7FZuOzO8fjw+9An05i8FbA= X-Received: by 2002:a1c:2095:: with SMTP id g143mr267721wmg.113.1594651774136; Mon, 13 Jul 2020 07:49:34 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:33 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam , David Liu Subject: [PATCH 01/25] pinctrl: actions: pinctrl-owl: Supply missing 'struct owl_pinctrl' attribute descriptions Date: Mon, 13 Jul 2020 15:49:06 +0100 Message-Id: <20200713144930.1034632-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/pinctrl/actions/pinctrl-owl.c:52: warning: Function parameter or member 'clk' not described in 'owl_pinctrl' drivers/pinctrl/actions/pinctrl-owl.c:52: warning: Function parameter or member 'irq_chip' not described in 'owl_pinctrl' drivers/pinctrl/actions/pinctrl-owl.c:52: warning: Function parameter or member 'num_irq' not described in 'owl_pinctrl' drivers/pinctrl/actions/pinctrl-owl.c:52: warning: Function parameter or member 'irq' not described in 'owl_pinctrl' Cc: "Andreas Färber" Cc: Manivannan Sadhasivam Cc: David Liu Signed-off-by: Lee Jones --- drivers/pinctrl/actions/pinctrl-owl.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.25.1 Reviewed-by: Manivannan Sadhasivam diff --git a/drivers/pinctrl/actions/pinctrl-owl.c b/drivers/pinctrl/actions/pinctrl-owl.c index 5a0c8e87aa7cd..7efdfb4f3e9ba 100644 --- a/drivers/pinctrl/actions/pinctrl-owl.c +++ b/drivers/pinctrl/actions/pinctrl-owl.c @@ -35,8 +35,12 @@ * @pctrldev: pinctrl handle * @chip: gpio chip * @lock: spinlock to protect registers + * @clk: clock control * @soc: reference to soc_data * @base: pinctrl register base address + * @irq_chip: IRQ chip information + * @num_irq: number of possible interrupts + * @irq: interrupt numbers */ struct owl_pinctrl { struct device *dev; From patchwork Mon Jul 13 14:49:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235452 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2907299ilg; Mon, 13 Jul 2020 07:51:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRmBqGiGIxLsCS4pbxCazZ3SealtPdkyzAbXCNdt8SNPPfqCc0j2qxv6qSFCLnGdUBsMMV X-Received: by 2002:a17:906:b24d:: with SMTP id ce13mr146461ejb.546.1594651882542; Mon, 13 Jul 2020 07:51:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651882; cv=none; d=google.com; s=arc-20160816; b=ibZzgpwposZBxctHKXCf7oRd5srey0JG4kZMTB1+H5CUi0auSbf2ph5w21MQl3Utt0 HNVdQP+WX28djzK4tq5wgt750kDCEmQ0B+kV/RnsYD/30wKaowgWJFjXACRPsRA6Gpvr XPhu4hH0L4MpTjrxJ/uM8Pb04D0Fp7MpxLnd46bltqHXFAA15lUS6l+ra+EFk5s4KuFw u6vb2Sn6WbqA8uCvwFTvIYXeeboREIVitAETrv/wY9RKkMFNpKVhE/GyOUiHVGWLB7gC yyLuAK9ZfADzoPRYJ9/Fc9utB8XDOEXrpBq4sOa23ODJGhjy4S1+hlLPTV1sbNqTZril g5hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BDQo0AmW/wRqsDL2beQj5GgZo90S5+xYNYVa82ZvelY=; b=M5NxgZ/FcjpcxcOO+WUY2PA6tqhtq/2VChQBkn5+YFUStpoDp2+MY+YuiDEd8ouwEY Q9Us4vl4puE5vEYBBtnDqpzIxvnCnocU7/fTH/8A0XgNWcYOmcip0hEj6F26tFke2xeK rMRhSey1W8+EiIwePwYxqyFa1V/2/ZG5F4lLlMoDdI20tM2R/fm4v59WiVXqAfVOTVmc PPMmEa0Lv+pJslPHvbEc6T5t5evyKHWA5xSitKf6rvbCB82fnU7k3Ymw8Lo6qFUMzFK/ F5UeitmnmYyzqJKOeJEUHABuJ4ndBDPKF4x638tEWUseu1cANm/+M2ShtzDh+YJ45dcE uM3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GoRSkBxS; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 du14si10880948ejc.721.2020.07.13.07.51.22; Mon, 13 Jul 2020 07:51:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=GoRSkBxS; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730029AbgGMOth (ORCPT + 5 others); Mon, 13 Jul 2020 10:49:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729993AbgGMOtg (ORCPT ); Mon, 13 Jul 2020 10:49:36 -0400 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 6BBD8C061794 for ; Mon, 13 Jul 2020 07:49:36 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id j18so13588110wmi.3 for ; Mon, 13 Jul 2020 07:49:36 -0700 (PDT) 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=BDQo0AmW/wRqsDL2beQj5GgZo90S5+xYNYVa82ZvelY=; b=GoRSkBxS/tnbpEU8KW8mepOxP/TVgSZbKxeDQfb1oEnG4csHx4qgPKtw1Dpch1UzMu 6g6z3ry4DE6sORZjwGWlJ1wuPVGeu0GlPBSTfXy2Ikx2dr3U54PkfYnhJnY8jAi1ZE1N j+Oeczc9kTqHziWxpVqMo6x/pdMF9PFXB/K6zJh9dQ5CmyyPITOmzo+win3AbA2SmG/A rKbhrZ1lpGQwKRiKrKyxkIJmluCboFzEbi02fEDhmuaZQWcQ67BOwHPpTljpSLqQTeq7 si2L97FkbLl1Q10+xLOD2nS+7mOQeM/04ztAslVRuYKXnSSaoTpulqjXSZhXR4/L93j0 ZDeA== 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=BDQo0AmW/wRqsDL2beQj5GgZo90S5+xYNYVa82ZvelY=; b=ok9Gbs/YEY1lLt4NrfedACwtkBdTsFoyrGm4Mzv/dZyDgQsUHCYoHTF8f4tVbB2hVt Oqwzswq2mzHofKLu3xk+CfA5P8yAU807eWbFb7KNT8rC8lXGbbK4gy878jkwzyYgAU4B j2sz/uTvc4b8KLVE4Q27ecHUU3tRfV8Euu+U3aEpSQ5AFLXGNJQasSTqj08LkLsTd9A7 D3kr7C60IuubqXv4XhWDZfA8ksPIp33LVv+GKcKIubRvMljBJLtE81/BSUjp1CCECtSy huQF9OspzDl1fTc1rnDi7fwvtHvQaOXhuxVdg9z7FQPm4prOTaNGf/Mn5EXYRtylPV6m VMSA== X-Gm-Message-State: AOAM532PszpIQhf999j5WwsLNTvCCE5JcpF6VHlO8A41CrrsJ2X5WKLg ZhiEIFlqRaSuyR0glRo5ctB3tA== X-Received: by 2002:a1c:3546:: with SMTP id c67mr329431wma.102.1594651775115; Mon, 13 Jul 2020 07:49:35 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:34 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Barry Song Subject: [PATCH 02/25] pinctrl: sirf: pinctrl-atlas7: Fix a bunch of documentation misdemeanours Date: Mon, 13 Jul 2020 15:49:07 +0100 Message-Id: <20200713144930.1034632-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org >From ill formatted kerneldoc, to incomplete *and* incorrect struct headers, through to formatting issues and missing attribute descriptions. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/sirf/pinctrl-atlas7.c:197: warning: Function parameter or member 'id' not described in 'atlas7_pad_config' drivers/pinctrl/sirf/pinctrl-atlas7.c:221: warning: Function parameter or member 'func' not described in 'atlas7_pad_status' drivers/pinctrl/sirf/pinctrl-atlas7.c:221: warning: Function parameter or member 'pull' not described in 'atlas7_pad_status' drivers/pinctrl/sirf/pinctrl-atlas7.c:221: warning: Function parameter or member 'dstr' not described in 'atlas7_pad_status' drivers/pinctrl/sirf/pinctrl-atlas7.c:221: warning: Function parameter or member 'reserved' not described in 'atlas7_pad_status' drivers/pinctrl/sirf/pinctrl-atlas7.c:359: warning: Cannot understand * @dev: a pointer back to containing device on line 359 - I thought it was a doc line drivers/pinctrl/sirf/pinctrl-atlas7.c:4794: warning: Function parameter or member 'pad_type' not described in 'atlas7_pull_info' drivers/pinctrl/sirf/pinctrl-atlas7.c:4917: warning: Function parameter or member 'reserved' not described in 'atlas7_ds_info' drivers/pinctrl/sirf/pinctrl-atlas7.c:5617: warning: Function parameter or member 'a7gc' not described in 'atlas7_gpio_to_bank' drivers/pinctrl/sirf/pinctrl-atlas7.c:5617: warning: Function parameter or member 'gpio' not described in 'atlas7_gpio_to_bank' Cc: Barry Song Signed-off-by: Lee Jones --- drivers/pinctrl/sirf/pinctrl-atlas7.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) -- 2.25.1 diff --git a/drivers/pinctrl/sirf/pinctrl-atlas7.c b/drivers/pinctrl/sirf/pinctrl-atlas7.c index 50df9e0844142..e54a6e3cafd23 100644 --- a/drivers/pinctrl/sirf/pinctrl-atlas7.c +++ b/drivers/pinctrl/sirf/pinctrl-atlas7.c @@ -169,7 +169,7 @@ struct dt_params { /** * struct atlas7_pad_conf - Atlas7 Pad Configuration - * @id The ID of this Pad. + * @id: The ID of this Pad. * @type: The type of this Pad. * @mux_reg: The mux register offset. * This register contains the mux. @@ -210,7 +210,7 @@ struct atlas7_pad_config { .ad_ctrl_bit = adb, \ } -/** +/* * struct atlas7_pad_status - Atlas7 Pad status */ struct atlas7_pad_status { @@ -355,10 +355,6 @@ struct atlas7_gpio_chip { struct atlas7_gpio_bank banks[]; }; -/** - * @dev: a pointer back to containing device - * @virtbase: the offset to the controller in virtual memory - */ struct atlas7_pmx { struct device *dev; struct pinctrl_dev *pctl; @@ -376,7 +372,7 @@ struct atlas7_pmx { * refer to A7DA IO Summary - CS-314158-DD-4E.xls */ -/*Pads in IOC RTC & TOP */ +/* Pads in IOC RTC & TOP */ static const struct pinctrl_pin_desc atlas7_ioc_pads[] = { /* RTC PADs */ PINCTRL_PIN(0, "rtc_gpio_0"), @@ -4781,10 +4777,10 @@ struct map_data { /** * struct atlas7_pull_info - Atlas7 Pad pull info - * @type:The type of this Pad. - * @mask:The mas value of this pin's pull bits. - * @v2s: The map of pull register value to pull status. - * @s2v: The map of pull status to pull register value. + * @pad_type: The type of this Pad. + * @mask: The mas value of this pin's pull bits. + * @v2s: The map of pull register value to pull status. + * @s2v: The map of pull status to pull register value. */ struct atlas7_pull_info { u8 pad_type; @@ -4908,6 +4904,7 @@ static const struct atlas7_ds_ma_info atlas7_ma2ds_map[] = { * @type: The type of this Pad. * @mask: The mask value of this pin's pull bits. * @imval: The immediate value of drives trength register. + * @reserved: Reserved space */ struct atlas7_ds_info { u8 type; @@ -5609,7 +5606,7 @@ static int __init atlas7_pinmux_init(void) arch_initcall(atlas7_pinmux_init); -/** +/* * The Following is GPIO Code */ static inline struct From patchwork Mon Jul 13 14:49:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235453 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2907303ilg; Mon, 13 Jul 2020 07:51:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPjcC0A9wkUVH2iXAhKnb82eX8VZNqUz662zC3whbAlGxJ7VWNPnMzavEXnrL2xjaNOvOh X-Received: by 2002:a05:6402:2067:: with SMTP id bd7mr44526071edb.143.1594651883298; Mon, 13 Jul 2020 07:51:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651883; cv=none; d=google.com; s=arc-20160816; b=gdNSEiii1kQlAG02u3rJAnDeQB+GI8t0IE9WRwLmqxvyBoPWCk1ykvoarp2lUe6EZ5 SUFIs92GmPIE80GgLTWB3IMVb6K3ue3xSyUto0lenUR4dG4ejadj6F/kxCjfpxNocldp V7RyDNWOnpcKmJHxMB8LhNv9C2ce0n+ydsVis/47e9qCojFLdOsgl4fRt2RB1mu1W15g 6Zdjr2rPedOxkIWLVcbSDulj16b8DnOuDw8fws0eVe/GaImLRc3+fdE00Foc885o3nnk 45SOM3AZGPmhjG6qQ1S/ieA0qW6Ulkjhy/6JVIsQEeT+NdZjS0A/PQ0/Hw3SZHQ771SR UeiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Xfpl3krDlT8kqZoXWzMglbVA6yEQ7zQak8/zpsxBtws=; b=XKGHuy8U5Nva+m+y207QDd2QryjY3o0Dt9uMqFGDeADzh6p7GJQpdA7uWudfaKjsBg 48A/1xR3RU3YBNHwzt7714vM1NoYioUbJx0lYo9R12q0H+FqC8qzZfKupoPtvjwkXmq9 QV53d/N3wxJooYuM0LcwbP7+evIIRopidfxKFK640XHTiyN7yHY1f/lDtHG7SsH4YaI/ drpZYNU0xB5AjDqCkQT+K/b2tubyoa1hMAMiFXzZYb8wbVXeR4KYHlygoxwbVfPG0BZ2 EXQ8qP0ZH8Eunuulh47CXNhffCXDzztIs7Wk2I3wyCjjxFbkVjjmznOWiTarwNWortoS Kq+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QFwy12mD; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 du14si10880948ejc.721.2020.07.13.07.51.22; Mon, 13 Jul 2020 07:51:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=QFwy12mD; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730380AbgGMOvV (ORCPT + 5 others); Mon, 13 Jul 2020 10:51:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730030AbgGMOth (ORCPT ); Mon, 13 Jul 2020 10:49:37 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84C39C061755 for ; Mon, 13 Jul 2020 07:49:37 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id o8so13578342wmh.4 for ; Mon, 13 Jul 2020 07:49:37 -0700 (PDT) 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=Xfpl3krDlT8kqZoXWzMglbVA6yEQ7zQak8/zpsxBtws=; b=QFwy12mDhDjXsi8jVGm7MW3MzZHhi8fRtIBh763h/vU/iQIW2/e1ZjkNEqZRwTIsqI CVDQDQtRvNYzadV4mD+IQhF2tjgLdCuLoPFkjryFjF+nPggWzC0JBnNsAKpEeIzOXDXN fBc6w3f1kv0Efauvy1IP3qnvUxn9KYSk+OMgMICKfSwkIp22oX5CnpBORnfGVuGhgGPl uLTtCHN2qxiRuJPvxhRJ8RiGLDOSzQrIGXTmhwimhR2qFsDxEKYXSflgGfLyb2xInSbI qPiG9SuYlN0KdAhvKjOTrbIia8fR6wPLyfXDZTIGySrTc4wLowscvahoSUb0jdJEOErV Np+Q== 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=Xfpl3krDlT8kqZoXWzMglbVA6yEQ7zQak8/zpsxBtws=; b=MlD2a022Wvu4IeV+nLso+Lfrp8uRA3DdZzutrSRC/Dp07UONXXZ9EU4HLjYcy7TJ6A B+rOeEh22Edsjhosm8IKG0OvPIo3U39eApSve2hzf3SBONFK3uzWnDHO6v6U9zIwk2KD 7iwrAYZ1EXb3wkGgfFwFpS19a46oxWDeDau/OKtfOxow49G67FKBT8mIy0SDW/aDY/pm WmGJggGFT3PZO0N6DwanGLmEx8cPuN6nwXFG/Cfl6bsk71pa0EYo9qT4DAC76MGHqBd1 i7+A+EqswjHY3y6J0kPsLRGvXhAuYI/atOiS+jFL4QEcA6/R5ow7CJSBbmHB1WHgji0g J5kQ== X-Gm-Message-State: AOAM5304Avn/Fy8XPZEGUzuljqkD3l+BplLWf9AEk38QcxEsvkrRqzFX oz6Omkoox2UrN4itHUy1KSXi3g== X-Received: by 2002:a1c:7fd7:: with SMTP id a206mr319860wmd.104.1594651776266; Mon, 13 Jul 2020 07:49:36 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:35 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, YueHaibing Subject: [PATCH 03/25] pinctrl: bcm: pinctrl-bcm281xx: Demote obvious misuse of kerneldoc to standard comment blocks Date: Mon, 13 Jul 2020 15:49:08 +0100 Message-Id: <20200713144930.1034632-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org There has been little to no attempt to document any of the demoted structures here. These are obviously not kerneldoc headers. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/bcm/pinctrl-bcm281xx.c:65: warning: cannot understand function prototype: 'enum bcm281xx_pin_type ' drivers/pinctrl/bcm/pinctrl-bcm281xx.c:79: warning: cannot understand function prototype: 'struct bcm281xx_pin_function ' drivers/pinctrl/bcm/pinctrl-bcm281xx.c:89: warning: cannot understand function prototype: 'struct bcm281xx_pinctrl_data ' Cc: Florian Fainelli Cc: Ray Jui Cc: Scott Branden Cc: bcm-kernel-feedback-list@broadcom.com Cc: YueHaibing Signed-off-by: Lee Jones --- drivers/pinctrl/bcm/pinctrl-bcm281xx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.25.1 Acked-by: Scott Branden diff --git a/drivers/pinctrl/bcm/pinctrl-bcm281xx.c b/drivers/pinctrl/bcm/pinctrl-bcm281xx.c index 71e6661783006..9ab1f427286a7 100644 --- a/drivers/pinctrl/bcm/pinctrl-bcm281xx.c +++ b/drivers/pinctrl/bcm/pinctrl-bcm281xx.c @@ -59,7 +59,7 @@ #define BCM281XX_HDMI_PIN_REG_MODE_MASK 0x0010 #define BCM281XX_HDMI_PIN_REG_MODE_SHIFT 4 -/** +/* * bcm281xx_pin_type - types of pin register */ enum bcm281xx_pin_type { @@ -73,7 +73,7 @@ static enum bcm281xx_pin_type std_pin = BCM281XX_PIN_TYPE_STD; static enum bcm281xx_pin_type i2c_pin = BCM281XX_PIN_TYPE_I2C; static enum bcm281xx_pin_type hdmi_pin = BCM281XX_PIN_TYPE_HDMI; -/** +/* * bcm281xx_pin_function- define pin function */ struct bcm281xx_pin_function { @@ -82,7 +82,7 @@ struct bcm281xx_pin_function { const unsigned ngroups; }; -/** +/* * bcm281xx_pinctrl_data - Broadcom-specific pinctrl data * @reg_base - base of pinctrl registers */ From patchwork Mon Jul 13 14:49:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235451 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2907145ilg; Mon, 13 Jul 2020 07:51:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxceZEv2tgTfK3nRPIXwDB8Mrfy2m6zzsdXZdvL/CY+Xm+kfwz26jpDVtvk4w63RknHoJFI X-Received: by 2002:aa7:c885:: with SMTP id p5mr79025344eds.100.1594651872491; Mon, 13 Jul 2020 07:51:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651872; cv=none; d=google.com; s=arc-20160816; b=mJIxNaY93/ybRQAEsje71DzxgWACzmEniGwmhf/m4tWE2v/BZNiT129LafftwKBH7t 1hZRy4SaoQFLabuGagtBJO0dQUZU7PIIiv6rHx/MhYM1rwSWxMQe6vKq4Ieg670dsc84 /1eaRmFsdNTvPU6E8siZ05R21+z1xpEmqW8asHemGYhIRdfLWP8NigpA4l/UssPUG5Ia iZgfshHpjxOjP1z1JTvwUFSrdSiT9MJtGmIQG/RJJ1/XE2eTHWAMYjdY1z5AKciiVpTL WWqpgKKq328fWBH/7SOLwlc6idTNdeBfHkHqlh/iphir4WuDx67iasDwsfsNaWzzwvxp JBxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TMIlOVRDCYaSAty7/afpaXFLg9AMRQm1G5k0VXrMmr0=; b=DjIoUQwjfR34ZupeXUpN+pDotIb36/1Yv17EbZMoVHfIeRnR/FYrl2yPdM6A++V9nC bHAIYVyJ6eQBIuPscVWIOMmesmT5jSOrvAYzVS0CcIaLzoNlThmEf2Y/N17UsEz62W2Z b0O3DUxUyeVqPmyu9XsRNNDyl8qrxYvQIOI1o8FuR7qV1HH38QstkXA8PWZA8cx1tUzQ uN1mT+dFjRoFf/10NXiQWWlBQ4QSY+2NGPzS+jwWv8c/8hC4R1lbcoj2C6e1BMbx41fQ PXELK13be1xRT6GGoLbyZRpJYfTBXSuXVu1cJzaAWxPvR1HZr+WnYkJW9rthNtv+CbtZ 2/kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kzgxGc3N; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 op10si8989606ejb.149.2020.07.13.07.51.12; Mon, 13 Jul 2020 07:51:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=kzgxGc3N; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730073AbgGMOvL (ORCPT + 5 others); Mon, 13 Jul 2020 10:51:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730061AbgGMOti (ORCPT ); Mon, 13 Jul 2020 10:49:38 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87083C061794 for ; Mon, 13 Jul 2020 07:49:38 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id r12so16827468wrj.13 for ; Mon, 13 Jul 2020 07:49:38 -0700 (PDT) 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=TMIlOVRDCYaSAty7/afpaXFLg9AMRQm1G5k0VXrMmr0=; b=kzgxGc3N8RHSM05U2cbTEttiKSICBcl2ap2J0SyaJCAFyWNkScXmvzI5l9237ZFd1d tYsXS/CeVODSP5dh4AWxjwEuEkqLu+CgMnsfbDviVEovHt+0LGQZFxUHJruUpQtDWG72 qo5ALHeTQEJI9nQQsPE1He4vUb8WBW76u4uqMfiS0ju6c42oM7GTIJz4gufaQDzEsjpH ezTKmNoHvf7lI7S2BZ5C1i5uvizrblnH0UrVvxd/Yn/iBUuFoaCcKGDq40SFwrGKhTOo tKxOdIxWkjDQywgSxP6+Va8svUfh1YnRBM/zfU2PLdIyms1JpFYFkoqfCIE2NUfGNhGp vIHA== 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=TMIlOVRDCYaSAty7/afpaXFLg9AMRQm1G5k0VXrMmr0=; b=ct7u79K/EwZnfDwDfPjKtZyo46miVEZR/rP7EA4L0YkNJNioSnJqupp1ZWc/7tvYHa 5lIAsL5ezDTXTd+3n1hzFMteG3gBQbwx7Ciu3y+ATqcVfXYL+mmeZ8SdvP8/JBw2DFp1 C0dJzcFmM//HJIRC+CsYPLWFvsJ8ua9LS4Kly1WQTFslhuUWvffjhL8wRE+I5hx+J0/X yY6UJbW9w+LeR6rmqUwkL+d1jZDD2AVdYyLRI2ycL98T0pdutAPnvpqx3ihct5G7rXQZ 9cCeaHdP4kdZcmUwQmuZNxz9vemA77jTuszvqraUH34AlCHIYXeh9SaR2M3DO3nbTUgy 8NDw== X-Gm-Message-State: AOAM533gw2UROqsy3G/dMza8RrIWz35TnLD3mGEyzRVKlFa2wXW5vUgf 4SdG79KG91Da15rqzmEC67o1IA== X-Received: by 2002:a5d:684f:: with SMTP id o15mr76695440wrw.148.1594651777326; Mon, 13 Jul 2020 07:49:37 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:36 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com Subject: [PATCH 04/25] pinctrl: bcm: pinctrl-iproc-gpio: Rename incorrectly documented function param Date: Mon, 13 Jul 2020 15:49:09 +0100 Message-Id: <20200713144930.1034632-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/pinctrl/bcm/pinctrl-iproc-gpio.c:141: warning: Function parameter or member 'chip' not described in 'iproc_set_bit' drivers/pinctrl/bcm/pinctrl-iproc-gpio.c:141: warning: Excess function parameter 'iproc_gpio' description in 'iproc_set_bit' Cc: Ray Jui Cc: Scott Branden Cc: bcm-kernel-feedback-list@broadcom.com Signed-off-by: Lee Jones --- drivers/pinctrl/bcm/pinctrl-iproc-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 Acked-by: Scott Branden diff --git a/drivers/pinctrl/bcm/pinctrl-iproc-gpio.c b/drivers/pinctrl/bcm/pinctrl-iproc-gpio.c index a38f0d5f47ce9..e2bd2dce6bb41 100644 --- a/drivers/pinctrl/bcm/pinctrl-iproc-gpio.c +++ b/drivers/pinctrl/bcm/pinctrl-iproc-gpio.c @@ -131,7 +131,7 @@ static inline unsigned iproc_pin_to_gpio(unsigned pin) * iproc_set_bit - set or clear one bit (corresponding to the GPIO pin) in a * Iproc GPIO register * - * @iproc_gpio: Iproc GPIO device + * @chip: Iproc GPIO device * @reg: register offset * @gpio: GPIO pin * @set: set or clear From patchwork Mon Jul 13 14:49:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235450 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2907133ilg; Mon, 13 Jul 2020 07:51:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSuJeaaoQS6J3axQWqTR0V4jT8RqG8KpW8ZQAaGglOhl8Axm4AwN0qIQ+AaF0fkq4sMP5v X-Received: by 2002:a05:6402:14c1:: with SMTP id f1mr95006563edx.342.1594651872058; Mon, 13 Jul 2020 07:51:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651872; cv=none; d=google.com; s=arc-20160816; b=B9cJ9to8TVmxbzNKTBk/SC54LT7RHOkMGU/1bVQ3BzuLhDQ57ES9XhsagumsoFTvDw CIQAE6C/u6yXdX2UgcSh3CoWJ4CFFkF1pN8pDAibvrxMYOO8yTrWeD1nwaI/DbOtmzXQ rTxl08HAlj5Lu5l5WNGRgowkaH1A9wG2hrdqke09EYffg6rGYz1Jw0il4jjynec/94i1 MK924aNUhYFBWpkImr91raP3ALKxbQI8ixOLNHfnlPCNi1yUM3SQbRIZ4OtF+ijvcCjq stXjTXEfuT5YWTe/x7W71LBpltNv5mVpT4ytteysSwAZzqmCuHI8P+oTv/Bu0+HC+Gz/ ZTwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=uHw7vfvkoUl/p+J0u5Wb1MljRc1mmHUiGpf+lUlkzX0=; b=STnKqQP9htdDoPoR1FlFTjIAs+R45/w/DRXqoFQiPdA3qr8UTrjoj4Av+3LrWRwQCB i9ZrQ+AR+67DdD2gybiR3hrl7ZxxOOKaOEL/+FUmepnLB2iSTaujqybpHWMrmCF84OkA zvYJigq6HZ35chGJOUCKQpltLQmQbDqjvjnUICaXyaoHLncwpDluVWpFo9A1f+i40VjZ D5f32XA+7NLQPARda5Bx695umH2IfQau8oXjyzxNhcYl0VVUZb3rxT2RHbicNmYQerT3 hPDjkt4q34P87j3U7IbChCSUl7Y1m6bAUuyqIA9dliDIK9z0//IIJpyJ5Br5ugeCd0YJ Cj7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LtwsOLQB; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 op10si8989606ejb.149.2020.07.13.07.51.11; Mon, 13 Jul 2020 07:51:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=LtwsOLQB; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730359AbgGMOvL (ORCPT + 5 others); Mon, 13 Jul 2020 10:51:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730073AbgGMOtk (ORCPT ); Mon, 13 Jul 2020 10:49:40 -0400 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 B1A83C061755 for ; Mon, 13 Jul 2020 07:49:39 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id j18so13588282wmi.3 for ; Mon, 13 Jul 2020 07:49:39 -0700 (PDT) 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=uHw7vfvkoUl/p+J0u5Wb1MljRc1mmHUiGpf+lUlkzX0=; b=LtwsOLQBSd935qDg45xtuJw1DsUvUlXVZjJbx/aESPvqCbQKILkSfnn5RNWUVbgV2x VI914y8yiPOmbKi8YiBaEBwt/4cgx33qyJtNA0FA+AWJuy06NSblJBdOG25jj8XCMgFl F/wju0wkxqQEpBHCKhEItmEYgl5Tw0Jp235Cu/tKBRc7JFGLMxWWyVWecZqmvJLOE+06 V/93fvuIbubbN+OFWr/CSjS1Zb+o2UDipa7mbGPRIiAqvZj6rkTDeApLzOii7vFPbJx2 +SzuCHJiY0n2N2GRz2TmSE2HbUb+I1PORUjdjg5PFrg2MelwSgdJbFkMZfMQcaAT1JGL m2iA== 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=uHw7vfvkoUl/p+J0u5Wb1MljRc1mmHUiGpf+lUlkzX0=; b=YAp1ywdlle1A37J9sy80OfPQ2NMnDbCO6icxf6EArx6Hn4KL7Rv3gqsa/jQAPtIG0M iTnkIZOzT99wHxuRzK65ejH1gNDmUiMTRm5gUFNWCTsNMIAEgL8FgTK2FK83FwA3rNt4 962oHIhm3gMfE+sDtDcxH+gC0v7ErAbOtSUB5Hlj2D+ssrmO6NVf4q19AFKfLZUGplHr C5Yn0/Xn5jhtizC9aZPIoRrsKn3r3Sul0JLUPYsxoHjXw4oKq3BDZ29kjVAK7PkPtx0O kIFHrht2JtZjga8FOR/oDdC2t0yDGxxMLid6tc7K5WtALL6wTBT2AIvGICfnf/UjMYzT 5IuA== X-Gm-Message-State: AOAM5304ypBMIUWc4I8GJmGkHXnG5+wuXSxS2nEw2jQropMB9y61jGab vDPbVGFi+ZNduVRAe+GHjLe6Qw== X-Received: by 2002:a7b:cf2b:: with SMTP id m11mr316828wmg.110.1594651778433; Mon, 13 Jul 2020 07:49:38 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:37 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Bjorn Andersson , Andy Gross , linux-arm-msm@vger.kernel.org Subject: [PATCH 05/25] pinctrl: qcom: pinctrl-msm: Complete 'struct msm_pinctrl' documentation Date: Mon, 13 Jul 2020 15:49:10 +0100 Message-Id: <20200713144930.1034632-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add missing descriptions for attributes and fix 1 formatting issue. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/qcom/pinctrl-msm.c:75: warning: Function parameter or member 'desc' not described in 'msm_pinctrl' drivers/pinctrl/qcom/pinctrl-msm.c:75: warning: Function parameter or member 'irq_chip' not described in 'msm_pinctrl' drivers/pinctrl/qcom/pinctrl-msm.c:75: warning: Function parameter or member 'intr_target_use_scm' not described in 'msm_pinctrl' drivers/pinctrl/qcom/pinctrl-msm.c:75: warning: Function parameter or member 'soc' not described in 'msm_pinctrl' drivers/pinctrl/qcom/pinctrl-msm.c:75: warning: Function parameter or member 'phys_base' not described in 'msm_pinctrl' Cc: Bjorn Andersson Cc: Andy Gross Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/pinctrl/qcom/pinctrl-msm.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c b/drivers/pinctrl/qcom/pinctrl-msm.c index 83b7d64bc4c14..56b36d4b54668 100644 --- a/drivers/pinctrl/qcom/pinctrl-msm.c +++ b/drivers/pinctrl/qcom/pinctrl-msm.c @@ -40,16 +40,20 @@ * @dev: device handle. * @pctrl: pinctrl handle. * @chip: gpiochip handle. + * @desc: pin controller descriptor * @restart_nb: restart notifier block. + * @irq_chip: irq chip information * @irq: parent irq for the TLMM irq_chip. + * @intr_target_use_scm: route irq to application cpu using scm calls * @lock: Spinlock to protect register resources as well * as msm_pinctrl data structures. * @enabled_irqs: Bitmap of currently enabled irqs. * @dual_edge_irqs: Bitmap of irqs that need sw emulated dual edge * detection. * @skip_wake_irqs: Skip IRQs that are handled by wakeup interrupt controller - * @soc; Reference to soc_data of platform specific data. + * @soc: Reference to soc_data of platform specific data. * @regs: Base addresses for the TLMM tiles. + * @phys_base: Physical base address */ struct msm_pinctrl { struct device *dev; From patchwork Mon Jul 13 14:49:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235448 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906943ilg; Mon, 13 Jul 2020 07:50:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmqK0dCuRoWhgwrOkPzje7skW/2LjZ25CuZJqrOr+9XIci2Zt6D0iQ9gUPdHPMQ2RpTNxw X-Received: by 2002:a50:f384:: with SMTP id g4mr88250221edm.205.1594651857267; Mon, 13 Jul 2020 07:50:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651857; cv=none; d=google.com; s=arc-20160816; b=W5gWQ2BHOkW1nrVE3H4FbC9JBMshBxlSbIPfmW8sANElHZ5ynjFeC8v4bcqobjBnR6 O28+k4k1AN/BBJzyQTz1FEjurlH9JgV/RHbIsNFr3+OCKRrabvK6rgKfr4ODKuCY8F85 MJ8DBfc+jOh8U1mTN7zmkmuvvAZ4hbJvHbhRMJrutcCH1QOf6h7kHfJJbOfRD/MhcXc+ egpNt9zIVQMhqcDXJfzSN9LL7YAaPNIx1yfhduCQ6UxHD8vd1Y/kh79hqcQlCVc1OFay 4HSwcogGuILKu/6BqWXrdfJobuDuBGzwB28xy2FO5pTf0tfDC7saZctNmNIQP1fRm+0p psIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EdngZibp0zWCAAM+UJcwsurIH7yKZeYEzW9/AfNLRBM=; b=J5e0HMjU8LryJFAT+9Iq7FShrOc1Ab3rFCUy7ppmLc9n8Efypb2kPYCrWUeRKXfKRp 5CpImS6qP5LZXV9H8Yrx+sXHYrI8A0lHLcWyRhu7Fnkp0j8+OAbBq14hPGpc4wzBRMks GsnRJZ+dCG2s2JOOsdiqNat/TrxuheZgMJUwby5NL9jDG/flm5Jv6ffORUdAyJIs/gS/ I6Z/yIwo/3GMl3zCrKXOB0RryKMUkGREfwA/NTS699GIi4FLpvZeis8+GQK7OvH7dvgZ 80KRjeqJhpVaPZm6m0miMABjmqEuxVDfg9EP+VoBiBVHjG2DEo2aNBDhzWnZ/aI6UMmo el1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JW8Zfxng; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 e6si8191156ejx.444.2020.07.13.07.50.57; Mon, 13 Jul 2020 07:50:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=JW8Zfxng; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730111AbgGMOtn (ORCPT + 5 others); Mon, 13 Jul 2020 10:49:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730110AbgGMOtm (ORCPT ); Mon, 13 Jul 2020 10:49:42 -0400 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 BCBFFC061794 for ; Mon, 13 Jul 2020 07:49:41 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id f18so16892620wrs.0 for ; Mon, 13 Jul 2020 07:49:41 -0700 (PDT) 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=EdngZibp0zWCAAM+UJcwsurIH7yKZeYEzW9/AfNLRBM=; b=JW8ZfxngbL67Sj8u+8Odvmzrwr0Un0a8dfJga8fvIiSWVdYg9aR4Bmk+ZaZcNRFo4H mYYCCmw1FyfXDWpX/JP8gcpGpLbGjVhpgBWMLQ7nU3B60mmVu0+j3wYxmW0D0X1k5/zs 4NS/fGYu/LscQ5CzpkfJBoQy0++MW25LdnoHtLiIDNIoujjsb4iXIpRxjgIXjCQSUeu5 5RKO/zCJXFqGKYoHk3QXfi69WgeFYkcFR2GtBorrikmsDs+1KrMwPTr8T2C2QkbQBRi/ bgI7VvRNsxOtIgc9DXtgUbv6Ox4Z0pppzdqBGQdi7TUTRWQYpytYkMNaweHWedM6aOUQ zj4A== 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=EdngZibp0zWCAAM+UJcwsurIH7yKZeYEzW9/AfNLRBM=; b=X2WAh79lT603sdO6B+JstmxObXPajkVbzJ/6CLatGxvA7cCMg+7JkM4IqaPwahlToG Rv17ZhOaqyYka/Tad0EBr/pGK6SbfJ6VRjZWmB5oVnUuE5Pz11m0v7XcW3AHyjPcnAy6 kmkeZExXR8Mv4Rewywdm5f1Z+5hn+zEms2xrnkJnqdPjcIkRrzCa1U9hLdk1kpZEVKzM OpBAxDaW2Hp0GJt4QKQLweKSV7q4ueL0A+ro5Gi2IaWloqdw5SDUar81DZ6LPce20kpp SE0/BLosLfSNHz/rFpRmZc67K5qiPz/iZzE7qXx9Z17S25l0Kn48pdG8HyONNoxz7MQL RArQ== X-Gm-Message-State: AOAM533XzVdeOiOziiar2oomLxodqJmrhMikERMwbXYdbUMiKs2Jb1mV FoYN66f162LqvFQyRC4jJ7qP2w== X-Received: by 2002:a5d:6a07:: with SMTP id m7mr81416990wru.324.1594651779599; Mon, 13 Jul 2020 07:49:39 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:39 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Tomasz Figa , Krzysztof Kozlowski , Sylwester Nawrocki , Thomas Abraham , linux-samsung-soc@vger.kernel.org Subject: [PATCH 06/25] pinctrl: samsung: pinctrl-samsung: Demote obvious misuse of kerneldoc to standard comment blocks Date: Mon, 13 Jul 2020 15:49:11 +0100 Message-Id: <20200713144930.1034632-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org No attempt has been made to document either of the demoted functions here. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/samsung/pinctrl-samsung.c:1149: warning: Function parameter or member 'dev' not described in 'samsung_pinctrl_suspend' drivers/pinctrl/samsung/pinctrl-samsung.c:1199: warning: Function parameter or member 'dev' not described in 'samsung_pinctrl_resume' Cc: Tomasz Figa Cc: Krzysztof Kozlowski Cc: Sylwester Nawrocki Cc: Thomas Abraham Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Lee Jones --- drivers/pinctrl/samsung/pinctrl-samsung.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c index f26574ef234ab..608eb5a07248e 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.c +++ b/drivers/pinctrl/samsung/pinctrl-samsung.c @@ -1140,7 +1140,7 @@ static int samsung_pinctrl_probe(struct platform_device *pdev) return 0; } -/** +/* * samsung_pinctrl_suspend - save pinctrl state for suspend * * Save data for all banks handled by this device. @@ -1187,7 +1187,7 @@ static int __maybe_unused samsung_pinctrl_suspend(struct device *dev) return 0; } -/** +/* * samsung_pinctrl_resume - restore pinctrl state from suspend * * Restore one of the banks that was saved during suspend. From patchwork Mon Jul 13 14:49:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235446 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906882ilg; Mon, 13 Jul 2020 07:50:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9qKuf64kA/LasBji4kiJI1evuFLYzHYQtoIXIMOzRdHZh0YmNJPkdiW0j20EptWYbwcsd X-Received: by 2002:a05:6402:b0d:: with SMTP id bm13mr18249785edb.301.1594651852349; Mon, 13 Jul 2020 07:50:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651852; cv=none; d=google.com; s=arc-20160816; b=zX7zbZJAhZdMOFSBXzhMIyn385YqGtW0TGNsb/0I6r3EOIDND9/El16YvtNj6gjSlx ENP3cRosTcQchNh8S8z2NdemsHv7FyivovTCGCmxlEr6UVny7iWFKXX3iB11969mmsgf YscDywsCdZ+xKVp0WFm7oe9bRnNyQ0ZOpVmr7owXO2iQASGhYfThtq+TwO7BGakUuPTu Khav+7/wI8UUh3ufXuKbUhwbrEXi5bfY9hE2sidex05uGC81+mJmmDYyWX1IBf4bi/gP +Awy7KrtEw+nBBHcaJ8ZkISaobiv+vwZRTtXK/KglKsDcEXpJQV2JCyAsOiiSeW97bvm +fsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=we+FYdI1lkoYeqfH+hTSe6pNVLsfmTg5CRQP3bOvglU=; b=TNqEqEpHsSyvoZWbeKH2Bk/pGEhp49uhtEPZBLWVwNZDoUQEi3mJN5EycdK+qYuVCS tLIcFo1Ak37WHJ0jxRn/XiX4SX0hItkHCHdbf4BPwsEnAMoyhQPil9//tusAb3Jwe2GZ XipqElvkJFkPMEdKB+bLScTRpJi8vla+Ci9ypN6ir2TjSWmTh/X8W08MagrO1cUWkQ+/ Jdfxj/8Tyadz0iL5j8vV/oDvz60kCjh13xb64H7qkP1Dcj2hX9pShizyod0IQuBjyjcm iFHMqhcD9cA95UTwYuKYgCfnhfC29ERLHWmwRDY5ews3RvhKqQTsClkaIZfLda3BRzYG uXmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U1WN0X53; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 dg8si8889492edb.184.2020.07.13.07.50.52; Mon, 13 Jul 2020 07:50:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=U1WN0X53; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730143AbgGMOtq (ORCPT + 5 others); Mon, 13 Jul 2020 10:49:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730132AbgGMOtn (ORCPT ); Mon, 13 Jul 2020 10:49:43 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06B8DC061755 for ; Mon, 13 Jul 2020 07:49:43 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id l17so13607029wmj.0 for ; Mon, 13 Jul 2020 07:49:42 -0700 (PDT) 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=we+FYdI1lkoYeqfH+hTSe6pNVLsfmTg5CRQP3bOvglU=; b=U1WN0X53vbT4MvhLNRle/Pi49aoyXp8l/FZ9qbfpELXVGRvwteyYQ59YIS581Rx0Xp q5UQZNPMwm4gbhy2sGnmyUhu+w/WSyDy8SZwq5gc7YFHp11qt2IevOUpEE0bd15DH/8G F0tLllXkjBOGT94L/jRw4tRXmh6xUXZ42RV3KnfYe23GHPr8WB7Izy+DlVxJwv3uNcH3 spPTiORGerSbhn1gcD3+8ZhgKGlr3WTLewuQPjCmNoxXAWdMLet04UicbcIPSh9F7Dh8 3s3nrgW8efZiHQaPyILOHhsm0gTtGvlZ75SUX8Oby7yTHrd4vKHUhLfTND2frhv/Mv0y EjZw== 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=we+FYdI1lkoYeqfH+hTSe6pNVLsfmTg5CRQP3bOvglU=; b=TryiporHqG311cGIybrKdzk8dVLuDyc39eNHgD5TipCzIL8REVA2jSfvCruyLSzIuT j7tL4gUV1FtpVFFWLSW3+TFOCQLhjqnkwDxi5H1O9ScY3oDD23gPu7mIRjpuk9NCTLJE 48KNboF5/W1ZdYKVQb77wmXW0HSnbzMVV8g0irBGXbGtb5R2QAL6c/LoyLoO+pCyPtm8 7HOhgMDaLoa7vlGy3r29hHS7D80z4bV0ZXY9efOPwwFMy1D+Xw88CrQPd9c2a6T2GXgx 22xQpM8WtX+2+3Nh8g4V7q+LWFuNcYb2Nw0g97GoAkQaBBKqvL/QyNPJor40r+shLeV3 qcTg== X-Gm-Message-State: AOAM532RpCZs4kTEmWLfbGH4hIfh+vrZ982E29TRLfEyW7VIdjohblGU /xx3OYY6sdZaE1UNkt7paMHJsg== X-Received: by 2002:a1c:c242:: with SMTP id s63mr311154wmf.146.1594651781752; Mon, 13 Jul 2020 07:49:41 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:41 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Tomasz Figa , Krzysztof Kozlowski , Sylwester Nawrocki , linux-samsung-soc@vger.kernel.org Subject: [PATCH 08/25] pinctrl: samsung: pinctrl-s3c64xx: Fix formatting issues Date: Mon, 13 Jul 2020 15:49:13 +0100 Message-Id: <20200713144930.1034632-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Kerneldoc struct titles must be followed by whitespace else the checker gets confused. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/samsung/pinctrl-s3c64xx.c:212: warning: cannot understand function prototype: 'struct s3c64xx_eint0_domain_data ' Cc: Tomasz Figa Cc: Krzysztof Kozlowski Cc: Sylwester Nawrocki Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Lee Jones --- drivers/pinctrl/samsung/pinctrl-s3c64xx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.25.1 diff --git a/drivers/pinctrl/samsung/pinctrl-s3c64xx.c b/drivers/pinctrl/samsung/pinctrl-s3c64xx.c index f97f8179f2b1b..b8166e3fe4cef 100644 --- a/drivers/pinctrl/samsung/pinctrl-s3c64xx.c +++ b/drivers/pinctrl/samsung/pinctrl-s3c64xx.c @@ -193,7 +193,7 @@ static const struct samsung_pin_bank_type bank_type_2bit_alive = { } /** - * struct s3c64xx_eint0_data: EINT0 common data + * struct s3c64xx_eint0_data - EINT0 common data * @drvdata: pin controller driver data * @domains: IRQ domains of particular EINT0 interrupts * @pins: pin offsets inside of banks of particular EINT0 interrupts @@ -205,7 +205,7 @@ struct s3c64xx_eint0_data { }; /** - * struct s3c64xx_eint0_domain_data: EINT0 per-domain data + * struct s3c64xx_eint0_domain_data - EINT0 per-domain data * @bank: pin bank related to the domain * @eints: EINT0 interrupts related to the domain */ @@ -215,7 +215,7 @@ struct s3c64xx_eint0_domain_data { }; /** - * struct s3c64xx_eint_gpio_data: GPIO EINT data + * struct s3c64xx_eint_gpio_data - GPIO EINT data * @drvdata: pin controller driver data * @domains: array of domains related to EINT interrupt groups */ From patchwork Mon Jul 13 14:49:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235430 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906009ilg; Mon, 13 Jul 2020 07:49:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRZDtIdFv6TSsykdzU5EgbyAYOkn77l5hSbyH1PAIv3yDfhoGmHofgT2KByVNn1gy36Shy X-Received: by 2002:a17:906:2318:: with SMTP id l24mr112254eja.291.1594651788357; Mon, 13 Jul 2020 07:49:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651788; cv=none; d=google.com; s=arc-20160816; b=N+pzmXwguGGrhWaGodKA4UNj13e2MSefO6WpYs0HK6DcdToSLWcyzubnOqF0om2NYa rLGPPgWvb4N2GGQ5yH87link5zG1D4J9xQ1oehmx9B6N4OQwC/LKYai4DCNGPgAAe5Tn hfYTESuyx2sDLAToR6lrHeXCaC1+qq4QuCELyHFM1+A3TZEcqlNKUJJnaaSwH1zgS/ps qkFIj1gPKsYxJZf7yjdvq7QE8zXMoC9SxehfDaJuyg1ecEe4lyfvJCW/DzEgZZELj8BW eFqWZyCUjz/ZpWnkn1lM5k2gSDzlb+1TDOGMkBb5anXpm44naqQmmbxdjvsgpi7FWzgS 742Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CLuyrhW1Ep4UqvYQzgiCgMPgEzGrhSBhnQKWSj6/aQI=; b=YqP02LQvsO5N8Qy0/gRdig0mH5VRD8hjp9w7X34tbVuueurRZzA+8TPNftJ/8KliS8 R0HIZfI4cii9p5FxeHu7/GcaT3mSnkPWLVpiSi/UC9zjx7lkZiA2wmnrElz6XkrhrjSN eytSmTIE8CzPtdCwcQKLgW0mnPAEDiWvIh4LzgzSI4H49GhTeevCVB2SXOAIw0HIA1c6 ueNJ4+8f5KZtor/CzbyO1jvjFDH+SqX+f//GArlknDW2sl78WlOf4xYND0uRlbbILMla QpVv2BpmXBvppoILTfPjucyEgXS+bA5p8IKZiNSxxcu0JpASG1GC/488Gg9nLsZyFJPF auxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rodZuMhe; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 l11si9337592edq.493.2020.07.13.07.49.47; Mon, 13 Jul 2020 07:49:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=rodZuMhe; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730109AbgGMOtp (ORCPT + 5 others); Mon, 13 Jul 2020 10:49:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730138AbgGMOto (ORCPT ); Mon, 13 Jul 2020 10:49:44 -0400 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 06F4FC061755 for ; Mon, 13 Jul 2020 07:49:44 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id 22so13596749wmg.1 for ; Mon, 13 Jul 2020 07:49:43 -0700 (PDT) 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=CLuyrhW1Ep4UqvYQzgiCgMPgEzGrhSBhnQKWSj6/aQI=; b=rodZuMheOaiuJ6ysjx6ilt8n3oIFeHyyJQvyszrQaBH/ZMKq6ZNgOwolHB/N1nLCey GDOHdRy2iqJG26wPbpMoZMUVy7vU06RWHv/WhoSXqFiHSF1Kw3kgMc0lLhajbTlG7MMv jpnVkEkSM/bKfUdYZLNOAsTOARnhiQkf7HQGA+r/uqY0/fgW6Ps6FTW17gSrRfMZWQem zloaHCQcyTMc383ovLgCzPrNQ2+j/JP4aQEe2rBO9ZcMKvwX1rIBoJxSCfAEwJg6JNp6 tpKpvjjIu3NBSCW9vwwXuawtF+VIEPb2jEhvv3x9vVKsafRumWWxagDQObXQjO79AAx4 cToA== 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=CLuyrhW1Ep4UqvYQzgiCgMPgEzGrhSBhnQKWSj6/aQI=; b=o2+5V4WZJRDftC/pDYMutTdD5UspYVR1naihwwAPFRdqa+wJGv+gNjdHMo9BATHkh7 TRrDh17EblKWywK/m+oysI0xptARd2uhSS6sp/tMS3og4qzGPkHkXdDqRo7FYytgRpRV iRJf4tCb4NewBPdCz+zU0Ewsfgotr4L1Jd9nPrxd1++bInQzEfYwQehMI2Nsb39LkOVO pqsYSfX1xV7tzJUJlQ9AnTMTX7OqcM4eLPiWY9NFxf49dQa4KfmV8Wlvn8cQJ+vTr40n r0ZRpaf/JH0ZI6jM69lM+4R70bMGyLXC/aNGVkbYY3AttzM6SJJgeWcuZ1/thtScdj8c LowQ== X-Gm-Message-State: AOAM532VI/TUUSPMG6+nWKlBzdkYe5jRFF4acuCNEYVJ7wFz94n2UHXM MPAapSTH0I9HeE9mKr8p5pGx2A== X-Received: by 2002:a7b:cb92:: with SMTP id m18mr313387wmi.94.1594651782718; Mon, 13 Jul 2020 07:49:42 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:42 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Andy Gross , Bjorn Andersson , Del Regno , linux-arm-msm@vger.kernel.org Subject: [PATCH 09/25] pinctrl: qcom: pinctrl-msm8976: Remove unused variable 'nav_tsync_groups' Date: Mon, 13 Jul 2020 15:49:14 +0100 Message-Id: <20200713144930.1034632-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/pinctrl/qcom/pinctrl-msm8976.c:802:27: warning: ‘nav_tsync_groups’ defined but not used [-Wunused-const-variable=] 802 | static const char const nav_tsync_groups[] = { | ^~~~~~~~~~~~~~~~ Cc: Andy Gross Cc: Bjorn Andersson Cc: Del Regno Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/pinctrl/qcom/pinctrl-msm8976.c | 3 --- 1 file changed, 3 deletions(-) -- 2.25.1 diff --git a/drivers/pinctrl/qcom/pinctrl-msm8976.c b/drivers/pinctrl/qcom/pinctrl-msm8976.c index 183f0b2d9f8e8..ec43edf9b660a 100644 --- a/drivers/pinctrl/qcom/pinctrl-msm8976.c +++ b/drivers/pinctrl/qcom/pinctrl-msm8976.c @@ -799,9 +799,6 @@ static const char * const pa_indicator_groups[] = { static const char * const modem_tsync_groups[] = { "gpio93", }; -static const char * const nav_tsync_groups[] = { - "gpio93", -}; static const char * const ssbi_wtr1_groups[] = { "gpio79", "gpio94", }; From patchwork Mon Jul 13 14:49:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235447 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906888ilg; Mon, 13 Jul 2020 07:50:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWI04n/4X2uYk4tgxW0nv4Q4n3VQcj7ZSi/X22jHE7bNwh8Iyx/PTXjIdx+QIiTaP+YlWP X-Received: by 2002:a17:906:958f:: with SMTP id r15mr139022ejx.77.1594651852754; Mon, 13 Jul 2020 07:50:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651852; cv=none; d=google.com; s=arc-20160816; b=zYKrqpKJu189sMLJL2uRcdKUg1Nvk4JlQizIxEb48/NeAoJFbgK9eCZMmWqnCjqGHH aDFwe5cxnRTCzAhQUJyWlnj9lKOAz39eT+/Wlher/P+4m6vc0ITfs1+TaeyqORiRV9Yq Bjp8+WAGcQcZuDPh3Lv0W7O5g2dH7MTt6daMriQ3bV1VM+iZQUO2nfkovEuyiy60v5rz aExLqGHs5Gaz6DLa5FDA4K9Kg/W4lVw0Tm/EPUcoIB93jnmB5plk8fncJynyoBBx5eMO ADs4COceaezIIScRCH+7WFQuBdrcf3gSPTSGySEa+bVhoM/Uqb+AKclP09GIB2KaisXX EzrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4tW5IFgDDqy7qyYDWJ2VHhOu5cDN/GOhkX5hDm+X0KA=; b=NLnJjWLgy/697+wSHQx3eK+aPZ6BO7JfO1VbdkyNS9iTWFH/DzF/ouQwVRhTElbDM4 6C9PumFmlnlYN/GmMVSvhttaUgl+2lZL2YmeaKVl7pChlzdsfzKdG7+CdUhRoIYLh51U jaSLP8l+stPcufQ22S11nbxxFPxl3g2uUfB4gOMsGbAoCyeODLF2DoSq7s5sEovtjHs8 brmdq4Ca1vJ5Me2VjebKbVm/zCvNtbf4hSXcdZd+g6N/uBYYk22j4of2MLC4J+YbolEI cHKiDq/T0kk2GRZK8u95YrlYafy9mp7ohLgBmjaAcPqwK8w8KLqCRAunFOZplj5PWs/+ HcwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WjClSL1n; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 dg8si8889492edb.184.2020.07.13.07.50.52; Mon, 13 Jul 2020 07:50:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=WjClSL1n; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730146AbgGMOtp (ORCPT + 5 others); Mon, 13 Jul 2020 10:49:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730143AbgGMOtp (ORCPT ); Mon, 13 Jul 2020 10:49:45 -0400 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 1A579C061755 for ; Mon, 13 Jul 2020 07:49:45 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id j18so13588598wmi.3 for ; Mon, 13 Jul 2020 07:49:45 -0700 (PDT) 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=4tW5IFgDDqy7qyYDWJ2VHhOu5cDN/GOhkX5hDm+X0KA=; b=WjClSL1n2aF+iDQnyRNBBuqCOZEhWicWvABW9Y8n0ov9NCQi2T/5ZDyNbEbMC7NP4L gLKJ/VyZFokhHMKwL1I5ZkRbNsutDxl40DWjr7FLj53d0G3Uc4v/jZvzcCgJa7RAaa78 X/gvNjcxjE3WvbULnI1iDQKcK7NBquO/2uRMuBzxL+zDjXbwCOs6xEHHiURiyeiZFbLh dIIEYNY38n3ovFlJHQCXVnRuIbfvoCaUwGoEVhgzxpuhPwMs+jOKfKNn5T02n9JrJRs3 6VVnu31yidyKhClTtm7F1yqAh6E+hTVa2ZoJLWSP1fgL3/Xk0L6mPHWs2TP09tsqcWSS 24kA== 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=4tW5IFgDDqy7qyYDWJ2VHhOu5cDN/GOhkX5hDm+X0KA=; b=kBjP5xMqsIvXyzpyGmCDjMvRi+htKH8J3UwfzZFJRBTYatOJysyTLhGDut5oNTQpHJ bvF/HZ75hZH5xo24wVFv5QlrKpC03e8n4sS/B1o/QKlVKGIQpG3KP28KTqDMfH2azhxH I9uhuFcx0IALtoR02AP7aC90mYUs2utuH8X+ui7yzI+A6VQ3NV5CryhQ8EOCH9COdxWm 48bf6SdTyguOQpXufXK334hWk9oN4nM5/6WtnZFAcrWn/nYK7MqvyguVlRq4J4BLtRTf 0nxSTltVRhAdKs2glL9qR81O204DSmX9m5TWbXkMQO6Z52KKtWcEMAoVyuclLGG/lg4K R0Eg== X-Gm-Message-State: AOAM531CM3D9fx1YPdR4pozVDFou6w7jja3xOQW5bEGXDtMLPziqipB7 VWNxK1bf6neoXzm12HM2XeZZLQ== X-Received: by 2002:a1c:3546:: with SMTP id c67mr329914wma.102.1594651783867; Mon, 13 Jul 2020 07:49:43 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:43 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Sean Wang , Matthias Brugger , linux-mediatek@lists.infradead.org Subject: [PATCH 10/25] pinctrl: mediatek: pinctrl-mtk-common-v2: Mark 'mtk_default_register_base_names' as __maybe_unused Date: Mon, 13 Jul 2020 15:49:15 +0100 Message-Id: <20200713144930.1034632-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Not all sourcefiles which end up including pinctrl-mtk-common-v2.h make use of 'mtk_default_register_base_names' and there is nowhere we can place the definition to void the need for __maybe_unused except its own headerfile, which seems like overkill. So instead we tell the compiler that it's okay for it to be unused by some of the consumers. Fixes the following W=1 kernel build warning(s): In file included from drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c:19: drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h:83:27: warning: ‘mtk_default_register_base_names’ defined but not used [-Wunused-const-variable=] 83 | static const char const mtk_default_register_base_names[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/pinctrl/mediatek/pinctrl-moore.h:25, from drivers/pinctrl/mediatek/pinctrl-moore.c:12: drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h:83:27: warning: ‘mtk_default_register_base_names’ defined but not used [-Wunused-const-variable=] 83 | static const char const mtk_default_register_base_names[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/pinctrl/mediatek/pinctrl-paris.h:27, from drivers/pinctrl/mediatek/pinctrl-paris.c:15: drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h:83:27: warning: ‘mtk_default_register_base_names’ defined but not used [-Wunused-const-variable=] 83 | static const char const mtk_default_register_base_names[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/pinctrl/mediatek/pinctrl-paris.h:27, from drivers/pinctrl/mediatek/pinctrl-mtk-mt6797.h:15, from drivers/pinctrl/mediatek/pinctrl-mt6797.c:13: drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h:83:27: warning: ‘mtk_default_register_base_names’ defined but not used [-Wunused-const-variable=] 83 | static const char const mtk_default_register_base_names[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/pinctrl/mediatek/pinctrl-paris.h:27, from drivers/pinctrl/mediatek/pinctrl-mtk-mt8183.h:12, from drivers/pinctrl/mediatek/pinctrl-mt8183.c:9: drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h:83:27: warning: ‘mtk_default_register_base_names’ defined but not used [-Wunused-const-variable=] 83 | static const char const mtk_default_register_base_names[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/pinctrl/mediatek/pinctrl-paris.h:27, from drivers/pinctrl/mediatek/pinctrl-mtk-mt6765.h:12, from drivers/pinctrl/mediatek/pinctrl-mt6765.c:10: drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h:83:27: warning: ‘mtk_default_register_base_names’ defined but not used [-Wunused-const-variable=] 83 | static const char const mtk_default_register_base_names[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cc: Sean Wang Cc: Matthias Brugger Cc: linux-mediatek@lists.infradead.org Signed-off-by: Lee Jones --- drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 Acked-by: Sean Wang diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h b/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h index 27df087363960..45aa0fdbe3306 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h +++ b/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h @@ -80,7 +80,7 @@ enum { DRV_GRP_MAX, }; -static const char * const mtk_default_register_base_names[] = { +static const char * const mtk_default_register_base_names[] __maybe_unused = { "base", }; From patchwork Mon Jul 13 14:49:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235444 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906803ilg; Mon, 13 Jul 2020 07:50:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAzrkgI65JYBg4S9tz6buGwTA3N6TDpIfztNzKJ+ZJeuDhxGI/Bb0KrgNWxFYVFge4myfR X-Received: by 2002:a17:906:4f16:: with SMTP id t22mr117092eju.179.1594651847209; Mon, 13 Jul 2020 07:50:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651847; cv=none; d=google.com; s=arc-20160816; b=F1qDoKXY1mOM+ExajC0vayk7lUoo5s1Gn0422ATu3rNJjuJ3MeD5tCmnDdKpwWGXk1 fTZoxP0ehqOkWPebitrWJe3q9mkNsDY80BQXzMv/idX77Ny2CUvOKLE3B5gsP7vXCEdv 9YKiNErJMKebTq9vV3OVdtSdO2AHlZRO9aswFzoHh9yf5qmzjSZiatkeFl8OMdPpBxq9 s15H9a11J4dKloGHyZTVkxJKQ9q7HNOQkwq9/F3BEok0S/YoOvS50uf2uGTvvShLsl3o T7B1+0y4h+pskheMdIEvxoah8lHoYjUmviU8/lzJaGjfK3OsvsNu3XggjEDFKFofRex5 pYOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jIoZqzG9OLATQhyya2bqPTWvpUfxkuQVsRzQ1VQbwNE=; b=LSDYgUsf5zMRAu+Cif7aNxFCDpBcXBndyjZfb4GvNqpOqulL0DlDSJpIesdXltw1cc wI9m+42ScZHfJQbZX3ztTX2yheOCCy1pmUpmwyfl9fn1JxI9HQBaXJtiteHsgNSrVg0w h08Z+wGzxTghEnxlwK7SbvzUv1bpKopqvQ4X0iVK20QB/R/CfEyUGw91H8iHOQ7o4lAQ I/uzGXOpb4E/vJtGAyFadCPYzqyrqalODAtGyMACIoXlkYUr7xE9beUfesPHG2M28Gdf B2tzZdE1V+AYolm5lk9lp4h2c+BlDH//TWmL6A1laKTueeF0RQt1s9LqAhKnIbngTN8s yojQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bMhz0RnA; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 z11si9148151ejm.102.2020.07.13.07.50.46; Mon, 13 Jul 2020 07:50:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=bMhz0RnA; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730158AbgGMOtt (ORCPT + 5 others); Mon, 13 Jul 2020 10:49:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730150AbgGMOtq (ORCPT ); Mon, 13 Jul 2020 10:49:46 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11973C08C5DB for ; Mon, 13 Jul 2020 07:49:46 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id 22so13596900wmg.1 for ; Mon, 13 Jul 2020 07:49:46 -0700 (PDT) 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=jIoZqzG9OLATQhyya2bqPTWvpUfxkuQVsRzQ1VQbwNE=; b=bMhz0RnA/3UZT7hU8Hmuz9lWKmBNqOVSGmyPyWBVANYCkg2p3Qyae9xDS5WenLUiDn 8274PaEDUnifNdF6+9oklXnQalIg2pJ6Fk5ai0o+Y+Ew+yTjOWjE1X+Ei23ZlU2CHsL0 EbYezapMR7f7I2JL81ySs9dkcV0rOcs/En3fnXmguJWpkm70yjei7Ov9UjIcU3vrG0Jv DFM0KS7YMJ+YUln5WmOprK0AsPpXluFIQCZrP2z4Vj91ZKfyJxhp+UEM3dcWQKgNBHpN RsC2xNZZjHKYyFujhG/0BS2rifc9dxAlOy7fnksfbL4qUJdKbZvo75qOhwr+CvW3q8/R M7aA== 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=jIoZqzG9OLATQhyya2bqPTWvpUfxkuQVsRzQ1VQbwNE=; b=HBn6Hse1ah/bxD0vck4z7bYuake/7KMf7U/LyVPdjuj9OkBiwlLpgoeQKR4lJkcRwN HtLMwyPgK+TJoIzQUj73U9q3q6w5YROOvoQ4v2YiS/oVFHYztM+lhk9VCoPdY3E348ke i09xJ1F4X9ckEGkNxPZQFq2Jri6XFVVKAG3MT+t9Raq1oaxEElCkkljIuhl1IFBEn1Xg md+zVqY54nOa8q9vy17SNxQDsSLjTy4H6NCFSbPJ6kjKxQX4yvRMJ1e8tN6JurQEexwX L/6PLvbPBF5DmAwBAZoMetAa1F8Nmp52D0CPC2yRy9dJ4/0/MfYi/jE26NaUPsSBW3Ad VG/Q== X-Gm-Message-State: AOAM532eSh0jysFZ6Hm42sTeQtwC6oCC6QDOHl7Am6WVlHSgOF9XtI1Q FqL59IRYyGwoP+Fm3Bnl5qYnyg== X-Received: by 2002:a1c:e18a:: with SMTP id y132mr294500wmg.27.1594651784746; Mon, 13 Jul 2020 07:49:44 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:44 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones Subject: [PATCH 11/25] pinctrl: core: Fix a bunch of kerneldoc issues Date: Mon, 13 Jul 2020 15:49:16 +0100 Message-Id: <20200713144930.1034632-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Most are likely due to bitrot/API slip. Some are formatting issues. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/core.c:167: warning: Function parameter or member 'pin' not described in 'pin_get_name' drivers/pinctrl/core.c:167: warning: Excess function parameter 'name' description in 'pin_get_name' drivers/pinctrl/core.c:584: warning: Function parameter or member 'selector' not described in 'pinctrl_generic_get_group' drivers/pinctrl/core.c:584: warning: Excess function parameter 'gselector' description in 'pinctrl_generic_get_group' drivers/pinctrl/core.c:1356: error: Cannot parse struct or union! drivers/pinctrl/core.c:1458: warning: Function parameter or member 'map' not described in 'pinctrl_unregister_mappings' drivers/pinctrl/core.c:1458: warning: Excess function parameter 'maps' description in 'pinctrl_unregister_mappings' drivers/pinctrl/core.c:2239: warning: Function parameter or member 'pctldev' not described in 'devm_pinctrl_register_and_init' Signed-off-by: Lee Jones --- drivers/pinctrl/core.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.25.1 diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c index 821242bb4b16a..3e8d1630d29ed 100644 --- a/drivers/pinctrl/core.c +++ b/drivers/pinctrl/core.c @@ -161,7 +161,7 @@ int pin_get_from_name(struct pinctrl_dev *pctldev, const char *name) /** * pin_get_name_from_id() - look up a pin name from a pin id * @pctldev: the pin control device to lookup the pin on - * @name: the name of the pin to look up + * @pin: pin number/id to look up */ const char *pin_get_name(struct pinctrl_dev *pctldev, const unsigned pin) { @@ -577,7 +577,7 @@ EXPORT_SYMBOL_GPL(pinctrl_generic_get_group_pins); /** * pinctrl_generic_get_group() - returns a pin group based on the number * @pctldev: pin controller device - * @gselector: group number + * @selector: group number */ struct group_desc *pinctrl_generic_get_group(struct pinctrl_dev *pctldev, unsigned int selector) @@ -1329,7 +1329,7 @@ static void devm_pinctrl_release(struct device *dev, void *res) } /** - * struct devm_pinctrl_get() - Resource managed pinctrl_get() + * devm_pinctrl_get() - Resource managed pinctrl_get() * @dev: the device to obtain the handle for * * If there is a need to explicitly destroy the returned struct pinctrl, @@ -1451,7 +1451,7 @@ EXPORT_SYMBOL_GPL(pinctrl_register_mappings); /** * pinctrl_unregister_mappings() - unregister a set of pin controller mappings - * @maps: the pincontrol mappings table passed to pinctrl_register_mappings() + * @map: the pincontrol mappings table passed to pinctrl_register_mappings() * when registering the mappings. */ void pinctrl_unregister_mappings(const struct pinctrl_map *map) @@ -2226,9 +2226,9 @@ EXPORT_SYMBOL_GPL(devm_pinctrl_register); * @dev: parent device for this pin controller * @pctldesc: descriptor for this pin controller * @driver_data: private pin controller data for this pin controller + * @pctldev: pin controller device * - * Returns an error pointer if pincontrol register failed. Otherwise - * it returns valid pinctrl handle. + * Returns zero on success or an error number on failure. * * The pinctrl device will be automatically released when the device is unbound. */ From patchwork Mon Jul 13 14:49:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235431 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906064ilg; Mon, 13 Jul 2020 07:49:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrpXKQi45sWE2JHJTQmQTXIVcIgI098xrLholUUT2VgtG37QwWXICDnF6/qXMdVWsrvNZk X-Received: by 2002:a17:906:86d4:: with SMTP id j20mr192750ejy.68.1594651790632; Mon, 13 Jul 2020 07:49:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651790; cv=none; d=google.com; s=arc-20160816; b=ckGJgkiDvqCe0Mx43XslcjFJeEhu9JxozAN4Q/uvfh4odH71Iv+D7UkOJ+S50+bM8N ByY1Bj8jzsKcuisP0Mz0wU1xvwb3ob5MNKLDtogzQk4/q6ErqPUy1aSYW5CBvglc7eKB sjJW1H8mVVofOF37JIdaWSiA2FFjnWV1PJZzQFlfQxBZPZ54vTDhkYgsfBufc85lEqQ2 KqkBb5/X0YHQIoxxbzlX0C3qSbFF1QISpp7/eAntm1yKGzqw5PSkkf+9enxgS5S4qY2+ WFPh4MXOQzwhQ9holzOykLvxHB3hpJI0vRouEOglQH/X0SrkInZEvIE+ghsCc7S4cYOj tPdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vd2sj2C+/BCAJxR/LaESZDmFFOuWK440rmdqEyE8mPM=; b=TdGcjbtf7SKz3x0cEk9IhibgWfz3oQpNe6AfJ5rHDY8tjvZg13MU7srT5Cd+bJTO3a 0g/RzIWFctRRzRqzjNOcuh2hPQO7BuWCv7i6Akl/5+9DeoeDT3tmWLXq0aK59jMwtEip rUvdWl95L4IzOgr/2n+JeKJPqy97v/dGWP1uFf42Q+ti3BPVlAqH/B9rgrTqYNhg2v7B bfnF58C30c0KfyrVtGIiOFPrRlgCPKEy3jjlJ8F/UXPUJWFOHc4LtErvO5L2hlv5jacL 35CV5UYI+LPRvLcqmHEjkIMS5mYX/l9cTP2gKyLwkVjqgc/XyGB3tILHX23q0gGrtkOj T/Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XtQOx7in; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 l11si9337592edq.493.2020.07.13.07.49.50; Mon, 13 Jul 2020 07:49:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=XtQOx7in; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730160AbgGMOts (ORCPT + 5 others); Mon, 13 Jul 2020 10:49:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730158AbgGMOtr (ORCPT ); Mon, 13 Jul 2020 10:49:47 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31AF8C08C5DD for ; Mon, 13 Jul 2020 07:49:47 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id f18so13445290wml.3 for ; Mon, 13 Jul 2020 07:49:47 -0700 (PDT) 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=vd2sj2C+/BCAJxR/LaESZDmFFOuWK440rmdqEyE8mPM=; b=XtQOx7in9ZZo01xvUwtPb71cD03LuqUg5mjxFCU8fVtsM9wgJaGzymWPTCk6RAAosp ESWRw35FOp86sTVMJwxSp+XrILjPVNaKm5eCK2pxO2YBb6xZ9H+ZLaT2vHvITumQzbXA e0xswYA716id0G4VTOndgM3E07J1+apu69twfPsO9ideH7JTLI24InIpLwGzS4rOXSku iX53kFdsr7ZTu3NI1ma4fddkk7UOmVlsaKTdkRDJvVngDCOaNBReUbBp7Vl1d+PWdMPt PhJ6s5Y+oUQR9YgEpQ4OFI9JYtM+nmya6l2zMAY7SOR3HlHAA0h9rqw1J/HhR4buc3eO nfaw== 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=vd2sj2C+/BCAJxR/LaESZDmFFOuWK440rmdqEyE8mPM=; b=rBjVpdOh1ZC8nCXMJ2R9xOgM+NlLxzRSCA/cftu3Q4m/Nx3lCpxfWCeYLjwIw2a0eH rXrEFcLehLEq7T6wEzXUX8Lsr2zzJWILndlea9D5ssYgsxkLwzx71FpRUDeKK+fMAxmw t2z0inpqEvyfeEVRRXh8CF2WiPEWQUynPfz4sbiLiZFtg0zLPQ3dvUUmchYcy7pOpLP6 cVvQBhek09RhO4f6SZZfgIb7zswPKexBrHJgG28XhGptnnIa/ERvfbUQ60tvugnP22Z2 vrWh/KPx0KOohV3h5KlE2HwnJ88tnb14oXrPmD7keFS0YTYKdSUeJ434tbZcpMB9HzB6 oqug== X-Gm-Message-State: AOAM530Vc9nKHNNQ/Zy0bn1jIJe8+1z2shnJy+f0Avrwr7i89YKZI1pC fgC7sncmJU3EuNZWyerBBtgpIg== X-Received: by 2002:a05:600c:21ca:: with SMTP id x10mr288300wmj.63.1594651785916; Mon, 13 Jul 2020 07:49:45 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:45 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones Subject: [PATCH 12/25] pinctrl: pinmux: Add some missing parameter descriptions Date: Mon, 13 Jul 2020 15:49:17 +0100 Message-Id: <20200713144930.1034632-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org And rename another which has probably bitrotted. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/pinmux.c:83: warning: Function parameter or member 'pctldev' not described in 'pinmux_can_be_used_for_gpio' drivers/pinctrl/pinmux.c:108: warning: Function parameter or member 'pctldev' not described in 'pin_request' drivers/pinctrl/pinmux.c:261: warning: Function parameter or member 'gpio' not described in 'pinmux_request_gpio' drivers/pinctrl/pinmux.c:751: warning: Function parameter or member 'selector' not described in 'pinmux_generic_get_function' drivers/pinctrl/pinmux.c:751: warning: Excess function parameter 'group_selector' description in 'pinmux_generic_get_function' Signed-off-by: Lee Jones --- drivers/pinctrl/pinmux.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/pinctrl/pinmux.c b/drivers/pinctrl/pinmux.c index 9503ddf2edc76..bab888fe3f8e3 100644 --- a/drivers/pinctrl/pinmux.c +++ b/drivers/pinctrl/pinmux.c @@ -74,6 +74,7 @@ int pinmux_validate_map(const struct pinctrl_map *map, int i) * pinmux_can_be_used_for_gpio() - check if a specific pin * is either muxed to a different function or used as gpio. * + * @pctldev: the associated pin controller device * @pin: the pin number in the global pin space * * Controllers not defined as strict will always return true, @@ -96,6 +97,7 @@ bool pinmux_can_be_used_for_gpio(struct pinctrl_dev *pctldev, unsigned pin) /** * pin_request() - request a single pin to be muxed in, typically for GPIO + * @pctldev: the associated pin controller device * @pin: the pin number in the global pin space * @owner: a representation of the owner of this pin; typically the device * name that controls its mux function, or the requested GPIO name @@ -254,6 +256,7 @@ static const char *pin_free(struct pinctrl_dev *pctldev, int pin, * @pctldev: pin controller device affected * @pin: the pin to mux in for GPIO * @range: the applicable GPIO range + * @gpio: number of requested GPIO */ int pinmux_request_gpio(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, @@ -744,7 +747,7 @@ EXPORT_SYMBOL_GPL(pinmux_generic_get_function_groups); /** * pinmux_generic_get_function() - returns a function based on the number * @pctldev: pin controller device - * @group_selector: function number + * @selector: function number */ struct function_desc *pinmux_generic_get_function(struct pinctrl_dev *pctldev, unsigned int selector) From patchwork Mon Jul 13 14:49:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235443 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906794ilg; Mon, 13 Jul 2020 07:50:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwv8Qv1mFp0snbhkKNFuWXRjyCWquPZ5zO6ynA1KqIE3kkpEU5XaK6qZUvzK6s6M58EKILT X-Received: by 2002:a05:6402:b4b:: with SMTP id bx11mr89628326edb.286.1594651846711; Mon, 13 Jul 2020 07:50:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651846; cv=none; d=google.com; s=arc-20160816; b=AGZJcLcyljJif5A+fXuQJvQuyYxGWhW5JBEdb0orr++fiZ1oleg2mDHZ+t0U9RPJw7 c95D5jUbSPAXvHL9tfMNZQJMb57wJA8cRAA6mL7CUbnWif4VY751nw6uEv1PZrLBukr+ A+12f+YSjguss2jwxXoYhTeXlun6Ehnq7l86PDGr03ZMCQLDTj4xCyCQzLPyuimeIUpC A6opsgAhBlWlX/spTI0yQA86K320+5vp21rdDBU8wBSg1JqGsArt8xjyWclRPyE71dMV QHcn9pn2GuTVc1suv855ooTFUO84pDQkJQSd5b02y79R3K6//mM06N26tAjswu4WTHpw ww6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SMipzZYJu8LR1S684y2mNrnWVA5TCC4bAA7Iz5/5CcI=; b=eAOqCe5KGhrdZ3tBDP2xvbO4aj9jMeacIZveVMpBm7ZGjzhUBJ8d2YNSIfhE14fZw1 IXKuRlA/5itUYmtkTvjLBPV39NvK2E61/onlO9vvSWis0e5haYsEMGGd3Hzlf0iXWUIn qq64432x7tpqsyjG7a/t7oMCfBRlw46a2bJ7dKP//VeoVKFwyhLMdovtj8ORJ5H8wcra L3P61UwRs6x9wa3jMrm+hHtTXURkJUFlc7ADnIgM94AANdfWkaL/NT3uXaqfCWC2HMvs k7EipwFffj4FNyi9Oy440fMbhNFRwF4dmmvSF4BSBB0UFwc9pBFPUksmBffLrkreOPYb gf9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zce1ip8z; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 z11si9148151ejm.102.2020.07.13.07.50.46; Mon, 13 Jul 2020 07:50:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=zce1ip8z; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730164AbgGMOtt (ORCPT + 5 others); Mon, 13 Jul 2020 10:49:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730159AbgGMOts (ORCPT ); Mon, 13 Jul 2020 10:49:48 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3132DC061794 for ; Mon, 13 Jul 2020 07:49:48 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id a6so16866079wrm.4 for ; Mon, 13 Jul 2020 07:49:48 -0700 (PDT) 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=SMipzZYJu8LR1S684y2mNrnWVA5TCC4bAA7Iz5/5CcI=; b=zce1ip8zmaLh0pqXP0eF7z2mXwnarWeQ7nDj0kV29aJAUrksLMbtyCyhllEs4O/zyS DlLimcmdIq0ekjAoJRvy7abIF6MIpRMlVwGZqqFjJmM+feJ7SxwO3vini+w+xBkwr7OD K0Sp2LoSl9f+ClywO7+Y8RrJpb3Qa4qcT1X/hoH6r7aqg9zsAS+eWfEF7RHMs2P6zLQT QDAqObXmaxXvWmG6Rxb/K0PrZSx5s2O5MMWL849pw4RPD3yOhQuoBj3jyLnbcLWhl+qw CegHSweDUX51vGLFhU1CuFaRRnlpDmNOmWODanqUlMhFJN/IfwZXOV3szs34d9v0/zyP BpNg== 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=SMipzZYJu8LR1S684y2mNrnWVA5TCC4bAA7Iz5/5CcI=; b=OwKi/5C2Z8eH0KaJ7jNMU6+7zUF8rIcyIOFFIi4pLCvPfR4sJGRQvAoQIl5v6FWdwX hwMzQlbErszeha+sBhWMrfytgt59EMnstzex9pwygCqVekPZtSr9ui14Z+yw93+pJS3p h5m5cp5MuRsrW9khJinEmKYCrtuG8PC3GkAuMa0i+YXDGgEMjX5js6cXk80zts9+TIHm qfz3cFZtzkhJmVNv99aECEaIJtznQK2rCul6xbkJWVPwyMw9SHVY4/Z9lPSYlD7hE6nv Xdnv0NBPFWC2Ek4qwuJZvSeqYrkF0+/2bSniUVHeKBkvNkjpUFEDJicR+WjXUjyxhFt7 RxMg== X-Gm-Message-State: AOAM532wq+7zuJRBeLW/kajVBEmUMCR/tgyhqSdagb2h3oQguQOMa4f0 5ScaR94Tx3e/wdllmFU9xugpaw== X-Received: by 2002:a5d:474f:: with SMTP id o15mr77598965wrs.306.1594651786953; Mon, 13 Jul 2020 07:49:46 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:46 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones Subject: [PATCH 13/25] pinctrl: devicetree: Add one new attribute description and rename another two Date: Mon, 13 Jul 2020 15:49:18 +0100 Message-Id: <20200713144930.1034632-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/pinctrl/devicetree.c:27: warning: Function parameter or member 'map' not described in 'pinctrl_dt_map' drivers/pinctrl/devicetree.c:27: warning: Function parameter or member 'num_maps' not described in 'pinctrl_dt_map' drivers/pinctrl/devicetree.c:409: warning: Function parameter or member 'out_args' not described in 'pinctrl_parse_index_with_args' drivers/pinctrl/devicetree.c:409: warning: Excess function parameter 'out_arts' description in 'pinctrl_parse_index_with_args' Signed-off-by: Lee Jones --- drivers/pinctrl/devicetree.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/drivers/pinctrl/devicetree.c b/drivers/pinctrl/devicetree.c index c6fe7d64c9137..5eff8c2965528 100644 --- a/drivers/pinctrl/devicetree.c +++ b/drivers/pinctrl/devicetree.c @@ -17,7 +17,8 @@ * struct pinctrl_dt_map - mapping table chunk parsed from device tree * @node: list node for struct pinctrl's @dt_maps field * @pctldev: the pin controller that allocated this struct, and will free it - * @maps: the mapping table entries + * @map: the mapping table entries + * @num_maps: number of mapping table entries */ struct pinctrl_dt_map { struct list_head node; @@ -397,7 +398,7 @@ static int pinctrl_copy_args(const struct device_node *np, * @np: pointer to device node with the property * @list_name: property that contains the list * @index: index within the list - * @out_arts: entries in the list pointed by index + * @out_args: entries in the list pointed by index * * Finds the selected element in a pinctrl array consisting of an index * within the controller and a number of u32 entries specified for each From patchwork Mon Jul 13 14:49:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235445 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906808ilg; Mon, 13 Jul 2020 07:50:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwn4TbR1al4ia+8aYCMHKQymByPKnXI4r1m/j1kaAdQ9aGpDVTIjaBYk3vCZ1edHX//8523 X-Received: by 2002:a50:b026:: with SMTP id i35mr3405741edd.158.1594651847601; Mon, 13 Jul 2020 07:50:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651847; cv=none; d=google.com; s=arc-20160816; b=ec03TJAo7e6WtLTAaaeCCRWjZRM9jjPvJ5bqz+Tbso1fAyLZ5jW6Qbf7xC/J6+uMzz 4tAMhxQNZUpduaFgzcu0S+kRUJKgEEMS1RzmwUTasK5bWi3PUqJVJb8PBw/XlhlDSAoW Ge37XFrabO86URo4pwODOfYiNcJSUiFkc0ceDTE+FqpCtY8jq6D+9wFxy1CS5VkXlq+7 tZT7KTEcY4kM9JRm69xAIIp4GJ7kW3cJM7wXRFodU/5hAp8EqQFQrOPnzehOhqIFh0DQ 8kVjdC+hpr9IheC3lNZG73ZcfIQuPS4vpPgFPvGqz3gd78pgB4V65cx5cRSx7/TwxAFc Ac5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UJLr4motzozLLZVc3EnKW+yD22+TDxcp2fROtmtF5gQ=; b=DnddGNI4ToqXpv789mWQr8Ngy3vuaELQnXVrpzKHlQYQ2GW1AAVcRP1xFVjB95T9DB M6BTrMhEaza1ABoAMfRIOPHpK8j8yp0/TgnLyPZWNn1GMJr9V3Ju8qf15wiOkO6Zg6sc kB5jc0sD80hC0FVt43B6m7Q14BKwvVXH/CMHWUkIrL4kZTgQxtskWZne4ZEngb34Fe0L YwyiuBhzNaBbbOe4GeAekNruX/HS2OlEI/VR5gVPbN6qMxamCypQTGpdQoPtL6izvUob TVc/NvdK2ypjDc/WGMoqfnGikHC9jfEA4NEjmvaTo2WeCUAG/KDGIfiEi7KOH8QSX5B7 Fhsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ffV2wfG6; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 z11si9148151ejm.102.2020.07.13.07.50.47; Mon, 13 Jul 2020 07:50:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=ffV2wfG6; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730157AbgGMOuq (ORCPT + 5 others); Mon, 13 Jul 2020 10:50:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730163AbgGMOtt (ORCPT ); Mon, 13 Jul 2020 10:49:49 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30967C061794 for ; Mon, 13 Jul 2020 07:49:49 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id j4so16864281wrp.10 for ; Mon, 13 Jul 2020 07:49:49 -0700 (PDT) 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=UJLr4motzozLLZVc3EnKW+yD22+TDxcp2fROtmtF5gQ=; b=ffV2wfG6IyKlQhh4ojP0OpROd3zfmjD+C4pYAmtbAXq4j6GZtxD6TiszNh4An3QJf4 NGNnaeR2/2VYMJ9FaNC+c/5ryX9WLH9Daxd04bFGmdsF6Gpi6SATHGs2me2JKpYuWYKF jnrA8JdgGfS88n43twjaoFPHZnCPGX43M2tsyI4St6KayxdGzlrsm4uLUy0cawmjSvV7 I/AJar4yTMVd9sY3JIzg69QyCnD4rMMG8Jx4cRw8zWBoGH54GmyiL+dHdLYO4fBpUWui 0qKf43y9AOBFVB/rmDlCf+igCPxbIt4yycZ9jnoIblUJX5vVpVhTvQjXrbCUVPF+2CT+ edxw== 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=UJLr4motzozLLZVc3EnKW+yD22+TDxcp2fROtmtF5gQ=; b=VmAaWG3wfANmJPSNkE7N2NS9VN6AwHaPnH1/mBd/AgCG8l+9j184YJ7myxqlvEZftE sh7un/OR7ImZT9R3/ZQzP0uINwGef4H3GSAcI6JhVCQ6fctjJhKwoMxdvwKLZDRc44jN 8FjnNVHOjPd0GVTt5UKwkRp5Cfa8gMNtDOU1NN5Wgdx9rCC301ID3Y2AAYVF9bIKDi49 uv6IAkSu7yA8gb3WhIcmW11q3NBPcXFeMK/LW/wUbuWMW/qVW95R7ttjV3Uf+8fiTt1p koiAc1wXLfSEAmus5jfWCgHjMisE8X/QQFn2SGnsK3OJTZ1zGAmArKIzcpLOXCB+t/wi 9bmg== X-Gm-Message-State: AOAM530XFh/7j5zpGQwwN96Y7QDxqlgZjMVltfqbWa6yGSxN//AaAeGt eIlH422a+FePiTJzJoF7ZDUjgw== X-Received: by 2002:adf:ff8c:: with SMTP id j12mr79223166wrr.230.1594651787968; Mon, 13 Jul 2020 07:49:47 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:47 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones Subject: [PATCH 14/25] pinctrl: pinconf-generic: Add function parameter description 'pctldev' Date: Mon, 13 Jul 2020 15:49:19 +0100 Message-Id: <20200713144930.1034632-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Fix a spelling/typo while we're here. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/pinconf-generic.c:242: warning: Function parameter or member 'pctldev' not described in 'pinconf_generic_parse_dt_config' Signed-off-by: Lee Jones --- drivers/pinctrl/pinconf-generic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/pinctrl/pinconf-generic.c b/drivers/pinctrl/pinconf-generic.c index dfef471201f60..1e225d5139888 100644 --- a/drivers/pinctrl/pinconf-generic.c +++ b/drivers/pinctrl/pinconf-generic.c @@ -231,9 +231,10 @@ static void parse_dt_cfg(struct device_node *np, * pinconf_generic_parse_dt_config() * parse the config properties into generic pinconfig values. * @np: node containing the pinconfig properties + * @pctldev: pincontrol device * @configs: array with nconfigs entries containing the generic pinconf values * must be freed when no longer necessary. - * @nconfigs: umber of configurations + * @nconfigs: number of configurations */ int pinconf_generic_parse_dt_config(struct device_node *np, struct pinctrl_dev *pctldev, From patchwork Mon Jul 13 14:49:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235442 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906738ilg; Mon, 13 Jul 2020 07:50:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjNwhQk7I0BoNYTU1+6SyN4R0NGGtwgqK46ZrHWOeNhp9NLRhoze1ft75Lhwr3nxNgR6AQ X-Received: by 2002:a05:6402:31ad:: with SMTP id dj13mr48790841edb.88.1594651843023; Mon, 13 Jul 2020 07:50:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651843; cv=none; d=google.com; s=arc-20160816; b=yJqr/3iAbJco5nxY1/vyplgvmEAibPOv1Vmu6fq0BPBLAwhrJyWQRBuPcvmviB4sr7 /0OzOBl7xLNMfEbkUP9q87n89dN1WTr33PKR14ok+e8vlS1xSRe8lJQ5rdaDmfb8JW3H I8dPodMY+uR0DdEpUUMnoUhxuao4umF7Wg5FcsJgabXtr+VL9QTBYhegO+uFEoDMEKyP QgnjS55YkIQ5twZV5g2PAZtbF322W6JhjXF+FJ5ZKMDr6nW8sCQaUxSPfjTvGVZcTBSm M9vCmn8jaVT+YcuSe73Hql42LfoSFbgrtdbhTQGTyDZ0DjdjS5IQ5Dp2rGE6gVI7jLuc ieSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kuZnz7WuCOMkwDD1kHF8duV0gwdGWneD0aepHdWTlsw=; b=SwN1AUzqway3jAgzGgPTHUExMJkk7mxjTzZyMk4eCPO3g/JgJFPGC+LG6IpHtu2MhF gKqpjk01ba/7uNEnge+EmVbAJrEuSrs08TuvIbI1NRLkPM7RHdphjxE7d3XnyQAh11Gd gl52xJZGpssU+skuefYDIhPRMrsFLBfsP0fTPm9SgzYVP8iI+QA41hCZqArh8BIi1Di+ jEixn10FDkIBxbc2hnwuoZaKswyVRQqFJxhgBiGhqk6JZmbEQ5yMnQ346xxEgV1DDvif mM+KtZhpXwtSA0oVDaPsNpZNYCKwtbU/zX/XOGrjHe0RQloogA+GHyvc9kmB51udk19H xbZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lSffMAIj; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 gj5si8709624ejb.49.2020.07.13.07.50.42; Mon, 13 Jul 2020 07:50:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=lSffMAIj; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1729927AbgGMOul (ORCPT + 5 others); Mon, 13 Jul 2020 10:50:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730170AbgGMOtu (ORCPT ); Mon, 13 Jul 2020 10:49:50 -0400 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 55936C061794 for ; Mon, 13 Jul 2020 07:49:50 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id b6so16862382wrs.11 for ; Mon, 13 Jul 2020 07:49:50 -0700 (PDT) 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=kuZnz7WuCOMkwDD1kHF8duV0gwdGWneD0aepHdWTlsw=; b=lSffMAIjiDbbph0NJ5hNiH1AnJltYNVex8/8sTcMzvYkMUyX77Q3xj/RGRxV9ATaU8 XM22k/9VDkCjEJHMDcF87f838xV4wRGPOZLlHoBVaNtGuWtYrGfo7DFvqicNsiqWLLkt /1ZefGA4zC6egSe8n7ZXocpE4RF4ZcCP1Bd40TGZvnE/OEfTWaogYF78VOJkDHa9AFY3 0mXklzgSiLdNYEKkh/wQTaX06KVng8upiqlTs3MWKMTdRT4SFtfQQLr/3oik3Qlqaevn GTiErSTcJFFrdtyDpjGNSXK5qq5BIV1KLGXz3QD/7wOkJNvbYxuxZgUm0b6z36bYajQe I3Og== 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=kuZnz7WuCOMkwDD1kHF8duV0gwdGWneD0aepHdWTlsw=; b=p7FYzDydJh+B+z1OdEbWqQ69Q4D1ne/t6bLAt7El3QjEHqWtcAMkPk7kGa0QHdG1C2 LwRFa42MGxm/dChEm7Oq0BtBvQb7yMn0OlINbbxOaDjRhNPLA4oqlAJg2Y/jxhVayveN rms/Yj0xXGTL137/J4KFv7s/vwo7WDdoKNaxtLeqH+Zyf169YSAzUoJ65aGLi1NvX6GW 2+SmIVWO3AxBQXjIo5iG0Q3vS/MPcAqEIe6KEpZJEeZaThIoNZhYheiH7T7OVKfWLzis J+b6Dd7272syn8i750J6P+/Rc/b5vchR8k/HJVN6jBgqUn9i1i+gqt64ckXS9BqzyK+k +Q3Q== X-Gm-Message-State: AOAM532I0e77j6FKfqrccwy+Xy5dA1pp/cxmDYV5WOTKB5qosR3lKdiv k2jO0ZaDaEsmLrOi0T0qEaB9bg== X-Received: by 2002:adf:92c4:: with SMTP id 62mr77834184wrn.290.1594651789134; Mon, 13 Jul 2020 07:49:49 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:48 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Ludovic Desroches , Nicolas Ferre , Alexandre Belloni Subject: [PATCH 15/25] pinctrl: pinctrl-at91-pio4: PM related attribute descriptions Date: Mon, 13 Jul 2020 15:49:20 +0100 Message-Id: <20200713144930.1034632-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/pinctrl/pinctrl-at91-pio4.c:132: warning: Function parameter or member 'pm_wakeup_sources' not described in 'atmel_pioctrl' drivers/pinctrl/pinctrl-at91-pio4.c:132: warning: Function parameter or member 'pm_suspend_backup' not described in 'atmel_pioctrl' Cc: Ludovic Desroches Cc: Nicolas Ferre Cc: Alexandre Belloni Signed-off-by: Lee Jones --- drivers/pinctrl/pinctrl-at91-pio4.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.25.1 diff --git a/drivers/pinctrl/pinctrl-at91-pio4.c b/drivers/pinctrl/pinctrl-at91-pio4.c index 54222ccddfb19..8e5a5053a47e2 100644 --- a/drivers/pinctrl/pinctrl-at91-pio4.c +++ b/drivers/pinctrl/pinctrl-at91-pio4.c @@ -106,6 +106,8 @@ struct atmel_pin { * @irq_domain: irq domain for the gpio controller. * @irqs: table containing the hw irq number of the bank. The index of the * table is the bank id. + * @pm_wakeup_sources: bitmap of wakeup sources (lines) + * @pm_suspend_backup: backup/restore register values on suspend/resume * @dev: device entry for the Atmel PIO controller. * @node: node of the Atmel PIO controller. */ From patchwork Mon Jul 13 14:49:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235432 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906106ilg; Mon, 13 Jul 2020 07:49:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTAwoLQR+VMyW2ABCu9lbhRXS4SfzYrBWoLMxEYVvdO3CTXRQuJkl1egJFdQCx44xmxUyO X-Received: by 2002:a50:9f22:: with SMTP id b31mr93528927edf.24.1594651795412; Mon, 13 Jul 2020 07:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651795; cv=none; d=google.com; s=arc-20160816; b=EFBBilr/rodvhI/bxXflu2ibo0uzbnenN9a+URrrbp/ljDjQy6zgXPWZ/IakblbJLO UdYxherPubJbTw5AhWtnlq76ZfluAgpOKJxPjRgshrVizHmDBNpQSehMqlCUxgvtANlu JAP1uUyVYBJJ54oPvgmOX+OzoBoX2IWN7zrKeMHOnZUwr3Y0dKDtXiLTicQbNgHStkKV c9rpihSs7bptq6PEv0Xj4Y4zdue7qxAhgELs1a3AYLkx9CVa6rshqHqAhiIdrCv1iAZW XWUae5fDrXhurZis8602snNLJEGleXZgIfY/TWSRaHa/h3wO+irbzuxzZ8LqktCeHJCD c4TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8XFfrtDb0YISFxdApa9cgcznz1fKsVfnxLcnox2gJ38=; b=INeDOvurboJUN8OXINbAjNGw88+g4Ve7bem6Qz3dRKeIBNsM04r4r/P+94yL4bJOt2 w/LKnJM3EksX5hT95Rmpe8X9wCrPdWL8LBBQfDvyNXuhon3Iep+M+SUE9y9j2yS5PePr +JoW+MK74FfrXdUW/oixbeDMXP9hxothWjZXeCCusrV54khkB65zSpcS/RufYFAr/t+w Zfi6FTat2/ZEgbVhoYfju8AE9MP/vaWnn/SyTJUEJTI+mh6kHRog1CZAb8YLB8eFzpr4 W15pTF4Llb4Huoaro1H8KM2CWddiIwNgQj21TH0Mo6PyYnLr/YTYPwkaiHG8gLFxP4IF lbXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bY+eI2Sa; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 l11si9337592edq.493.2020.07.13.07.49.55; Mon, 13 Jul 2020 07:49:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=bY+eI2Sa; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730181AbgGMOtw (ORCPT + 5 others); Mon, 13 Jul 2020 10:49:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730175AbgGMOtv (ORCPT ); Mon, 13 Jul 2020 10:49:51 -0400 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 66C5BC061794 for ; Mon, 13 Jul 2020 07:49:51 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id j4so16864415wrp.10 for ; Mon, 13 Jul 2020 07:49:51 -0700 (PDT) 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=8XFfrtDb0YISFxdApa9cgcznz1fKsVfnxLcnox2gJ38=; b=bY+eI2Sa1VcgBw/m+GSPdg+IKtmwOksNpPhNngNhJ4tpus+dIQgVEyXQmm5h/Mo+8d CFGMao+VaidBm/qr7yKY8/suL3RWH+306Rfniq0CT6jdAnE7udAzLAZ38vDwZTSgwCxP 9Zfvo7Amfu/J/ldW9uMo1y69ApSm1SwamkBSUJZYzG+E0lsy1bD/tTOlXKuPBU95ZPwZ 5NNTSXixUFUk4gTpO9djXoEEhSurqXpdLHwBPR04hIDB8s8nXY4sx0MYqnLsre6mwD/M tVq7d9wH1fGqnHlxr+56BcsdYIdOJk6QJB/JnCveFhAqYodfYN9gC3Sf0THlqUv0vJFp w0fQ== 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=8XFfrtDb0YISFxdApa9cgcznz1fKsVfnxLcnox2gJ38=; b=oRh6YGnswzZ6LtXwLRIB2DXSV53uDFj27hgUssNFMsg9I+fsZ0u2sTgR3EP0ZkzL7U 4l3V/FUONTqFE3ZLo5zRLkiE/98b5mMYbTNRxoIGuXscmPpY/3eQKaVl8P+4w49l6YrN 9+J5dx7HZR/bn3LukcSeDeDEuJ7U00Ksjkwi15QV5r+xgHfX3YFvMBofZYSeyE6fco99 KJLzDe+/5RqyIFF+0VOS9/efIceUNdxU73U5IBwP5RNG3KeiBglSEp3F2eJad8/Pq4IK 18PXVgCcSOoDy8OQGQt8+jdzjO8u8kve8ZVjOXek0C5ri/+zlv94kUKiQZ7Jd8DUCJoY eapw== X-Gm-Message-State: AOAM533XQS92ok6UjhgXVwLoIDLlr3DHNG79pM5MvdN3hz0TLPE06Mg2 IWgdNffjWJbsGf8tY8V3Z/M/Yw== X-Received: by 2002:adf:fc90:: with SMTP id g16mr79197339wrr.42.1594651790130; Mon, 13 Jul 2020 07:49:50 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:49 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Russell King , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches Subject: [PATCH 16/25] arch: arm: mach-at91: pm: Move prototypes to mutually included header Date: Mon, 13 Jul 2020 15:49:21 +0100 Message-Id: <20200713144930.1034632-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Both the caller and the supplier's source file should have access to the include file containing the prototypes. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/pinctrl-at91.c:1637:6: warning: no previous prototype for ‘at91_pinctrl_gpio_suspend’ [-Wmissing-prototypes] 1637 | void at91_pinctrl_gpio_suspend(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/pinctrl/pinctrl-at91.c:1661:6: warning: no previous prototype for ‘at91_pinctrl_gpio_resume’ [-Wmissing-prototypes] 1661 | void at91_pinctrl_gpio_resume(void) | ^~~~~~~~~~~~~~~~~~~~~~~~ Cc: Russell King Cc: Nicolas Ferre Cc: Alexandre Belloni Cc: Ludovic Desroches Signed-off-by: Lee Jones --- arch/arm/mach-at91/pm.c | 17 ++++++----------- drivers/pinctrl/pinctrl-at91.c | 1 + include/linux/platform_data/atmel.h | 5 +++++ 3 files changed, 12 insertions(+), 11 deletions(-) -- 2.25.1 diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index 074bde64064e4..59f2a2d6fbbb8 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c @@ -25,17 +25,6 @@ #include "generic.h" #include "pm.h" -/* - * FIXME: this is needed to communicate between the pinctrl driver and - * the PM implementation in the machine. Possibly part of the PM - * implementation should be moved down into the pinctrl driver and get - * called as part of the generic suspend/resume path. - */ -#ifdef CONFIG_PINCTRL_AT91 -extern void at91_pinctrl_gpio_suspend(void); -extern void at91_pinctrl_gpio_resume(void); -#endif - struct at91_soc_pm { int (*config_shdwc_ws)(void __iomem *shdwc, u32 *mode, u32 *polarity); int (*config_pmc_ws)(void __iomem *pmc, u32 mode, u32 polarity); @@ -325,6 +314,12 @@ static void at91_pm_suspend(suspend_state_t state) static int at91_pm_enter(suspend_state_t state) { #ifdef CONFIG_PINCTRL_AT91 + /* + * FIXME: this is needed to communicate between the pinctrl driver and + * the PM implementation in the machine. Possibly part of the PM + * implementation should be moved down into the pinctrl driver and get + * called as part of the generic suspend/resume path. + */ at91_pinctrl_gpio_suspend(); #endif diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index 9c52130876597..37997e5ab0538 100644 --- a/drivers/pinctrl/pinctrl-at91.c +++ b/drivers/pinctrl/pinctrl-at91.c @@ -22,6 +22,7 @@ #include /* Since we request GPIOs from ourself */ #include +#include #include "pinctrl-at91.h" #include "core.h" diff --git a/include/linux/platform_data/atmel.h b/include/linux/platform_data/atmel.h index 99e6069c5fd89..666ef482ea8c0 100644 --- a/include/linux/platform_data/atmel.h +++ b/include/linux/platform_data/atmel.h @@ -28,4 +28,9 @@ static inline int at91_suspend_entering_slow_clock(void) } #endif +#ifdef CONFIG_PINCTRL_AT91 +void at91_pinctrl_gpio_suspend(void); +void at91_pinctrl_gpio_resume(void); +#endif + #endif /* __ATMEL_H__ */ From patchwork Mon Jul 13 14:49:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235441 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906707ilg; Mon, 13 Jul 2020 07:50:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw25dZ12F8+UEIn3GkYPgz1CVWijgNZkSsuBgZOyWdeI/q0cFbcRFugPUkTvYVcEaD5TRtN X-Received: by 2002:a17:907:405e:: with SMTP id ns22mr183240ejb.6.1594651841099; Mon, 13 Jul 2020 07:50:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651841; cv=none; d=google.com; s=arc-20160816; b=lmoBuQLa5mZDXC6HqdBRZRsdKLLoFBhvq9T/4I2bm6YrYowzlweKDGFc+gxpR6Qc5F TnzD8FDVmw7Fr9Fyd5Y+UtWQfaqtZ3mfxYh0bf5awmeAcZWxrJH4Buo/uUN6eOJ50zgI 0vaniELZBq7Dot/b9SlC01u08mVxzmqMBcBJ1BFAoW9Jj14+m895X0FA3dfrfIF22VOW IulVc67hzkCVo5Fk9AHnFNF2zeQaMTJAcupjrvy1SrybQ+JuCNF/PmckKo7sZU4gKiPz 0L++Bebv1RrGs6g131ybGuvVl/pMUqaKviCTJbIzfmSUnhsECl210jmLUSksPWwKVOty BwMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kYHKuzSRZW2pgI75+9BhMiR0lmiLVyArtYOYZ4zdXms=; b=Eb4jtjXI+2y15lYy8UgWRTcETP/Xswxa8q110tul5+pqKHpFOHJPjOkRa4VK7Mb/sd ITsVLcSv7ATQCC0uj6A7xQs8kGi6HYW/y0ZC1KhsQXv75C+Dlp0dkZNFmdScQOoml64J nySYqCDOCjbCMlMKs5l2cjhuFy/xkb1xoZwYnfELJZipLpXzbOhMljiSDybvGPhY3uqP 7sxP2lGjvbtWxWfErFo2MVP8JsRsxzCU5m++db6pY5WavUFsnUAkRX0S+EejJnR+pg/n 3WbPId8HewygbbNbYiT75Tt6HZM3avBUk0D9WdzfMcWEfp+AmNh57A3zc0fIQ75KYfqq m7+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CkZ69wB4; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 gj5si8709624ejb.49.2020.07.13.07.50.40; Mon, 13 Jul 2020 07:50:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=CkZ69wB4; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730187AbgGMOtx (ORCPT + 5 others); Mon, 13 Jul 2020 10:49:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730183AbgGMOtw (ORCPT ); Mon, 13 Jul 2020 10:49:52 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9A91C061794 for ; Mon, 13 Jul 2020 07:49:52 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id g10so176840wmc.1 for ; Mon, 13 Jul 2020 07:49:52 -0700 (PDT) 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=kYHKuzSRZW2pgI75+9BhMiR0lmiLVyArtYOYZ4zdXms=; b=CkZ69wB415MviJkg4zRJn+beBy9bX2MMg9Jisvlhmq6L7OMczSmD5kCqw6qiQV2wWT f+bYeNEhbbnIo9rbQQGCRtGcpPc9J53DUlaC2nUJdiJHbN+ccfA0UYDXIM7O+55oNIHQ HG4qHvuZ8TPGw2IDsHAQYg9491cBy1xw2wxuUWT3zn+IKivPT5A03cJoZgiJcqJ/q2Mo ttECc8UNsz/Ild+2UzIWoM0PH1e57nKUpkTSOqnw6N8/iBA2HJC4ujAEcqubj07ZAReN LQgUybSRNEL1PGQNc0yVbgh1P0qIN4dSI2lFMbLfFRRxvxztMSLBnPtoihHOo1FZYj1Y OlvQ== 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=kYHKuzSRZW2pgI75+9BhMiR0lmiLVyArtYOYZ4zdXms=; b=tlyO7aVkamG2QRBPREcAMHc98kSM1qPbvkGuTHRSNzquBP/lW9fUmcc7vPxk5bp4HD M16qFylrWQQvUMmsaPQdMMeR5w6ywcqmzXA6dYJtcU1yFinGavAdFcTUP9vFt8b1/fid tr67tbc4FTbGM3llIADXT6l0XeS+cy9S89UY2ru0EQtCwo+ZZh2VMcXFDEt/p+KojOEt DE9PHR9Cz7QvvCFZJO9FDknBdfb7Mee/b8AAoWkPX6xLCk36XTpLXNk//o4j/rYTbYVS 99xxU1dHSGR091AH2/+HdlvAZVfA1sWcM+fpBVM8ndNoNaj08HhUCfgGH2WLTiPoWgwp MxBw== X-Gm-Message-State: AOAM5300hUkAVu73GMab37GJ1o5bAGOlU+NsaEAMEJvuO3zW2iPEGFEn 7Bwnz4gJKq+T6lYgGSak7ZG1+A== X-Received: by 2002:a1c:7209:: with SMTP id n9mr315832wmc.150.1594651791331; Mon, 13 Jul 2020 07:49:51 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:50 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Ludovic Desroches , Nicolas Ferre , Alexandre Belloni , Jean-Christophe PLAGNIOL-VILLARD Subject: [PATCH 17/25] pinctrl: pinctrl-at91: Demote non-kerneldoc header and complete another Date: Mon, 13 Jul 2020 15:49:22 +0100 Message-Id: <20200713144930.1034632-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The documentation header for 'struct at91_pinctrl_mux_ops' was missing entries for {g,s}et_drivestrength and {g,s}et_slewrate. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/pinctrl-at91.c:77: warning: cannot understand function prototype: 'enum drive_strength_bit ' drivers/pinctrl/pinctrl-at91.c:187: warning: Function parameter or member 'get_drivestrength' not described in 'at91_pinctrl_mux_ops' drivers/pinctrl/pinctrl-at91.c:187: warning: Function parameter or member 'set_drivestrength' not described in 'at91_pinctrl_mux_ops' drivers/pinctrl/pinctrl-at91.c:187: warning: Function parameter or member 'get_slewrate' not described in 'at91_pinctrl_mux_ops' drivers/pinctrl/pinctrl-at91.c:187: warning: Function parameter or member 'set_slewrate' not described in 'at91_pinctrl_mux_ops' Cc: Ludovic Desroches Cc: Nicolas Ferre Cc: Alexandre Belloni Cc: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Lee Jones --- drivers/pinctrl/pinctrl-at91.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index 37997e5ab0538..77e1b9ed3a634 100644 --- a/drivers/pinctrl/pinctrl-at91.c +++ b/drivers/pinctrl/pinctrl-at91.c @@ -66,7 +66,7 @@ static int gpio_banks; #define DEBOUNCE_VAL_SHIFT 17 #define DEBOUNCE_VAL (0x3fff << DEBOUNCE_VAL_SHIFT) -/** +/* * These defines will translated the dt binding settings to our internal * settings. They are not necessarily the same value as the register setting. * The actual drive strength current of low, medium and high must be looked up @@ -162,6 +162,10 @@ struct at91_pin_group { * @set_pulldown: enable/disable pulldown * @get_schmitt_trig: get schmitt trigger status * @disable_schmitt_trig: disable schmitt trigger + * @get_drivestrength: get driver strength + * @set_drivestrength: set driver strength + * @get_slewrate: get slew rate + * @set_slewrate: set slew rate * @irq_type: return irq type */ struct at91_pinctrl_mux_ops { From patchwork Mon Jul 13 14:49:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235440 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906621ilg; Mon, 13 Jul 2020 07:50:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7EyOwIJ2eKQDJZpSXedybstySwv9X15Z1pELyBuuYl5Fe5L7UOpV24KFeLeD641GJfD+i X-Received: by 2002:a17:906:694d:: with SMTP id c13mr104368ejs.337.1594651834074; Mon, 13 Jul 2020 07:50:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651834; cv=none; d=google.com; s=arc-20160816; b=kCkWeoFHniQCegqqog9cwosEpzAcLpA6+NvkT2//66pGgKqQSxKqPPPgp99dgIywOc nVQkhg6+luFPUaVLP+EMGZqdRsSRMnLpk5gjyqGO/xUR7WUfA/h8FLSxZpEDv0nD0zlR Ok+tjjbPwLfvHY2LyBqaioQFN74egDzkHMDKCv1IGyrmhCzV+LupYXqVIJg5keORLMSh elt+WKP6XH1rbjx+uhWh6nuvbP5Sq5WrHyxtXlKEgqAtiE4fX00wijVqBDt7WepWkDtC 90oknmHFP4zGdtKzwEvLrT00Lmo7UE3OEpJNZXc998lhI6GpRqS/MfS4EifAjk9KsqzR 84Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=uvpgFvNf+4M0KT7vkEQvPhnEsrG9RGiG3boyv4KDsto=; b=LmJtNN05StZq4KsRlH59h/8TJqv9S5Im21eAxbw5gVkd6pzOG1gg6f60kycABOwOZi S310fvSd2H8AlaP9Ih6hO7c4h6JOldhWKmtjwzwjYpD0bUDt5f6b8zSn39LY/r1BPE8I 5DC03E946vEBYh9LUfpBd1/leh7pQtpxL0w9sdCnGeWwkgEAx06mnB7U8okUFnZrAGCj ZCxwrh3+fa3hVXtfqfJ5C2xRg70xK+0B4vZjb8mPwkUerSpozSkvmBoAXBJbImLuY8sL HZZuh4JYuxSAzjCyU3c/vR84Jd4Mwiy4ibgGDYPxKfC8ZfbAHo34+QVtipPGplm2JeBg IhgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vrMUz80P; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 dm19si11509986ejc.17.2020.07.13.07.50.33; Mon, 13 Jul 2020 07:50:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=vrMUz80P; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730299AbgGMOuc (ORCPT + 5 others); Mon, 13 Jul 2020 10:50:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730189AbgGMOty (ORCPT ); Mon, 13 Jul 2020 10:49:54 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2F2FC061794 for ; Mon, 13 Jul 2020 07:49:53 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id f7so16888062wrw.1 for ; Mon, 13 Jul 2020 07:49:53 -0700 (PDT) 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=uvpgFvNf+4M0KT7vkEQvPhnEsrG9RGiG3boyv4KDsto=; b=vrMUz80PGSbZwbmV+F7PV6yfcb4vbzA1BBwlGt7IOvaW2FLCyErAgUbgh3NA5AFTZT rg3rxyp5lxg+M2A/pXuyCzTDM3TWNfmw0x+5eph50aQQIqiP44NLYEPZwhNtkqrXaN+n EBxjJwdd3KlXlVgXOULY8K+XRuA45z14kJsz2+GoJaD2bwX6l1UPH0l0FesqMXKQO5qy gRs5C5COfiGZqTR7lsqJHfO8L0wnv0kfJw65ZLZ5Rro4d6AhtvU+udBUrlxwgynjyKH0 cVH1XUiAqpYNFua+pzHpcO5Dl/yZC8SC7cpvPSId9A4hOyJnKWA/htNJMI3HFuLIH4C9 DqLw== 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=uvpgFvNf+4M0KT7vkEQvPhnEsrG9RGiG3boyv4KDsto=; b=c58F8hk5wrZhOHNUGQZOLCoIyB11AhHZPaAFB7ttbwxbpXYg/EFtFrXa+Cutu7Z7DI Vzlq+LkuKIUq1p9Y94bwK7cJOhDP3OGcFFksytGCc2RxUfsettONPG+yyqo52Pl/4QpS ulvuYR9kCAqHW41Nw8yUfyOyBOb9ftjQd5KruREyLHnovMXBUAvMDlQFQLOciY+qbTAC CB0jvFF7bJ/eLFGbv8tvcdXp+tq7scfqhdj+4pHNGKdGQOUspGLt77jKNCA/EeYWlLXQ Tr5hqJnS1TAaWuSTFMKJlNQJISnlDMV0ioHGIDSipUZrPKVJBo6fY/hHmqsO6iGbaeZQ +85g== X-Gm-Message-State: AOAM533GTLuqg7QDrjALEAqRGIlR1G6ZQtMkwTQxvLvJDbiDuH4h5FHy 1IqmRHIuEkfGqeGNDRGpD1dZ2g== X-Received: by 2002:adf:9524:: with SMTP id 33mr79455557wrs.156.1594651792520; Mon, 13 Jul 2020 07:49:52 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:52 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Manivannan Sadhasivam Subject: [PATCH 18/25] pinctrl: pinctrl-bm1880: Rename ill documented struct attribute entries Date: Mon, 13 Jul 2020 15:49:23 +0100 Message-Id: <20200713144930.1034632-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/pinctrl/pinctrl-bm1880.c:40: warning: Function parameter or member 'pctrldev' not described in 'bm1880_pinctrl' drivers/pinctrl/pinctrl-bm1880.c:40: warning: Function parameter or member 'pinconf' not described in 'bm1880_pinctrl' Cc: Manivannan Sadhasivam Signed-off-by: Lee Jones --- drivers/pinctrl/pinctrl-bm1880.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 Reviewed-by: Manivannan Sadhasivam diff --git a/drivers/pinctrl/pinctrl-bm1880.c b/drivers/pinctrl/pinctrl-bm1880.c index d1a7d98367870..a8e267237435f 100644 --- a/drivers/pinctrl/pinctrl-bm1880.c +++ b/drivers/pinctrl/pinctrl-bm1880.c @@ -22,12 +22,12 @@ /** * struct bm1880_pinctrl - driver data * @base: Pinctrl base address - * @pctrl: Pinctrl device + * @pctrldev: Pinctrl device * @groups: Pingroups * @ngroups: Number of @groups * @funcs: Pinmux functions * @nfuncs: Number of @funcs - * @pconf: Pinconf data + * @pinconf: Pinconf data */ struct bm1880_pinctrl { void __iomem *base; From patchwork Mon Jul 13 14:49:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235439 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906616ilg; Mon, 13 Jul 2020 07:50:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzU/GoBE25sZn5zQqdpiV4W+f9TVczGJ0K0okn3VsxoZ9rnXM4tIOHO0qyr2qp9+/nvS4GN X-Received: by 2002:a17:906:c14f:: with SMTP id dp15mr142905ejc.454.1594651833305; Mon, 13 Jul 2020 07:50:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651833; cv=none; d=google.com; s=arc-20160816; b=b7s4KkEUVIozrANnbSnp4Ahlwx65oH3lnXWD23T6cs98p0kq3vTA81l7T0xak/+9jv rVaYBHFv8SyM8v38pLCrME8iNXbECQJIBhhPw3aj87PC2foGyrPLH/pQ2hMpQWwAFQfF jBwq2GIp0Lxr5Bw1OEdbvuKTc7MNPC4RUnJ5BIvjWiMItvCHEs6Fy6ppaYpP11I2Fb+q f1NmMwzXOm8rLxIZszlMzx2NglqizvPzLtFUoOQZjnfLGv5e8KAsWbixKN0zFvsRJUwJ hxIvTxEv6YlIUwC/aV0fZ9lx+PGI8ows4tDbbhoVMneSeaJt1e3tesRXtuD5l3jG+L6U tPpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=817wc3B0tEQkksY1V8NZK3Mi1te+eDyPgZM0j9ShTnE=; b=i4LxZ0aVG7h9wQ9TTWKPMcjAjv4aAk8VjfHp05zlnXnP14wa4OUAlbvNGrT509ekCs d1dMbmyZgwNhw1J3swEvGEPy4WIcmp848j9vPEIBC8wWcq2OGbRjS9Y84QOmyYnqx2p4 drRP/BMmqC5gCaGUD/EM5HMluxVESn15EXGFKiBLJdcjyssLRwZKzRqeoO7Tuaal0FnE eV3I6heN8MV0remZQrEmi/b5gONjo9BuUeqBUNbe+OMi6US1gDKVBZljC9PeuUJL2Lid JxYWtRN3WIsQEkRcOnjMVyNql/MHG8wBw3W/Sg88FLic86W9QitdnuOFJfDjY57Njy+w 1WnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oX40QjZL; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 dm19si11509986ejc.17.2020.07.13.07.50.33; Mon, 13 Jul 2020 07:50:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=oX40QjZL; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730201AbgGMOub (ORCPT + 5 others); Mon, 13 Jul 2020 10:50:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730197AbgGMOtz (ORCPT ); Mon, 13 Jul 2020 10:49:55 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E771C08C5DB for ; Mon, 13 Jul 2020 07:49:55 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id l2so13447734wmf.0 for ; Mon, 13 Jul 2020 07:49:54 -0700 (PDT) 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=817wc3B0tEQkksY1V8NZK3Mi1te+eDyPgZM0j9ShTnE=; b=oX40QjZLvI5SFCfkxOzc9ZqFxjAYZWST2zk70YDAqN7UJzQ5f4YwKrapiOHYw9qldU M0tdXlSw6HnNt4GXNxvWYAMkZj5Vgf5yVUXFVEAAnxjNdD48KRqr7ZVdsWCKIFE2Rzrn YxYD6esQQcry5gxO3VDGlXG6WK+/8Ek0L44pmDEyqxGrRKtDAF7VVF3z0GvlgUVVCgGY uKWGymRx3+YWrYfTwIo1jJMjUi4uPWTQ1T6Xo0zUWv6yq4xkb35vgVIvOosb32An7miO 5f4QCgP/L7iHd41LZL+9E74sbZfWcilKQsl407gClR5yeFcTDm64jf/921eJ2q3EpHf4 2SEw== 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=817wc3B0tEQkksY1V8NZK3Mi1te+eDyPgZM0j9ShTnE=; b=nXMLcJuxO0OKIROTtRo2tzHnSWktcwgR5MexF8ST2QreFRlOYBUFtw4CMbpx58MyIF SlK+1mF4KcyDT0/Nsj0BDr3OPVZur+Y7b1RYhJXza0Tvot3GWTZFSX14ZJlRNbl76OIg tLwA3KF1FmAItk0hBDySEScrbHlcYZLreuN/8sS6pFADnBcEVy680c/LMDZWnlaOLVzj JQNqZ4xEbpvFwHM7VdRyPOkDc/st16CMoJZssoephlkp8gtKbBgn66+7VFKzJOjheXjB Ap8SBXtsblA1xSUv8a944JHz1ONAk07lLtkOPxolvMrOTIH8n08wwNY541XnUdhUnkb7 wB5w== X-Gm-Message-State: AOAM532JdLa+p3uEn59SLX5mdTs8de0NvzLSZV1sMXjMZBm9NPFb3kgO 8lfEaAhoGgqD3Hp52rv5X0ZoiA== X-Received: by 2002:a1c:7402:: with SMTP id p2mr280589wmc.117.1594651793611; Mon, 13 Jul 2020 07:49:53 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:53 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Heiko Stuebner , Jean-Christophe PLAGNIOL-VILLARD , linux-rockchip@lists.infradead.org Subject: [PATCH 19/25] pinctrl: pinctrl-rockchip: Fix a bunch of kerneldoc misdemeanours Date: Mon, 13 Jul 2020 15:49:24 +0100 Message-Id: <20200713144930.1034632-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Demote headers which are clearly not kerneldoc, provide titles for struct definition blocks, fix API slip (bitrot) misspellings and provide some missing entries. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/pinctrl-rockchip.c:82: warning: cannot understand function prototype: 'struct rockchip_iomux ' drivers/pinctrl/pinctrl-rockchip.c:97: warning: Enum value 'DRV_TYPE_IO_DEFAULT' not described in enum 'rockchip_pin_drv_type' drivers/pinctrl/pinctrl-rockchip.c:97: warning: Enum value 'DRV_TYPE_IO_1V8_OR_3V0' not described in enum 'rockchip_pin_drv_type' drivers/pinctrl/pinctrl-rockchip.c:97: warning: Enum value 'DRV_TYPE_IO_1V8_ONLY' not described in enum 'rockchip_pin_drv_type' drivers/pinctrl/pinctrl-rockchip.c:97: warning: Enum value 'DRV_TYPE_IO_1V8_3V0_AUTO' not described in enum 'rockchip_pin_drv_type' drivers/pinctrl/pinctrl-rockchip.c:97: warning: Enum value 'DRV_TYPE_IO_3V3_ONLY' not described in enum 'rockchip_pin_drv_type' drivers/pinctrl/pinctrl-rockchip.c:97: warning: Enum value 'DRV_TYPE_MAX' not described in enum 'rockchip_pin_drv_type' drivers/pinctrl/pinctrl-rockchip.c:106: warning: Enum value 'PULL_TYPE_IO_DEFAULT' not described in enum 'rockchip_pin_pull_type' drivers/pinctrl/pinctrl-rockchip.c:106: warning: Enum value 'PULL_TYPE_IO_1V8_ONLY' not described in enum 'rockchip_pin_pull_type' drivers/pinctrl/pinctrl-rockchip.c:106: warning: Enum value 'PULL_TYPE_MAX' not described in enum 'rockchip_pin_pull_type' drivers/pinctrl/pinctrl-rockchip.c:109: warning: Cannot understand * @drv_type: drive strength variant using rockchip_perpin_drv_type on line 109 - I thought it was a doc line drivers/pinctrl/pinctrl-rockchip.c:122: warning: Cannot understand * @reg_base: register base of the gpio bank on line 109 - I thought it was a doc line drivers/pinctrl/pinctrl-rockchip.c:325: warning: Function parameter or member 'route_location' not described in 'rockchip_mux_route_data' drivers/pinctrl/pinctrl-rockchip.c:328: warning: Cannot understand */ on line 109 - I thought it was a doc line drivers/pinctrl/pinctrl-rockchip.c:375: warning: Function parameter or member 'data' not described in 'rockchip_pin_group' drivers/pinctrl/pinctrl-rockchip.c:387: warning: Function parameter or member 'ngroups' not described in 'rockchip_pmx_func' Cc: Heiko Stuebner Cc: Jean-Christophe PLAGNIOL-VILLARD Cc: linux-rockchip@lists.infradead.org Signed-off-by: Lee Jones --- drivers/pinctrl/pinctrl-rockchip.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) -- 2.25.1 Reviewed-by: Heiko Stuebner diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index c07324d1f2657..c96d810635ad6 100644 --- a/drivers/pinctrl/pinctrl-rockchip.c +++ b/drivers/pinctrl/pinctrl-rockchip.c @@ -63,7 +63,7 @@ enum rockchip_pinctrl_type { RK3399, }; -/** +/* * Encode variants of iomux registers into a type variable */ #define IOMUX_GPIO_ONLY BIT(0) @@ -74,6 +74,7 @@ enum rockchip_pinctrl_type { #define IOMUX_WIDTH_2BIT BIT(5) /** + * struct rockchip_iomux * @type: iomux variant using IOMUX_* constants * @offset: if initialized to -1 it will be autocalculated, by specifying * an initial offset value the relevant source offset can be reset @@ -84,7 +85,7 @@ struct rockchip_iomux { int offset; }; -/** +/* * enum type index corresponding to rockchip_perpin_drv_list arrays index. */ enum rockchip_pin_drv_type { @@ -96,7 +97,7 @@ enum rockchip_pin_drv_type { DRV_TYPE_MAX }; -/** +/* * enum type index corresponding to rockchip_pull_list arrays index. */ enum rockchip_pin_pull_type { @@ -106,6 +107,7 @@ enum rockchip_pin_pull_type { }; /** + * struct rockchip_drv * @drv_type: drive strength variant using rockchip_perpin_drv_type * @offset: if initialized to -1 it will be autocalculated, by specifying * an initial offset value the relevant source offset can be reset @@ -119,8 +121,9 @@ struct rockchip_drv { }; /** + * struct rockchip_pin_bank * @reg_base: register base of the gpio bank - * @reg_pull: optional separate register for additional pull settings + * @regmap_pull: optional separate register for additional pull settings * @clk: clock of the gpio bank * @irq: interrupt of the gpio bank * @saved_masks: Saved content of GPIO_INTEN at suspend time. @@ -138,6 +141,8 @@ struct rockchip_drv { * @gpio_chip: gpiolib chip * @grange: gpio range * @slock: spinlock for the gpio bank + * @toggle_edge_mode: bit mask to toggle (falling/rising) edge mode + * @recalced_mask: bit mask to indicate a need to recalulate the mask * @route_mask: bits describing the routing pins of per bank */ struct rockchip_pin_bank { @@ -312,6 +317,7 @@ enum rockchip_mux_route_location { * @bank_num: bank number. * @pin: index at register or used to calc index. * @func: the min pin. + * @route_location: the mux route location (same, pmu, grf). * @route_offset: the max pin. * @route_val: the register offset. */ @@ -324,8 +330,6 @@ struct rockchip_mux_route_data { u32 route_val; }; -/** - */ struct rockchip_pin_ctrl { struct rockchip_pin_bank *pin_banks; u32 nr_banks; @@ -363,9 +367,7 @@ struct rockchip_pin_config { * @name: name of the pin group, used to lookup the group. * @pins: the pins included in this group. * @npins: number of pins included in this group. - * @func: the mux function number to be programmed when selected. - * @configs: the config values to be set for each pin - * @nconfigs: number of configs for each pin + * @data: local pin configuration */ struct rockchip_pin_group { const char *name; @@ -378,7 +380,7 @@ struct rockchip_pin_group { * struct rockchip_pmx_func: represent a pin function. * @name: name of the pin function, used to lookup the function. * @groups: one or more names of pin groups that provide this function. - * @num_groups: number of groups included in @groups. + * @ngroups: number of groups included in @groups. */ struct rockchip_pmx_func { const char *name; From patchwork Mon Jul 13 14:49:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235437 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906554ilg; Mon, 13 Jul 2020 07:50:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvxnvjpl+SW6XlOjGrWFtWzf4eIXUEWeHTi/gQkGT9e8uJqLOtszIiGbsnyuY7LrrhVf5I X-Received: by 2002:a50:8fc4:: with SMTP id y62mr38143233edy.170.1594651829244; Mon, 13 Jul 2020 07:50:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651829; cv=none; d=google.com; s=arc-20160816; b=hzRa6xo3lpuA85lEknSRMP9mMsqzEfy60NDsOeE6E8C3Hx/HgBohFZybzIWf7l9EVo u3gwGrzUFjYk6jpOQW4PSbjnbioDi/vEsEXws2hepbIsa+bDasdzgQlMpDZtPrEV+ERe FoFCr9aY6zpRVrkup+sF38lOjWBP5r3gFQfi0Hj13ELH3DWA/DS59hSkvYeVJcWjMh77 /+iMN9b/5DnMZB6KKRM3UODByyZC8n5lV/Ky/9wBTDj5Xqf3jvwGzQ7cxpXwck5cdufV ezgtlry0cq0WeR6K+h0j7GGypw0CFGTpAn689riP1vzLjoh4wrmAQqF6pFN0cPptwPCd WEAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cN4hxjZffgZiTP9rm/+61P197dYAAsxmh3k67ken7Lc=; b=UWyr9+B26ly97+cY3nW9gm1tkgjSOcCF3OfejYYO8vDINzWb82oDGCJ9S793f+OnUT 1wLAXg5EEKDph0kDFeDk2k21/6RKieksqSBJUbZPmAQZUfKDAUdxuZ0yn7NaMMkjoQCd tkQEFlXxgFhak5sNk+AsB29P0y5k7MKL4J1fsDgiGiigM2w5wEZpQnoiOO2+lJFIn5lE 6bC9hFxLmRtKcnD+9TspccHwb/xDyrSR8OLkX37dIVk78EVFcKw8LZUZVEe2XScjM+bl lxG4hCxcmvE7w8Jv81RN8nYF0o88cXTjK+9+5ivHIuiLy/z9uKa+t8XVHl5Q9Eoq1Y/J PG6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WTQoGW2e; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 bz8si8460771ejc.744.2020.07.13.07.50.29; Mon, 13 Jul 2020 07:50:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=WTQoGW2e; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730208AbgGMOt5 (ORCPT + 5 others); Mon, 13 Jul 2020 10:49:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730205AbgGMOt4 (ORCPT ); Mon, 13 Jul 2020 10:49:56 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D735C08C5E0 for ; Mon, 13 Jul 2020 07:49:56 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id z13so16874084wrw.5 for ; Mon, 13 Jul 2020 07:49:56 -0700 (PDT) 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=cN4hxjZffgZiTP9rm/+61P197dYAAsxmh3k67ken7Lc=; b=WTQoGW2es+DWWY184OTiOYJ7kP1gCvv1WQ1ASQc8H3lTiNUlHTvhvgokw5MlYOoQcb xbItXOry4H/me4A1wb4XHXpe777Ljj2j2PknAYL9l5Queojhz9t3xFJmVNwHR8zJ3FHh bowur06fz2y6nvUF56d2jjF3lrqddddvG8BYENEtvI7g4ZHPvMWU1gHLsk5vkKJrmIrO oY34NgGyGzEm4WxR86ifRP9ONNsVzsA9XQhauVnIBm7MLH426LUj15DxIlnJ6LtJGOHl lcGlArQ6p1HY3fzm/ioHcW8cff1EfGLZ4AJMIaaVLko2XmYUKKLb+1FdYJQVw+Qbw7AR Fq3Q== 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=cN4hxjZffgZiTP9rm/+61P197dYAAsxmh3k67ken7Lc=; b=IjM7DYOkBgBmtviKeqtN9eVMvrT3i3Bu3MIGH/QQ7vsEsNsao8uv7H2j0K/ZF87xxf qTPet+i4BqEyANOUfKoxDWfm/Ss/d3NzWoGf/J5HlNBGvicDWcNZmzOeKkRvC0xNoZgU 8s4oxRQvteMN//jVFDvYE8b8cuAASRtTlk+Yqd4FQwmRMhDOHa9OJelcskz0TgeXFjeD KVY/hf6GX4rP1+Z88T7ap/S+0Rnsg4oDeeR0JDz0mifZbphQN2aGppd+zBVWxG7yUjSY iwjInSjd/bthNhVXXI2R09443yKTCGO9AnaqiEXJd/XrU00jfQ6opSi9VcSNCGaeMQ5z pCyg== X-Gm-Message-State: AOAM533+QGAu7Zfi8IrrMRlnjJHzw2Hdyjz0MzZR7t2mt7SILsftpOZ3 UHYgyu2oAESAfgqLLbZaox683Q== X-Received: by 2002:a5d:4a45:: with SMTP id v5mr80799127wrs.228.1594651794974; Mon, 13 Jul 2020 07:49:54 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:54 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Geert Uytterhoeven , Jacopo Mondi , linux-renesas-soc@vger.kernel.org Subject: [PATCH 20/25] pinctrl: pinctrl-rza1: Demote some kerneldoc headers and fix others Date: Mon, 13 Jul 2020 15:49:25 +0100 Message-Id: <20200713144930.1034632-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Some description blocks are void of any description/documentation, others are missing 'struct' identifiers, there are also a couple of misspellings of function parameter names. Fix all of them. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/pinctrl-rza1.c:81: warning: cannot understand function prototype: 'struct rza1_bidir_pin ' drivers/pinctrl/pinctrl-rza1.c:90: warning: cannot understand function prototype: 'struct rza1_bidir_entry ' drivers/pinctrl/pinctrl-rza1.c:98: warning: cannot understand function prototype: 'struct rza1_swio_pin ' drivers/pinctrl/pinctrl-rza1.c:108: warning: cannot understand function prototype: 'struct rza1_swio_entry ' drivers/pinctrl/pinctrl-rza1.c:116: warning: cannot understand function prototype: 'struct rza1_pinmux_conf ' drivers/pinctrl/pinctrl-rza1.c:443: warning: cannot understand function prototype: 'struct rza1_mux_conf ' drivers/pinctrl/pinctrl-rza1.c:462: warning: cannot understand function prototype: 'struct rza1_port ' drivers/pinctrl/pinctrl-rza1.c:482: warning: cannot understand function prototype: 'struct rza1_pinctrl ' drivers/pinctrl/pinctrl-rza1.c:546: warning: Function parameter or member 'port' not described in 'rza1_pinmux_get_flags' drivers/pinctrl/pinctrl-rza1.c:546: warning: Function parameter or member 'pin' not described in 'rza1_pinmux_get_flags' drivers/pinctrl/pinctrl-rza1.c:546: warning: Function parameter or member 'func' not described in 'rza1_pinmux_get_flags' drivers/pinctrl/pinctrl-rza1.c:546: warning: Function parameter or member 'rza1_pctl' not described in 'rza1_pinmux_get_flags' drivers/pinctrl/pinctrl-rza1.c:575: warning: Function parameter or member 'port' not described in 'rza1_set_bit' drivers/pinctrl/pinctrl-rza1.c:575: warning: Function parameter or member 'reg' not described in 'rza1_set_bit' drivers/pinctrl/pinctrl-rza1.c:575: warning: Function parameter or member 'bit' not described in 'rza1_set_bit' drivers/pinctrl/pinctrl-rza1.c:575: warning: Function parameter or member 'set' not described in 'rza1_set_bit' drivers/pinctrl/pinctrl-rza1.c:672: warning: Function parameter or member 'rza1_pctl' not described in 'rza1_pin_mux_single' drivers/pinctrl/pinctrl-rza1.c:672: warning: Excess function parameter 'pinctrl' description in 'rza1_pin_mux_single' Cc: Geert Uytterhoeven Cc: Jacopo Mondi Cc: linux-renesas-soc@vger.kernel.org Signed-off-by: Lee Jones --- drivers/pinctrl/pinctrl-rza1.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) -- 2.25.1 Acked-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven diff --git a/drivers/pinctrl/pinctrl-rza1.c b/drivers/pinctrl/pinctrl-rza1.c index 38a14bbced5f6..511f232ab7bc2 100644 --- a/drivers/pinctrl/pinctrl-rza1.c +++ b/drivers/pinctrl/pinctrl-rza1.c @@ -75,7 +75,7 @@ * RZ/A1 pinmux flags */ -/** +/* * rza1_bidir_pin - describe a single pin that needs bidir flag applied. */ struct rza1_bidir_pin { @@ -83,7 +83,7 @@ struct rza1_bidir_pin { u8 func: 4; }; -/** +/* * rza1_bidir_entry - describe a list of pins that needs bidir flag applied. * Each struct rza1_bidir_entry describes a port. */ @@ -92,7 +92,7 @@ struct rza1_bidir_entry { const struct rza1_bidir_pin *pins; }; -/** +/* * rza1_swio_pin - describe a single pin that needs swio flag applied. */ struct rza1_swio_pin { @@ -102,7 +102,7 @@ struct rza1_swio_pin { u16 input: 1; }; -/** +/* * rza1_swio_entry - describe a list of pins that needs swio flag applied */ struct rza1_swio_entry { @@ -110,7 +110,7 @@ struct rza1_swio_entry { const struct rza1_swio_pin *pins; }; -/** +/* * rza1_pinmux_conf - group together bidir and swio pinmux flag tables */ struct rza1_pinmux_conf { @@ -431,7 +431,7 @@ static const struct rza1_pinmux_conf rza1l_pmx_conf = { * RZ/A1 types */ /** - * rza1_mux_conf - describes a pin multiplexing operation + * struct rza1_mux_conf - describes a pin multiplexing operation * * @id: the pin identifier from 0 to RZA1_NPINS * @port: the port where pin sits on @@ -450,7 +450,7 @@ struct rza1_mux_conf { }; /** - * rza1_port - describes a pin port + * struct rza1_port - describes a pin port * * This is mostly useful to lock register writes per-bank and not globally. * @@ -467,12 +467,12 @@ struct rza1_port { }; /** - * rza1_pinctrl - RZ pincontroller device + * struct rza1_pinctrl - RZ pincontroller device * * @dev: parent device structure * @mutex: protect [pinctrl|pinmux]_generic functions * @base: logical address base - * @nports: number of pin controller ports + * @nport: number of pin controller ports * @ports: pin controller banks * @pins: pin array for pinctrl core * @desc: pincontroller desc for pinctrl core @@ -536,7 +536,7 @@ static inline int rza1_pinmux_get_swio(unsigned int port, return -ENOENT; } -/** +/* * rza1_pinmux_get_flags() - return pinmux flags associated to a pin */ static unsigned int rza1_pinmux_get_flags(unsigned int port, unsigned int pin, @@ -566,7 +566,7 @@ static unsigned int rza1_pinmux_get_flags(unsigned int port, unsigned int pin, * RZ/A1 SoC operations */ -/** +/* * rza1_set_bit() - un-locked set/clear a single bit in pin configuration * registers */ @@ -664,7 +664,7 @@ static inline int rza1_pin_get(struct rza1_port *port, unsigned int pin) /** * rza1_pin_mux_single() - configure pin multiplexing on a single pin * - * @pinctrl: RZ/A1 pin controller device + * @rza1_pctl: RZ/A1 pin controller device * @mux_conf: pin multiplexing descriptor */ static int rza1_pin_mux_single(struct rza1_pinctrl *rza1_pctl, From patchwork Mon Jul 13 14:49:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235438 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906563ilg; Mon, 13 Jul 2020 07:50:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhQNzpwAnq5E5lw4+dQO0gqXIK40oIgHnl3T5RVHlbnEwQxw+3QdiQ2VhPLPTbnNzeTfCS X-Received: by 2002:a17:906:f2d6:: with SMTP id gz22mr100695ejb.407.1594651829872; Mon, 13 Jul 2020 07:50:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651829; cv=none; d=google.com; s=arc-20160816; b=wzdNJd41uHAe/Pg+F6RA8DZcR+Oe51HVKOXSOFQhaBEhLbw8TpXcIVYPRhBpOv7AU4 MKGEhx9nHbSlKKqXEOZ+FR3/AVSZESSLZalJF9VqWJ4DBfm/GQZjDvTQm576Y6/w6AXK 7KlZ8mONpmEGC7P+Ozc68JdxuPHXh9SIeU5BT3F861z4ULBpkorpoDs2fnQ+sSQ4LTAM RqF+Ap3HpaeV80qIlXUEMHhmrrMkWix03JDGicRNsAuyatbbuGEnJsp+1cCLlO5z2ZX7 9WztiZJ+/O2SZyNJOSnW7RFGvUtQufEHKwqS0CGG4ARkl2TUZmmKC/MGRLR4JtqOX+EG w7GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MGVkPRp/+I1joXVdv6caEP06X1PF0rNG8kbo7/M1JBk=; b=HnPr1L/Mv9cQioJU6nC9aV5B6nWcgxvW/6GJPA3fS/Iv+QG6LcutGClylbA+Zst1Kn jEpXDffSZBqH43jBCH566ZKGKKweq1Uz1lI5wcH9548QMRo2k/sqOxJg5D7UWP/5442w 3OXZpGyh4MMRGmXZNIzDuGcd8s3WTDVTqtaq047aAotiki7Xc3sCRX/IyhXEg4llDXGH Q6GXCokND+jY1klqQeacGwf82wHBZXOondXtXMTScofThYCwW5TFAcbuwTZpoGxqjHCW spGh3IJxkH3rO1bViIkHsn6G7C9f789BEI7S1cECjSjtIRD9SkZ7pAfkaJ0dKQe0Cn1Y nx/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QiHDfDTG; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 bz8si8460771ejc.744.2020.07.13.07.50.29; Mon, 13 Jul 2020 07:50:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=QiHDfDTG; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730216AbgGMOu2 (ORCPT + 5 others); Mon, 13 Jul 2020 10:50:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730205AbgGMOt5 (ORCPT ); Mon, 13 Jul 2020 10:49:57 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4214FC061794 for ; Mon, 13 Jul 2020 07:49:57 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id a6so16866602wrm.4 for ; Mon, 13 Jul 2020 07:49:57 -0700 (PDT) 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=MGVkPRp/+I1joXVdv6caEP06X1PF0rNG8kbo7/M1JBk=; b=QiHDfDTGlAj/YS7C4u7kOc9JwEFDw3G0oGclidDhkGG3zqi1U3reU5/sFhI47sYphg HeiZUEn/8P25l8ozcJNgk5z6bsdiI5c07DjWLBg3+bY/4kLVz2Q32r9LNafPsNTobcQS qkH5Tm1h8TN6RDaCWLJT4g0EX6g+c1CeY4vDz8SsfIPEXVAwMrje1zKdA1KWa5H882OL SZ1FPlR19YfURzt9hxk5H7HI8ywDaJ31gFsUOPmNz7070R9N6rjz0rom3oYN//QTvb+l YmXn4Dpd0zghrInn3FZCpnIZl93yJoeIcYXPsxF9WdG+1WSYAZxAXJm+ILAFRi3bECqk v7Wg== 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=MGVkPRp/+I1joXVdv6caEP06X1PF0rNG8kbo7/M1JBk=; b=KD9FakPrxGTl86x2SUa4z53nr1cSv7ka2GM20T8LjnYeGUyHGNhuFUHcn9Wg8lgpLy U1tB+3k/rwRyPt99oE1+x4gPRYnzzz6PxtdudRfHcvBboAPn7SpkZwqr/wsNLI7dUt+E HCSytM4Ybj9bMfb7vsoILUH1okSsUmjW4/kM1CqyRWFPuKj/g3WkD+umNqQYbKPbmV9y CH33EV1K6SuDfxRLdVmgHLPFpSZgjcAJFvoXUWmeY5I8Amg/BExdSKMmS1wUp+5mTbbq 6eNRFP49u64/UxtyLdi8WqISb8NzsoNcNUiGLgHZ8nWCIKtC0m/9wewaT9O22f6Ja0lW gteg== X-Gm-Message-State: AOAM532YIktgJJvgS3yZhSIIjeqyoaso3732HHCG6uilV6UgZEa4vSV5 2N86eT4jfIF0/i0mF95kPpu2JA== X-Received: by 2002:a5d:6a90:: with SMTP id s16mr78126603wru.8.1594651796017; Mon, 13 Jul 2020 07:49:56 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:55 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Tony Lindgren , Haojian Zhuang , linux-omap@vger.kernel.org Subject: [PATCH 21/25] pinctrl: pinctrl-single: Fix struct/function documentation blocks Date: Mon, 13 Jul 2020 15:49:26 +0100 Message-Id: <20200713144930.1034632-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add some missing attributes/parameter descriptions, remove other superfluous ones, add struct header titles and fix misspellings. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/pinctrl-single.c:50: warning: Function parameter or member 'mask' not described in 'pcs_func_vals' drivers/pinctrl/pinctrl-single.c:97: warning: Function parameter or member 'conf' not described in 'pcs_function' drivers/pinctrl/pinctrl-single.c:97: warning: Function parameter or member 'nconfs' not described in 'pcs_function' drivers/pinctrl/pinctrl-single.c:659: warning: Function parameter or member 'pin_pos' not described in 'pcs_add_pin' drivers/pinctrl/pinctrl-single.c:985: warning: Excess function parameter 'pctldev' description in 'pcs_parse_one_pinctrl_entry' drivers/pinctrl/pinctrl-single.c:1357: warning: Cannot understand * @reg: virtual address of interrupt register drivers/pinctrl/pinctrl-single.c:1377: warning: Function parameter or member 'pcs_soc' not described in 'pcs_irq_set' drivers/pinctrl/pinctrl-single.c:1377: warning: Function parameter or member 'irq' not described in 'pcs_irq_set' drivers/pinctrl/pinctrl-single.c:1377: warning: Function parameter or member 'enable' not described in 'pcs_irq_set' drivers/pinctrl/pinctrl-single.c:1458: warning: Function parameter or member 'pcs_soc' not described in 'pcs_irq_handle' drivers/pinctrl/pinctrl-single.c:1458: warning: Excess function parameter 'pcs_irq' description in 'pcs_irq_handle' drivers/pinctrl/pinctrl-single.c:1506: warning: Excess function parameter 'irq' description in 'pcs_irq_chain_handler' Cc: Tony Lindgren Cc: Haojian Zhuang Cc: linux-omap@vger.kernel.org Signed-off-by: Lee Jones --- drivers/pinctrl/pinctrl-single.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) -- 2.25.1 diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c index e6d1cf25782ce..542578d0bda2d 100644 --- a/drivers/pinctrl/pinctrl-single.c +++ b/drivers/pinctrl/pinctrl-single.c @@ -42,6 +42,7 @@ * struct pcs_func_vals - mux function register offset and value pair * @reg: register virtual address * @val: register value + * @mask: mask */ struct pcs_func_vals { void __iomem *reg; @@ -83,6 +84,8 @@ struct pcs_conf_type { * @nvals: number of entries in vals array * @pgnames: array of pingroup names the function uses * @npgnames: number of pingroup names the function uses + * @conf: array of pin configurations + * @nconfs: number of pin configurations available * @node: list node */ struct pcs_function { @@ -653,6 +656,7 @@ static const struct pinconf_ops pcs_pinconf_ops = { * pcs_add_pin() - add a pin to the static per controller pin array * @pcs: pcs driver instance * @offset: register offset from base + * @pin_pos: unused */ static int pcs_add_pin(struct pcs_device *pcs, unsigned offset, unsigned pin_pos) @@ -959,7 +963,6 @@ static int pcs_parse_pinconf(struct pcs_device *pcs, struct device_node *np, /** * pcs_parse_one_pinctrl_entry() - parses a device tree mux entry - * @pctldev: pin controller device * @pcs: pinctrl driver instance * @np: device node of the mux entry * @map: map entry @@ -1353,7 +1356,9 @@ static int pcs_add_gpio_func(struct device_node *node, struct pcs_device *pcs) } return ret; } + /** + * struct pcs_interrupt * @reg: virtual address of interrupt register * @hwirq: hardware irq number * @irq: virtual irq number @@ -1368,6 +1373,9 @@ struct pcs_interrupt { /** * pcs_irq_set() - enables or disables an interrupt + * @pcs_soc: SoC specific settings + * @irq: interrupt + * @enable: enable or disable the interrupt * * Note that this currently assumes one interrupt per pinctrl * register that is typically used for wake-up events. @@ -1448,7 +1456,7 @@ static int pcs_irq_set_wake(struct irq_data *d, unsigned int state) /** * pcs_irq_handle() - common interrupt handler - * @pcs_irq: interrupt data + * @pcs_soc: SoC specific settings * * Note that this currently assumes we have one interrupt bit per * mux register. This interrupt is typically used for wake-up events. @@ -1496,7 +1504,6 @@ static irqreturn_t pcs_irq_handler(int irq, void *d) /** * pcs_irq_handle() - handler for the dedicated chained interrupt case - * @irq: interrupt * @desc: interrupt descriptor * * Use this if you have a separate interrupt for each From patchwork Mon Jul 13 14:49:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235436 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906534ilg; Mon, 13 Jul 2020 07:50:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxu8M37vtJ90RDX3epmCTvyKH6kOa71MEfzM8MTHGuYMt5jihGrc9glT8ysRHHlFazcCRD3 X-Received: by 2002:aa7:c2cf:: with SMTP id m15mr65157630edp.27.1594651828272; Mon, 13 Jul 2020 07:50:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651828; cv=none; d=google.com; s=arc-20160816; b=S0oIIAFoxe0cMGvfwKAQjOTk8J6UZjGiPu5A3KRq+c/UHos/XWNo6VZDdB6mZ2Cho3 UFjSjrZi9T1SMmMT80iHKEv/UOj6W/pI01YyWwgmi7++UrWOAJ0uiLypnomn+G4o/iNS 1rTSP8wCPSQZbBOzXnxDnjRVKTeofHwhdXyhTYIeWMzHa1Tp7IqNG4djHY4uAACH92tD nByUIPF2nlgfONxti4oCAOyQ2BibhRc2WZi6YYkgHHa3cE7BbWtiDW89d7IiW6eRGU2d urjxRBKnO6+0w/ObnubbUUcoRDnga4S64SLiLR/WwmUK0qC3/j980DQiLx/kddtFk8SV BCSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=uKRsk38fGN1JQaMOEwt3q4K2iQCr73XGMAa+Q9xdB5Q=; b=ZXMFDWBmSWSpb22EmNFuUxXCsUp6zzPjU82hgBd4vawNxR2G8nfndDeuFPvEgFcpNO SSAZUtf+dfuY+uXQvQY5N9iR/LuOuVz4KDQ6blBtPFZ7swoByk6Ajw/XP9Ajz+FF9tWd 9RYZrjfdpakCazguxVYzQHahrgDGOjNPoAGWHKOD0wfwLilNV/YBq9zsMVvIHaUDzJRe xDpxbGDmVrAIYsknEqYOIE2T1iNbR+dwpYfmACd5ogIihzn0LRChAWRxbgl8/6gUs4uT OeSENndLBJa8sNYIxM7SxCd0gB59gJiBKI5PgYnds7oGpJ7w+vdLOSMf3HNNPzfV8Nah MhLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="K/YUcN3S"; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 bz8si8460771ejc.744.2020.07.13.07.50.28; Mon, 13 Jul 2020 07:50:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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="K/YUcN3S"; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730280AbgGMOuV (ORCPT + 5 others); Mon, 13 Jul 2020 10:50:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730215AbgGMOt6 (ORCPT ); Mon, 13 Jul 2020 10:49:58 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F3F7C061755 for ; Mon, 13 Jul 2020 07:49:58 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id s10so16822403wrw.12 for ; Mon, 13 Jul 2020 07:49:58 -0700 (PDT) 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=uKRsk38fGN1JQaMOEwt3q4K2iQCr73XGMAa+Q9xdB5Q=; b=K/YUcN3S/tmWmQag6LOp3T4Wg5FcOqEZ2W68vMLFZnK3d2+l3OM3sJbS1KNAwxvObA yhgx0ONPgbSIqN29/qTMXHszJo+yhnWHubNp4XhN/Y0Oh43t6VCWnvQqZAIET/tQ+0SZ oxMCUDvbWGHGL+WpFqB25XsXSsgB7tBgo/DIAxHg6rK9I+BNgxOjBAkIxXpyV7UNeYB7 QwOcvXHkd+2h8aNEugFElcNM4xoYN3H8MAk2A689KKaO9ZPujjAjcGwMPgidWkRfMhjB +V1enrSSdKh7uQfFPqGYlTFLnQadmk+yy8A+RDLqeWd6K64kdG/9w67b0Fu1XZUZfazE kjSw== 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=uKRsk38fGN1JQaMOEwt3q4K2iQCr73XGMAa+Q9xdB5Q=; b=me1zWdlQevQFh1YNk13YF/abnLEgB1//mnlhAINP9X3fpIYcV91vjR+1WqQW/0GeD+ S9I64buQfgjTBPcc2+qZ0g5ns413olqPblwLvj3ZnHhth7SKTl7iC/0Z9JnLtkXN5Ays UJP7jQLfBfhwbwYuzMi6DfoHUmkuehcseYOucljiBATVja1ZFZYQK1ctQ1QEIdB0P0lx WYzqYzvRZYMWHiE7qlLq9zvhFpYXVz3KBDYcXpPjb64mrw4jGOWVEb9+RxN2Uc3aGxPU QzGmbouwUw/f3No1YUalO8xXEa20fGteSDJohhipH6Pk69MzUA8BSmtLEv9qI24ej+N6 8vkA== X-Gm-Message-State: AOAM532I7j6gBVTITUiIfqiMUn3/+fdEFjz55yOrIL7V2TjmMynJBeQh 1zgJ3TvlLopcp6WmQNc3lWdegQ== X-Received: by 2002:adf:f608:: with SMTP id t8mr81988741wrp.308.1594651797153; Mon, 13 Jul 2020 07:49:57 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:56 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Thierry Reding , Jonathan Hunter , linux-tegra@vger.kernel.org Subject: [PATCH 22/25] pinctrl: tegra: pinctrl-tegra194: Do not initialise field twice Date: Mon, 13 Jul 2020 15:49:27 +0100 Message-Id: <20200713144930.1034632-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Both PIN_PINGROUP_ENTRY_Y() and DRV_PINGROUP_ENTRY_Y() macros are called for each of the 2 pin groups defined here, and both of them initialise 'drv_reg', causing the compiler to complain. Only initialise 'drv_reg' once. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/tegra/pinctrl-tegra194.c:71:14: warning: initialized field overwritten [-Woverride-init] 71 | .drv_reg = ((r)), | ^ drivers/pinctrl/tegra/pinctrl-tegra194.c:105:2: note: in expansion of macro ‘DRV_PINGROUP_ENTRY_Y’ 105 | DRV_PINGROUP_ENTRY_Y(0x14004, 12, 5, 20, 5, -1, -1, -1, -1, 0) | ^~~~~~~~~~~~~~~~~~~~ drivers/pinctrl/tegra/pinctrl-tegra194.c:124:3: note: in expansion of macro ‘drive_pex_l5_clkreq_n_pgg0’ 124 | drive_##pg_name, | ^~~~~~ drivers/pinctrl/tegra/pinctrl-tegra194.c:128:2: note: in expansion of macro ‘PINGROUP’ 128 | PINGROUP(pex_l5_clkreq_n_pgg0, PE5, RSVD1, RSVD2, RSVD3, 0x14000, 0, | ^~~~~~~~ drivers/pinctrl/tegra/pinctrl-tegra194.c:71:14: note: (near initialization for ‘tegra194_groups[0].drv_reg’) 71 | .drv_reg = ((r)), | ^ drivers/pinctrl/tegra/pinctrl-tegra194.c:105:2: note: in expansion of macro ‘DRV_PINGROUP_ENTRY_Y’ 105 | DRV_PINGROUP_ENTRY_Y(0x14004, 12, 5, 20, 5, -1, -1, -1, -1, 0) | ^~~~~~~~~~~~~~~~~~~~ drivers/pinctrl/tegra/pinctrl-tegra194.c:124:3: note: in expansion of macro ‘drive_pex_l5_clkreq_n_pgg0’ 124 | drive_##pg_name, | ^~~~~~ drivers/pinctrl/tegra/pinctrl-tegra194.c:128:2: note: in expansion of macro ‘PINGROUP’ 128 | PINGROUP(pex_l5_clkreq_n_pgg0, PE5, RSVD1, RSVD2, RSVD3, 0x14000, 0, | ^~~~~~~~ drivers/pinctrl/tegra/pinctrl-tegra194.c:71:14: warning: initialized field overwritten [-Woverride-init] 71 | .drv_reg = ((r)), | ^ drivers/pinctrl/tegra/pinctrl-tegra194.c:107:2: note: in expansion of macro ‘DRV_PINGROUP_ENTRY_Y’ 107 | DRV_PINGROUP_ENTRY_Y(0x1400c, 12, 5, 20, 5, -1, -1, -1, -1, 0) | ^~~~~~~~~~~~~~~~~~~~ drivers/pinctrl/tegra/pinctrl-tegra194.c:124:3: note: in expansion of macro ‘drive_pex_l5_rst_n_pgg1’ 124 | drive_##pg_name, | ^~~~~~ drivers/pinctrl/tegra/pinctrl-tegra194.c:130:2: note: in expansion of macro ‘PINGROUP’ 130 | PINGROUP(pex_l5_rst_n_pgg1, PE5, RSVD1, RSVD2, RSVD3, 0x14008, 0, | ^~~~~~~~ drivers/pinctrl/tegra/pinctrl-tegra194.c:71:14: note: (near initialization for ‘tegra194_groups[1].drv_reg’) 71 | .drv_reg = ((r)), | ^ drivers/pinctrl/tegra/pinctrl-tegra194.c:107:2: note: in expansion of macro ‘DRV_PINGROUP_ENTRY_Y’ 107 | DRV_PINGROUP_ENTRY_Y(0x1400c, 12, 5, 20, 5, -1, -1, -1, -1, 0) | ^~~~~~~~~~~~~~~~~~~~ drivers/pinctrl/tegra/pinctrl-tegra194.c:124:3: note: in expansion of macro ‘drive_pex_l5_rst_n_pgg1’ 124 | drive_##pg_name, | ^~~~~~ drivers/pinctrl/tegra/pinctrl-tegra194.c:130:2: note: in expansion of macro ‘PINGROUP’ 130 | PINGROUP(pex_l5_rst_n_pgg1, PE5, RSVD1, RSVD2, RSVD3, 0x14008, 0, | ^~~~~~~~ Cc: Thierry Reding Cc: Jonathan Hunter Cc: linux-tegra@vger.kernel.org Signed-off-by: Lee Jones --- drivers/pinctrl/tegra/pinctrl-tegra194.c | 1 - 1 file changed, 1 deletion(-) -- 2.25.1 Acked-by: Thierry Reding diff --git a/drivers/pinctrl/tegra/pinctrl-tegra194.c b/drivers/pinctrl/tegra/pinctrl-tegra194.c index 2e0b5f7bb095b..c94ba17243c87 100644 --- a/drivers/pinctrl/tegra/pinctrl-tegra194.c +++ b/drivers/pinctrl/tegra/pinctrl-tegra194.c @@ -98,7 +98,6 @@ static struct tegra_function tegra194_functions[] = { .sfsel_bit = 10, \ .schmitt_bit = schmitt_b, \ .drvtype_bit = 13, \ - .drv_reg = -1, \ .parked_bitmask = 0 #define drive_pex_l5_clkreq_n_pgg0 \ From patchwork Mon Jul 13 14:49:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235433 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906213ilg; Mon, 13 Jul 2020 07:50:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgzoTUqf6fXrIH3hOnSX8mdUmyOisw5OfG1C4Sv0uocyBmU3+acLyKfifilKBPAajoR7C+ X-Received: by 2002:a17:906:fa15:: with SMTP id lo21mr174950ejb.156.1594651804042; Mon, 13 Jul 2020 07:50:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651804; cv=none; d=google.com; s=arc-20160816; b=R0pHizpMC6wKTrbxTKuZwfZJce6jCsRktkwIoBmxmz7tXLZPqxBakjDqaKPT/0xWRY iJv3g4D2jELNApxzmaj6EHf68jvS8g1W5AsstGyEK12DWke/b/8hb97vH7mFcC4yHq6Q /KS2NzgY4epQxZU5WMbGoFM/XPqQzOmMG2USp835skenEggzuhSR9Qi8ZNQh9/A2BEeE uYjiVdnT5U09ZKNWHogZQmON6/SZHAv7qUerkzZLhtZQupyUCYBDxBBK7Nkx1LsQwP+H VWLxHjF1/Rm/MDD4uFBsWzn5O4Q4nRFzLRNCTEulC1Xd999qYZZxP7ZfYU1bmV3tGP4I iL3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nkDu4+NF/Jy0nw1npPjBWOEwj+80cykTcSKL8zkEyoE=; b=ScjCMSdwDIv+3Ch8RL0a+lhpZ+iaP+jIAqHTHsjikDQRi1LK7J2BdIkjCErdqG5Hss O9j/buIHIxvc7+ce5ViZBSoMtwsGvYtQoPYJf8yn4UprC/bMM9JWH0mQFfLhCsaxVf5b shva1jEiteFH3UJR4Z+M17o/68c+6A7OKOGGLJWYqfoyXw1Oz5A5PaFCEyVsrIHTx0f+ PJTg9JxkSDb6JZwHbtzEU4q4dbDvHMdrxrqxf4vInxniJ0czRjE0r5W8Us3lZciDJBul Wdsd7/Y9Ptwd8roFCZgO+PTRZG4slLvzGhACeRO01zLsWy2aTuijDe9HjpEqS8G5IOvw JS4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZmtW2ht4; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 gj5si8708813ejb.49.2020.07.13.07.50.02; Mon, 13 Jul 2020 07:50:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=ZmtW2ht4; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730226AbgGMOuA (ORCPT + 5 others); Mon, 13 Jul 2020 10:50:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730223AbgGMOuA (ORCPT ); Mon, 13 Jul 2020 10:50:00 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7DE0C061794 for ; Mon, 13 Jul 2020 07:49:59 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id f2so16819442wrp.7 for ; Mon, 13 Jul 2020 07:49:59 -0700 (PDT) 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=nkDu4+NF/Jy0nw1npPjBWOEwj+80cykTcSKL8zkEyoE=; b=ZmtW2ht4WqM7YXMQqyxHw3ZRWguzPgBqFC2JKAMqnldEWEsJAUcbwc2bmoKXuvKdhB ohLnx6dHRciOiJRTxfPCFjCrEU+2qXEPZTQjSGaojFkCaf6eucv0LMOlOH5ybPM6rBxY tDPXuEMK7uUVfDp3zwVJ2KxMPq7Hr81fGJ9+9pNX7BcxMW5GNb707zAllgt9brug1YNA C5iAFICTeYYWHDJz2rbibn+U9WTtjaFxewwzqY+I7CTq4Iw2/NIsi2sAK7h9pWrxK98S 7uCOBoC0BEbMzYAIM8CRkDzn8+axiDVRtayVn3F4BqiORSe8IAY5nVQWBQKD31MV3mWw wsUA== 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=nkDu4+NF/Jy0nw1npPjBWOEwj+80cykTcSKL8zkEyoE=; b=J2sXFzcc3/pvhn3QpwaOUMQZEJwxU//+7xojuNNV2aMAtVhayZC5XmmuUwjl+ATfyB y2u5LK4Ki6CDxcxVQIw+VSK0rzto7nn+njyZmVJ3H8XZvW9yu0Jhq0wKjDt9iSKxSRxn 07JD2hnhzCI2X40EPvcovnnOVdxZ15kkKe9z9wSmMYtEdcdhG1O1boVGKnCxRl+uom79 fyzP+TSH2MbSNLP/w3tjd+ECAUY+jl3om10sWL5St4U420RQJDSufZ2f+yx1vRZ5R41d qBf88fwkVy+ocR2W0DQysSHEK0F3aVX4A+qjRnbwIZM2rtjt6DIM7iWEDF2f/hlQcYJx UBJg== X-Gm-Message-State: AOAM532MZZBUDvtBsBQ/Ayo7G6sPB56hHQuVOuoSdk6ekCwdgV4EnOj+ oqRCk2DVbvi87uxxlfYyj64aEQ== X-Received: by 2002:adf:ec42:: with SMTP id w2mr80843478wrn.269.1594651798432; Mon, 13 Jul 2020 07:49:58 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:57 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Kevin Hilman , Qianggui Song , linux-amlogic@lists.infradead.org Subject: [PATCH 23/25] pinctrl: meson: pinctrl-meson-a1: Remove unused const variable 'i2c_slave_groups' Date: Mon, 13 Jul 2020 15:49:28 +0100 Message-Id: <20200713144930.1034632-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org It has never been used. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/meson/pinctrl-meson-a1.c:749:27: warning: ‘i2c_slave_groups’ defined but not used [-Wunused-const-variable=] 749 | static const char const i2c_slave_groups[] = { | ^~~~~~~~~~~~~~~~ Cc: Kevin Hilman Cc: Qianggui Song Cc: linux-amlogic@lists.infradead.org Signed-off-by: Lee Jones --- drivers/pinctrl/meson/pinctrl-meson-a1.c | 5 ----- 1 file changed, 5 deletions(-) -- 2.25.1 diff --git a/drivers/pinctrl/meson/pinctrl-meson-a1.c b/drivers/pinctrl/meson/pinctrl-meson-a1.c index 0bcec03f344aa..8abf750eac7ee 100644 --- a/drivers/pinctrl/meson/pinctrl-meson-a1.c +++ b/drivers/pinctrl/meson/pinctrl-meson-a1.c @@ -746,11 +746,6 @@ static const char * const i2c3_groups[] = { "i2c3_sck_x", "i2c3_sda_x", "i2c3_sck_f", "i2c3_sda_f", }; -static const char * const i2c_slave_groups[] = { - "i2c_slave_sda_a", "i2c_slave_sck_a", - "i2c_slave_sda_f", "i2c_slave_sck_f", -}; - static const char * const spi_a_groups[] = { "spi_a_mosi_x2", "spi_a_ss0_x3", "spi_a_sclk_x4", "spi_a_miso_x5", "spi_a_mosi_x7", "spi_a_miso_x8", "spi_a_ss0_x9", "spi_a_sclk_x10", From patchwork Mon Jul 13 14:49:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235435 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906374ilg; Mon, 13 Jul 2020 07:50:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9RknD+P6JdrnzcNGuEUU850ByI+GA4jCS/a6xy8AgYTjMp7FWY7cU8LS7sboQWj96v+OL X-Received: by 2002:a05:6402:1c07:: with SMTP id ck7mr79840549edb.297.1594651816239; Mon, 13 Jul 2020 07:50:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651816; cv=none; d=google.com; s=arc-20160816; b=ZKHjgq4M/DT6/6qGcWbZYlTn1y6ROVifiWBuP50T7/3PH9S85VQVC0w5Q2pLYk+cTV F+aUrwgbFZlibxNPOo0g7QGKs5LF1H3G4zpL3R/vKVoqpBI0lMsCNMGfc0AP2CEUAI0z WPZ4bDbCB0AvRh8z0+OzDR92w8sZS4QTDOKFUq6aK4XA5eV/86AU5z0A7Rhjn4v2Dk0a YjRT6Z+o3knZUVhslbNkAq8f9ZTeWP1j8o1AdLaOj84zxB+R54F0k7i1BLxHmiSbRNWD 66553chiX8jZwIj4bQe547fKCSgE+JownmpYGwPXACuRePXWz/qkWhL0702tf2Mb8vjj 0zDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=aFwIxeC0MRqXJsoytVI2+bLE6Gwn1R4iqaYqzA7pZ0g=; b=M4iKtDU+et0XAkTC65kaNW3KD5NJklIaakhsfAD+b4bZ0jOCcgh25D7dxN/X5EwQU/ leDAjEa5eqMP68w8GLl7OdaobkgPV1Qvoitke4dJctdkC2o2EgCVmbCF6O43ydadR6we bMGb0ON6de8aNpAaj0UeGpSML+C4RjUU3aHWV9ct7m8Mo9pelhp3J7s6TSNJ67+YyMPv OV6LaL3EMLpuGT86tUmTC46HXMP0hU4//9GkdIxbhQTxLBYnoV+iB0vxH6JkXXnehgFM o+ioQOkob8/YfnGq3HdMkO/daGrkF4jV0li9eCH1GX/tiTshtkfV9kXZKNmZpVMnXpyc pZxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="rEH/qBTm"; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 p15si9113732ejg.22.2020.07.13.07.50.16; Mon, 13 Jul 2020 07:50:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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="rEH/qBTm"; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730236AbgGMOuC (ORCPT + 5 others); Mon, 13 Jul 2020 10:50:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730232AbgGMOuB (ORCPT ); Mon, 13 Jul 2020 10:50:01 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECA02C061794 for ; Mon, 13 Jul 2020 07:50:00 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id o2so13448378wmh.2 for ; Mon, 13 Jul 2020 07:50:00 -0700 (PDT) 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=aFwIxeC0MRqXJsoytVI2+bLE6Gwn1R4iqaYqzA7pZ0g=; b=rEH/qBTmc+y3WcbvEW5HE26Q7gP5vAFhKpId5HT7gUQfO9PJnht02sjqO5L70L31iM yFxfvi1mawGzA4mETQv/ji+tb6meLxCOLAMRWqf65Zft1eLgi5AbY6x3Cl6vR6DeUoj6 3Lz1+tt/VtQkJBfasqV5U56xpJcndeMGD8C9FTYFAYHu4tQHtV8/0Q8zfL7OcpYFfdJk 9cszBFYkqWFCTApiN1+H3IdQs1I30swZDgm/PAcGWJ7OerUZBbLHUVTzIaFiH5DQ6R6k WoeP+HvgvUfvsbCcfx4DbBFI9NqJ1LTZTRbOrpjxmj6m0C1y9VgiRtxud86pekb1EQNf eohA== 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=aFwIxeC0MRqXJsoytVI2+bLE6Gwn1R4iqaYqzA7pZ0g=; b=hKh7j/TIeXJaQNkPbyAeWnJuVeuREyNNvReNCOIghAy1ASZns398718l/3Gh9VABQ9 hztZbdFzNEvZ54UdVrgdhXVt3XNoDiirbuBaBjoTqxIVpN11bXaMPp+KZzVEcXSO48MU xXxVuuntgbByn3YrHXX3oaP3Cuic/akvE/hHH0Hfy6EQshCHRLUTt0mQA3bHiTqdTplu 6QPMxu2s7UA+uVgy8w46ZBJVhglB5JASVnoqrCZ0NEDZ3Shm01P+vP0unWJduoLhmr4g Iamz5/UqxJgnMmABuIb+JE7qJ3bOUm1fBxYXTmJjQVX2NlEJAtx5HCqvsoTd6HqyEgJc olTw== X-Gm-Message-State: AOAM532yU8KR8v+K/Hg4NqTed58gS6cKak/RjqeZeDHSaO5CkzEXSwJj s/3jwIgRLiODi6bocCVk2zhCow== X-Received: by 2002:a1c:7fd7:: with SMTP id a206mr321234wmd.104.1594651799733; Mon, 13 Jul 2020 07:49:59 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:59 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth Subject: [PATCH 24/25] pinctrl: mvebu: pinctrl-armada-37xx: Update documentation block for 'struct armada_37xx_pin_group' Date: Mon, 13 Jul 2020 15:49:29 +0100 Message-Id: <20200713144930.1034632-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Correct misspellings and provide missing entries. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/mvebu/pinctrl-armada-37xx.c:68: warning: Function parameter or member 'start_pin' not described in 'armada_37xx_pin_group' drivers/pinctrl/mvebu/pinctrl-armada-37xx.c:68: warning: Function parameter or member 'val' not described in 'armada_37xx_pin_group' drivers/pinctrl/mvebu/pinctrl-armada-37xx.c:68: warning: Function parameter or member 'extra_pin' not described in 'armada_37xx_pin_group' drivers/pinctrl/mvebu/pinctrl-armada-37xx.c:68: warning: Function parameter or member 'extra_npins' not described in 'armada_37xx_pin_group' Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: Sebastian Hesselbarth Signed-off-by: Lee Jones --- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- 2.25.1 diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c index 5f125bd6279dd..953126bf6657b 100644 --- a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c +++ b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c @@ -45,13 +45,14 @@ * The pins of a pinmux groups are composed of one or two groups of contiguous * pins. * @name: Name of the pin group, used to lookup the group. - * @start_pins: Index of the first pin of the main range of pins belonging to + * @start_pin: Index of the first pin of the main range of pins belonging to * the group * @npins: Number of pins included in the first range * @reg_mask: Bit mask matching the group in the selection register - * @extra_pins: Index of the first pin of the optional second range of pins + * @val: Value to write to the registers for a given function + * @extra_pin: Index of the first pin of the optional second range of pins * belonging to the group - * @npins: Number of pins included in the second optional range + * @extra_npins:Number of pins included in the second optional range * @funcs: A list of pinmux functions that can be selected for this group. * @pins: List of the pins included in the group */ From patchwork Mon Jul 13 14:49:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235434 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2906235ilg; Mon, 13 Jul 2020 07:50:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/RSMfhh5j4v8/8TM1JlU3fJE1CtsZj4BkhrHD9GHtfnU7dbY9icQKFik2geBlKAecJe0g X-Received: by 2002:a50:b5e3:: with SMTP id a90mr51583642ede.381.1594651806251; Mon, 13 Jul 2020 07:50:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651806; cv=none; d=google.com; s=arc-20160816; b=HmAFOlbQyo8sAs1wr9PR7hc8nEPHR3Yxz842xSUiAbQO8a39YLYYwUo5IpKZmGb20c JdmqfugmL9/IQ3+8pDCN/JwnneqpzzKF5ISs5myXlgy8vGwZVZV9qS640RaJr4aeiELH Xtf3Ivi7a73g4SzAZL9PCU95afOXPzvPdkYWtM1pOKM0E99ah3+3xElUKIaqp4uf1vG3 8o9aw8TSXpOn+Oek7fpzJy9H79hdMfJ3iWBDS2SlQs23efKpGR56I5dYVdceBGAHKPG8 sAnlZwIw8K2L9pQLO2lJS1Tg7/JaHK8/ckfkL3wvcDjvbfb0SUKzHXQgDJowYiban8QW AosA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NyAKoCtSVFFVlxIAMUZJD+1tBL7lJyYgfugY7+GPMFU=; b=LDgV2TQ7OaSB8d2RhRti/swYkZuNvw3Lup4mNutnr4ZRzavZTsHcq1Fsd19kv4asUF +OC1sepbJg1HVYiwEHCr/bZd3kLRwEvgcKfu8VU1Gm5+cEQsrD1787+g6wvEejoRExt1 LjkKvCl0gI9RXs+QmPG9+xmMiweov+oGpeauxioS7iRtxOR+AZknhVuEVuoc/rbI8FLJ NJFvqyKKBdHsRzlaiN0osyXao69FkL5QOk4usbDQcG8RkwoeIgcBzjowFFO1bNPAsuf6 Sc+csm460YwQZJURUgCQ/0vry0LLHj5yasaNUcHmoSGi57fbr2J9q/WiCSwVu7D1GlQ7 tpcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kJ7DOLoA; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 gj5si8708813ejb.49.2020.07.13.07.50.05; Mon, 13 Jul 2020 07:50:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=kJ7DOLoA; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S1730248AbgGMOuD (ORCPT + 5 others); Mon, 13 Jul 2020 10:50:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730238AbgGMOuC (ORCPT ); Mon, 13 Jul 2020 10:50:02 -0400 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 01F06C08C5DB for ; Mon, 13 Jul 2020 07:50:02 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id f139so13447501wmf.5 for ; Mon, 13 Jul 2020 07:50:01 -0700 (PDT) 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=NyAKoCtSVFFVlxIAMUZJD+1tBL7lJyYgfugY7+GPMFU=; b=kJ7DOLoAu9v/O6Cbi/Rr3rtan9UVSoAht4Rn5M+Nf+Kux+7jzkhvmwINtpqPhSTIvK iJWQSdGWWV2MatEgzEqQH614wh4YjcFNBaoxK6CyyxkL4M7eFSRBUul0s2zVDwP+daOO AE7Vw4nHz7JtADXUoCivS29gGuP45f3HphgPT1Am3Awa2p7IsO3WZ9Vxp+lS5cDRQoBe qtMxiQcZ1c95UrKJgDRgDEWMpTi5HBuN2Ni2ykVu4BRYDz9IsX+GugjHJAlzWrGNQ5d3 PxCEXpCmvbozje6X/dqtGMPTLbGMv/8+JYsGLpayQO7pXQ9U63TvxYmv0QN8FEQofkhz fXYA== 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=NyAKoCtSVFFVlxIAMUZJD+1tBL7lJyYgfugY7+GPMFU=; b=iy3/Ch7YMlMFpFAzAApPlHfaejRyx9UiweiWMk3jdIpVBCCy+gcfPIoPnUl5z5gJo6 0/WXbwwqvo17WQMHsQSTA7lQiTcQkbOgtk620FHPhQS3T26Z6hymru8lu3WO3L+XemXD veHTo2kXzFf0of2BKn2nCX8BprAErlZnWMlL/BhwRa/HhItkbvb/EQDJyUcW+piprv6g dJCo0qJBxfHE3voXY4JfA9K8Bw71bWPZG86/EoMbsQvmeYh8r5+88Qoi/eN2reeKMSZT iTaWZCA6oNg+ZtsJ4MV1R8gbzNhrSvheSFTQiZic9ScqWPCksXcwXNj72jFWsOSt5tde C6VQ== X-Gm-Message-State: AOAM532UqFPs+0dBPQAxScc1nc0BAZfGA8xp1gGS+TUtk7MMwh6oLRQ/ gaWdzM1oMbX7Mke7gaTGyA4nirULuic= X-Received: by 2002:a1c:ed05:: with SMTP id l5mr331704wmh.68.1594651800778; Mon, 13 Jul 2020 07:50:00 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:50:00 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Ken Xue , "Wu, Jeff" , Nehal Shah , Sundar S K Subject: [PATCH 25/25] pinctrl: pinctrl-amd: Do not define 'struct acpi_device_id' when !CONFIG_ACPI Date: Mon, 13 Jul 2020 15:49:30 +0100 Message-Id: <20200713144930.1034632-26-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Since ACPI_PTR() is used to NULLify the value when !CONFIG_ACPI, 'struct amd_gpio_acpi_match' becomes defined but unused. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/pinctrl-amd.c:959:36: warning: ‘amd_gpio_acpi_match’ defined but not used [-Wunused-const-variable=] 959 | static const struct acpi_device_id amd_gpio_acpi_match[] = { Cc: Ken Xue Cc: "Wu, Jeff" Cc: Nehal Shah Cc: Sundar S K Signed-off-by: Lee Jones --- drivers/pinctrl/pinctrl-amd.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.25.1 diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c index c34e6a950b3f6..ccf6120311193 100644 --- a/drivers/pinctrl/pinctrl-amd.c +++ b/drivers/pinctrl/pinctrl-amd.c @@ -956,12 +956,14 @@ static int amd_gpio_remove(struct platform_device *pdev) return 0; } +#ifdef CONFIG_ACPI static const struct acpi_device_id amd_gpio_acpi_match[] = { { "AMD0030", 0 }, { "AMDI0030", 0}, { }, }; MODULE_DEVICE_TABLE(acpi, amd_gpio_acpi_match); +#endif static struct platform_driver amd_gpio_driver = { .driver = {