Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1337517ybe; Fri, 13 Sep 2019 15:02:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/ZYCZPjH0Qi8VBpUaAyw31ENXT6G84TGs96JtPDscRYzz4/ypGOcvmNKP5ZvSkNWo4zCl X-Received: by 2002:a50:ec94:: with SMTP id e20mr49614188edr.231.1568412176606; Fri, 13 Sep 2019 15:02:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568412176; cv=none; d=google.com; s=arc-20160816; b=l8xZs4QJwQqOHtQGUwY+dI7CYvHew357Wts49i+8fHfyTjMRl8cw697g2UX97OIzBO RdAWNwMLPf51Ba4d4Nj05Eo1Sb3dqh0OjALlgqxnY48hmssFRsJg2MGR4T0csgu6CAkP UO02a9UCtjfKDhk00uozlVTufB/rgjA1TkFYIsGQP+ADI3JvCsCaBboppEgO3aOgc3b1 uDRvTEM9UE+qKaOQ7HYG5gGnArobzzj/2aHL/uAstPcTCVYRHU1BNVmLckipHPYodH07 NX3d38gjrbQmtBMugHCFuB9wbnUMQa7nzMdWj7hUv2K0Dy5saVVYn1Tkb9ztpnOTS4Hw JpyQ== 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; bh=go0NUlEuXamoh5t5yeX2t4e0KIT6NC9wAO78G2+6JN8=; b=HHPOh+/QCXKGKf1jRmmmRSQLqZL4VUTiEW6kCXeacFcECWoGzUAoU/+JcZL9F63HbN 5mTzePT9TYcv5YSW8xd4bFw93ksq2W31cVeatyhrZr08LbyP1FBcBfdNp2AGohA+tpH6 fC4KDUDb8k94CkUCarb37VQb3JfAemcciUDrs2l3Sbpg+wc0u3QLguw+4jJ9WrxbTc6J iKJnFRug+FMvIKo9LmeMXmpOofscHK6U7Kq+Z252WogjWlmtQKTdFyuhdzhtL5qbgC4Z yMtp2h+FHBIqvtvbN5W2QiSlM9oM910vpwxuEr5jo3cnQCJGyymzcSvpfXyK/+fZ+vf/ RpiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=GS5zUpR3; dkim=pass header.i=@codeaurora.org header.s=default header.b=GINagmKJ; 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 n19si377680edo.172.2019.09.13.15.02.33; Fri, 13 Sep 2019 15:02:56 -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=GS5zUpR3; dkim=pass header.i=@codeaurora.org header.s=default header.b=GINagmKJ; 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 S2403879AbfIMWAA (ORCPT + 99 others); Fri, 13 Sep 2019 18:00:00 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:60310 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403798AbfIMV74 (ORCPT ); Fri, 13 Sep 2019 17:59:56 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 06A5861572; Fri, 13 Sep 2019 21:59:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1568411995; bh=RkPTz7sLNcUVhcpu56ji8HogFM/HLe7mwUPyf10X7Tk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GS5zUpR3SXyCi13ukFTaNuPG59oOL4I1FBuS+XxQkt5Q2gpoLVxVFAzZqbjD4sI6x HQ+zTu1HqvaxOQ9Fem0iGU0ZXgdmzjEpqEupO+fbwFPOvRNwxWydAQ4PHH9clP5kIP kLSp7qBIlJz+XMLUzIFS1ZVA9IUJtEZGjAWrWO1E= 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,SPF_NONE 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 95AD5614DB; Fri, 13 Sep 2019 21:59:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1568411994; bh=RkPTz7sLNcUVhcpu56ji8HogFM/HLe7mwUPyf10X7Tk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GINagmKJjVjx8TAOPGwCvZNKMjxn73Kwp/m2koBQ7dwD1lLrpUw2jX9ly/teJmLsV TzSnDic+lXCH92/DGDivjilAviAusS9xhuCZ5AEdyvAh/lam6WMJ42V2gLyfw1knIb qGgmrF7nSQnyL2fa+xfHGtroMXu1pD/WkunuX8XY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 95AD5614DB 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: swboyd@chromium.org, evgreen@chromium.org, maz@kernel.org, linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, mkshah@codeaurora.org, linux-gpio@vger.kernel.org, Lina Iyer Subject: [PATCH RFC v2 13/14] arm64: dts: qcom: setup PDC as the wakeup parent for TLMM on SDM845 Date: Fri, 13 Sep 2019 15:59:21 -0600 Message-Id: <1568411962-1022-14-git-send-email-ilina@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1568411962-1022-1-git-send-email-ilina@codeaurora.org> References: <1568411962-1022-1-git-send-email-ilina@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PDC always-on interrupt controller can detect certain GPIOs even when the TLMM interrupt controller is powered off. Link the PDC as TLMM's wakeup parent. Signed-off-by: Lina Iyer --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 41455b8..1b70254 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1358,6 +1358,7 @@ interrupt-controller; #interrupt-cells = <2>; gpio-ranges = <&tlmm 0 0 150>; + wakeup-parent = <&pdc_intc>; qspi_clk: qspi-clk { pinmux { -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project