Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp1187306ybs; Mon, 25 May 2020 09:13:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8uFXfHUvWB8BLpBcw9YVPyN9OfoR+VrJ7DMwJCh4B+TozNLTmXbKDsVeu6xJ8nC5S56+5 X-Received: by 2002:a17:906:4a8b:: with SMTP id x11mr18844706eju.107.1590423214291; Mon, 25 May 2020 09:13:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590423214; cv=none; d=google.com; s=arc-20160816; b=gWPVraoI5f/4iquIy/JRMTcduyvfM9WxL2WIBHRJa39hSzh7l4F6KqIyCvRRYdw41a knCmBhscSpiC0y95QvpnfVbDZNiuJh8SnmyOZP/NWLUaXfuPKIIWpq9Jogbznjsiuezc r9v247rmtMMDhn0Oc2FsHjwZ3i7ZuLKvy9ZbhAQmeDCzEAOQYR+fhFs1Ebnp0gdiNx5K dOQpHbfdn35T6K3wkh1yg1uW/0quWRfak1KYH0bG8YyWLhmbYcsebb9PHopUOhFVXajW vBUyXnkHYcBQdOtLtbGCUHwxocHYCPLAZmn3blUwlWyVqn0497wbJRK4By7seEio/Ptn 4BCA== 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=uk/jMQfs0/9e2NVt83mexQcBgAlqhgqwzP7OaQJiyrw=; b=uz4z3rFd8C7XTfdcOh9aNLz4N41m/349vXdv2GUglqTode/1Dwnm+zRwTwXzq9jI0k MJ0ssysVvuIDJ1fcjj285HS0/WethK+uyNaETIA3ga7hfQ3DKoUU3ML5Ag+5A/4vj0t2 H/H1wCjgyxQpqOyfw8BjWZ/3x3bTOvzfCUAsJwvvHPdt/nZWtviXQcdHDCLFUb7Br+kw 9cFQ5zQVMwpsmpy6Uz96cbq6X70UdAizbG4CTvceWCTKs8kKZg0nyUoJWSxnKe4G1OK1 E/PNjj3gOGFsDa2nPbpLaf8Mff9fYwlIaHcHYraR5m4IEhtyQNhmQHeIBmJL45JosxAi Yvww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id r26si10065625edi.376.2020.05.25.09.13.11; Mon, 25 May 2020 09:13:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2389191AbgEYHxh (ORCPT + 99 others); Mon, 25 May 2020 03:53:37 -0400 Received: from inva020.nxp.com ([92.121.34.13]:40574 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726393AbgEYHxh (ORCPT ); Mon, 25 May 2020 03:53:37 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 4D0681A01FA; Mon, 25 May 2020 09:53:35 +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 7C5A31A01EF; Mon, 25 May 2020 09:53:31 +0200 (CEST) Received: from titan.ap.freescale.net (titan.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 4150A402BC; Mon, 25 May 2020 15:53:26 +0800 (SGT) From: Yuantian Tang To: shawnguo@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yuantian Tang Subject: [PATCH] arm64: dts: ls1028a: add one more thermal zone support Date: Mon, 25 May 2020 15:38:27 +0800 Message-Id: <20200525073827.13272-1-andy.tang@nxp.com> X-Mailer: git-send-email 2.9.5 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 There are 2 thermal zones in ls1028a soc. Current dts only includes one. This patch adds the other thermal zone node in dts to enable it. Signed-off-by: Yuantian Tang --- .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index 055f114cf848..bc6f0c0f85da 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -129,11 +129,31 @@ }; thermal-zones { - core-cluster { + ddr-controller { polling-delay-passive = <1000>; polling-delay = <5000>; thermal-sensors = <&tmu 0>; + trips { + ddr-ctrler-alert { + temperature = <85000>; + hysteresis = <2000>; + type = "passive"; + }; + + ddr-ctrler-crit { + temperature = <95000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + }; + + core-cluster { + polling-delay-passive = <1000>; + polling-delay = <5000>; + thermal-sensors = <&tmu 1>; + trips { core_cluster_alert: core-cluster-alert { temperature = <85000>; -- 2.17.1