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: 9972775 X-Patchwork-Delegate: eduardo.valentin@ti.com 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 BA658602BD for ; Tue, 26 Sep 2017 21:36:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD2F4274B4 for ; Tue, 26 Sep 2017 21:36:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A1DEF28E4B; Tue, 26 Sep 2017 21:36:33 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B00C274B4 for ; Tue, 26 Sep 2017 21:36:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032172AbdIZVgc (ORCPT ); Tue, 26 Sep 2017 17:36:32 -0400 Received: from smtp-out-so.shaw.ca ([64.59.136.139]:42887 "EHLO smtp-out-so.shaw.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966606AbdIZVgc (ORCPT ); Tue, 26 Sep 2017 17:36:32 -0400 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?= Cc: Broadcom Kernel List , Power Management List , Device Tree List , ARM Kernel List , Linux Kernel Mailing List , Markus Mayer 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 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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