From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Anson Huang Subject: [PATCH V2 1/4] dt-bindings: thermal: add binding doc for i.MX system controller thermal driver Date: Wed, 28 Nov 2018 05:58:15 +0000 Message-ID: <1543384349-2851-2-git-send-email-Anson.Huang@nxp.com> References: <1543384349-2851-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1543384349-2851-1-git-send-email-Anson.Huang@nxp.com> Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 To: "rui.zhang@intel.com" , "edubezval@gmail.com" , "daniel.lezcano@linaro.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , Aisheng DONG , Andy Gross , "heiko@sntech.de" , "horms+renesas@verge.net.au" , "arnd@arndb.de" , "amit.kucheria@linaro.org" , "enric.balletbo@collabora.com" , "ezequiel@collabora.com" , "olof@lixom.net" , "bjorn.andersson@linaro.org" , "linux-pm@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "shawnguo@kernel.org" Cc: dl-linux-imx List-ID: 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 --- no change since V1. .../devicetree/bindings/thermal/imx-sc-thermal.txt | 33 ++++++++++++++++++= ++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/imx-sc-therma= l.txt diff --git a/Documentation/devicetree/bindings/thermal/imx-sc-thermal.txt b= /Documentation/devicetree/bindings/thermal/imx-sc-thermal.txt new file mode 100644 index 0000000..2f5b0a2 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/imx-sc-thermal.txt @@ -0,0 +1,33 @@ +* Temperature Monitor (TEMPMON) on NXP i.MX SoCs with System Controller + +Required properties: +- compatible : Must be "nxp,imx8qxp-sc-thermal"; +- tsens-num : Total number of thermal sensors supported; +- #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description= . + +Example: +tsens: thermal-sensor { + compatible =3D "nxp,imx8qxp-sc-thermal"; + tsens-num =3D <1>; + #thermal-sensor-cells =3D <1>; +}; + +thermal_zones: thermal-zones { + cpu-thermal0 { + polling-delay-passive =3D <250>; + polling-delay =3D <2000>; + thermal-sensors =3D <&tsens 355>; + trips { + cpu_alert0: trip0 { + temperature =3D <107000>; + hysteresis =3D <2000>; + type =3D "passive"; + }; + cpu_crit0: trip1 { + temperature =3D <127000>; + hysteresis =3D <2000>; + type =3D "critical"; + }; + }; + }; +}; --=20 2.7.4