Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937507AbdIZV2R (ORCPT ); Tue, 26 Sep 2017 17:28:17 -0400 Received: from smtp-out-so.shaw.ca ([64.59.136.139]:42089 "EHLO smtp-out-so.shaw.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S937099AbdIZV2P (ORCPT ); Tue, 26 Sep 2017 17:28:15 -0400 X-Authority-Analysis: v=2.2 cv=B4DJ6KlM c=1 sm=1 tr=0 a=k5HOQ6ZN7M0zyjl8M7O1NA==:117 a=k5HOQ6ZN7M0zyjl8M7O1NA==:17 a=2JCJgTwv5E4A:10 a=Q-fNiiVtAAAA:8 a=6trvGZjgp1dngDMuEGAA:9 a=Fp8MccfUoT0GBdDC_Lng:22 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: Markus Mayer , Broadcom Kernel List , Power Management List , Device Tree List , ARM Kernel List , Linux Kernel Mailing List Subject: [PATCH v5 0/2] thermal: add brcmstb AVS TMON driver Date: Tue, 26 Sep 2017 14:27:57 -0700 Message-Id: <20170926212800.4879-1-code@mmayer.net> X-Mailer: git-send-email 2.14.1 X-CMAE-Envelope: MS4wfKCL5EbGLzXcOhqxCnF4D5PW+YGjzhv4Row7eiqnII34MGFNBkK0ary28KNTDwRF8cqNKN4ihzCwWyWxk4djuuncDVXJm9WoeZ8XO+WzEKiu3t4TeXQK rghIOlCj/fcsbneGf4bX6OC6xGVyBn831gIHMQ1Gz9iVPsqM7dQrv0GrVS9fY/m0mgZJaOkSrgwbAS1/L/SwLrWIyzuY52nSdA1tTH7PSruS3MpmtRh05hDZ g1tyw/M6dXViH+sOWKBESSaXHzg1rB7eHzT387cXNZli36EAH/0KL+sUVQec2Km9oNXgAr+JF4LAskc66esvUJnJ5etHolvzUTGvlHe9Gr/7sGhsCyoi55Bt 5tnb/aCVVipSxEfE6F4j/8GsuDxKPujAObPlR8fD5K3Za7/yEw0FLk4wYmPdgrJ5nvXeYMZanFCissm04/6GP+Oem+qrh6vFXMsVGAV7vYB/epAHMvZNOEjB VILkcirY1gOxF6jM22ZeD1g2kk02Sz8eiweYEmPbREoXtu1swri/TEH/sngB/g24EmyCLlCVgqX1X29J+xTahVpNKQOLNrpmO3kcnkUY/KokrpRO+uxh/CbG LoZS/Bzj5oivL8VN6OcFX8H64jivUK6g1c3t9VUk/m3myYv5msCwe7jltOnH2Z2L++DhvoTNx3Wdbj+yhYwXSV3M Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1653 Lines: 43 From: Markus Mayer This series adds the brcmstb AVS TMON driver. The driver was originally written by Brian Norris. Changes since v4: - disable trip points properly when needed; there was code left-over from an older iteration of this driver that used long ints, which resulted in code that was incorrect now that we are using ints - rebased on v4.14-rc1 - patches 3 & 4 (turning on CONFIG_BRCMSTB_THERMAL for arm/arm64) are no longer part of the series, because they were already picked up for 4.14 Changes since v3: - Rebased on v4.13-rc3 to resolve conflicts in the MAINTAINERS file Changes since v2: - replaced calls to pr_debug() with calls to dev_dbg() [PATCH 2/4 only] - all other patches are unchanged from v2 Changes since v1: - Fixed wording in binding document - Fixed lincensing to consistently mention GPL v2 - Use thermal_zone_get_slope() and thermal_zone_get_offset() - Some minor clean-ups Brian Norris (2): Documentation: devicetree: add binding for Broadcom STB AVS TMON thermal: add brcmstb AVS TMON driver .../devicetree/bindings/thermal/brcm,avs-tmon.txt | 20 ++ MAINTAINERS | 8 + drivers/thermal/Kconfig | 2 +- drivers/thermal/broadcom/Kconfig | 7 + drivers/thermal/broadcom/Makefile | 1 + drivers/thermal/broadcom/brcmstb_thermal.c | 387 +++++++++++++++++++++ 6 files changed, 424 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt create mode 100644 drivers/thermal/broadcom/brcmstb_thermal.c -- 2.7.4