Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2740080ybi; Sun, 9 Jun 2019 19:53:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqybmnltZSKIoV7K1ByTrWkt0RyXegyYNLQki1oVcMywn1HG0YCm+HMZaJOoyLjkix+z2KNb X-Received: by 2002:a17:902:aa88:: with SMTP id d8mr59872482plr.73.1560135184325; Sun, 09 Jun 2019 19:53:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560135184; cv=none; d=google.com; s=arc-20160816; b=rbyjlmAn9rwaQKR3YnyGr8BxtOui8mbG9zRkybak9uOsEKwLzL7Ztqc4FxP9F521Cw 9oE4SsKk/FF1T7PhSnKi6K58Ogcw1G9eGVUB0U1SkGDNNLUmbqnlFWQOLbbhZKZlwI/e XWo6VoPMexxR0A93H1JCrLEY6F/C9fMjnRfrnrwWN60wlnSdqjixVTWAvuTqe9ilUd+7 te50avHIohbGiIW7z0/IQTobbThqolKsBfoKPyTU7opvMN4eb90s/Jx4n9EDN4tINb9p SSDz/+g8PYj1lNEA7znEwJohzjCFYHz0JvxTA8BtdbKR6rI9szXzeKG82jwZl6bcMemS zy2w== 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=yfAKiUQ0BzUiPHDYW5XWlLcpp66ATzP/nY+ZnjdFh4g=; b=UTZ8LVwKPsGGxPN/uxlQ/Nhbf2t/vB9Z3E3RM1b1Aeb/Gki4RTAnk74tGXLW+ixNcs WGC/quT1sXQqdwFVSgHhj/AEOUxdppXSB87XtY+khoy08FTn2lato653rRxYc7L3r7xV 7fTOnjiFdoEuSM7ekyO4lrbskzko/iHj7ipBGeeUVlr50AL8MqfmB2lCPDFiR9n5Sw+g 9k9RAFX450KGwhgPn3BD7UFJGVvs2jpnG5AFicNDAf6hBK9im6XCLpmnv+ogKCS9gJg8 9ZB6alv3ZjBfHM1Guv5y0TOuKTSeCiJBX6PkDFrSElxoWOrCV6By9sRPqp9JoWQP+sFs wumw== 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 d184si8740583pga.551.2019.06.09.19.52.47; Sun, 09 Jun 2019 19:53:04 -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 S1730376AbfFJCvk (ORCPT + 99 others); Sun, 9 Jun 2019 22:51:40 -0400 Received: from inva021.nxp.com ([92.121.34.21]:53068 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726566AbfFJCvj (ORCPT ); Sun, 9 Jun 2019 22:51:39 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 191492006CC; Mon, 10 Jun 2019 04:51:37 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 1B551200186; Mon, 10 Jun 2019 04:51:21 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id C3EAA402C0; Mon, 10 Jun 2019 10:51:07 +0800 (SGT) From: Anson.Huang@nxp.com To: robh+dt@kernel.org, mark.rutland@arm.com, corbet@lwn.net, 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, mchehab+samsung@kernel.org, linux@roeck-us.net, 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-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH V14 1/5] dt-bindings: fsl: scu: add thermal binding Date: Mon, 10 Jun 2019 10:52:50 +0800 Message-Id: <20190610025254.23940-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. --- .../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