From patchwork Wed Aug 9 19:38:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 712040 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33610C0015E for ; Wed, 9 Aug 2023 19:39:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233929AbjHITjN (ORCPT ); Wed, 9 Aug 2023 15:39:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233208AbjHITjM (ORCPT ); Wed, 9 Aug 2023 15:39:12 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D6BA10F3 for ; Wed, 9 Aug 2023 12:39:11 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2b9b6e943ebso15190571fa.1 for ; Wed, 09 Aug 2023 12:39:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691609950; x=1692214750; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=L/ZCzffNd4VjgfPfI3FvCPGEBawQZB9kqBgHWNy6ki8=; b=W6DC5u2ztKlZ6rKzWGCpk0KZHaZCvGOVzHvJ1QLxXNCV6FoYgB38PohUvaDpxZgGHw kSSjj31ZJMVDUDZVclLt8MunljCGYsTU0bAWBuX4HGRWOJQ3cPKSHuazQYwbfpMeY7Zo 0yECewWD7YzNj2bgr+c8vxEb3JT6/rKVoWgGZEYDz7XXz86hUS4s4Fg7JBJyZRh2gOXb v/9zNjd7W9ooqZsgyq13tQVFnAcMKE5BKHC/2KTLtZNM41KRCTkZyJoEQmAvCkUQBeaJ awazdnn7pETP44FxuFdzdgnihm8p9I1yLR4M/AZVHW2PkYbK5DWD9fYGCApuFi/nZHKS p09g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691609950; x=1692214750; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=L/ZCzffNd4VjgfPfI3FvCPGEBawQZB9kqBgHWNy6ki8=; b=CYT5N993NP52Lhi0/0kukEor6P9QjzmU25d7kcCq1nYfIWxqDQs95XEa6CLcC81VdP YUg6lM7mBcuXm9B3n08qZ3YwKd+ssavhQwZzY+8i6l7dG8opeVdO8WHOS3HAHqGkYt2c YE8imb92/wh4V9gG0kOUgRxpmOp2fhLSRma2f/z5PjKcZQV4Up4lMg0jbyt/JvTXebfc 9fPeXoRUsLh1Gh1Wz36DJb5k50O3nXTITwpniYvDS+FYPXW0n+F4CoxVOPB9Eq8slnPN 3mRM1OCIii1oXF6Yi0etCkaIqtCl3fwSPGyLvAnZgnSps3INzarsK5cwemky2c7uwkXX r41w== X-Gm-Message-State: AOJu0Yy6hRQK+zucEbBc+Y4M5UPey29UCkul/0YXYPSqTVohRLS8jSW1 QKyIglAu/z3gbZcxsdykUYtkRg== X-Google-Smtp-Source: AGHT+IEpcxHLCLy+tp5VWY2y1CLPV67l3/9e/fwvfXS7Opiz0Ua1sxmTXXkqpLnXMGnImLfGLjG9Hg== X-Received: by 2002:a05:651c:c91:b0:2b9:e705:6303 with SMTP id bz17-20020a05651c0c9100b002b9e7056303mr215972ljb.4.1691609949650; Wed, 09 Aug 2023 12:39:09 -0700 (PDT) Received: from [192.168.1.101] (abxi185.neoplus.adsl.tpnet.pl. [83.9.2.185]) by smtp.gmail.com with ESMTPSA id x6-20020a2e9c86000000b002b9fe77d00dsm2885287lji.93.2023.08.09.12.39.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 12:39:09 -0700 (PDT) From: Konrad Dybcio Date: Wed, 09 Aug 2023 21:38:54 +0200 Subject: [PATCH 1/5] pinctrl: qcom: msm8998: Fix MPM mappings MIME-Version: 1.0 Message-Id: <20230809-topic-mpm_mappings-v1-1-5e17dd76b3c8@linaro.org> References: <20230809-topic-mpm_mappings-v1-0-5e17dd76b3c8@linaro.org> In-Reply-To: <20230809-topic-mpm_mappings-v1-0-5e17dd76b3c8@linaro.org> To: Andy Gross , Bjorn Andersson , Linus Walleij Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691609947; l=2512; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=hCfkcXPkFWRhbSb1h+V6CJXQhWHaCdAB8TPVfPD9pXM=; b=S8jiSSCI5NcJ3Fq5TU/y5Yf0Pu1Z4aSwXDxAv9ccPX9HiW/hlU9rRM/sHWbZ50t6iK10+z8r/ 4sRvLNwCrsIBOzGkAtxxfKzboXAWnNb0p8oMCEuAzwfO3d5PyEz8Ske X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Commit 29f6e7e379fd ("pinctrl: qcom: msm8998: Add MPM pin mappings") added a map of pins <-> wakeirqs. The values in each tuple were swapped and the last one was missing. Fix that. Fixes: 29f6e7e379fd ("pinctrl: qcom: msm8998: Add MPM pin mappings") Signed-off-by: Konrad Dybcio --- drivers/pinctrl/qcom/pinctrl-msm8998.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/pinctrl/qcom/pinctrl-msm8998.c b/drivers/pinctrl/qcom/pinctrl-msm8998.c index b7cbf32b3125..08d6e555652a 100644 --- a/drivers/pinctrl/qcom/pinctrl-msm8998.c +++ b/drivers/pinctrl/qcom/pinctrl-msm8998.c @@ -1496,15 +1496,16 @@ static const struct msm_pingroup msm8998_groups[] = { }; static const struct msm_gpio_wakeirq_map msm8998_mpm_map[] = { - { 1, 3 }, { 5, 4 }, { 9, 5 }, { 11, 6 }, { 22, 8 }, { 24, 9 }, { 26, 10 }, - { 34, 11 }, { 36, 12 }, { 37, 13 }, { 38, 14 }, { 40, 15 }, { 42, 16 }, { 46, 17 }, - { 50, 18 }, { 53, 19 }, { 54, 20 }, { 56, 21 }, { 57, 22 }, { 58, 23 }, { 59, 24 }, - { 60, 25 }, { 61, 26 }, { 62, 27 }, { 63, 28 }, { 64, 29 }, { 66, 7 }, { 71, 30 }, - { 73, 31 }, { 77, 32 }, { 78, 33 }, { 79, 34 }, { 80, 35 }, { 82, 36 }, { 86, 37 }, - { 91, 38 }, { 92, 39 }, { 95, 40 }, { 97, 41 }, { 101, 42 }, { 104, 43 }, { 106, 44 }, - { 108, 45 }, { 110, 48 }, { 112, 46 }, { 113, 47 }, { 115, 51 }, { 116, 54 }, { 117, 55 }, - { 118, 56 }, { 119, 57 }, { 120, 58 }, { 121, 59 }, { 122, 60 }, { 123, 61 }, { 124, 62 }, - { 125, 63 }, { 126, 64 }, { 127, 50 }, { 129, 65 }, { 131, 66 }, { 132, 67 }, { 133, 68 }, + { 3, 1 }, { 4, 5 }, { 5, 9 }, { 6, 11 }, { 8, 22 }, { 9, 24 }, { 10, 26 }, + { 11, 34 }, { 12, 36 }, { 13, 37 }, { 14, 38 }, { 15, 40 }, { 16, 42 }, { 17, 46 }, + { 18, 50 }, { 19, 53 }, { 20, 54 }, { 21, 56 }, { 22, 57 }, { 23, 58 }, { 24, 59 }, + { 25, 60 }, { 26, 61 }, { 27, 62 }, { 28, 63 }, { 29, 64 }, { 7, 66 }, { 30, 71 }, + { 31, 73 }, { 32, 77 }, { 33, 78 }, { 34, 79 }, { 35, 80 }, { 36, 82 }, { 37, 86 }, + { 38, 91 }, { 39, 92 }, { 40, 95 }, { 41, 97 }, { 42, 101 }, { 43, 104 }, { 44, 106 }, + { 45, 108 }, { 48, 110 }, { 46, 112 }, { 47, 113 }, { 51, 115 }, { 54, 116 }, { 55, 117 }, + { 56, 118 }, { 57, 119 }, { 58, 120 }, { 59, 121 }, { 60, 122 }, { 61, 123 }, { 62, 124 }, + { 63, 125 }, { 64, 126 }, { 50, 127 }, { 65, 129 }, { 66, 131 }, { 67, 132 }, { 68, 133 }, + { 69, 145 }, }; static const struct msm_pinctrl_soc_data msm8998_pinctrl = { From patchwork Wed Aug 9 19:38:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 712798 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA139C41513 for ; Wed, 9 Aug 2023 19:39:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233932AbjHITjT (ORCPT ); Wed, 9 Aug 2023 15:39:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233920AbjHITjN (ORCPT ); Wed, 9 Aug 2023 15:39:13 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77056115 for ; Wed, 9 Aug 2023 12:39:12 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2b9cbaee7a9so3045141fa.0 for ; Wed, 09 Aug 2023 12:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691609951; x=1692214751; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=VZH5r6HM3EYDwBhEb2o8W4vo+HLiDTKfIHnYWGsrXi4=; b=inSmMhplBZ1gKK1uL2aKws3Bbw8nkUZQlUJdB/uSuwQQYNr1lxbdEZrKNoKzvAhq2Z 2NRh1CXEFfqbbaDv7mUKmLooT8W38a5qYQyulJOkKTSFczymga2bj/4ZrlwioXheY86a aJ5Pq7IWosLBX5086bxErY2Xqv9WvQ6zUWeIWMSpyI8ssogA3EmbyC0WduubSciL0WqN bxqIT0jpNp75D9jovYLXxeodL0b7jajkNih+SGBPrkGJVmbLVM0H+wddYrRFVHAyX6AL MBL8e7UbEhcZ5FTOuQzFEfR5D53pAoENxom+kHQMueGgAN78OP+8MtJn1bz3a/KMzIyn gzGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691609951; x=1692214751; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VZH5r6HM3EYDwBhEb2o8W4vo+HLiDTKfIHnYWGsrXi4=; b=S7wC5aYzs70tZvRI4U2+iJ8DFTvLCQeDeriaGH6MY4tE0LTVFuEO+bwV30gmHoOh2U JRBi8roKpsfvdhZJQKLdg9aJfMpR0ETY/sOLJi97nPd8Irtl8s1ouY2lcvzVVwRRX5Q+ Qj/09CQNlT4jn4CURJp1e/a1T24LEYAWmG7JYBKF7Aw5RydwPv+Ea1HjIxAoOUkXWa9m pVPRZw6Snzpm29+8XQcbfy04ebtAS9KTQvjjofXX0nC3ASgik4RxjT4sh9MXMyHhofxM aeoqHMo+rqernHwcpFXrhD+D/BKm/CoLh7yyd7JXbO1ArQm9DhUGcOvD2ulfyTYusnaW FgYQ== X-Gm-Message-State: AOJu0Yz3qgajK3Ph9yDCSCHdfyEHWqGsYbYa5IT20Yy0x19V1XWiHJis F5mA4SSPBZ70Gfi6L1DrolkbaQ== X-Google-Smtp-Source: AGHT+IHLhFFkfeMBMM8H6CUvPoaxABPouQaKxyUND6YP2qc7RQGC++ACyLpADLZgW9wrq8vz0l2Edw== X-Received: by 2002:a2e:800b:0:b0:2b6:ee99:fffc with SMTP id j11-20020a2e800b000000b002b6ee99fffcmr117312ljg.36.1691609950750; Wed, 09 Aug 2023 12:39:10 -0700 (PDT) Received: from [192.168.1.101] (abxi185.neoplus.adsl.tpnet.pl. [83.9.2.185]) by smtp.gmail.com with ESMTPSA id x6-20020a2e9c86000000b002b9fe77d00dsm2885287lji.93.2023.08.09.12.39.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 12:39:10 -0700 (PDT) From: Konrad Dybcio Date: Wed, 09 Aug 2023 21:38:55 +0200 Subject: [PATCH 2/5] pinctrl: qcom: msm8996: Add MPM pin mappings MIME-Version: 1.0 Message-Id: <20230809-topic-mpm_mappings-v1-2-5e17dd76b3c8@linaro.org> References: <20230809-topic-mpm_mappings-v1-0-5e17dd76b3c8@linaro.org> In-Reply-To: <20230809-topic-mpm_mappings-v1-0-5e17dd76b3c8@linaro.org> To: Andy Gross , Bjorn Andersson , Linus Walleij Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691609947; l=1982; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=eXELqUbYWkn05tL5Nv5++G9RQagHZuWO/8CJtyHMRPg=; b=ioMbfv1KCwupI22zHn4/VvXqRKWdAxpBz8yxkSBgDrywWU87gGBBethwQHMSYv0MZbkn7fRCn RGvqEnbSmANCSBc9Ak83mJBezNJYBHifIocVfYFItIuCHSWieYkke8Y X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add pin <-> wakeirq mappings to allow for waking up the AP from sleep through MPM-connected pins. Signed-off-by: Konrad Dybcio --- drivers/pinctrl/qcom/pinctrl-msm8996.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-msm8996.c b/drivers/pinctrl/qcom/pinctrl-msm8996.c index 46cc0b49dbab..a3f7e8ed9112 100644 --- a/drivers/pinctrl/qcom/pinctrl-msm8996.c +++ b/drivers/pinctrl/qcom/pinctrl-msm8996.c @@ -1880,6 +1880,19 @@ static const struct msm_pingroup msm8996_groups[] = { SDC_QDSD_PINGROUP(sdc1_rclk, 0x12c000, 15, 0), }; +static const struct msm_gpio_wakeirq_map msm8996_mpm_map[] = { + { 3, 1 }, { 4, 5 }, { 5, 9 }, { 6, 11 }, { 7, 66 }, { 8, 22 }, { 9, 24 }, { 10, 26 }, + { 11, 34 }, { 12, 36 }, { 13, 37 }, { 14, 38 }, { 15, 40 }, { 16, 42 }, { 17, 46 }, + { 18, 50 }, { 19, 53 }, { 20, 54 }, { 21, 56 }, { 22, 57 }, { 23, 58 }, { 24, 59 }, + { 25, 60 }, { 26, 61 }, { 27, 62 }, { 28, 63 }, { 29, 64 }, { 30, 71 }, { 31, 73 }, + { 32, 77 }, { 33, 78 }, { 34, 79 }, { 35, 80 }, { 36, 82 }, { 37, 86 }, { 38, 91 }, + { 39, 92 }, { 40, 95 }, { 41, 97 }, { 42, 101 }, { 43, 104 }, { 44, 106 }, { 45, 108 }, + { 46, 112 }, { 47, 113 }, { 48, 110 }, { 50, 127 }, { 51, 115 }, { 54, 116 }, + { 55, 117 }, { 56, 118 }, { 57, 119 }, { 58, 120 }, { 59, 121 }, { 60, 122 }, + { 61, 123 }, { 62, 124 }, { 63, 125 }, { 64, 126 }, { 65, 129 }, { 66, 131 }, + { 67, 132 }, { 68, 133 }, { 69, 145 }, +}; + static const struct msm_pinctrl_soc_data msm8996_pinctrl = { .pins = msm8996_pins, .npins = ARRAY_SIZE(msm8996_pins), @@ -1888,6 +1901,8 @@ static const struct msm_pinctrl_soc_data msm8996_pinctrl = { .groups = msm8996_groups, .ngroups = ARRAY_SIZE(msm8996_groups), .ngpios = 150, + .wakeirq_map = msm8996_mpm_map, + .nwakeirq_map = ARRAY_SIZE(msm8996_mpm_map), }; static int msm8996_pinctrl_probe(struct platform_device *pdev) From patchwork Wed Aug 9 19:38:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 712039 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF7DBC001E0 for ; Wed, 9 Aug 2023 19:39:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233928AbjHITjT (ORCPT ); Wed, 9 Aug 2023 15:39:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233918AbjHITjS (ORCPT ); Wed, 9 Aug 2023 15:39:18 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B036410DA for ; Wed, 9 Aug 2023 12:39:13 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2b9b5ee9c5aso3094121fa.1 for ; Wed, 09 Aug 2023 12:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691609952; x=1692214752; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=4yYYbomUJVYgsT+0D2+rI323JIj5qrFGSdCe33pVIZs=; b=tqnNXFLLqfg0t6tHjegrEctrUV42CI2guavbdlc24Kg1Lu94eGiLVXp5vbUp+lf8RJ gtJnAslFI2VXyKE+/KDGNPXn5ngn9WC7PUlvLlHkmEbNOaEVdsYkxZiXreaPEzOFdgS1 jKe56kNjLHQzN/Nvx+lW0NNUwinIhHH+q8xquYD94jhVWAweDkuAXFHthoW915Qa3UU+ Hn3r+rqgpJ+YezmkXn7SEwW7R4/6CwEPbyKgbRLq0xvf7KT3HTHDc0hob9PhZw4Lu2ik bph6Yu6vmddOLcvEoZyfzZviwyQOIAqUwVDxKf61RSbL4r/BcCol7eAVI6GO51XW0rsg kd2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691609952; x=1692214752; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4yYYbomUJVYgsT+0D2+rI323JIj5qrFGSdCe33pVIZs=; b=T3vTaTvWb67Jnjpyk/LSuk9OKq7bBYHL7++li2MVhSEwxsSdBJ8lDTWNfuStO2UKaq Zh9YSQ7XTdvzcRJVJqFujog+F4q7OS7N7DJKRnMiNpdHItTOM/+zC5VgcwGBjDVPfCng L0B8ZSttX7G+h60jHgBtUxqu6A5xpssn+kkfWEUDTJYqWVhgKDqxMi7FKeukOD9UyQQI RJ60CfecciwTMEsm0HtCrKf581Fefa08YzXf2+VE2hy5//uG+5YY8ozCvPevwJvFJzru MmPHaYc5WDjRzy2vgzI51/ME7prPPyrbrKZjZ8Qgzs0md6OXHXcLA6kFUH6FU6N4A3Fx WSEw== X-Gm-Message-State: AOJu0YzZdB/cCLfUvlgHktuswe3S1dmM7fXuisKCJSJB7MBl0P6UWFNO YMCOkMjsua2AQov5reOd0vjmVw== X-Google-Smtp-Source: AGHT+IHUl1v+fAW73b46poe0EsZeZKCAgbz1VooItCQHjAXRVgpu5we0yITth6++5WZknc0WXmfY8w== X-Received: by 2002:a2e:8057:0:b0:2b6:efa0:7c36 with SMTP id p23-20020a2e8057000000b002b6efa07c36mr120940ljg.21.1691609952056; Wed, 09 Aug 2023 12:39:12 -0700 (PDT) Received: from [192.168.1.101] (abxi185.neoplus.adsl.tpnet.pl. [83.9.2.185]) by smtp.gmail.com with ESMTPSA id x6-20020a2e9c86000000b002b9fe77d00dsm2885287lji.93.2023.08.09.12.39.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 12:39:11 -0700 (PDT) From: Konrad Dybcio Date: Wed, 09 Aug 2023 21:38:56 +0200 Subject: [PATCH 3/5] pinctrl: qcom: sm6115: Add MPM pin mappings MIME-Version: 1.0 Message-Id: <20230809-topic-mpm_mappings-v1-3-5e17dd76b3c8@linaro.org> References: <20230809-topic-mpm_mappings-v1-0-5e17dd76b3c8@linaro.org> In-Reply-To: <20230809-topic-mpm_mappings-v1-0-5e17dd76b3c8@linaro.org> To: Andy Gross , Bjorn Andersson , Linus Walleij Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691609947; l=1748; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=T9v/mfuQb1OwiuFmWNxxzc2HXqjuVkV8vrJqKXZTL10=; b=gR9SWreVvqNicNvyIa61OzGWUuYDZRtlOOTQBHFGGKy6KmJn32HLSCWEsfHjrB/HvNLv6yE4S zaXUPOwt+4wCIxSkEzzd/HfqJHUBJy8qKOcaP80qsIRfXhgiEIttYUQ X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add pin <-> wakeirq mappings to allow for waking up the AP from sleep through MPM-connected pins. Signed-off-by: Konrad Dybcio --- drivers/pinctrl/qcom/pinctrl-sm6115.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-sm6115.c b/drivers/pinctrl/qcom/pinctrl-sm6115.c index 2a06025f4885..4e91c75ad952 100644 --- a/drivers/pinctrl/qcom/pinctrl-sm6115.c +++ b/drivers/pinctrl/qcom/pinctrl-sm6115.c @@ -867,6 +867,16 @@ static const struct msm_pingroup sm6115_groups[] = { [120] = SDC_QDSD_PINGROUP(sdc2_data, SOUTH, 0x73000, 9, 0), }; +static const struct msm_gpio_wakeirq_map sm6115_mpm_map[] = { + { 0, 84 }, { 3, 75 }, { 4, 16 }, { 6, 59 }, { 8, 63 }, { 11, 17 }, { 13, 18 }, + { 14, 51 }, { 17, 20 }, { 18, 52 }, { 19, 53 }, { 24, 6 }, { 25, 71 }, { 27, 73 }, + { 28, 41 }, { 31, 27 }, { 32, 54 }, { 33, 55 }, { 34, 56 }, { 35, 57 }, { 36, 58 }, + { 39, 28 }, { 46, 29 }, { 62, 60 }, { 63, 61 }, { 64, 62 }, { 65, 30 }, { 66, 31 }, + { 67, 32 }, { 69, 33 }, { 70, 34 }, { 72, 72 }, { 75, 35 }, { 79, 36 }, { 80, 21 }, + { 81, 38 }, { 83, 9 }, { 84, 39 }, { 85, 40 }, { 86, 19 }, { 87, 42 }, { 88, 43 }, + { 89, 45 }, { 91, 74 }, { 93, 46 }, { 94, 47 }, { 95, 48 }, { 96, 49 }, { 97, 50 }, +}; + static const struct msm_pinctrl_soc_data sm6115_tlmm = { .pins = sm6115_pins, .npins = ARRAY_SIZE(sm6115_pins), @@ -877,6 +887,8 @@ static const struct msm_pinctrl_soc_data sm6115_tlmm = { .ngpios = 114, .tiles = sm6115_tiles, .ntiles = ARRAY_SIZE(sm6115_tiles), + .wakeirq_map = sm6115_mpm_map, + .nwakeirq_map = ARRAY_SIZE(sm6115_mpm_map), }; static int sm6115_tlmm_probe(struct platform_device *pdev) From patchwork Wed Aug 9 19:38:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 712797 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11909C04A94 for ; Wed, 9 Aug 2023 19:39:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234065AbjHITjU (ORCPT ); Wed, 9 Aug 2023 15:39:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233987AbjHITjS (ORCPT ); Wed, 9 Aug 2023 15:39:18 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED8F41BFB for ; Wed, 9 Aug 2023 12:39:14 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2b9a828c920so2861861fa.1 for ; Wed, 09 Aug 2023 12:39:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691609953; x=1692214753; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=scHhpJUMzh48LPTYd+vtq/rRvZwD6bIb5v4LTSQLFkQ=; b=tsbL6KN45SrtH2mGdzr+Zt/Heo9gCqN1luo5IfDxltewLZb4je6A3xZBiF70XwEWIB 5/kkAQ3lD++wgVYBMjIsjkbWiau3wnCaukyNgyI93YoEb5OJkX3muVyzabPqJMIBl+nl ub3zt+OuDoqZ75qMLvyiwmK0QAvoEDJfzh0Q1xPNlk7/W0ZbGTguua5IJPqu9oLDZbOM DUXP7LwxjxFmrq3foWNENFYd9XlOsQ8hA6Y6Y+WXWW+bWmwY9H4WGpf9oIU+7/FVdwX6 peVLhBGmy9MnaWV00tMbD2qIUg8hYLJUElPakv161O1YWsKLikJIydpNOCTq4BRS3Iu6 id8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691609953; x=1692214753; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=scHhpJUMzh48LPTYd+vtq/rRvZwD6bIb5v4LTSQLFkQ=; b=hcuTdNcGWW7BNisHWb3ufCyaLct2wXft81IINvkBUBsRoxyiD8d9JJuAaDYw4m2dNz ETOhLKnmIHSBmyGhg3yhVVphwdeIN/DTKglos8pkaJgQxIiIR19io72GinPTsZkzO5KA ozCaLayAWzYHbav93/n+C7ySKGZeoAYfLs8r2iFKWNm+VifQrwfXu+kchql46sfeDmWH oNcQV+xtXwr5mMHl7y8dkhEdyug5ZtrO8NKFCU6HYvXPwG4RcyKeonLT8XMVRD2csWrD rkqsv7XNsudNvkNP/K8dNbCsi7NBJpDvbwr3jLn8DIk6UEDn2Hr0TetzkHVTU5aK225G QnjA== X-Gm-Message-State: AOJu0YypJxa3KDfKvI4aQ8g2Vg2kyq5CjeTA9H9o7cnp8twVbtMNQzsR YTBgpVouVj6gp1n9Cic+kuKwKA== X-Google-Smtp-Source: AGHT+IHurHBiaH7/Vjd3iZA3MCs1rWy2hTZdWA/koce8qrDiOUiwcxFFlbt1TB4xVuc1GAKw6FUt0Q== X-Received: by 2002:a2e:3109:0:b0:2b6:ef2b:da5e with SMTP id x9-20020a2e3109000000b002b6ef2bda5emr110152ljx.49.1691609953018; Wed, 09 Aug 2023 12:39:13 -0700 (PDT) Received: from [192.168.1.101] (abxi185.neoplus.adsl.tpnet.pl. [83.9.2.185]) by smtp.gmail.com with ESMTPSA id x6-20020a2e9c86000000b002b9fe77d00dsm2885287lji.93.2023.08.09.12.39.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 12:39:12 -0700 (PDT) From: Konrad Dybcio Date: Wed, 09 Aug 2023 21:38:57 +0200 Subject: [PATCH 4/5] pinctrl: qcom: sm6125: Add MPM pin mappings MIME-Version: 1.0 Message-Id: <20230809-topic-mpm_mappings-v1-4-5e17dd76b3c8@linaro.org> References: <20230809-topic-mpm_mappings-v1-0-5e17dd76b3c8@linaro.org> In-Reply-To: <20230809-topic-mpm_mappings-v1-0-5e17dd76b3c8@linaro.org> To: Andy Gross , Bjorn Andersson , Linus Walleij Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691609947; l=1945; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=mi6tyaaFaIGRYVB8wfaRQeWL03aQpxrSwoKIZ8Ywe4k=; b=mQplNLrfdABOmb0kAk8NkBnDyjp6NS61Zp5QhFo49xa/giZvIaw/v49QXdunxFribHHeXcUiL 6MILr9GgvUHD8e6Q/vpIbFqr/HUEb4NTEVHBJdUgfkrlV3gVEXNd2E3 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add pin <-> wakeirq mappings to allow for waking up the AP from sleep through MPM-connected pins. Signed-off-by: Konrad Dybcio --- drivers/pinctrl/qcom/pinctrl-sm6125.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-sm6125.c b/drivers/pinctrl/qcom/pinctrl-sm6125.c index d5e2b896954c..ea377f025d60 100644 --- a/drivers/pinctrl/qcom/pinctrl-sm6125.c +++ b/drivers/pinctrl/qcom/pinctrl-sm6125.c @@ -1221,6 +1221,18 @@ static const struct msm_pingroup sm6125_groups[] = { [140] = SDC_QDSD_PINGROUP(sdc2_data, SOUTH, 0x58b000, 9, 0), }; +static const struct msm_gpio_wakeirq_map sm6125_mpm_map[] = { + { 5, 43 }, { 6, 45 }, { 7, 59 }, { 8, 72 }, { 9, 83 }, { 13, 124 }, { 14, 1 }, { 15, 3 }, + { 16, 4 }, { 17, 9 }, { 18, 13 }, { 19, 15 }, { 20, 17 }, { 21, 19 }, { 22, 21 }, + { 23, 14 }, { 24, 25 }, { 25, 26 }, { 26, 27 }, { 27, 29 }, { 28, 33 }, { 29, 36 }, + { 30, 42 }, { 31, 44 }, { 32, 47 }, { 33, 50 }, { 34, 70 }, { 35, 75 }, { 36, 79 }, + { 37, 80 }, { 38, 81 }, { 39, 82 }, { 40, 85 }, { 41, 86 }, { 42, 88 }, { 43, 89 }, + { 44, 91 }, { 45, 92 }, { 46, 93 }, { 47, 94 }, { 48, 95 }, { 49, 96 }, { 50, 98 }, + { 51, 99 }, { 52, 101 }, { 53, 102 }, { 54, 105 }, { 55, 107 }, { 56, 110 }, { 57, 111 }, + { 58, 112 }, { 59, 118 }, { 60, 122 }, { 61, 123 }, { 62, 126 }, { 63, 128 }, { 64, 100 }, + { 65, 130 }, { 66, 131 }, { 67, 132 }, { 70, 97 }, { 71, 120 }, { 84, 22 }, +}; + static const struct msm_pinctrl_soc_data sm6125_tlmm = { .pins = sm6125_pins, .npins = ARRAY_SIZE(sm6125_pins), @@ -1231,6 +1243,8 @@ static const struct msm_pinctrl_soc_data sm6125_tlmm = { .ngpios = 134, .tiles = sm6125_tiles, .ntiles = ARRAY_SIZE(sm6125_tiles), + .wakeirq_map = sm6125_mpm_map, + .nwakeirq_map = ARRAY_SIZE(sm6125_mpm_map), }; static int sm6125_tlmm_probe(struct platform_device *pdev) From patchwork Wed Aug 9 19:38:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 712038 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B999C0015E for ; Wed, 9 Aug 2023 19:39:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233955AbjHITjW (ORCPT ); Wed, 9 Aug 2023 15:39:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233933AbjHITjS (ORCPT ); Wed, 9 Aug 2023 15:39:18 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A8092122 for ; Wed, 9 Aug 2023 12:39:15 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-4fe3678010eso155867e87.3 for ; Wed, 09 Aug 2023 12:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691609954; x=1692214754; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=FaJD50ZdNlLd8aAV2rJ5UObu1uOPthET0/BzYuBazXo=; b=IWEFDVYUNwwuG8brMaU6ojkleuncxUL14b8nv5klpLv0aLDUrWPtlSnVIYDSJgiUyP Y7MkRNePGKQwpxzdknXNDCYic6inj9kTR0jjd198/VYCl1Da9nuNIoB6ikRC3FiFGSCP mwfLMKBENi2vCXVKIaVlgAWsV58rcHm0cLGXC6mOOas9Pi+ZUYK9/GuSepaF0QrW1hpu joTNjdCUUc51wBiAR8MGiW6Xu3gBSkMo5syZRqQ8JRZ76mh7eIAutbAjpCGZbDN/ckXe mSAbuCkUoynSIi8BObS2duNI97T+Iz2r/QPQq138839rsynRl/OC6Hja5Gos9v89xbUQ yGQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691609954; x=1692214754; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FaJD50ZdNlLd8aAV2rJ5UObu1uOPthET0/BzYuBazXo=; b=Re0PtT6juewbXilW8b/edUEUmMfxmTIqObQOgYzYg/YhhWZeSrtUVJEbsy9jZTQcFE brqGUV5BVH5nH9lOoNoII3vZarCd8MrDrNMsJB/4cem6kwz7sOwH0/ma2wTN9ZRvdgu8 hdJyrdZXDrF807KidgZhp1FfP14gBQYbFpkHlKeP5SH8HtDhFxrBIOQO2ThWGxxMU28X Ffve2NSIAuNG7LpQuqHpxR2VPlYM67VE2PDf0IlPkD9VpJddiagSRAoY5fn723e7tke7 qeNSlE2TblImgNo/6gjrJZlXL6JfuY52wfWTgUu1E0YJWQ3FENQtHTMLFP2mSMXdNkgJ lO8w== X-Gm-Message-State: AOJu0YyU7FDTDhMge+H7oIOh9IzfdtG261nVnkHAVF7EpLk1SNYKaEos 4viaqobI5t8H9kHLZg5A4+fvQw== X-Google-Smtp-Source: AGHT+IH7AYhh/E2c+MwwbcvZIt5F8XEM6PaMiAiu8eHXkX1uA8IjiH3IUk6l8jMoCslLrqk7cDsLcQ== X-Received: by 2002:a2e:9997:0:b0:2b6:e283:32cb with SMTP id w23-20020a2e9997000000b002b6e28332cbmr151913lji.23.1691609953946; Wed, 09 Aug 2023 12:39:13 -0700 (PDT) Received: from [192.168.1.101] (abxi185.neoplus.adsl.tpnet.pl. [83.9.2.185]) by smtp.gmail.com with ESMTPSA id x6-20020a2e9c86000000b002b9fe77d00dsm2885287lji.93.2023.08.09.12.39.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 12:39:13 -0700 (PDT) From: Konrad Dybcio Date: Wed, 09 Aug 2023 21:38:58 +0200 Subject: [PATCH 5/5] pinctrl: qcom: sdm660: Add MPM pin mappings MIME-Version: 1.0 Message-Id: <20230809-topic-mpm_mappings-v1-5-5e17dd76b3c8@linaro.org> References: <20230809-topic-mpm_mappings-v1-0-5e17dd76b3c8@linaro.org> In-Reply-To: <20230809-topic-mpm_mappings-v1-0-5e17dd76b3c8@linaro.org> To: Andy Gross , Bjorn Andersson , Linus Walleij Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691609947; l=1937; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=0NrXmn7119mRGGGI3miqjrwIUUJ2pi2cRUPmNiZdlUk=; b=0m63GWmp2DcB0guuYRK14UZ6i2eeIvWiqemEA5UR5ObDtsNrUDFXirayo4EwRo+nZXWzFrlUV D1HumSCL5CgDapRA5NHEpxTgXllT7b+Y+e3TOCZzJHWWB4gM8csFhWA X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add pin <-> wakeirq mappings to allow for waking up the AP from sleep through MPM-connected pins. Signed-off-by: Konrad Dybcio --- drivers/pinctrl/qcom/pinctrl-sdm660.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-sdm660.c b/drivers/pinctrl/qcom/pinctrl-sdm660.c index c2e0d5c034ac..5deabe8ca581 100644 --- a/drivers/pinctrl/qcom/pinctrl-sdm660.c +++ b/drivers/pinctrl/qcom/pinctrl-sdm660.c @@ -1399,6 +1399,18 @@ static const struct msm_pingroup sdm660_groups[] = { SDC_QDSD_PINGROUP(sdc1_rclk, 0x9a000, 15, 0), }; +static const struct msm_gpio_wakeirq_map sdm660_mpm_map[] = { + { 3, 1 }, { 4, 5 }, { 5, 9 }, { 6, 10 }, { 7, 66 }, { 8, 22 }, { 9, 25 }, { 10, 28 }, + { 11, 58 }, { 13, 41 }, { 14, 43 }, { 15, 40 }, { 16, 42 }, { 17, 46 }, { 18, 50 }, + { 19, 44 }, { 21, 56 }, { 22, 45 }, { 23, 68 }, { 24, 69 }, { 25, 70 }, { 26, 71 }, + { 27, 72 }, { 28, 73 }, { 29, 64 }, { 30, 2 }, { 31, 13 }, { 32, 111 }, { 33, 74 }, + { 34, 75 }, { 35, 76 }, { 36, 82 }, { 37, 17 }, { 38, 77 }, { 39, 47 }, { 40, 54 }, + { 41, 48 }, { 42, 101 }, { 43, 49 }, { 44, 51 }, { 45, 86 }, { 46, 90 }, { 47, 91 }, + { 48, 52 }, { 50, 55 }, { 51, 6 }, { 53, 65 }, { 55, 67 }, { 56, 83 }, { 57, 84 }, + { 58, 85 }, { 59, 87 }, { 63, 21 }, { 64, 78 }, { 65, 113 }, { 66, 60 }, { 67, 98 }, + { 68, 30 }, { 70, 31 }, { 71, 29 }, { 76, 107 }, { 83, 109 }, { 84, 103 }, { 85, 105 }, +}; + static const struct msm_pinctrl_soc_data sdm660_pinctrl = { .pins = sdm660_pins, .npins = ARRAY_SIZE(sdm660_pins), @@ -1409,6 +1421,8 @@ static const struct msm_pinctrl_soc_data sdm660_pinctrl = { .ngpios = 114, .tiles = sdm660_tiles, .ntiles = ARRAY_SIZE(sdm660_tiles), + .wakeirq_map = sdm660_mpm_map, + .nwakeirq_map = ARRAY_SIZE(sdm660_mpm_map), }; static int sdm660_pinctrl_probe(struct platform_device *pdev)