Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp8855738rwl; Sat, 31 Dec 2022 13:29:45 -0800 (PST) X-Google-Smtp-Source: AMrXdXtbibC3CEywqpMr7g9rIEFqfw4KgaGMrxTc6XkJEF09PznIHHyRc371dOFq2lHHZsDDEyOE X-Received: by 2002:a05:6402:538f:b0:45c:835c:1ebb with SMTP id ew15-20020a056402538f00b0045c835c1ebbmr38521801edb.9.1672522184879; Sat, 31 Dec 2022 13:29:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672522184; cv=none; d=google.com; s=arc-20160816; b=MKL5OlhTXBVEzM1BMZEVYj2G0egsArO0IDcdpO/yRi37dlFZ9ZnKpcZmLk3opQcXDE 3dWW7AmNpTsPkGkLFUOajZFObJ6We5aaMejc/fbTPtlgb5l8dh3XPvL1uaj9HKKz0xia GgjNe6brcAIVyVpoozJOFH13ywmk7iOnk0QtrB1fW9wRvo133Qa0Si3w5BTQVb0FSUqo VOJRx2dXaUKk9tGTFsHYEM4pSINN2LaI+mIDytQ8X3ZMzMjzvyQ4bzHhLHQBvSzBd5Ka 1knPfZqKoyD+jW++hub79HvquxjSC1IoOZ9+dXihA1lYp9kuMEasgJ+z4zOoK7/0gH0m tEyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date; bh=X33SuAtcnb5t1mGcDTkbx3kGnF9/wC9IjDEPrfEDWC4=; b=rWDdpuS5ivmYLI7b+yQdwpdUoHljjfCmymunvfdDb5a3KQHMvJwJ6PrTsMuUMZdL7t aJ38MDbrgjeieEGBgCTt9DtUJvNzFF0D4CbDddMW7utQn+Htn4WjbJ8z3hGlH5GEfTFO /vE3NjPBg1U25S0DR3zfwoFn7EhSijteFX4IICPxrwTBsb85JY5x3w08oZIhcbs0jxIk PxE0u9d134+/IJrvExC+Ybnvo+il2rQo7xUAe+BWBYYXrQeiS8B/Omjy/8rXXIO/zMGe 7QJTlsY6a+5Npi8+6aR18NJtAOsJengYTmnSuGaMBK90bv9Bk8focXMims+l93/LDzAE GJqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v12-20020a056402348c00b004639a46d725si23718382edc.31.2022.12.31.13.29.25; Sat, 31 Dec 2022 13:29:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235853AbiLaUVj (ORCPT + 62 others); Sat, 31 Dec 2022 15:21:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbiLaUVf (ORCPT ); Sat, 31 Dec 2022 15:21:35 -0500 Received: from m-r1.th.seeweb.it (m-r1.th.seeweb.it [5.144.164.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75B4F60E8 for ; Sat, 31 Dec 2022 12:21:34 -0800 (PST) Received: from SoMainline.org (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id E35671F71E; Sat, 31 Dec 2022 21:14:29 +0100 (CET) Date: Sat, 31 Dec 2022 21:14:27 +0100 From: Marijn Suijten To: Adam Skladowski Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Bjorn Andersson , Andy Gross , Konrad Dybcio , Linus Walleij , AngeloGioacchino Del Regno , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] pinctrl: qcom: pinctrl-msm8976: Correct function names for wcss pins Message-ID: <20221231201427.4zvubd4cqkaphayd@SoMainline.org> Mail-Followup-To: Marijn Suijten , Adam Skladowski phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Bjorn Andersson , Andy Gross , Konrad Dybcio , Linus Walleij , AngeloGioacchino Del Regno , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221231164250.74550-1-a39.skl@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221231164250.74550-1-a39.skl@gmail.com> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-12-31 17:42:50, Adam Skladowski wrote: > Adjust names of function for wcss pins, also fix third gpio in bt group. Agreed, the wcss_wlan[210]_groups arrays and functions are unused prior to this patch nor are pins 40/41/42 part of wcss_wlan_groups (which only contains 43 and 44). Same for the BT fix, the pingroup for pin 48 is clearly wcss_bt and there's none for pin 88. You could have made that more clear in the commit message though (and I'm not even sure if pinctrl allows the pins to be used when the groups are misaligned like this, at least there's a fixes: tag), but for the change itself: Reviewed-by: Marijn Suijten > Fixes: bcd11493f0ab ("pinctrl: qcom: Add a pinctrl driver for MSM8976 and 8956") > Signed-off-by: Adam Skladowski > --- > drivers/pinctrl/qcom/pinctrl-msm8976.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/pinctrl/qcom/pinctrl-msm8976.c b/drivers/pinctrl/qcom/pinctrl-msm8976.c > index ec43edf9b660..e11d84584719 100644 > --- a/drivers/pinctrl/qcom/pinctrl-msm8976.c > +++ b/drivers/pinctrl/qcom/pinctrl-msm8976.c > @@ -733,7 +733,7 @@ static const char * const codec_int2_groups[] = { > "gpio74", > }; > static const char * const wcss_bt_groups[] = { > - "gpio39", "gpio47", "gpio88", > + "gpio39", "gpio47", "gpio48", > }; > static const char * const sdc3_groups[] = { > "gpio39", "gpio40", "gpio41", > @@ -958,9 +958,9 @@ static const struct msm_pingroup msm8976_groups[] = { > PINGROUP(37, NA, NA, NA, qdss_tracedata_b, NA, NA, NA, NA, NA), > PINGROUP(38, NA, NA, NA, NA, NA, NA, NA, qdss_tracedata_b, NA), > PINGROUP(39, wcss_bt, sdc3, NA, qdss_tracedata_a, NA, NA, NA, NA, NA), > - PINGROUP(40, wcss_wlan, sdc3, NA, qdss_tracedata_a, NA, NA, NA, NA, NA), > - PINGROUP(41, wcss_wlan, sdc3, NA, qdss_tracedata_a, NA, NA, NA, NA, NA), > - PINGROUP(42, wcss_wlan, sdc3, NA, qdss_tracedata_a, NA, NA, NA, NA, NA), > + PINGROUP(40, wcss_wlan2, sdc3, NA, qdss_tracedata_a, NA, NA, NA, NA, NA), > + PINGROUP(41, wcss_wlan1, sdc3, NA, qdss_tracedata_a, NA, NA, NA, NA, NA), > + PINGROUP(42, wcss_wlan0, sdc3, NA, qdss_tracedata_a, NA, NA, NA, NA, NA), > PINGROUP(43, wcss_wlan, sdc3, NA, NA, qdss_tracedata_a, NA, NA, NA, NA), > PINGROUP(44, wcss_wlan, sdc3, NA, NA, NA, NA, NA, NA, NA), > PINGROUP(45, wcss_fm, NA, qdss_tracectl_a, NA, NA, NA, NA, NA, NA), > -- > 2.25.1 >