From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB88B383B0 for ; Thu, 11 Jul 2024 11:35:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720697751; cv=none; b=oeyNXx5k77O1mMy9SCTOl226KrdRzR5zgKknh7+wDAeEdiBSAmiw1EVKURqqDL5edpZy5N4LVmGYosSkxUbrD1QXTA3Ws54Ru70AxfIqz8hGnLe8miZqSzg2BJEYtUJrslp9ab7YbS0s8A1IHf4daT5PDhehnwUakdGeJcLjXzQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720697751; c=relaxed/simple; bh=WNfYtTxA3mpKaMfjof5I3Mzuilw/m+RFPxQleWDdE+U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pgTwquc6VS6BvLIFIU4JWkUL1wetECpsVPRAp0kPAssYBC7jhqqHwBg9740iRlyM9VmYmXvav57rS2hnHhTsIubQFCNlxz/vEyd5SaeLE3vffiwt01UiRc8dp+0hcxbUULZGvakT2NMbHZ+uUPw2qfE+HNCUuG4155ZO08K/emc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ORCVTSyt; arc=none smtp.client-ip=209.85.208.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ORCVTSyt" Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2eea7e2b073so8988221fa.0 for ; Thu, 11 Jul 2024 04:35:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1720697748; x=1721302548; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=jXljFkqNP7CbNXZW/UztiSdfE2JPHZ4v+VL+r7mD4h0=; b=ORCVTSytyJ1znoZPrDxEJm1f7rWudYVffQscfdpxgCJDbgkPrCudoGMn3LQPv90HBI hBc9QVqBtiMnAIyhp1lBkK3uUTK6KIZ0SZ4wgnp+XhOCwfNTgAr3mknMvKHLvFK0TUcd gNVrBQGfzh+tg5hlyIV6yxb46Rn9f2VloiHz9vOhNsYL3CRvz49j1S1GhsiexctuPP7f mKud3HBBAINeBZ7Hn3ZGCDZpyHhLlruDLdxvJG0ZUjUW/uwI5lQU6MHtUR1T1eL3NUX0 NdHWj370OeTFdiLwYLn83gJInNYNCvz1nUEBg4hnP1fFA1bO1SotXeClDcN6MTcLE8fe ijjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720697748; x=1721302548; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jXljFkqNP7CbNXZW/UztiSdfE2JPHZ4v+VL+r7mD4h0=; b=SXNHfofCiZv4KgrVxDovV2f+QCQlxiBcgPQHo3zYYIvMYeS8ZxIyM9y7tAfF4WftKQ vXoPHdn3xyh+WMtylWFjlIVBXg5UyXEr8ukwiR3xTtL+QQTm5VFFlyyKTGE1WWj5EvME Z2WyGPB+eqnxHiIdwmYWtEr4hhJ8BD4Mth5BMhzpEp2Xiag1oA9fSpegWMXelbO0TLWw mWfE+jYwTOybgnDFiBjyh+oCS3qoFvALj+dYiJ/rhfmkaWf2EN3QeEljzn544eEoYS9O mqft0WZXiJ/VWZjzS9Q+dgGjYSEswuiMv9EewuTJD0nyFkfBV1/J3s/JE179egTVbuyU c4ug== X-Forwarded-Encrypted: i=1; AJvYcCVvO3p++fsC35RK9B+CIEYKVwHPhrB5RtD/gHLRObGHfmyCXBQRLTUSuqkHhzACDjNeZMa1xDs7PHsnzYwRuZRbgV7HjdvEN4yutQ== X-Gm-Message-State: AOJu0YzPG4OEGpYLzl6IEMLhL1sBUEJu44wwPCsz6kyW299ma6+S0K0k BSYhDPup9wooOrlxDj2CQT0IsTDd5DeYtQwu5HV+MOyfqRGP9+7kSwDwt6GjBYw= X-Google-Smtp-Source: AGHT+IHz8tK1jzaE2u8cjgp8meMdQXT1ecN3TRFLd9ol6j/drC5ozKOvVH6kUT7yZ+bRcqEfAn0Eiw== X-Received: by 2002:ac2:5bc5:0:b0:52c:dcab:6738 with SMTP id 2adb3069b0e04-52eb9990fc5mr4979174e87.1.1720697747806; Thu, 11 Jul 2024 04:35:47 -0700 (PDT) Received: from linaro.org ([82.79.124.209]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42725d2e132sm94451985e9.32.2024.07.11.04.35.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jul 2024 04:35:47 -0700 (PDT) Date: Thu, 11 Jul 2024 14:35:45 +0300 From: Abel Vesa To: Konrad Dybcio Cc: Bjorn Andersson , Linus Walleij , Krzysztof Kozlowski , Sibi Sankar , Marijn Suijten , Rajendra Nayak , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] pinctrl: qcom: x1e80100: Update PDC hwirq map Message-ID: References: <20240711-topic-x1e_pdc_tlmm-v1-1-e278b249d793@linaro.org> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240711-topic-x1e_pdc_tlmm-v1-1-e278b249d793@linaro.org> On 24-07-11 11:37:57, Konrad Dybcio wrote: > The current map seems to be out of sync (and includes a duplicate entry > for GPIO193..). > > Replace it with the map present in shipping devices' ACPI tables. > > This new one seems more complete, as it e.g. contains GPIO145 (PCIE6a > WAKE#) > > Fixes: 05e4941d97ef ("pinctrl: qcom: Add X1E80100 pinctrl driver") > Signed-off-by: Konrad Dybcio Reviewed-by: Abel Vesa > --- > drivers/pinctrl/qcom/pinctrl-x1e80100.c | 27 +++++++++++++++------------ > 1 file changed, 15 insertions(+), 12 deletions(-) > > diff --git a/drivers/pinctrl/qcom/pinctrl-x1e80100.c b/drivers/pinctrl/qcom/pinctrl-x1e80100.c > index e30e93840357..6cd4d10e6fd6 100644 > --- a/drivers/pinctrl/qcom/pinctrl-x1e80100.c > +++ b/drivers/pinctrl/qcom/pinctrl-x1e80100.c > @@ -1813,18 +1813,21 @@ static const struct msm_pingroup x1e80100_groups[] = { > > static const struct msm_gpio_wakeirq_map x1e80100_pdc_map[] = { > { 0, 72 }, { 2, 70 }, { 3, 71 }, { 6, 123 }, { 7, 67 }, { 11, 85 }, > - { 15, 68 }, { 18, 122 }, { 19, 69 }, { 21, 158 }, { 23, 143 }, { 26, 129 }, > - { 27, 144 }, { 28, 77 }, { 29, 78 }, { 30, 92 }, { 32, 145 }, { 33, 115 }, > - { 34, 130 }, { 35, 146 }, { 36, 147 }, { 39, 80 }, { 43, 148 }, { 47, 149 }, > - { 51, 79 }, { 53, 89 }, { 59, 87 }, { 64, 90 }, { 65, 106 }, { 66, 142 }, > - { 67, 88 }, { 71, 91 }, { 75, 152 }, { 79, 153 }, { 80, 125 }, { 81, 128 }, > - { 84, 137 }, { 85, 155 }, { 87, 156 }, { 91, 157 }, { 92, 138 }, { 94, 140 }, > - { 95, 141 }, { 113, 84 }, { 121, 73 }, { 123, 74 }, { 129, 76 }, { 131, 82 }, > - { 134, 83 }, { 141, 93 }, { 144, 94 }, { 147, 96 }, { 148, 97 }, { 150, 102 }, > - { 151, 103 }, { 153, 104 }, { 156, 105 }, { 157, 107 }, { 163, 98 }, { 166, 112 }, > - { 172, 99 }, { 181, 101 }, { 184, 116 }, { 193, 40 }, { 193, 117 }, { 196, 108 }, > - { 203, 133 }, { 212, 120 }, { 213, 150 }, { 214, 121 }, { 215, 118 }, { 217, 109 }, > - { 220, 110 }, { 221, 111 }, { 222, 124 }, { 224, 131 }, { 225, 132 }, > + { 13, 86 }, { 15, 68 }, { 18, 122 }, { 19, 69 }, { 21, 158 }, { 23, 143 }, > + { 24, 126 }, { 26, 129 }, { 27, 144 }, { 28, 77 }, { 29, 78 }, { 30, 92 }, > + { 31, 159 }, { 32, 145 }, { 33, 115 }, { 34, 130 }, { 35, 146 }, { 36, 147 }, > + { 38, 113 }, { 39, 80 }, { 43, 148 }, { 47, 149 }, { 51, 79 }, { 53, 89 }, > + { 55, 81 }, { 59, 87 }, { 64, 90 }, { 65, 106 }, { 66, 142 }, { 67, 88 }, > + { 68, 151 }, { 71, 91 }, { 75, 152 }, { 79, 153 }, { 80, 125 }, { 81, 128 }, > + { 83, 154 }, { 84, 137 }, { 85, 155 }, { 87, 156 }, { 91, 157 }, { 92, 138 }, > + { 93, 139 }, { 94, 140 }, { 95, 141 }, { 113, 84 }, { 121, 73 }, { 123, 74 }, > + { 125, 75 }, { 129, 76 }, { 131, 82 }, { 134, 83 }, { 141, 93 }, { 144, 94 }, > + { 145, 95 }, { 147, 96 }, { 148, 97 }, { 150, 102 }, { 151, 103 }, { 153, 104 }, > + { 154, 100 }, { 156, 105 }, { 157, 107 }, { 163, 98 }, { 166, 112 }, { 172, 99 }, > + { 175, 114 }, { 181, 101 }, { 184, 116 }, { 193, 117 }, { 196, 108 }, { 203, 133 }, > + { 208, 134 }, { 212, 120 }, { 213, 150 }, { 214, 121 }, { 215, 118 }, { 217, 109 }, > + { 219, 119 }, { 220, 110 }, { 221, 111 }, { 222, 124 }, { 224, 131 }, { 225, 132 }, > + { 228, 135 }, { 230, 136 }, { 232, 162 }, > }; > > static const struct msm_pinctrl_soc_data x1e80100_pinctrl = { > > --- > base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233 > change-id: 20240711-topic-x1e_pdc_tlmm-a6cd7a0f6cbd > > Best regards, > -- > Konrad Dybcio >