OSDN Git Service

Documentation: devicetree: add binding for Broadcom STB AVS TMON
authorBrian Norris <computersforpeace@gmail.com>
Tue, 26 Sep 2017 21:27:58 +0000 (14:27 -0700)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 1 Nov 2017 02:32:19 +0000 (19:32 -0700)
Add binding for Broadcom STB thermal.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt [new file with mode: 0644]
MAINTAINERS

diff --git a/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt
new file mode 100644 (file)
index 0000000..9d43553
--- /dev/null
@@ -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>;
+       };
index 2281af4..46c592b 100644 (file)
@@ -2955,6 +2955,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 <mmayer@broadcom.com>
+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 <computersforpeace@gmail.com>
 M:     Kamal Dasu <kdasu.kdev@gmail.com>