Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp105953ybv; Wed, 19 Feb 2020 17:17:17 -0800 (PST) X-Google-Smtp-Source: APXvYqwyRkA8GJ4boKXSFcIivY4+RBPpHX8LOX6J+ETzV6ubQFUOTkj04b38n5B2rfol3+Y6ai1M X-Received: by 2002:aca:c4d2:: with SMTP id u201mr383468oif.54.1582161437651; Wed, 19 Feb 2020 17:17:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582161437; cv=none; d=google.com; s=arc-20160816; b=IDaRV4H013BMEXnzsNxroIQrofpnlGqbPmtvsFdjggJivFGqFbcZcoVE/YOft9F/iR vw7SRYVG3Fi2vKZrfBSyvmlfsRiXCx5Rnwg5I2Ps+6VQpitSGZx8VXqksE3SDKEXnulJ kl5lnGLGHvQzUW4nNuMR0csMAa5DUpme7LdvQwKD8KDkF/mXaCtgIjqNdkbZD07k9X9d oMzVdLQdbSYP4TEBwdgeJINlQNtdrvL2lvYtQY6y0LEWmLteiKwcgH4G7tbY20XRuT1n i0vKlfA1JCpGrzymcLxdGQ3H60pN75AlUi6Qvd5S7/SheB/g7Lypu8+yHqLCViBVzzZh JjaA== 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=1OQ0mOsKNK6no0DtDXx/GJoJxceZzt7SzzGQOA/PajQ=; b=pNLSUABGOqtiKYE24WEX+VLnT/nuG2gh0OxI/fK5GLCxVuDzYTxMpG435nOvjCewSu V4JeKYejSRjqbfNMzxfUcU9aD5behcgWMuHfuQ6LbXj35PGLh0C/wgAjSarNPg7RHFEw xCsHojFV4v/mreUIDHQOwHh+R9kp6/nWSVY9xyCMeL6XND43o2CEXvPZw0WDZ/I3+n90 ZyQwaxPGMljP4DW7kxBvY/WdXpaYYlo0uYoa7EXtW7vI47T1BTgCdKczlf9Wq6u3Kp0M XMsF99jDOyJLjSU5gJasEfdSCtdrlnabf7ZvR/JDAYzLTKTsp2Uz3on5hJMI21IvG0vV DAxA== 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 u1si864778otg.113.2020.02.19.17.17.05; Wed, 19 Feb 2020 17:17:17 -0800 (PST) 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 S1727635AbgBTBQy (ORCPT + 99 others); Wed, 19 Feb 2020 20:16:54 -0500 Received: from inva021.nxp.com ([92.121.34.21]:55482 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726962AbgBTBQx (ORCPT ); Wed, 19 Feb 2020 20:16:53 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E86E620449F; Thu, 20 Feb 2020 02:16:51 +0100 (CET) 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 7F0B1201FF7; Thu, 20 Feb 2020 02:16:36 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id EFBE14024E; Thu, 20 Feb 2020 09:16:10 +0800 (SGT) From: Anson Huang 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@kernel.org, rui.zhang@intel.com, daniel.lezcano@linaro.org, amit.kucheria@verdurent.com, aisheng.dong@nxp.com, linux@roeck-us.net, srinivas.kandagatla@linaro.org, krzk@kernel.org, fugang.duan@nxp.com, peng.fan@nxp.com, daniel.baluta@nxp.com, bjorn.andersson@linaro.org, olof@lixom.net, dinguyen@kernel.org, leonard.crestez@nxp.com, marcin.juszkiewicz@linaro.org, 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 V15 RESEND 1/5] dt-bindings: fsl: scu: add thermal binding Date: Thu, 20 Feb 2020 09:10:24 +0800 Message-Id: <1582161028-2844-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 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 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 Reviewed-by: Dong Aisheng --- 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 e07735a8..7f42cc3 100644 --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt @@ -166,6 +166,17 @@ Required properties: followed by "fsl,imx-sc-key"; - linux,keycodes: See Documentation/devicetree/bindings/input/keys.txt +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 { @@ -238,6 +249,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