Received: by 2002:a17:90a:2044:0:0:0:0 with SMTP id n62csp8017701pjc; Mon, 27 May 2019 23:07:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqyX2HGzWS0DcX+joDEAtqMrrfiIt5kk3daDOzAnXTaDt7N5GM+ryPg2PyYVKlPb5P1EvGqP X-Received: by 2002:a17:90a:617:: with SMTP id j23mr3205575pjj.111.1559023660619; Mon, 27 May 2019 23:07:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559023660; cv=none; d=google.com; s=arc-20160816; b=SUD7dmGVhr8RFfYXJpfnoA5MdIfANNkPyv2j5E3IAcN07MaQ5c4KQLc1Gd5hDF6HkB ldxD2rUp1IcpMTifSxrf4h2khjU6MEwlrcUGHSOCgiNkz8aMUx4dOcjGhlO+8np8ln6B P7GgFiRaHNAhwhxZ1gTdwrSMYa+Yc8IfZoqb7swRpe26lvIZkfy3Nie7423588z87vNb ZRfot3sBkFeyW83iGjS1wBfnvDh4uKtC11UoobjMIUrb6WB5eYWF3cT8FHOb+YCrKpce tD28rnQzuXmKaj74GLvyYLJxj+Tl+uP+pmQzA/Byy2x1jKsqkWesddf0ItkG8OvQf8vU wVSQ== 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=+czX8Xu4gQOseSFISauHawzViDGBXDEiAFUL9Di9Ye8=; b=o85HZF53jwnZDQqSIu3egYLNLK1xId93gbbLqfLePHoMOYEFntGjgt4meHMYPUbFTA wauQ7Z5Trr2x3zOChGXcbx0N7s5ePEy9LEtIsvdtiQvSyIxf1V6XF+pmRa5XbLf8pVFm EpHulR3fAglxEgC0bkvGH4kdsBs52ctnXb2GrYhw8STmM1bAXMedp7yZ9rH3ZF6VRktx u5X8kb6Vt5Fojxumgs83MF5tFAEQIzs/di2p8jDe/laQyHcRR02SnuUNPyO+JmskCnND L8xVHhYqEOnA3KqUFY/1QwS6hgEfs1d06G8ywNZrnLnITqH26LTI1LVotNDYhg089JZl aEuw== 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 d10si21716730pla.406.2019.05.27.23.07.24; Mon, 27 May 2019 23:07:40 -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 S1727361AbfE1GEy (ORCPT + 99 others); Tue, 28 May 2019 02:04:54 -0400 Received: from inva020.nxp.com ([92.121.34.13]:55444 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725904AbfE1GEx (ORCPT ); Tue, 28 May 2019 02:04:53 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 0B99F1A0D8A; Tue, 28 May 2019 08:04:51 +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 586321A0D9D; Tue, 28 May 2019 08:04:38 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id EA14E402C9; Tue, 28 May 2019 14:04:24 +0800 (SGT) From: Anson.Huang@nxp.com To: 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.deacon@arm.com, rui.zhang@intel.com, edubezval@gmail.com, daniel.lezcano@linaro.org, aisheng.dong@nxp.com, ulf.hansson@linaro.org, peng.fan@nxp.com, daniel.baluta@nxp.com, maxime.ripard@bootlin.com, olof@lixom.net, jagan@amarulasolutions.com, horms+renesas@verge.net.au, leonard.crestez@nxp.com, bjorn.andersson@linaro.org, dinguyen@kernel.org, enric.balletbo@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH RESEND V13 1/5] dt-bindings: fsl: scu: add thermal binding Date: Tue, 28 May 2019 14:06:17 +0800 Message-Id: <20190528060621.47342-1-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.17.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 NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and thermal sensors etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to get temperature from thermal sensors, this patch adds binding doc for i.MX system controller thermal driver. Signed-off-by: Anson Huang Reviewed-by: Rob Herring --- No change, just rebase the patch to top of linux-next and based on my watchdog patch: https://patchwork.kernel.org/patch/10962183/ --- .../devicetree/bindings/arm/freescale/fsl,scu.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt index a575e42..fc3844e 100644 --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt @@ -155,6 +155,17 @@ Required properties: Optional properties: - timeout-sec: contains the watchdog timeout in seconds. +Thermal bindings based on SCU Message Protocol +------------------------------------------------------------ + +Required properties: +- compatible: Should be : + "fsl,imx8qxp-sc-thermal" + followed by "fsl,imx-sc-thermal"; + +- #thermal-sensor-cells: See Documentation/devicetree/bindings/thermal/thermal.txt + for a description. + Example (imx8qxp): ------------- aliases { @@ -222,6 +233,11 @@ firmware { compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt"; timeout-sec = <60>; }; + + tsens: thermal-sensor { + compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal"; + #thermal-sensor-cells = <1>; + }; }; }; -- 2.7.4