[PATCH v8.1, 3/7] arm64: dts: mt8192: Add thermal zone

Nícolas F. R. A. Prado nfraprado at collabora.com
Thu Aug 4 16:20:15 PDT 2022


On Thu, Aug 04, 2022 at 03:09:08PM +0200, bchihi at baylibre.com wrote:
> From: Balsam CHIHI <bchihi at baylibre.com>
> 
> This adds the thermal zone for the mt8192.
> 
> Signed-off-by: Balsam CHIHI <bchihi at baylibre.com>
> ---
>  arch/arm64/boot/dts/mediatek/mt8192.dtsi | 113 ++++++++++++++++++++++-
>  1 file changed, 112 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> index cbae5a5ee4a0..3320b5c14ee3 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
[..]
> +		vdec-thermal {

		infra-thermal

> +			polling-delay = <0>;
> +			polling-delay-passive = <0>;
> +			thermal-sensors = <&lvts_ap 4>;
> +		};
> +		img-thermal {

		cam-thermal

> +			polling-delay = <0>;
> +			polling-delay-passive = <0>;
> +			thermal-sensors = <&lvts_ap 5>;
> +		};
> +		infra-thermal {

		md1-thermal

> +			polling-delay = <0>;
> +			polling-delay-passive = <0>;
> +			thermal-sensors = <&lvts_ap 6>;
> +		};
> +		cam1-thermal {

		md2-thermal

> +			polling-delay = <0>;
> +			polling-delay-passive = <0>;
> +			thermal-sensors = <&lvts_ap 7>;
> +		};
> +		cam2-thermal {

		md3-thermal

Thanks,
Nícolas

> +			polling-delay = <0>;
> +			polling-delay-passive = <0>;
> +			thermal-sensors = <&lvts_ap 8>;
> +		};
> +	};
>  };
> -- 
> 2.34.1
> 
> 



More information about the Linux-mediatek mailing list