From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS, URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88E53C43381 for ; Fri, 29 Mar 2019 03:11:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 521A3206DD for ; Fri, 29 Mar 2019 03:11:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Y5y9xe8V"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="SaqxY0fj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 521A3206DD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cmYvvvNReVDtLST1ltpjgqrlB76UtFcMMOsPJHHVsf0=; b=Y5y9xe8VXJmE++ OU32GebZ3ltOzq4NoB/UsznDTFjCx1ecTU3DOjffIiVsZKagqr3PH1sb0LZE3ZCpHWMd+zA0YdsXr 6AxYsNRWz4E5fsB9YC4+UE4vYlev+gFYgTBUGmEl0qQwqK4TUL+KlaeFVoGB6Q1hxUYSHHmDm1SSY I1epkti1cdV/ZymUGamQCinetXM7qaluVjTOiChTwImgueR2RdvrpB1RIx3hkiEDsHmx6dcXV1UYp bmUEWpyH9/NGWCismSP780z+HxhLWMDSG9ntvfqMQGwijzZ+dIweTS1EWeSdWq5aUhFmOYW+ZCna7 R4kNZyM0kAawE3n452PQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9hv8-0008Fk-IP; Fri, 29 Mar 2019 03:11:06 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9hv2-0008FN-5d for linux-arm-kernel@lists.infradead.org; Fri, 29 Mar 2019 03:11:01 +0000 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B2843206DD; Fri, 29 Mar 2019 03:10:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553829059; bh=oLVDJtagrE0Sa5LL6lnHuo0CpZFaJPW+8UJBXkqC+rM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SaqxY0fjXwQ19PNwfefHcvkfCbAz04m4MlYsav29q/9zv8haeRZcKTxjjuoNW66nk EYGqzjTkzdOZ58VmkLWGjLlXkPp61V1BtyXg/QarB1zb7oVQfW0O8UxiQhH32EDviK 2R3cfRutqLmuCVCy8X+f48QscdUyVMhwencYkZBo= Date: Fri, 29 Mar 2019 11:10:15 +0800 From: Shawn Guo To: Fabio Estevam Subject: Re: [PATCH] arm64: dts: imx8mq: Move thermal-zones out of bus node Message-ID: <20190329031014.GO12513@dragon> References: <20190325151959.31883-1-festevam@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190325151959.31883-1-festevam@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190328_201100_247049_6EB5D7F7 X-CRM114-Status: GOOD ( 15.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, angus@akkea.ca, linux-imx@nxp.com, kernel@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Mar 25, 2019 at 12:19:59PM -0300, Fabio Estevam wrote: > thermal-zones node does not have any register properties and thus > shouldn't be placed inside the bus. > > Move thermal-zones node from soc node to root node in order to fix > the following build warning with W=1: > > arch/arm64/boot/dts/freescale/imx8mq.dtsi:305.18-364.6: Warning (simple_bus_reg): /soc@0/bus@30000000/thermal-zones: missing or empty reg/ranges property > > Fixes: e464fd2ba4d4 ("arm64: dts: imx8mq: enable the multi sensor TMU") My branches could be rebased, so the commit id is not really stable. I dropped the tag and applied the patch. Shawn > Signed-off-by: Fabio Estevam > --- > arch/arm64/boot/dts/freescale/imx8mq.dtsi | 122 +++++++++++----------- > 1 file changed, 61 insertions(+), 61 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > index 230f198ad87a..feb195984997 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > @@ -167,6 +167,67 @@ > method = "smc"; > }; > > + thermal-zones { > + cpu-thermal { > + polling-delay-passive = <250>; > + polling-delay = <2000>; > + thermal-sensors = <&tmu 0>; > + > + trips { > + cpu_alert: cpu-alert { > + temperature = <80000>; > + hysteresis = <2000>; > + type = "passive"; > + }; > + > + cpu-crit { > + temperature = <90000>; > + hysteresis = <2000>; > + type = "critical"; > + }; > + }; > + > + cooling-maps { > + map0 { > + trip = <&cpu_alert>; > + cooling-device = > + <&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > + <&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > + <&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > + <&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; > + }; > + }; > + }; > + > + gpu-thermal { > + polling-delay-passive = <250>; > + polling-delay = <2000>; > + thermal-sensors = <&tmu 1>; > + > + trips { > + gpu-crit { > + temperature = <90000>; > + hysteresis = <2000>; > + type = "critical"; > + }; > + }; > + }; > + > + vpu-thermal { > + polling-delay-passive = <250>; > + polling-delay = <2000>; > + thermal-sensors = <&tmu 2>; > + > + trips { > + vpu-crit { > + temperature = <90000>; > + hysteresis = <2000>; > + type = "critical"; > + }; > + }; > + }; > + }; > + > timer { > compatible = "arm,armv8-timer"; > interrupts = , /* Physical Secure */ > @@ -302,67 +363,6 @@ > #thermal-sensor-cells = <1>; > }; > > - thermal-zones { > - cpu-thermal { > - polling-delay-passive = <250>; > - polling-delay = <2000>; > - thermal-sensors = <&tmu 0>; > - > - trips { > - cpu_alert: cpu-alert { > - temperature = <80000>; > - hysteresis = <2000>; > - type = "passive"; > - }; > - > - cpu-crit { > - temperature = <90000>; > - hysteresis = <2000>; > - type = "critical"; > - }; > - }; > - > - cooling-maps { > - map0 { > - trip = <&cpu_alert>; > - cooling-device = > - <&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > - <&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > - <&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > - <&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; > - }; > - }; > - }; > - > - gpu-thermal { > - polling-delay-passive = <250>; > - polling-delay = <2000>; > - thermal-sensors = <&tmu 1>; > - > - trips { > - gpu-crit { > - temperature = <90000>; > - hysteresis = <2000>; > - type = "critical"; > - }; > - }; > - }; > - > - vpu-thermal { > - polling-delay-passive = <250>; > - polling-delay = <2000>; > - thermal-sensors = <&tmu 2>; > - > - trips { > - vpu-crit { > - temperature = <90000>; > - hysteresis = <2000>; > - type = "critical"; > - }; > - }; > - }; > - }; > - > wdog1: watchdog@30280000 { > compatible = "fsl,imx8mq-wdt", "fsl,imx21-wdt"; > reg = <0x30280000 0x10000>; > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel