From patchwork Mon Nov 9 12:55:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 322616 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 48309C4741F for ; Mon, 9 Nov 2020 13:37:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EE124206B2 for ; Mon, 9 Nov 2020 13:37:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604929029; bh=ctEEySN+O2L/W2WoGTq5co8GAKHPw/FIyNG1Z5mpq9g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=z4xv/nXUU7B8UuQFDXzRHfkOqfWN5XwjuSI5wg+Xk1Mzv8Gi0xiJaJ7Bcjo3VlhB1 9UwFrEdGKABEvDEreLO9S9wOaJUwRiAfvMg9atI7WM4e3pVXQmmSshXWzHyC37wQEI xJMvyLOgVAG9iu/C/vhfQOHKOGrUVnS/prfi01Wc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730927AbgKINgo (ORCPT ); Mon, 9 Nov 2020 08:36:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:57600 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729432AbgKINEn (ORCPT ); Mon, 9 Nov 2020 08:04:43 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8FBDE21D7F; Mon, 9 Nov 2020 13:04:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604927076; bh=ctEEySN+O2L/W2WoGTq5co8GAKHPw/FIyNG1Z5mpq9g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wonEBZ1crrRRxcCpAVFYsRtBbanfJGL5IBYf5vpnNBVO+sT93+DYrmgls7z4gJrTh Y/7HvAzmoXz5iXb/jDGZTU/+bNukDJnX6Ot7QvTD1VXa46svH7Fl3DkdKKALwT7BfN i6Rz2vm7TrN+NHtG52riWy31pJKw+NTCMkBZgLXg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , Maxime Ripard , Sasha Levin Subject: [PATCH 4.9 102/117] ARM: dts: sun4i-a10: fix cpu_alert temperature Date: Mon, 9 Nov 2020 13:55:28 +0100 Message-Id: <20201109125030.535732484@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201109125025.630721781@linuxfoundation.org> References: <20201109125025.630721781@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Clément Péron [ Upstream commit dea252fa41cd8ce332d148444e4799235a8a03ec ] When running dtbs_check thermal_zone warn about the temperature declared. thermal-zones: cpu-thermal:trips:cpu-alert0:temperature:0:0: 850000 is greater than the maximum of 200000 It's indeed wrong the real value is 85°C and not 850°C. Signed-off-by: Clément Péron Signed-off-by: Maxime Ripard Link: https://lore.kernel.org/r/20201003100332.431178-1-peron.clem@gmail.com Signed-off-by: Sasha Levin --- arch/arm/boot/dts/sun4i-a10.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index 7e7dfc2b43db0..d1af56d2f25e5 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++ b/arch/arm/boot/dts/sun4i-a10.dtsi @@ -144,7 +144,7 @@ trips { cpu_alert0: cpu_alert0 { /* milliCelsius */ - temperature = <850000>; + temperature = <85000>; hysteresis = <2000>; type = "passive"; };