From patchwork Mon Jun 5 21:09:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Markus Mayer X-Patchwork-Id: 9767573 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 D0AD160353 for ; Mon, 5 Jun 2017 21:10:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C359F283AF for ; Mon, 5 Jun 2017 21:10:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B6CAB2842E; Mon, 5 Jun 2017 21:10: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=-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 71176283AF for ; Mon, 5 Jun 2017 21:10:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751290AbdFEVKf (ORCPT ); Mon, 5 Jun 2017 17:10:35 -0400 Received: from smtp-out-so.shaw.ca ([64.59.136.137]:54792 "EHLO smtp-out-so.shaw.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751321AbdFEVKa (ORCPT ); Mon, 5 Jun 2017 17:10:30 -0400 Received: from triton.mmayer.net ([96.48.165.49]) by shaw.ca with SMTP id HzGedeRnnyd2DHzGfdc1pg; Mon, 05 Jun 2017 15:10:29 -0600 X-Authority-Analysis: v=2.2 cv=F5wnTupN c=1 sm=1 tr=0 a=k5HOQ6ZN7M0zyjl8M7O1NA==:117 a=k5HOQ6ZN7M0zyjl8M7O1NA==:17 a=IkcTkHD0fZMA:10 a=LWSFodeU3zMA:10 a=pGLkceISAAAA:8 a=Q-fNiiVtAAAA:8 a=VwQbUJbxAAAA:8 a=5khWA42mo4gE5qKq-5cA:9 a=QEXdDO2ut3YA:10 a=v2312BZ5C20A:10 a=6kGIvZw6iX1k4Y-7sg4_:22 a=Fp8MccfUoT0GBdDC_Lng:22 a=AjGcO6oz07-iQ99wixmX:22 Received: by triton.mmayer.net (Postfix, from userid 501) id 0E9B2488268C; Mon, 5 Jun 2017 14:10:28 -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 1/2] Documentation: devicetree: add binding for Broadcom STB AVS TMON Date: Mon, 5 Jun 2017 14:09:29 -0700 Message-Id: <20170605210930.65432-2-code@mmayer.net> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170605210930.65432-1-code@mmayer.net> References: <20170605210930.65432-1-code@mmayer.net> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfLFuAYqX4pG5mUUXqhGiCbE7DwsZJNiY7LN+2A5IUWpX6biJQj2B2eQqkHwt8Et5LtpyZrFxsNZoiW5dxh57gDuR2pX8gHldMka9OrosyAkp9/+eSc2d 0pacjN0qgHFlP2nqXFsKfl6c2NW9m86mnjfYXVX04Y1f6uWKpNhEEDXNwkMot5XgehRF1sQHjSj/FfMzzDmj2k4FMLW1ajQ6C1rK/iLRDEbXa/mRK7U8vLjT XfxlCH2F0Ffe6a01wORPKibl9VDdpXPmKnh9m8HByhzrJFLNVf1GImzEQQcvu00Y/ZW5k4wO1lmuNBpsS6w1YsOn5lUW5zft0X1oJKFz6uXJXuy+/GuEslm2 v4ZOUbGYw7J15zDLmUJmzAVp+UZab/S/Mpc/8KZWWnXl082m2QMNIdkFJOjSP7xkGhHtLK57G2U/pnlag5SD5VgcfC69VAqd0biO0AAtt3PXSSmcRNuJ3RYB keyi1N99TFxRB4uasR9doZrp5zdnuhloO5pupSegTYFui9VZI4icdaSyNwbsaP7aMnwwW5tihW+cbYUj8zWkdNbI1t7fRaqqNvkuCX8e2594/5T+oXLZ5O6g wasb78b/qfcfEUjKuGqfvAlQsvFymKRqpi6HCQJXTkwmbI5R6LcrucF7GG44qDFmUqXsKjohX+/C9y+0yXGv2X2g 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..a538a1b --- /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 one of "brcm,avs-tmon" 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 f7d568b..68ee972 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2864,6 +2864,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 SPECIFIC AMBA DRIVER (BCMA) M: Rafał Miłecki L: linux-wireless@vger.kernel.org