Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp585445imm; Wed, 1 Aug 2018 01:43:20 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdclIdz+37JY+9mNxCMhqk/7uWroJlrta314/Rgq57xiJFxCUJ+sbw8wY2uVhqnKGtjuC99 X-Received: by 2002:a65:64cf:: with SMTP id t15-v6mr23389228pgv.79.1533113000649; Wed, 01 Aug 2018 01:43:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533113000; cv=none; d=google.com; s=arc-20160816; b=Oen33T1ermRmkfZvY+Gf1ETGNnbkXi3OoaI7+yZUCk9yr574XUQu80tvCPEqPNrhtm L18lMmu1nNq2N4nqNSw1gfk+LgBe0aTituim/aqMrgNWNdO70VcqkR/cWvx7bWtdSSvk VKHfniV0kM/gvcK9og6SPxy9D/veWjOniS4YghROzjfvBMA/vcBJK/jyottBunj4XHIr OVcKBOVsiYrVGNFThXhal4UXWK1hs30ga/xNiT003g5NKP+D7cLVmPkvYG+hUowtMckP nd1aEsOsItNluGn8p3L8XXJcJVtizlKGatfsfoT1F7cyzhyOwwgdACD0NLlPZTkSCGt7 qDvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:organization:user-agent :references:in-reply-to:subject:cc:to:from:message-id:date :arc-authentication-results; bh=LczL0kzbmydDKe6N360TDJX20jyrmSkuJ4gJY5RU7fg=; b=F8xhC27n04YF9vL+zMJNHEm1vyaTeZuGC7lsyJi+2hi0Tj2Dtm8/FcsJQZwMhQtVT6 U8gfxWnsqgOsZicajIYbGdChBQtElkMxS5CvfE6owK8865Ywq97fyd+VvQDzjrKQIyom CePO2z4O0nYeWLgltW8V1WZL0UkkrRkArdNPCEpFWOBILpr6YO8K/FtYfXpnhPcoeW7M p5tQ6YTKdSiQt+Yo6b+Fd5UUfzNgHIZ4Zd0biav9VoQkN4pus7Ar5b4qKhq51viyGygI 48Y3Z193NwTQcerS+0RfM5awDG34YULtln0nqs9HOsDnDUv3p0LaPsX98uynAYqP9dc4 FqUA== ARC-Authentication-Results: i=1; mx.google.com; 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 k80-v6si16807428pfg.42.2018.08.01.01.43.05; Wed, 01 Aug 2018 01:43:20 -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; 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 S2388686AbeHAK04 (ORCPT + 99 others); Wed, 1 Aug 2018 06:26:56 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:37398 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387788AbeHAK04 (ORCPT ); Wed, 1 Aug 2018 06:26:56 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AD188ED1; Wed, 1 Aug 2018 01:42:18 -0700 (PDT) Received: from big-swifty.misterjones.org (big-swifty.copenhagen.arm.com [10.32.148.139]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E36F63F5B3; Wed, 1 Aug 2018 01:42:12 -0700 (PDT) Date: Wed, 01 Aug 2018 09:42:04 +0100 Message-ID: <8636vyxyub.wl-marc.zyngier@arm.com> From: Marc Zyngier To: Lina Iyer Cc: swboyd@chromium.org, evgreen@chromium.org, linus.walleij@linaro.org, bjorn.andersson@linaro.org, rplsssn@codeaurora.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, rnayak@codeaurora.org, devicetree@vger.kernel.org Subject: Re: [PATCH RESEND RFC 2/4] drivers: pinctrl: qcom: add wakeup gpio map for sdm845 In-Reply-To: <20180801020021.9782-3-ilina@codeaurora.org> References: <20180801020021.9782-1-ilina@codeaurora.org> <20180801020021.9782-3-ilina@codeaurora.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) Organization: ARM Ltd MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 01 Aug 2018 03:00:19 +0100, Lina Iyer wrote: > > 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[] = { [huge array] > +}; Why isn't that array part of the DT? I'd expect other SoCs to eventually use a similar mechanism, no? M. -- Jazz is not dead, it just smell funny.