Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2456996ybv; Fri, 21 Feb 2020 16:16:46 -0800 (PST) X-Google-Smtp-Source: APXvYqyjeg4rV47YsWLufHSA7+XGxaDvTyOPHpJMmFu/SfXc88EiP/ZrnJkqZyr4RcDqVLGkXOgB X-Received: by 2002:a05:6830:1305:: with SMTP id p5mr28481709otq.124.1582330606336; Fri, 21 Feb 2020 16:16:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582330606; cv=none; d=google.com; s=arc-20160816; b=XoEK+gK+la/37FtTJAOI1DFlPpWlDBR6jmN9yh8NARkWT91cW3epXdyoTWS40cktiq pEhUtXEPkJT3gOqPJkykqOeGoan1BjDU3JiVvfpTA5KAicx660qCKSMD+4uZgU67X66c nfFppJlPqAtP84dSLe1sl4ic0UgKup/+c0cuwvtz7bLs8gcFWld5oKqHi6FCOlzFhAjb nM9QP3+4Eqxb1Y6NH+lcEhL+oxPLybxnsUeqPHUYVnWnbrzEeUvEj++w8UA6WPu65YpT Zxj8aSZuQJ6fw65PqciTBa9VXZRWv0PI7vCsq+muy4u0ED0BU14mydk0G2H0nIHxngjB 03LA== 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=gf0mZ8BWnS0CKfWOc0NgJrkgkauQchX3yTbh9n/crADRRpt7BTViq/bDpOwrA6znWS oMqKhRX7k9DXofOp4pVUVvGa2ZOr9eR5Xt4CzGADQVE/DpI9eTQL2gDoSKkKaUbGJpSC lXyOid5xxjFDAEi4WoO6B2YrJKw+Wowp2BmGcLIvCHfr6D24B6RaAQe/Qko9Fqq2Ku26 V+LmHuzjH2WR3P5pfy5sskgnhtYmboZEDZfQ7GQsBwiO6FanK7t5plbry6vDPUbrRCE0 izQiZvlANDBSs95tiAX/UlyPuCpZVjqiygJ8LV4cA8LqTJBMzKyMo5YR5ozcAwbNwxo+ hiNw== 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 g5si2260801otn.232.2020.02.21.16.16.34; Fri, 21 Feb 2020 16:16:46 -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 S1726747AbgBVAPM (ORCPT + 99 others); Fri, 21 Feb 2020 19:15:12 -0500 Received: from inva021.nxp.com ([92.121.34.21]:38572 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726613AbgBVAPL (ORCPT ); Fri, 21 Feb 2020 19:15:11 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 7AA602084BB; Sat, 22 Feb 2020 01:15:09 +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 6661F200E2F; Sat, 22 Feb 2020 01:14:53 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id DA4A5402B0; Sat, 22 Feb 2020 08:14:39 +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 V16 1/5] dt-bindings: fsl: scu: add thermal binding Date: Sat, 22 Feb 2020 08:08:48 +0800 Message-Id: <1582330132-13461-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