lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 27 Nov 2018 06:21:05 +0000
From:   Anson Huang <anson.huang@....com>
To:     "robh+dt@...nel.org" <robh+dt@...nel.org>,
        "mark.rutland@....com" <mark.rutland@....com>,
        Aisheng DONG <aisheng.dong@....com>,
        "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "shawnguo@...nel.org" <shawnguo@...nel.org>
CC:     dl-linux-imx <linux-imx@....com>
Subject: RE: [PATCH] ARM64: dts: imx: add i.MX8QXP thermal support

Forgot to mentioned: This patch is based on "[V4,3/5] arm64: dts: imx: add imx8qxp support", https://patchwork.kernel.org/patch/10677311/

Best Regards!
Anson Huang

> -----Original Message-----
> From: Anson Huang
> Sent: 2018年11月27日 14:19
> To: robh+dt@...nel.org; mark.rutland@....com; Aisheng DONG
> <aisheng.dong@....com>; devicetree@...r.kernel.org;
> linux-kernel@...r.kernel.org; shawnguo@...nel.org
> Cc: dl-linux-imx <linux-imx@....com>
> Subject: [PATCH] ARM64: dts: imx: add i.MX8QXP thermal support
> 
> Add i.MX8QXP CPU thermal zone support.
> 
> Signed-off-by: Anson Huang <Anson.Huang@....com>
> ---
>  arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 27
> +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> index da99b6f..9155d45 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> @@ -9,6 +9,7 @@
>  #include <dt-bindings/firmware/imx/rsrc.h>  #include
> <dt-bindings/gpio/gpio.h>  #include <dt-bindings/pinctrl/pads-imx8qxp.h>
> +#include <dt-bindings/thermal/thermal.h>
> 
>  #include "imx8-ca35.dtsi"
> 
> @@ -85,6 +86,32 @@
>  		};
>  	};
> 
> +	tsens: thermal-sensor {
> +		compatible = "nxp,imx8qxp-sc-thermal";
> +		tsens-num = <1>;
> +		#thermal-sensor-cells = <1>;
> +	};
> +
> +	thermal_zones: thermal-zones {
> +		cpu-thermal0 {
> +			polling-delay-passive = <250>;
> +			polling-delay = <2000>;
> +			thermal-sensors = <&tsens 355>;
> +			trips {
> +				cpu_alert0: trip0 {
> +					temperature = <107000>;
> +					hysteresis = <2000>;
> +					type = "passive";
> +				};
> +				cpu_crit0: trip1 {
> +					temperature = <127000>;
> +					hysteresis = <2000>;
> +					type = "critical";
> +				};
> +			};
> +		};
> +	};
> +
>  	adma_subsys: bus@...00000 {
>  		compatible = "simple-bus";
>  		#address-cells = <1>;
> --
> 2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ