From patchwork Wed Aug 9 21:56:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Mayer X-Patchwork-Id: 9892271 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 187C360384 for ; Wed, 9 Aug 2017 21:58:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0D42D289B4 for ; Wed, 9 Aug 2017 21:58:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 02462289C5; Wed, 9 Aug 2017 21:58:36 +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 A6C67289B4 for ; Wed, 9 Aug 2017 21:58:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752493AbdHIV5e (ORCPT ); Wed, 9 Aug 2017 17:57:34 -0400 Received: from smtp-out-no.shaw.ca ([64.59.134.12]:49923 "EHLO smtp-out-no.shaw.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752022AbdHIV5c (ORCPT ); Wed, 9 Aug 2017 17:57:32 -0400 Received: from triton.mmayer.net ([96.48.165.49]) by shaw.ca with SMTP id fYyldE2CPI8mCfYypdZeXt; Wed, 09 Aug 2017 15:57:31 -0600 X-Authority-Analysis: v=2.2 cv=HahkdmM8 c=1 sm=1 tr=0 a=k5HOQ6ZN7M0zyjl8M7O1NA==:117 a=k5HOQ6ZN7M0zyjl8M7O1NA==:17 a=KeKAF7QvOSUA:10 a=pGLkceISAAAA:8 a=Q-fNiiVtAAAA:8 a=VwQbUJbxAAAA:8 a=tmXdjS3ABcMLhEtO_U8A:9 a=6kGIvZw6iX1k4Y-7sg4_:22 a=Fp8MccfUoT0GBdDC_Lng:22 a=AjGcO6oz07-iQ99wixmX:22 Received: by triton.mmayer.net (Postfix, from userid 501) id 85AFB54B5E96; Wed, 9 Aug 2017 14:57:27 -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?= , Russell King , Catalin Marinas , Will Deacon , Arnd Bergmann , Olof Johansson Cc: Broadcom Kernel List , Power Management List , Device Tree List , ARM Kernel List , Linux Kernel Mailing List , Markus Mayer Subject: [PATCH v3 1/4] Documentation: devicetree: add binding for Broadcom STB AVS TMON Date: Wed, 9 Aug 2017 14:56:29 -0700 Message-Id: <20170809215632.4124-2-code@mmayer.net> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170809215632.4124-1-code@mmayer.net> References: <20170809215632.4124-1-code@mmayer.net> X-CMAE-Envelope: MS4wfBe+5uhSJP2Qa+a5jI2FgoGiwrhST1xfc0VhyYNGGf2wIqFQc9DO2a8woxj5DB/ydv66Y3C6NlVZo6y3RRuqs/zqcsMM2XYcmdtffVIiVN1OSQgdoB59 P/rhfhwzhe2fpxdlgPi7zI094QzDQ1wdJ/b/S+FTnbWfUhxnYecUJ9wafWhlnQilWSO57UWld1FnuXv6K6ls9FTo9ZXzo+gCHq1VUB91UH37SqYRUZER5I8r B+1sI4qHJgpMGoD1xdKjF9ESD4x+7Yaca/WcJlyt8O/dGj6hvdIN1P96ZLrdlAizrOlH9RrgeP+PmA3O6ACiC8C4/xAa7GdBPy7iHNAolysV0jd4K8ReDUP6 0yIknMMpVMjiT/+CxblUni7m6/TH5xVAtuK4Yvh3UzvQ6FNUCow7y/eKGInUdos/MZ22jG5Smc5RI/9DjX5sU3F3mgYDgLiTnSzGUnxfKgd/4gKhApiV5hYz 77dSqcakFO6UsXg1jyI8MKy/CRykW1BCmvgTSeFXl1Mg+oz6anrpWOsIeSDxygMZKZGUkYcdODGEr89rXzslvvQ6/hj2rlyRVDQ1S5OOT36tQHB39TqHy3fM OjBJeWzP7YDNb/Y3JA4aCpsqFU3IYM8cfuM/i8F2iMuvAEuRdnaI10bwKTLadIqEnBK3R2nwBX9xL4OE9RkXzr0CoqKT89Wgnkhjhik5fdfl9/I7Cjdrmube csamQBPhnKgGEY9P6Yy07nk1Ugh2qIq9DCuCwpiSaNso5vTQWByvUE61qX4gNOYAU9gYaDiaFNv94REzT9gizwjrJR0hqi1G47Fszln3NHSELOem1wbR6g== 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 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 f66488d..2f116a8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2903,6 +2903,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