Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1938305ybi; Thu, 4 Jul 2019 02:23:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxafOm/oezaK5iVvV6kEAl/5oPsldmEHTuBxAZFXZIGSoN/0b8YB6+vJ5TBuLMg3uaZD+jP X-Received: by 2002:a63:4c0b:: with SMTP id z11mr42907355pga.440.1562232196605; Thu, 04 Jul 2019 02:23:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562232196; cv=none; d=google.com; s=arc-20160816; b=xWWbmi21cfcgDG2jza6wcmu1nP9l8V4sPB8c7QZwp0ksPywB8knNGwv/YM9x765SEH Zs5rRa0xpOaaI8cxDyhOmKwhm0gjsNDIWM4vK2GEcdBBU8SlaxAIONvgWLYTf6r2Y8/P c0R8wQv2RXYFza72dJZUPW6tsUXsa4rV/Orh4wt2hYySze/iw9fqFmlUiJgnVXsq9y/n lagoKs/6g73BElnG9CQ3pFuGk6OmJbY6CmkQoGu6RSbjXGSXf/3LJUnrFvDYLmzLd676 YkmxtBEHVEEiuJyg6kRfvKqaR0If1aPN+xmgpWyRPcWHiJtcrl/UdyPKqcTsmyfbLI4J Zpfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=2f5TVstv6lPtLCSvtSRmLlxnSf8UK5eIaEeMk7zcBYk=; b=wismNDkQSbHhYj2FVvOm/32nan5czEnPBlU/BZrEPi0nJy2vHlNTMvsfltvnyMjl6I sqlZk5lw3+fRbXRZPZCcgzyeJ3IR95wOcidDyN17biU/4T+1iGnfGpS5XkFI5Vj985Qw 4NU9CKtgLO638z89XXCLHeeXacakd/lLT/uJJo1jY3g/Oek7o3OrNtfPGFaNUNCUv726 47gi8j18jCuSVxVgm3e7OEKjdDBirvtbE3PhBMhRXCg4jrF2NUBzUtE8J1I6htJ6FvEd V1vggvXISxNdxD838bdEzIRKGJw8hsiTjWR4tK9jaqEqBTkkiXxxb69wQtgxik/9+NkE AQwA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4si4624039pgv.489.2019.07.04.02.23.00; Thu, 04 Jul 2019 02:23:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727320AbfGDJWg (ORCPT + 99 others); Thu, 4 Jul 2019 05:22:36 -0400 Received: from inva020.nxp.com ([92.121.34.13]:47832 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727147AbfGDJWf (ORCPT ); Thu, 4 Jul 2019 05:22:35 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 0AAB51A0562; Thu, 4 Jul 2019 11:22:34 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 6B9511A0021; Thu, 4 Jul 2019 11:22:19 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 10A2D402DF; Thu, 4 Jul 2019 17:22:05 +0800 (SGT) From: Anson.Huang@nxp.com To: rui.zhang@intel.com, edubezval@gmail.com, daniel.lezcano@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, catalin.marinas@arm.com, will@kernel.org, leonard.crestez@nxp.com, daniel.baluta@nxp.com, ping.bai@nxp.com, olof@lixom.net, maxime.ripard@bootlin.com, jagan@amarulasolutions.com, bjorn.andersson@linaro.org, dinguyen@kernel.org, enric.balletbo@collabora.com, marcin.juszkiewicz@linaro.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH 0/4] Add support for i.MX8MM thermal sensor driver Date: Thu, 4 Jul 2019 17:13:09 +0800 Message-Id: <20190704091313.9516-1-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.14.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anson Huang i.MX8MM has a thermal monitor unit (TMU) inside, it ONLY has one sensor for CPU, add support for temperature reading for CPU, cpu cooling is also added. This patch series is based on below i.MX SCU thermal patch series: https://patchwork.kernel.org/patch/11000821/ Anson Huang (4): dt-bindings: thermal: imx8mm-thermal: Add binding doc for i.MX8MM thermal: imx8mm: Add support for i.MX8MM thermal monitoring unit arm64: defconfig: Enable CONFIG_IMX8MM_THERMAL as module arm64: dts: imx8mm: Add thermal zone support .../devicetree/bindings/thermal/imx8mm-thermal.txt | 15 +++ arch/arm64/boot/dts/freescale/imx8mm.dtsi | 43 +++++++ arch/arm64/configs/defconfig | 1 + drivers/thermal/Kconfig | 10 ++ drivers/thermal/Makefile | 1 + drivers/thermal/imx8mm_thermal.c | 134 +++++++++++++++++++++ 6 files changed, 204 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/imx8mm-thermal.txt create mode 100644 drivers/thermal/imx8mm_thermal.c -- 2.7.4