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: 53712 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id 1B91D22DB2 for ; Wed, 16 Sep 2015 06:47:19 +0000 (UTC) Received: by lbbmp1 with SMTP id mp1sf65564786lbb.2 for ; Tue, 15 Sep 2015 23:47:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=AuLRWOxGY3cpeUIJpw9HdTDvotbVhczyjaUcOu837io=; b=aOVZFQ7nbpPIAdYOoFhSi9bLsYMqIBbP/Pi8lE/HB9vsHMb3YqrHa0tljCN5hSoTcb IKMSDcVHg1Px10CVdO3n+LA7wp8HAJrF2XjNsT/MR73CGsZLmklXWG3ktkvAL9yKywJz whDNnoPaUnVKPuZf8sQ7j+bTKoPJaUc3fBjMy0et9FcPwygHrXo3OT5mtn1OazlOwb8u xV1kGCow3JQUO14vCEVv+uMdfsOKJ8ySiKTu/p2QcHUSi6Wkl5I93LY5Glq9xrIkiJXX bevu4jY4RxgArfKizOt9mHao9wwUmM67OJP2hBTsOv7H++GLe/hTQQ36fXby5akHbXgN Ummw== X-Gm-Message-State: ALoCoQnxhVwXQrVPZOeprtcpRIW/0e7VFEUoLftD1dBGAJ1UTqJP79sYEBdb3qsfgI/XJm/ZkU4m X-Received: by 10.152.120.233 with SMTP id lf9mr778042lab.2.1442386038081; Tue, 15 Sep 2015 23:47:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.28.66 with SMTP id z2ls794670lag.76.gmail; Tue, 15 Sep 2015 23:47:17 -0700 (PDT) X-Received: by 10.152.19.228 with SMTP id i4mr26432952lae.47.1442386037937; Tue, 15 Sep 2015 23:47:17 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id j3si17174598lag.123.2015.09.15.23.47.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2015 23:47:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by lagj9 with SMTP id j9so124197335lag.2 for ; Tue, 15 Sep 2015 23:47:17 -0700 (PDT) X-Received: by 10.112.17.34 with SMTP id l2mr16244486lbd.117.1442386037842; Tue, 15 Sep 2015 23:47:17 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp2242988lbq; Tue, 15 Sep 2015 23:47:17 -0700 (PDT) X-Received: by 10.107.46.228 with SMTP id u97mr39802031iou.165.1442386036983; Tue, 15 Sep 2015 23:47:16 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h16si16322804iod.111.2015.09.15.23.47.16; Tue, 15 Sep 2015 23:47:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752364AbbIPGrO (ORCPT + 12 others); 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-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: list List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: zhaoyang.huang@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 {