Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1372554imu; Tue, 20 Nov 2018 16:50:10 -0800 (PST) X-Google-Smtp-Source: AFSGD/XWRoj18VcizQQ4L0AfIlkVXFEyerkbu7EVcDwLAavX9N5MT4o6ioJZ27z0+yIlnDLUKktu X-Received: by 2002:a17:902:6a4:: with SMTP id 33-v6mr4669601plh.268.1542761410090; Tue, 20 Nov 2018 16:50:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542761410; cv=none; d=google.com; s=arc-20160816; b=QPlGhUK1HmrGAS9dMSjcGQNzE+xPMPs5gnzbu2/FdXUNwsGyqkO1zS9xQwUB05e3Wb //EFzLN/m0E9EZppUGE9AK6y2MNl8+QXEtuAim21eGxOMFVqGV0+YrdpacfDJ8d5I++9 NUGYoSZ8quJA5RiXc/GmI8mG2dn+vpG4Cagdz/XPXNQpr+gHtaNW9WsV08rc6Sp5ggtl fLOOj2X4CPMe2C0b5ftTumTA/sCWvFAtWPoZtcqM13qPrf3ykZ4Uf+pm5/pFu8x1GXMk TWrc1kgIDOhuDkZip6Ps/zM/ySvPjDaIYyjcbgk+LVb38E1T5KqeA4Hp09daDV1wpskg GJNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dmarc-filter:dkim-signature :dkim-signature; bh=y3mmNmE9wpoqdAR6ME2s18m3cNz5OUyGWYlYaS1wk8I=; b=bU8vqAdieZVIpWsJgFSQW9TiLy8DOUPSn5lJhFfLBVQIT2/iOqywVIdBzXhwZWtPlX 4Nh/tNAKmE3VHsBesgWJTb8z8MfgfrfdYrJ/wZkwdpsF/fI42XhPf9RKNHO5IaJhNNZa FsqEvFPxaipOi3Jq3T2ITUuc3Xy+3Lzj1x/Y3u/vAyJxmhmaqo+8KzgNj1j12x0JyKXH nLGoQmxSBo9nWF2YzUc654076gTZoeyL6r2d8Lpuc04RW8dokCIXUJYyLXhBLxgibXrm R4ZVHikN68y+dHDWtiN/a/ENwoQ/qKWPQMqbahPUj2D0OQKtMRMogRygpcyfWc4Dkb+I FiCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="C+XsB/9a"; dkim=pass header.i=@codeaurora.org header.s=default header.b=TohyuiMx; 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 o1-v6si43837330pll.325.2018.11.20.16.49.55; Tue, 20 Nov 2018 16:50:10 -0800 (PST) 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="C+XsB/9a"; dkim=pass header.i=@codeaurora.org header.s=default header.b=TohyuiMx; 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 S1726967AbeKUKjM (ORCPT + 99 others); Wed, 21 Nov 2018 05:39:12 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:48064 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726594AbeKUKjL (ORCPT ); Wed, 21 Nov 2018 05:39:11 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 25552607DC; Wed, 21 Nov 2018 00:07:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1542758841; bh=ymWRLdxhtGffimJs0ImqbZeoiQqqToKmXnV5nJowi8U=; h=From:To:Cc:Subject:Date:From; b=C+XsB/9a+AQ4j44cE0vv9xHKLZ08Vl3r/jynNbvVvBxCu/tgGtqFrWwSWldRj6liY JdexFzZoTdR41HPlqZ7z6nzYUOX3yI6gBoHMPCaYnWRhuJ5+TPeKdnVGFcj+GkeC1z fT0gIzxAtfyeaPaO5/h4AOQaLfsBKoDiz8sf9MPc= 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.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED 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 B62AA6071B; Wed, 21 Nov 2018 00:07:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1542758840; bh=ymWRLdxhtGffimJs0ImqbZeoiQqqToKmXnV5nJowi8U=; h=From:To:Cc:Subject:Date:From; b=TohyuiMxns3IX+E4zXPd6Mk4DGblcalw/6Tk62SES1oCLEiAC6avSrvcVVLnNazF3 bWVsgfKJ1wk90bGxOkdkybxHvhgs1Ic8cce0cmir+I6E+Det2WmnjivQlgr+HATuep jICdrVOdckV5ej0Ih79Ncqq5Muh3EJuOF/qVUyfc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B62AA6071B 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: sboyd@kernel.org, evgreen@chromium.org, marc.zyngier@arm.com Cc: linux-kernel@vger.kernel.org, rplsssn@codeaurora.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, thierry.reding@gmail.com, Lina Iyer Subject: [RFC v3 0/3] qcom: GPIO IRQ wakeup using PDC irqchip Date: Tue, 20 Nov 2018 17:06:45 -0700 Message-Id: <20181121000648.29262-1-ilina@codeaurora.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is an attempt at using GPIO as wake up sources. Based on discussions with Stephen and Marc [1], the idea that is used here is to make PDC interrupt controller the parent of TLMM irqchip. Wakeup capable GPIO IRQs have corresponding parent interrupt in PDC and therefore the GIC. The TLMM irqchip has a summary line into the GIC for all regular non-wakeup interrupt. This idea uses Thierry's hierarchical GPIO [2] and is dependent on [3]. Also PDC device bindings published in [4] is needed. Kindly review the series. Thanks, Lina [1]. https://lore.kernel.org/patchwork/patch/998238/ [2]. https://lkml.org/lkml/2018/9/21/471 [3]. https://lkml.org/lkml/2018/9/21/474 [4]. https://lore.kernel.org/patchwork/patch/1008046/ Lina Iyer (3): drivers: pinctrl: msm: setup gpio irqchip in hierarchy with pdc irqchip dt-bindings: sdm845-pinctrl: add wakeup interrupt parent for GPIO arm64: dts: msm: add PDC wake irq maps for GPIOs for SDM845 .../bindings/pinctrl/qcom,sdm845-pinctrl.txt | 31 ++++- arch/arm64/boot/dts/qcom/sdm845.dtsi | 18 +++ drivers/pinctrl/qcom/pinctrl-msm.c | 125 +++++++++++++++++- 3 files changed, 169 insertions(+), 5 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project