Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp155810imm; Tue, 31 Jul 2018 15:46:49 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcjrCIV7BG2Y6h+vaGiuzzGmm9MgXz9hWWilPFX06BtPCBl3JDjWxY1nPs0DsULeUYDsBe7 X-Received: by 2002:a63:1c5f:: with SMTP id c31-v6mr22446426pgm.321.1533077209586; Tue, 31 Jul 2018 15:46:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533077209; cv=none; d=google.com; s=arc-20160816; b=xqBKT3cgrSMD0eZGnmifuo06jTs/j18A1bbEpAgWInMeOMGve8osQakXHz4J5U93NT jMeQUcKnC9qUMuRp3tlXFDOC5n8Rm/g0PNZxXz3LGpDrJg0aaEmS3jwfJaxsdybO66HJ MuzzhXDaXA4T5u1w7/W78UNAXculZUy6Terd3B99ObSUubc6Y1NRAO2M4dPxF8G0AYBO eSiKhyiAaAIZzqRZ8mtKumTvHuQ42fn+phGv1GbVvm1Y0RiJn6co9y6xaVCh81OrliLF lBSxmBw7yZakw+8AaAyeDYZnkXs4pcC2HZA5KyWO+wqs/R5JCF4iiTAvRAj/75nxJDGT pt3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=0kpUd+TW0GH/Dw2Yr/A3YQ3dEv9AO7dhkQX1nF+LA2E=; b=YU0YZOMfrOG/XGXGdTreGV5IjfcwQzUOAVcInFEmqyqwIY/jOrXROohM3zHb/mCYpn vNPItEoT8urRWf/llRo2hTnVpyNdwV5xejnIF7PH3wdoooOltqXkj9JxtDAdbv3oKDXn eaGAxYgF74uOuAhLBdbBH8GpJr5nvt8EFqcOoDVKbKKx1iP4iDfcKm3MfhcE1654tOHf gYp+5ZUbADjEINX8PK/S+3USbTQylMg2poFmGHufjjSLZITR3kdi51xvSL9R0BBIAdRO KBNtbou8krzEdygaKsp9XqNXoSyQkdyCRti9JLjRAJcCMjTAQe9xRRVwQw7frdUVOzv3 oEmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=I8tUIYUJ; dkim=pass header.i=@codeaurora.org header.s=default header.b=jErrDCgC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n64-v6si15284577pgn.247.2018.07.31.15.46.31; Tue, 31 Jul 2018 15:46:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=I8tUIYUJ; dkim=pass header.i=@codeaurora.org header.s=default header.b=jErrDCgC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732757AbeHAA1S (ORCPT + 99 others); Tue, 31 Jul 2018 20:27:18 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:35980 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732695AbeHAA1R (ORCPT ); Tue, 31 Jul 2018 20:27:17 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 2549760AD9; Tue, 31 Jul 2018 22:44:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1533077085; bh=8eAHQ1vLx6Z/tpcxc68++JtizbhnvsGaa4M4kyZn/V8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I8tUIYUJAcXLLPPRrFrBVuK+VpDXq8mkOp3Fb0LW6HnhlbbiCUC0BdBRl61R95lj6 WuwXbUE6QmnFktHjAT1KoMm7tOcSjLQLHqyvO8ZPN9sQzS1fyyt19U6/jzbt5ao0bF 80tkJ8T9Oue0VtgX94XsxUIOKjXr/bIXCKr4H1QI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from codeaurora.org (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ilina@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id E44D9606AC; Tue, 31 Jul 2018 22:44:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1533077084; bh=8eAHQ1vLx6Z/tpcxc68++JtizbhnvsGaa4M4kyZn/V8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jErrDCgCXdyQNWfxEHfyb9pSv9s03z4UThuPkd+0X9oGaAjwgcxrpifuM74ZKoHZ7 DZHKChXfo3JXKJCRomvVo/68II1PQZRj9pS0v6wcLUHIUhlpBiDa3u7ffPCxKdoO9p gHydDCH+NGSp7yqqPwZ3QMHEszTWqJsro+0dGS2A= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E44D9606AC Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=ilina@codeaurora.org From: Lina Iyer To: marc.zyngier@arm.com, sboyd@chromium.org, evgreen@chromium.org, linus.walleij@linaro.org, bjorn.andersson@linaro.org Cc: rplsssn@codeaurora.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, rnayak@codeaurora.org, devicetree@vger.kernel.org, Lina Iyer Subject: [PATCH RFC 2/4] drivers: pinctrl: qcom: add wakeup gpio map for sdm845 Date: Tue, 31 Jul 2018 16:44:19 -0600 Message-Id: <20180731224421.29062-3-ilina@codeaurora.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180731224421.29062-1-ilina@codeaurora.org> References: <20180731224421.29062-1-ilina@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add GPIO to PDC pin map for the SDM845 SoC. Signed-off-by: Lina Iyer --- drivers/pinctrl/qcom/pinctrl-sdm845.c | 76 +++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-sdm845.c b/drivers/pinctrl/qcom/pinctrl-sdm845.c index 2ab7a8885757..e93660922dc2 100644 --- a/drivers/pinctrl/qcom/pinctrl-sdm845.c +++ b/drivers/pinctrl/qcom/pinctrl-sdm845.c @@ -1277,6 +1277,80 @@ static const struct msm_pingroup sdm845_groups[] = { UFS_RESET(ufs_reset, 0x99f000), }; +static struct msm_pinctrl_pdc_map sdm845_wakeup_gpios[] = { + {1, 30}, + {3, 31}, + {5, 32}, + {10, 33}, + {11, 34}, + {20, 35}, + {22, 36}, + {24, 37}, + {26, 38}, + {30, 39}, + {32, 41}, + {34, 42}, + {36, 43}, + {37, 44}, + {38, 45}, + {39, 46}, + {40, 47}, + {43, 49}, + {44, 50}, + {46, 51}, + {48, 52}, + {52, 54}, + {53, 55}, + {54, 56}, + {56, 57}, + {57, 58}, + {58, 59}, + {59, 60}, + {60, 61}, + {61, 62}, + {62, 63}, + {63, 64}, + {64, 65}, + {66, 66}, + {68, 67}, + {71, 68}, + {73, 69}, + {77, 70}, + {78, 71}, + {79, 72}, + {80, 73}, + {84, 74}, + {85, 75}, + {86, 76}, + {88, 77}, + {91, 79}, + {92, 80}, + {95, 81}, + {96, 82}, + {97, 83}, + {101, 84}, + {103, 85}, + {104, 86}, + {115, 90}, + {116, 91}, + {117, 92}, + {118, 93}, + {119, 94}, + {120, 95}, + {121, 96}, + {122, 97}, + {123, 98}, + {124, 99}, + {125, 100}, + {127, 102}, + {128, 103}, + {129, 104}, + {130, 105}, + {132, 106}, + {133, 107}, + {145, 108}, +}; + static const struct msm_pinctrl_soc_data sdm845_pinctrl = { .pins = sdm845_pins, .npins = ARRAY_SIZE(sdm845_pins), @@ -1285,6 +1359,8 @@ static const struct msm_pinctrl_soc_data sdm845_pinctrl = { .groups = sdm845_groups, .ngroups = ARRAY_SIZE(sdm845_groups), .ngpios = 150, + .pdc_map = sdm845_wakeup_gpios, + .npdc_pins = ARRAY_SIZE(sdm845_wakeup_gpios), }; static int sdm845_pinctrl_probe(struct platform_device *pdev) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project