From patchwork Mon Jun 26 22:32:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 9810507 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 4EF60603F2 for ; Mon, 26 Jun 2017 22:35:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 42BC128449 for ; Mon, 26 Jun 2017 22:35:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 367B82844E; Mon, 26 Jun 2017 22:35:37 +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 A626728449 for ; Mon, 26 Jun 2017 22:35:36 +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=NS+KN7R/uxTH3nJ3WwRdqu2Ei8 HnM6iHPL53XUdJDDHO1WykPJHzFvFcLkitDbFh5BWc2kdyt46b1QECO8sJPR34cj4s2DGy83cHtyZ teiv9m3BGDoSXOx6Nn7D6tqgygzyV8crqlECdh5yfpwr3t9MOLv1rQMxgqaQgB/byhsEjB8bU66bS PDaH/JFAMPr3y+AkvCk3hKhB903RTvwHOy5GcCK05ZkXB1fMiINDmBjZHRF90BJxDWV3AqmfElrhF jJk66xcNJ3J4c6dGhjcq6EqsOjpTovpejYs79Qo7dKd+lgjSojRdvEqCzT4BrD6B16QljgFc9+RtD dicSbUmA==; 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 1dPcbW-0002Tu-PV; Mon, 26 Jun 2017 22:35:34 +0000 Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dPcaL-0008JD-Q0 for linux-arm-kernel@lists.infradead.org; Mon, 26 Jun 2017 22:34:25 +0000 Received: by mail-qt0-x243.google.com with SMTP id w6so1877418qtg.1 for ; Mon, 26 Jun 2017 15:34:03 -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=Bpc2x06/mSmqhr8eTArItl641NrnnstyRcD3INIS2jLgx0F/qZgrulZgYRklqjTody bfEgfM66QcpewT2u6U/mZmGHGEucAtaAWzFygxyp4gBIoqmlT9gzPvc5ZcR2zcKIpez/ HzjQdjd5LDT90KdiqMU4qpqtQH+c1JGVacclIWk3ngknEoAg4/T8RxIVPF0ZyI66ic+2 N0bsq9yv18vLGWWhxaAm1RW4QVH3ntlg1ps0UGWET32cI6Phg9yaXlHE1hWC/qCd2pyD RbuyjXf7zSNEryQXYpE6UkU3ZFtV+ZlAVGrUyg0efjO2qgyXsUZoKoy4PO4/N7+pHtG+ nM3Q== 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=TuKvJioclQg3WaTDQtivuTtHGhu3LB+9L57ETpDq3WHgIHkD9m3JzkrBm0eluHxWPX MKV144KjgtsZJaxV7zsSTj383ywb9iFevfjJhsj1h9m0pXNLMV7zgSpGbE2cnPZI/UXD 1+wcwVo9u58GkqHEcp0IfuDLjnl/Tlif9Dv2Lm76TshAwJQaLmcP5xSdH0ChzH4bRt7B AYzup7/hX7QTpcxe7s8318brNBjpl6gPkgfVKmiX0h9UQjJnWl6H1PJWf9N+OTZvB90I gEirkQ5kyLdB+GYDUZ8ajGbZgIY1G8RzBj3sQ7zsP9eTJty5t3Nzb0QVaLr9Bldwvphl wlGQ== X-Gm-Message-State: AKS2vOwIE8GmZny+PU/pOdY/JwU5KQSrR0hZjeZm0Yq70Ba+GSQZVqum FNIi6VhA437URU4NqIo= X-Received: by 10.200.37.139 with SMTP id e11mr3310467qte.112.1498516442990; Mon, 26 Jun 2017 15:34:02 -0700 (PDT) Received: from fainelli-desktop.broadcom.com ([192.19.255.250]) by smtp.gmail.com with ESMTPSA id j65sm965542qkf.38.2017.06.26.15.34.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Jun 2017 15:34:02 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/4] dt-bindings: Document the Broadcom STB wake-up timer node Date: Mon, 26 Jun 2017 15:32:46 -0700 Message-Id: <20170626223248.14199-7-f.fainelli@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170626223248.14199-1-f.fainelli@gmail.com> References: <20170626223248.14199-1-f.fainelli@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170626_153422_759759_F2028912 X-CRM114-Status: GOOD ( 12.53 ) 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 , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Florian Fainelli , Markus Mayer , Arnd Bergmann , "open list:BROADCOM BCM47XX MIPS ARCHITECTURE" , Hauke Mehrtens , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , "Rafael J. Wysocki" , open list , Ralf Baechle , Eric Anholt , linux-pm@vger.kernerl.org, Rob Herring , "maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE" , Justin Chen , Gregory Fong , Doug Berger , 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>; +};