From patchwork Tue Sep 26 21:27:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Mayer X-Patchwork-Id: 9972773 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 0ECAB602BD for ; Tue, 26 Sep 2017 21:33:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3FC928E2B for ; Tue, 26 Sep 2017 21:33:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E882128E4B; Tue, 26 Sep 2017 21:33:50 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable 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 84BB228E2B for ; Tue, 26 Sep 2017 21:33:50 +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=dmMLiOOaqCJozOHZdrSN2awo5UM6tcYIOZjJOagQKbk=; b=ZJv0E0d5ms5BApDY8ERfkX8CX9 i1nR+Np4VJm6IcykGeo+P+Ro1VtWPgDY+2U0zkBzjZXZiezYV+vZCE/IoMDg0UT3JnCv2/D8tpopU OUjbM8KMUaEYvCvqcwnJRaAcZZxm98nqAHUK/nIKPZPc/dwnvyyBvVJB/kza/QW5b+q2VwFRj1SNm JzSL8kdFZriJ99KwCDy80Hm35GzDc5PU3/ubAJP4xLOsOHX7q+fmHSmNcqTkime4ptG0hfKsaYYVQ 9ArHyrfJc7Q6kmwik/YskeiHaRpNQTzo/sEywxXW+e8zSiXHx8+Q6Fy9ig/Z1PgZ3Ckz7H1kPbv64 JHoJju9Q==; 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 1dwxU5-0006t4-9r; Tue, 26 Sep 2017 21:33:41 +0000 Received: from smtp-out-so.shaw.ca ([64.59.136.139]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dwxPH-0000cX-IS for linux-arm-kernel@lists.infradead.org; Tue, 26 Sep 2017 21:28:49 +0000 Received: from triton.mmayer.net ([96.48.165.49]) by shaw.ca with SMTP id wxOudNuLADJTWwxOwddfmn; Tue, 26 Sep 2017 15:28:22 -0600 X-Authority-Analysis: v=2.2 cv=B4DJ6KlM c=1 sm=1 tr=0 a=k5HOQ6ZN7M0zyjl8M7O1NA==:117 a=k5HOQ6ZN7M0zyjl8M7O1NA==:17 a=2JCJgTwv5E4A:10 a=pGLkceISAAAA:8 a=VwQbUJbxAAAA:8 a=Q-fNiiVtAAAA:8 a=tmXdjS3ABcMLhEtO_U8A:9 a=AjGcO6oz07-iQ99wixmX:22 a=Fp8MccfUoT0GBdDC_Lng:22 Received: by triton.mmayer.net (Postfix, from userid 501) id C4B592000E4BB1; Tue, 26 Sep 2017 14:28:20 -0700 (PDT) From: Markus Mayer To: Zhang Rui , Eduardo Valentin , Rob Herring , Mark Rutland , Doug Berger , Brian Norris , Gregory Fong , Florian Fainelli , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Subject: [PATCH v5 1/2] Documentation: devicetree: add binding for Broadcom STB AVS TMON Date: Tue, 26 Sep 2017 14:27:58 -0700 Message-Id: <20170926212800.4879-2-code@mmayer.net> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170926212800.4879-1-code@mmayer.net> References: <20170926212800.4879-1-code@mmayer.net> X-CMAE-Envelope: MS4wfPDOylQPqco6SyJZCDd5WjlylFi+CsMCNK1ajdOUX9/ILG99OxK65fnenP9pkPAtmkWiFaKOYpmKFZrK6HqJVaCcqqq/5/746RG3/An566VCzIyBwjXP wdWYQ/Bjqymw0nIAczNDyOhZB+wDHrKJe2AjaylGZrSnBx5HS6YQX4GT1zdc2f47REGpDXEp++MD/6h2lkRhwn/AaDaJaGEnGDT4UnnSG/Gp6Ze8uFQiyOna SaRc6UsKeqvQvGKcKY1/f9xjUXg7ZCP8lG7u5GSuWHxGk8wooU1qH4OesnzJIE/YpRerEMzqzKoV6IUUOtrP+qzNUevs29P30uD1KgT6Z+KpasKkq9SNW6IK sEfQ7hZu9+JcRYY+xWmscAkMYlp7rajIu2A5H54XdDNg/LaCNxNBwQiPfBFck0uPKZRLfBK40Je27N9cZY1JGCmhm/yUC6dgUOAQHzEYfRcz8g+G2ul0pnwv RxcbbDvo8CZsvKaTmvZVV7JVWCo2FXDJsXe6TawWKCa/j7AJCG5BagKb1OeYemPHIcHqnSBfyhCsolMt6QgI0XgrGpdPR+6mzOJ62+2sLKU7lYnXdPJpSwsO /aozSWYN/LvgWvm/VMPYOXlgwcwguzDhIDcrKEK4o87Jn1Nlyh300eiQn5TvqPkQEd9ykOxmTFi+JZ2hPq1ObdCm X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170926_142843_864377_592B1239 X-CRM114-Status: GOOD ( 10.90 ) 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: Device Tree List , Power Management List , Linux Kernel Mailing List , Broadcom Kernel List , Markus Mayer , ARM Kernel List 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 From: Brian Norris Add binding for Broadcom STB thermal. Signed-off-by: Brian Norris Acked-by: Rob Herring Signed-off-by: Markus Mayer --- .../devicetree/bindings/thermal/brcm,avs-tmon.txt | 20 ++++++++++++++++++++ MAINTAINERS | 8 ++++++++ 2 files changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt diff --git a/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt new file mode 100644 index 0000000..9d43553 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt @@ -0,0 +1,20 @@ +* Broadcom STB thermal management + +Thermal management core, provided by the AVS TMON hardware block. + +Required properties: +- compatible: must be "brcm,avs-tmon" and/or "brcm,avs-tmon-bcm7445" +- reg: address range for the AVS TMON registers +- interrupts: temperature monitor interrupt, for high/low threshold triggers +- interrupt-names: should be "tmon" +- interrupt-parent: the parent interrupt controller + +Example: + + thermal@f04d1500 { + compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-tmon"; + reg = <0xf04d1500 0x28>; + interrupts = <0x6>; + interrupt-names = "tmon"; + interrupt-parent = <&avs_host_l2_intc>; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 2281af4..46c592b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2955,6 +2955,14 @@ S: Maintained F: Documentation/devicetree/bindings/cpufreq/brcm,stb-avs-cpu-freq.txt F: drivers/cpufreq/brcmstb* +BROADCOM STB AVS TMON DRIVER +M: Markus Mayer +M: bcm-kernel-feedback-list@broadcom.com +L: linux-pm@vger.kernel.org +S: Maintained +F: Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt +F: drivers/thermal/broadcom/brcmstb* + BROADCOM STB NAND FLASH DRIVER M: Brian Norris M: Kamal Dasu