From patchwork Fri Jul 21 19:27:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Markus Mayer X-Patchwork-Id: 9857559 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 2766360392 for ; Fri, 21 Jul 2017 19:36:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16CE6285F9 for ; Fri, 21 Jul 2017 19:36:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B70B28623; Fri, 21 Jul 2017 19:36:49 +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 8914128621 for ; Fri, 21 Jul 2017 19:36:48 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=RuzlivkSX+HLM9OonFZbQ+lextnV5x+KtFVEBEhviiA=; b=ugn0idF4A8LIHb gnYyV8sknzrvsZpAZOM9DbEHWzMD2SzgNwiRy+fEWLexKKl4wsViONAobOTUsFQhBrCEptT75FwGO BtA6tNJxBUFyg9KF72zBVwdSwOOfu+9GXTi95CqlQMrVRT+BYsWBtsDwb0HZKcCQzPqt9SXbjPHHK wI/7si3qa5FMBzvJXZF3AS5hJIk6rD/4XZM3l/PA6eP7Fw+6FqfrApIMB/3fVXs/v26uGmtvOZXnR 1f30rzwYAC1pbPXRuTPwrioE29/GPahfouWy3ZjjFjoetf4YvCunuzvJrEBeBl+CTeObQ8FVnMdDf 9YpAC2mFn8i0L9ot81+A==; 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 1dYdj8-00029C-Gt; Fri, 21 Jul 2017 19:36:42 +0000 Received: from smtp-out-so.shaw.ca ([64.59.136.139]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dYdin-0001ci-JR for linux-arm-kernel@lists.infradead.org; Fri, 21 Jul 2017 19:36:23 +0000 Received: from triton.mmayer.net ([96.48.165.49]) by shaw.ca with SMTP id YdiQd6x4jDJTWYdiRd37hG; Fri, 21 Jul 2017 13:35:59 -0600 X-Authority-Analysis: v=2.2 cv=B4DJ6KlM c=1 sm=1 tr=0 a=k5HOQ6ZN7M0zyjl8M7O1NA==:117 a=k5HOQ6ZN7M0zyjl8M7O1NA==:17 a=IkcTkHD0fZMA:10 a=G3gG6ho9WtcA:10 a=pGLkceISAAAA:8 a=Q-fNiiVtAAAA:8 a=VwQbUJbxAAAA:8 a=tmXdjS3ABcMLhEtO_U8A:9 a=QEXdDO2ut3YA:10 a=6kGIvZw6iX1k4Y-7sg4_:22 a=Fp8MccfUoT0GBdDC_Lng:22 a=AjGcO6oz07-iQ99wixmX:22 Received: by triton.mmayer.net (Postfix, from userid 501) id 314DE4FA0A18; Fri, 21 Jul 2017 12:35:58 -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 v2 1/4] Documentation: devicetree: add binding for Broadcom STB AVS TMON Date: Fri, 21 Jul 2017 12:27:32 -0700 Message-Id: <20170721192735.6546-2-code@mmayer.net> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170721192735.6546-1-code@mmayer.net> References: <20170721192735.6546-1-code@mmayer.net> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfLsEBUMxlNrSE38DRL+9LuaCwDJ4C7nulMHP8tF77hoPD6oZif6L3b3sJYu+KYyW6xxQ/n+8UWHXSxGuUQKS9DMY50PzpTwAp7PyYlu/MfkyTyzA/Er3 /6+YSYYen4DVkcBfg7NGRyRvTfwlNLi2TKJnK/te838R/gt/R5TMf+HEep/DWSGL3V6D1sScmlpR7dt0jIm8uvh4MgndaviN0zokx5EVSRT0EQjT685xE6L8 CNzniEMRuWW3gcK+RAQHHD2y+SYFPuWfFYdXsa23yb0u+UKOVAJYggVIMWW9cr6LxVYgrv41aZeIyhv0r4WmAEwjPExY8Hh8E3njfQVQ+mZsFXuUJJyOf5Ex 6kf/EE7iTRFnqa7L8Zw4uIiB0hR+JcCyB/emEk3r/dhJkc+6ZDDbN61aPMYVs5RXqHBl8MPwvfb3Vio9rl5rkkj8qEGDaE1HtdLi+vG7V1cfSbQsj/45lo20 bPuYU0YSfRu3oxJS/3bSg7DyNmg9AwzbU99hTYFDPyVekbIA7zrsX77XiB6mhob3Ztmk7M9k1upKX+eXpb/SoAwbtL1e+i7cABh6iykxocpHOjZY4vA5nwHl t8nxRMirNnhSTBoqTkCXBp6hb8CMuE/yKJjpuCVAq5ZzhvyF/ZSHLY/CnMf8JLpZIpnmzLePg6I0RLJ+nP9YwMCG0CqEpiJR9xg0D9NvpNnZUXIzIWWAAddA Xyt36ROSDIrjWVQwWAvY3dqqP6yX+//Od8Tx1Kj3SCRSYi2wV8HgPBJv4l4vQpWXcXJ4Q14ZqaKhHpUW9c4Esiefn7pSBtQWISOx3z9upX3Z99VZ7LBcHA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170721_123621_835434_88F116D0 X-CRM114-Status: GOOD ( 12.92 ) 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 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 --- .../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 205d397..a683d4c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2928,6 +2928,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