From patchwork Thu Feb 8 02:36:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Basehore X-Patchwork-Id: 10206509 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 24EE060327 for ; Thu, 8 Feb 2018 02:37:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 14D732862C for ; Thu, 8 Feb 2018 02:37:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 05A28286B2; Thu, 8 Feb 2018 02:37:30 +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 B4C7E2862C for ; Thu, 8 Feb 2018 02:37:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752016AbeBHCg6 (ORCPT ); Wed, 7 Feb 2018 21:36:58 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:45057 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751995AbeBHCg4 (ORCPT ); Wed, 7 Feb 2018 21:36:56 -0500 Received: by mail-pg0-f65.google.com with SMTP id m136so1105336pga.12 for ; Wed, 07 Feb 2018 18:36:56 -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=KkexLPzvZ38YAMphFxpzsBsLH9skZYRawpln/Vl256HgvrdkAG/0MKNrESVp/noRHI Dp46ZNR0/q6+ANPqDQP3slGh9BV+nsTN+ydqtPqhizeh+BypF4eRGdmQ1dQRbl308Z3Z HBXlt+AVzxv/OpFCG685jKC9pWoAf8ceL8SL0= 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=ophIEEAe+76coV86hF8E9xiqxHVNJhBu4AqPx9t1RYjM6VRkrQGPYYW4l6SOuWEwfz 2GOhvyRNBSdXN4KR3tb7Aobpx6AD/UrbUP21Uy204oZT7tvhWhCYulyhWtE33qng4IHZ Uz6fjqFu6Dni0dQw5pNGTx6pFD9Tb2ojuI11Vk+aNGA71qdBnUYU9yc7RJmQBDcJ/GOi gCqbl7Ih7h2oIc4NutBjeBF9gQG+LlejzNKiK5otxv76C1kL47kiEV8evi4acrgghSEN 30AB8UQmE+35OMcPqxhwu416GCA4eVatWDsnDw3ffXi1LISoLYejHo5EfEkumV0kTrKJ Fw5g== X-Gm-Message-State: APf1xPAAG+FtVCX39e52axzVh8GQGvGkK4nYExnTsNs2Ny7TaxSOmawl Hx3OhidJ49DBmUUmb49V5x1A2g== X-Google-Smtp-Source: AH8x224ucacAEvdqQfORadsbr3kOLRWDewdw4TBirTNgzXIlSVhnRGj94/+3l98x9vIzUEAUA8MY5A== X-Received: by 10.99.189.26 with SMTP id a26mr797968pgf.373.1518057416258; Wed, 07 Feb 2018 18:36:56 -0800 (PST) Received: from exogeni.mtv.corp.google.com ([2620:0:1000:1600:211e:5908:95bc:4888]) by smtp.gmail.com with ESMTPSA id 203sm6901941pfa.110.2018.02.07.18.36.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Feb 2018 18:36:55 -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 v6 2/3] DT/arm,gic-v3-its: add reset-on-suspend property Date: Wed, 7 Feb 2018 18:36:47 -0800 Message-Id: <20180208023648.89124-3-dbasehore@chromium.org> X-Mailer: git-send-email 2.16.0.rc1.238.g530d649a79-goog In-Reply-To: <20180208023648.89124-1-dbasehore@chromium.org> References: <20180208023648.89124-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