From patchwork Wed Aug 9 22:02:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Mayer X-Patchwork-Id: 9892311 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 131A6603F2 for ; Wed, 9 Aug 2017 22:04:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0679B200E9 for ; Wed, 9 Aug 2017 22:04:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EEDA0288EB; Wed, 9 Aug 2017 22:04:03 +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_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE 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 7426C25E13 for ; Wed, 9 Aug 2017 22:04:03 +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=GFUMKXCi/Q6Wle87tcC+LaWujhGgq6GJRSWbZqGfJ/A=; b=R7kObZebovsRrowoYlq2L+O8jr tJN8EuQsAMSN7jFlTq2ddUU88AMBCqbC887asL/9ZIUmnjErH3GkD/PGQAkxkY7zT++cUZGn5WdKy 03MYygvKyrhmK5csa2YPK3CrT1Yuqcwqxrl3Eum9PbBuPHp4iQHEC/NIvhZA9G1+yZuw98JemlTB5 bx03w/7udl6yuZGW9s8Qm7JMYbo3YHsvhz5kMsbYJUk+1RDzl5O8vyB0kxYuHpCWvxAzv+N4lXWgq pd4WUPsoQtB9Ave5OAZCuLewJM9vhPEqWZ+g2o8AgwOXSzqFWxUm7hBmkCN4oYY3xyM+Id2u/nvse A+p8AkEw==; 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 1dfZ55-0000xa-Ay; Wed, 09 Aug 2017 22:03:59 +0000 Received: from smtp-out-so.shaw.ca ([64.59.136.138]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dfZ4g-0000BF-2m for linux-arm-kernel@lists.infradead.org; Wed, 09 Aug 2017 22:03:57 +0000 Received: from triton.mmayer.net ([96.48.165.49]) by shaw.ca with SMTP id fZ4Jdiv7cMaqMfZ4LdptNa; Wed, 09 Aug 2017 16:03:13 -0600 X-Authority-Analysis: v=2.2 cv=Qc8WhoTv 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 D5D7F54B708B; Wed, 9 Aug 2017 15:03:11 -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 Subject: [PATCH v4 1/4] Documentation: devicetree: add binding for Broadcom STB AVS TMON Date: Wed, 9 Aug 2017 15:02:54 -0700 Message-Id: <20170809220257.4234-2-code@mmayer.net> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170809220257.4234-1-code@mmayer.net> References: <20170809220257.4234-1-code@mmayer.net> X-CMAE-Envelope: MS4wfA165p7gIeQxQLq70hPx9PbkOym0+BFw0OkP7LfyHdfgakUkiTQU9MxXhE/VtuFLwwapx4dx9cNGBxFYGaKcgwZP1Ty5ulhgicEb4gveL7JSvBTPZtZx ILfMX/oM7CqqcXPIMpncgtUvdqyWcOdFR9WDpHY03ru4zRDrgAtzb+VvBHS/UFpbbx6QR6CO+hk3ghqmS5AVnyXql5PxK6GE5ZqNSSWQPl9flQvCAvUiRDok 8MsIwxpdhJe4tSuQFJBDMLikSaSQVjh+Y7XiIxVlCRof54ZAmR/OFCTpM1XFbUxXBSlRQurqSTr2cFOxRE3QHfi32hRdr4Vr/oBw3eFJHR86fqlD6+uttk1I JxkLgcGqQRdgdaCIwIg/nrpEP4c78lK1fKnQAvz8MHlsTHzHffEN29TsD6MsXMAaf0fLUlP4Z1bFmTuO+3HsCtXIvPhEEFlgNqD9oVPQjfaAZbnXBpUKNZNM 1uMA/Y0Sjv/LQLLcJfkZxE/Ig93GBORNHIq/LcQYJBCIjbkdhVsnTZ/NrHbiL3zcFhhS6qYQFkDuv9GVRK7ijaFIAtjzQv6FwV2/VO0WAHVuH7kVCmA9iFdc KXQyOK0IUcP15HrWChJs5D6zKbF0pgntWsM6hpJbriVcBW1ghyS/Hz4qhftPiNfkNYaHoUIH7wGf9syhPZRaLkyuTMDLx2Ar0VjfDjTgcPv9/D8fMNcQf0tH 2LqNacHriLFLTzyPkgcboa9bIg03/ETE7pMZxbhwz5KSGk8SL2y8DDMF/3f0YcP8ZLMKp03MeQ91q7k8y2PkuWradKR4vAmQ8FpIhZhiBeOOP3BrnjL8xA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170809_150334_660582_D2719E0A X-CRM114-Status: GOOD ( 12.33 ) 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 Signed-off-by: Markus Mayer Acked-by: Rob Herring --- .../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