From patchwork Thu Aug 29 18:11:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 1155494 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=codeaurora.org header.i=@codeaurora.org header.b="W+9l33i7"; dkim=pass (1024-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="I/Lv8e+5"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 46KBKc2H5bz9s7T for ; Fri, 30 Aug 2019 04:41:56 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728062AbfH2Slw (ORCPT ); Thu, 29 Aug 2019 14:41:52 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:49204 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727867AbfH2Slw (ORCPT ); Thu, 29 Aug 2019 14:41:52 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 8C77766593; Thu, 29 Aug 2019 18:12:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1567104110; bh=idSCDDdET3/7wJntdfWeAGtzPidjabyISQCbpIXoF3g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W+9l33i7Xf4dlyQPL+tosLBLO8T00kWWKz3lZQO6W15ivzQ7WrEZRL8+QbrMYPO3V HaZsO0LnC8OFY/Xht8sjDsqUpV065667mXkNHRXsWgwaCdyBTrKBDr8SgKKNb1FluV Kh2BlQaerGXhpVN4HPWBJ+HBEH/9G/QGW9n6VULU= 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 CD8EB688BF; Thu, 29 Aug 2019 18:12:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1567102338; bh=idSCDDdET3/7wJntdfWeAGtzPidjabyISQCbpIXoF3g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I/Lv8e+5c+rWTsSEDw0Bdjk7jvYOk7c1fmLdoN0csf5ltHQlOWjNmK7Yt8cTRquSA TLdQdG1hZ67HLjAgM/ZFnhxlmx6mHMZoLUuyba8vTcGb5+dMw3WV17HXHnTo8Lyv7C gxvv0wyRY3WYmnZrCAmpDTj8m/huaiFtSLLX/Bhk= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CD8EB688BF 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, marc.zyngier@arm.com, 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, rnayak@codeaurora.org, Lina Iyer , devicetree@vger.kernel.org Subject: [PATCH RFC 04/14] of: irq: document properties for wakeup interrupt parent Date: Thu, 29 Aug 2019 12:11:53 -0600 Message-Id: <20190829181203.2660-5-ilina@codeaurora.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190829181203.2660-1-ilina@codeaurora.org> References: <20190829181203.2660-1-ilina@codeaurora.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Some interrupt controllers in a SoC, are always powered on and have a select interrupts routed to them, so that they can wakeup the SoC from suspend. Add wakeup-parent DT property to refer to these interrupt controllers. Cc: devicetree@vger.kernel.org Signed-off-by: Lina Iyer Reviewed-by: Rob Herring --- .../bindings/interrupt-controller/interrupts.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/interrupts.txt b/Documentation/devicetree/bindings/interrupt-controller/interrupts.txt index 8a3c40829899..c10e31050dd2 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/interrupts.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/interrupts.txt @@ -108,3 +108,16 @@ commonly used: sensitivity = <7>; }; }; + +3) Interrupt wakeup parent +-------------------------- + +Some interrupt controllers in a SoC, are always powered on and have a select +interrupts routed to them, so that they can wakeup the SoC from suspend. These +interrupt controllers do not fall into the category of a parent interrupt +controller and can be specified by the "wakeup-parent" property and contain a +single phandle referring to the wakeup capable interrupt controller. + + Example: + wakeup-parent = <&pdc_intc>; +