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: 9892313 X-Patchwork-Delegate: rui.zhang@intel.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 5204E60384 for ; Wed, 9 Aug 2017 22:04:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46BA928A83 for ; Wed, 9 Aug 2017 22:04:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 35D7528ADA; Wed, 9 Aug 2017 22:04:45 +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 A354B28A9A for ; Wed, 9 Aug 2017 22:04:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752444AbdHIWDQ (ORCPT ); Wed, 9 Aug 2017 18:03:16 -0400 Received: from smtp-out-so.shaw.ca ([64.59.136.139]:42488 "EHLO smtp-out-so.shaw.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752330AbdHIWDO (ORCPT ); Wed, 9 Aug 2017 18:03:14 -0400 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 Cc: Broadcom Kernel List , Power Management List , Device Tree List , ARM Kernel List , Linux Kernel Mailing List , Markus Mayer 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== 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 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