From patchwork Mon Jun 26 21:15:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 9810429 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 9574B60209 for ; Mon, 26 Jun 2017 21:16:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A6021FE95 for ; Mon, 26 Jun 2017 21:16:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7D7D11FEB1; Mon, 26 Jun 2017 21:16:22 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0BA3826E4A for ; Mon, 26 Jun 2017 21:16:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=bNLonMimsqiG9pW1XVV6AfLlI+6vfiqEsgzT3dakPyk=; b=J0jIwUINjdPVoFH+GyueaKkEec AfvG+tBgJg9ZMdI/mWiXY5Q/yiXFUHdLAbgLAGX1cWuo+m3UvEOqxBKTbs6cOgoGJdJb3SVjBRWjP DdCLW7HYB/mac76dRNO/6nvnaF+FqdGLWOiF/b2OGN62E0yXSucCi5dpHSaHtPTt1dGIHpznYkbSY m28IyhG44pbEjQOMajTb4GuX6qkokuU/6KoWZTwX2CiNaRB7qcM4a9SlMhkSjEEdXkRFmNV2QsKil +M23zeBWo1ABQB9rRhih0RNX3yz8JkxhjYxf8UG0VeyG1eJBq7cRVGlk2I1pqdwFZMywhpPSNZdU9 Df60QtWA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dPbMq-0003eN-1C; Mon, 26 Jun 2017 21:16:20 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dPbM7-0003Or-Cs for linux-arm-kernel@lists.infradead.org; Mon, 26 Jun 2017 21:15:36 +0000 Received: by mail-wm0-x244.google.com with SMTP id y5so2464599wmh.3 for ; Mon, 26 Jun 2017 14:15:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aJhhyQVBvUoipPvqx9d7uQDaxqSaCEb7sFQxjFzQfQo=; b=pvihKsSRWKrk9gmi3w/Ra0dEHb6ZykpzgbD3BNqtWuW4da03W2ONhftF1ZFqhI2Ehb fQ2tzmBu+rK4XsT6E9Ojew27dq4wRuAG5ZN7uoaMKLUwZU/UwVZGPN/LM2T9Uu8jgOEG I/gQt01In7hji97uXOPrqJ2knRxoPBcMvTsYtd94RytUBMwzG5UujnP1uZ52dWmZb7xy iwLOKPJsghwWtsG60q28wHe4b05kUq1FCnbwAJi2KawVWaXNnxxjol363P8Xyzpy3Ttn mouANul8+tJPNxzdV6gWIuMjzYsmfxWYPJyIruxwuVWUJWmqngdDmSEn3BRZBBPpuVYT +OkQ== 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=aJhhyQVBvUoipPvqx9d7uQDaxqSaCEb7sFQxjFzQfQo=; b=aTa+NAsHv6ycfYGOCjaIAKB1gHlGl0j9Ml0qPHw+z0hLgPIpXLRGBkVe/2vHN0C1df h5I574aGWSwj+id/mxU0Sg0x7mlhrqZESTds4XmBD6NaIHTQQ6iJ6mhXGf7oHSlNu2eA KTOIAEAlc5wk4yS85EOaaafkSu8jH6OaVFxgZf/fT9PeumTqx1aIIxUN0FEIKEVQc5VV /eC2rixh3uXHWz++O78hgE5SPyK6Hek0qnuIpxNrPUKOflXU2CD7iM+tG/LD41V2iBHP qLIyV9o+eFLdQqVGNEv/DfypVhWdKb803E8TkW+7wkpdajNNM74c/s1gzIv93wJLtoFc ecXQ== X-Gm-Message-State: AKS2vOyWfpgk1Ys/oqhc/SwEWle4WEB6Pk0I+rV9tgxABVYXzrnQg6tI iO92S3UgngLpVsaWbsE= X-Received: by 10.28.9.2 with SMTP id 2mr903054wmj.67.1498511713363; Mon, 26 Jun 2017 14:15:13 -0700 (PDT) Received: from fainelli-desktop.broadcom.com ([192.19.255.250]) by smtp.gmail.com with ESMTPSA id l70sm563809wmd.3.2017.06.26.14.15.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Jun 2017 14:15:12 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/2] dt-bindings: Document the Broadcom STB wake-up timer node Date: Mon, 26 Jun 2017 14:15:02 -0700 Message-Id: <20170626211503.7471-2-f.fainelli@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170626211503.7471-1-f.fainelli@gmail.com> References: <20170626211503.7471-1-f.fainelli@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170626_141535_588933_8607E35F X-CRM114-Status: GOOD ( 12.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Alessandro Zummo , Florian Fainelli , "open list:REAL TIME CLOCK RTC SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , Rob Herring , Alexandre Belloni , Gregory Fong , "maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE" , Brian Norris MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Document the binding for the Broadcom STB SoCs wake-up timer node allowing the system to generate alarms and exit low power states. Acked-by: Rob Herring Signed-off-by: Florian Fainelli --- .../bindings/rtc/brcm,brcmstb-waketimer.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/brcm,brcmstb-waketimer.txt diff --git a/Documentation/devicetree/bindings/rtc/brcm,brcmstb-waketimer.txt b/Documentation/devicetree/bindings/rtc/brcm,brcmstb-waketimer.txt new file mode 100644 index 000000000000..1d990bcc0baf --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/brcm,brcmstb-waketimer.txt @@ -0,0 +1,22 @@ +Broadcom STB wake-up Timer + +The Broadcom STB wake-up timer provides a 27Mhz resolution timer, with the +ability to wake up the system from low-power suspend/standby modes. + +Required properties: +- compatible : should contain "brcm,brcmstb-waketimer" +- reg : the register start and length for the WKTMR block +- interrupts : The TIMER interrupt +- interrupt-parent: The phandle to the Always-On (AON) Power Management (PM) L2 + interrupt controller node +- clocks : The phandle to the UPG fixed clock (27Mhz domain) + +Example: + +waketimer@f0411580 { + compatible = "brcm,brcmstb-waketimer"; + reg = <0xf0411580 0x14>; + interrupts = <0x3>; + interrupt-parent = <&aon_pm_l2_intc>; + clocks = <&upg_fixed>; +};