From patchwork Wed Sep 16 06:47:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhaoyang Huang X-Patchwork-Id: 7191681 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 06AA4BEEC1 for ; Wed, 16 Sep 2015 06:47:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 216F6207FC for ; Wed, 16 Sep 2015 06:47:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 390E9207D5 for ; Wed, 16 Sep 2015 06:47:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752364AbbIPGrO (ORCPT ); Wed, 16 Sep 2015 02:47:14 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:34176 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752348AbbIPGrN (ORCPT ); Wed, 16 Sep 2015 02:47:13 -0400 Received: by padhy16 with SMTP id hy16so200307232pad.1 for ; Tue, 15 Sep 2015 23:47:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=coT/LeNmD1MSlVAcsVvmvOvYtZKV5wkKJnkknAnQ0ME=; b=C3bHsM6CFRJ5UBuEbcRyjFVGx3sBfR+rIw3U4LGIuWqFcKBHoDDC2tHk5O8HlRT004 k8ucmNwjCB1pdOz//roLuDjHH7g4gL680+aYF4Fd3ZX974Uvr/fsNNS4hKEVBLAfq3s1 uITKJI01JpWEXaGT/fCEIjzuScia2QqEZxFwu4tZLpSr8KTw8vUYS91ZwaHhUiw97hrA 3yHtW9F7n7AycxSpIn1nUr8rZb0cCrn29e8tR2Sm70g9uHu6dwpWennC6j4LFOhyOk57 m+201mhqixawDhbXKDFQSBBOsMt1gibJO/W75m13zmiWLRUR182WqA11eudYfT6HhTvF M2oA== X-Gm-Message-State: ALoCoQlDQiFPeSWDWZ4Pqo3uXA0ujNwwT64SCoCiL8byMs3dUB82obyHiCQNwR13umk7t5nSlyQn X-Received: by 10.68.68.134 with SMTP id w6mr57135128pbt.61.1442386032878; Tue, 15 Sep 2015 23:47:12 -0700 (PDT) Received: from zyhuangubtpc.spreadtrum.com ([175.111.195.49]) by smtp.gmail.com with ESMTPSA id ey17sm25835075pac.26.2015.09.15.23.47.10 (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 15 Sep 2015 23:47:12 -0700 (PDT) From: Zhaoyang Huang To: linux-pm@vger.kernel.org Cc: amit.kucheria@linaro.org, sudeep.holla@arm.com Subject: [PATCH v4 2/2] add property of "linux,wakeup" for juno.dts Date: Wed, 16 Sep 2015 14:47:00 +0800 Message-Id: <1442386021-5113-2-git-send-email-zhaoyang.huang@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1442386021-5113-1-git-send-email-zhaoyang.huang@linaro.org> References: <1442386021-5113-1-git-send-email-zhaoyang.huang@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP add property of "linux,wakeup" to let the driver know if the device should work as wakeup source Signed-off-by: Zhaoyang Huang --- Documentation/devicetree/bindings/serial/pl011.txt | 3 ++- arch/arm64/boot/dts/arm/juno-base.dtsi | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/serial/pl011.txt b/Documentation/devicetree/bindings/serial/pl011.txt index cbae3d9..609e8e9 100644 --- a/Documentation/devicetree/bindings/serial/pl011.txt +++ b/Documentation/devicetree/bindings/serial/pl011.txt @@ -35,7 +35,8 @@ Optional properties: - poll-timeout-ms: Poll timeout when auto-poll is set, default 3000ms. - +- linux,wakeup: + set the pl011 work as wakeup source for suspend to ram/idle See also bindings/arm/primecell.txt Example: diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi index a3d5a77..f7bb150 100644 --- a/arch/arm64/boot/dts/arm/juno-base.dtsi +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi @@ -152,6 +152,7 @@ interrupts = ; clocks = <&soc_uartclk>, <&soc_refclk100mhz>; clock-names = "uartclk", "apb_pclk"; + linux,wakeup; }; i2c@7ffa0000 {