From patchwork Tue Jan 30 01:00:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Basehore X-Patchwork-Id: 10191203 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6DDC060375 for ; Tue, 30 Jan 2018 01:01:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 60F942236A for ; Tue, 30 Jan 2018 01:01:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5541F28446; Tue, 30 Jan 2018 01:01:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 01D8F2236A for ; Tue, 30 Jan 2018 01:01:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752425AbeA3BAV (ORCPT ); Mon, 29 Jan 2018 20:00:21 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:41951 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752375AbeA3BAT (ORCPT ); Mon, 29 Jan 2018 20:00:19 -0500 Received: by mail-pf0-f194.google.com with SMTP id c6so7072994pfi.8 for ; Mon, 29 Jan 2018 17:00:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=w83D5Ef/PEoeLmEjI8Fya4YIM1kcJMX0O8yenM8U5ac=; b=dBoMeonVfQiRM6ybLDA6Q9A1cx4mLsOOw71TVrJQgvJIrcuMx1ya+cxQjSSAB1tLQX 3E39N4VyT82e6XU/MSp3bTDnhL495YGAKv/pxBHNXyjGwErAF3sjY5eyDX+0zlGBIq/j 2Cirn87fkGFhgOQ9EaPHrhOWuiJGIZ5d4HJlY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=w83D5Ef/PEoeLmEjI8Fya4YIM1kcJMX0O8yenM8U5ac=; b=lNA7poYNMfQ16NF+uYmVCQ48MSzaAcF8POjG81sMkwO72U7JHZTHwtyljHWiKyQ11K Ts+kGZ1rh8BVlXkmkjQarCLsYJl1ucZlHj+QroUw+xdLFR5C86kqrLSWKLNwIIYj5TRM 0JYbLq8MZ55b6LcX0tyuKLVBLklfhtaRXXD3HVj1ffEetXUsXx/iAi3VLk0AbPyLVk1o cT42kna/411nvuv+AC4+FCXoaAJcarhxxaFcu0M0d5a5x76sP0bu/Ol1DEXTFOuGa13l Vq/+v91NL5ETR8SnTxaZRdHrjlRerR4QvduxX/MP7FYjmUzS4mP4BCHob+DcuTofv3+q ZmCQ== X-Gm-Message-State: AKwxytfdHhlzsAVHgmVpBBD6UDSi4tXJ79Cp5ZBP6ESrycE0U02B6qzR vtB666iYgGaXD7fzB5hx/3ExZwimIyk= X-Google-Smtp-Source: AH8x225KGFcaydAPj474BgcjNYqJVkifGWs07Z6KHpLiUUKtZ6w09nBaS42JWdKUYu8yTvYe6pNwwg== X-Received: by 2002:a17:902:9a9:: with SMTP id 38-v6mr23141467pln.202.1517274019052; Mon, 29 Jan 2018 17:00:19 -0800 (PST) Received: from exogeni.mtv.corp.google.com ([2620:0:1000:1600:211e:5908:95bc:4888]) by smtp.gmail.com with ESMTPSA id c29sm36477492pfd.172.2018.01.29.17.00.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 17:00:18 -0800 (PST) From: Derek Basehore To: linux-kernel@vger.kernel.org Cc: Soby.Mathew@arm.com, sudeep.holla@arm.com, devicetree@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-pm@vger.kernel.org, rafael.j.wysocki@intel.com, tglx@linutronix.de, briannorris@chromium.org, marc.zyngier@arm.com, Derek Basehore Subject: [PATCH v3 3/5] DT/arm,gic-v3-its: add reset-on-suspend property Date: Mon, 29 Jan 2018 17:00:05 -0800 Message-Id: <20180130010007.256564-4-dbasehore@chromium.org> X-Mailer: git-send-email 2.16.0.rc1.238.g530d649a79-goog In-Reply-To: <20180130010007.256564-1-dbasehore@chromium.org> References: <20180130010007.256564-1-dbasehore@chromium.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds documentation for the new reset-on-suspend property. This property enables saving and restoring the ITS for when it loses state in system suspend. Signed-off-by: Derek Basehore --- Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt index 0a57f2f4167d..a470147d4f14 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt @@ -78,6 +78,9 @@ These nodes must have the following properties: Optional: - socionext,synquacer-pre-its: (u32, u32) tuple describing the untranslated address and size of the pre-ITS window. +- reset-on-suspend: Boolean property. Indicates that the ITS state is + reset on suspend. The state is then saved on suspend and restored on + resume. The main GIC node must contain the appropriate #address-cells, #size-cells and ranges properties for the reg property of all ITS