Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4506224ybi; Mon, 27 May 2019 20:17:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyrd9mNZVLxOGa2dnaONeaE7HTwY5T8c2PYpKSjmpVreZ89cY4ztrylEDIFe98lkUz7rjNV X-Received: by 2002:a63:4852:: with SMTP id x18mr116883978pgk.14.1559013451968; Mon, 27 May 2019 20:17:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559013451; cv=none; d=google.com; s=arc-20160816; b=OdGXChMDDjNq+B4Q6j/xJzZxcrMmla6GyEAmh7qMQlH9skkWvt0MNz7XKEfRjy12mB qkhz//W1mz/+56KXv0ABDAMvp0+k5iuufZBRfjGSrnszUBp5G5CMXs6McpgFIfpBTOV5 +lBOLkOUr/SpK0UL0YlmuriLHjnClwSjDL8kQz7oRoItsiwF0mvevM71VkfgifLve06Q aaiKj6C/7/PzqAwJQXl0HgwfRZQkdbC2Ih21vKAbPV1BGlm2c2zkm9c6/gJwtgSQXtaf Q3TbJYQkHnMmxHhc4MMQEc6hkzOh9ARVayVh+6/V6XQMVaXl+0mCZc5iCSCVG6JObfaP ffKw== 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=PjTtr+Z8yq8iuaM51NRI0P0rLCIyONLWc1WlMv36QjPNGeOhObbxciivAxbkQpyDpu 39uMQEGcAozqe/IkxfW+YYGYnYhU/qaLhYxX1njQjp2RiYXSf/Y4gAuixG7pCgnYsFVB +vQ8iIlRKrhu0V25u8HmJ72v3lSRqv4NCn2Cbmi+0Pj/aKFB61Azzt5kCVv5ibKPMKg7 Ylduhole95ZLHrKB/K9AsNAsnXmHlcA66xM4CowJTQ2sTE26E3SFWvvo1qKqLBKINxUy knPLu8HoDh9CNhlL5F8lY7qgXKNQJ1F8XOIYYnUP6QGuxAH1YcIzds8ciuJYEPI7sf6m WiXA== 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 b18si7912005pgm.82.2019.05.27.20.17.15; Mon, 27 May 2019 20:17:31 -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 S1727811AbfE1DP0 (ORCPT + 99 others); Mon, 27 May 2019 23:15:26 -0400 Received: from inva020.nxp.com ([92.121.34.13]:56726 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727468AbfE1DPZ (ORCPT ); Mon, 27 May 2019 23:15:25 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 5EAE41A020D; Tue, 28 May 2019 05:15:23 +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 756D31A0D4F; Tue, 28 May 2019 05:15:11 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 48040402C9; Tue, 28 May 2019 11:14:57 +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 V13 1/5] dt-bindings: fsl: scu: add thermal binding Date: Tue, 28 May 2019 11:16:50 +0800 Message-Id: <20190528031654.43801-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