Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1588128ybv; Thu, 20 Feb 2020 23:49:42 -0800 (PST) X-Google-Smtp-Source: APXvYqy5/7SyvZaqRST5RrkMUkP01+qdTyQcXJoCEg93tIC0UX3xoqKSiK7QIG2RQ8+7kTgUqloD X-Received: by 2002:a9d:7:: with SMTP id 7mr25845087ota.26.1582271382615; Thu, 20 Feb 2020 23:49:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582271382; cv=none; d=google.com; s=arc-20160816; b=ADLQCtWJZIkSul9oUL7mM+PERYbRwadx2Xg2+wEXKIh+DOgQ3RBAbuwCNJ8kWI5oek tHvCO913M0IZDv+DhO+aKYRSjGffjKnFAMDr3YRBFQ4zCZb7ZjttoNsUTJA/JvYXyQ4I sN/kMCDQYbs5WWSnIqpPpQExiOY/a+KLhgQ3uXpuUYIF6obJneAl9mUloi+lD44Qeipw Plut1R11X1W9rx/TD9QApUNrnPwbwkvn9oc9+mw4Pyhq/vuNN9uda1/sLLYiKX3i3Uk7 ydy/50zfpYzi9BgvDhunH92vikYI7p12KgrCJ+nQeyH1E1LAK9jiSnBtLv7MyJh+RCLW /oPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=jT5rF+bbiWSQS+dsMU79x0fqP3o57T6ctqozTgrsdcw=; b=R9AMDQ3MoEdc53yyiSZdui3wEEDlNvVee6KqIwpKGe+P5Oh19ErLTRoqFciS46JgJK OhzaTchVNb3W1Lqb5jMfKDd0rvW8+ITgvHRG/0YEdh6TbDhPXuF8SHV4baVpCcJHaLCr 9qML5LSjaWaayNNZgRGa2875keeQyYrqJR4lH+GFuRrylDeHnDyAK65ag7dFqwcY2Sku 3oxsl10C54M3eT0BpKSY+9a/3A5UNmSTxRDVLnFSNRCUySjQf6+voMPdjJzWiyU2UJgW zNvV7OyHpp3Vk3aV/giA6DnbyoY0mT2J2lw9YRtys5jxp9zZVkkMn3GgC+jTM1Gny5+u G5Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hivSmJTS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x23si1055976otq.41.2020.02.20.23.49.30; Thu, 20 Feb 2020 23:49:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hivSmJTS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728782AbgBUHsR (ORCPT + 99 others); Fri, 21 Feb 2020 02:48:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:44216 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728781AbgBUHsO (ORCPT ); Fri, 21 Feb 2020 02:48:14 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 843A020801; Fri, 21 Feb 2020 07:48:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582271294; bh=j27L0uvNh+GXvHJve/VVwZnTA0Mp4pOfRumbA87sMpU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hivSmJTSn3tkZIn+NG38H/ckpTDignhgkMIzaBAa/rzNXhcyHqrhriNphMrJ84ieA +PwKhdAvr0DZa3n7hTok4qI8U0vEmE98x4JjWCBwxFdgVPSH0XBE5o1lK3vUtHWDaJ p49Ef5aqxhQHyLUr6sKuAJsxMrdnYKfbBtru372I= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Robin Murphy , Heiko Stuebner , Sasha Levin Subject: [PATCH 5.5 110/399] arm64: dts: rockchip: Fix NanoPC-T4 cooling maps Date: Fri, 21 Feb 2020 08:37:15 +0100 Message-Id: <20200221072413.128831313@linuxfoundation.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200221072402.315346745@linuxfoundation.org> References: <20200221072402.315346745@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Robin Murphy [ Upstream commit a793e19c15f25a126138ac4ae9facf9204754af3 ] Although it appeared to follow logically from the bindings, apparently the thermal framework can't properly cope with a single cooling device being shared between multiple maps. The CPU zone is probably easier to overheat, so remove the references to the (optional) fan from the GPU cooling zone to avoid things getting confused. Hopefully GPU-intensive tasks will leak enough heat across to the CPU zone to still hit the fan trips before reaching critical GPU temperatures. Signed-off-by: Robin Murphy Link: https://lore.kernel.org/r/5bb39f3115df1a487d717d3ae87e523b03749379.1573908197.git.robin.murphy@arm.com Signed-off-by: Heiko Stuebner Signed-off-by: Sasha Levin --- .../boot/dts/rockchip/rk3399-nanopc-t4.dts | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-nanopc-t4.dts b/arch/arm64/boot/dts/rockchip/rk3399-nanopc-t4.dts index 2a127985ab171..d3ed8e5e770f1 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-nanopc-t4.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-nanopc-t4.dts @@ -94,33 +94,6 @@ }; }; -&gpu_thermal { - trips { - gpu_warm: gpu_warm { - temperature = <55000>; - hysteresis = <2000>; - type = "active"; - }; - - gpu_hot: gpu_hot { - temperature = <65000>; - hysteresis = <2000>; - type = "active"; - }; - }; - cooling-maps { - map1 { - trip = <&gpu_warm>; - cooling-device = <&fan THERMAL_NO_LIMIT 1>; - }; - - map2 { - trip = <&gpu_hot>; - cooling-device = <&fan 2 THERMAL_NO_LIMIT>; - }; - }; -}; - &pinctrl { ir { ir_rx: ir-rx { -- 2.20.1