From patchwork Tue Jun 4 16:57:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 165797 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp6110515ili; Tue, 4 Jun 2019 09:58:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxH1YKM0JnIZix59t9ji8x48wYJub9Y2nXAhC8xf/JYhfUyil/T6BFFFs4GfGSvTWORiDPr X-Received: by 2002:a17:902:b407:: with SMTP id x7mr37696218plr.28.1559667498275; Tue, 04 Jun 2019 09:58:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559667498; cv=none; d=google.com; s=arc-20160816; b=cXb/EuNFM2jVQ/BN7oSWuS1611g81oOhuzC5ivw0r5iNcCVuQmytIIoump1qY1bk9Y WT+Ftr2sreiststvOXVr/pI4xxpuB/SdOsImnr/A4IAfRYSOZvYKwsIQT4SlAxKHQs5n /36h5oo/RCE5MecgIIV8NYLTtFPq+qDDG/Z9x/rXgBG2jH2fw1rKQWBLDSBIgNTF/3sW J5sqe42Jo4BfTvYIBdUvOWg5g6+4pe4TNw+xgwohkB3kZmS/AkMDX3TueR/P6Rp/+vfP YQzefebQKBHHcBnTpqFAlNAd/N+6mW4OPEDf91ktOttwvKxHIrvwggfrYW5eKdQ+fWet 9SRQ== 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 :dkim-signature; bh=nf3jJrNk6C76DJ8y1UTRXRubP+zTDL/JpeAicSCnsJM=; b=Fb6gLnoOS3T8ERLN6nFQqtskRDpluFnYseZVXah+l1Tmt6BQI7ps9Pm4vyDxW4bsDt iaoDW7e6bsOt+mBlywnsr/4Z708rDxMKOrh3/j3vHjpmdQpIpQTOL4ZKJ3iwGBklr9Lb gW4b8ojLCxQYKJMHTUY9uwoELA1c4ZwSCJMHr9qagkm/Hm+1RjFqxc+slezLIzXbpPwK O8u34/l3y5rilz/T0LejvLn6K60duQBzgs+IKIfvznTzvzkx/zxR5L1oJvdqU4YG7bGv gZwbMwhp8B6XKvoptSdNRqVy6dgsEdjGfTsn4r/w3T7tmy/FSCNlurpVNU4FgU9VFfsm C/aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kqj8P8lx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id go17si22794232plb.357.2019.06.04.09.58.17; Tue, 04 Jun 2019 09:58:18 -0700 (PDT) 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=@linaro.org header.s=google header.b=kqj8P8lx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727879AbfFDQ6R (ORCPT + 30 others); Tue, 4 Jun 2019 12:58:17 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:46842 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727709AbfFDQ6Q (ORCPT ); Tue, 4 Jun 2019 12:58:16 -0400 Received: by mail-wr1-f67.google.com with SMTP id n4so11355538wrw.13 for ; Tue, 04 Jun 2019 09:58:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=nf3jJrNk6C76DJ8y1UTRXRubP+zTDL/JpeAicSCnsJM=; b=kqj8P8lxcUc0L8j5tOPPGZ4yyb6M3wmSSOxouSv0loFpvmYHZzWhuVjN2R8JtNK3J6 jL/vgM1d2yIWkuOyvL8G8D1rzqKASY0EQZOuTRCuQX5ZTda1jH4wqHL7ifC7Wf9r9Gm8 QLrLFFkDAXx2ymTAn9h5lFpY95u7vQMZBvBwmvo8MOkRNAN44sihGto76GpHK5fdQSyB ctKzuQ66jaoP+z4Vx4fzDYUPtMN6A7A+cDQgXSuaNIp6FvxZZKOUGvu56BiLrZo36Q09 5tYIgdqHNhZCaZitnRU1D/JdWtz1PL0eCmXI/JOgF1dcYXcbd6sjNCRh14ozlcZ9vOAY NaAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=nf3jJrNk6C76DJ8y1UTRXRubP+zTDL/JpeAicSCnsJM=; b=uOvIrCcwydrkAW1SGsKhL38rIrlCzinNP20fja6FbjvoK2Vwu1B8d0x+/+eIA9M28Q BgVLBDbonIOpBIA08ncYwqPAlS6V/34zZi8JjG18yk1WRILJfTLaIo03E3du8P8vUT1h pSIfd32qUxK0sU6/KlTOjmswM/5kkwxBwxzoc8Esg5jFRsarmIO9Rqa/kx3sDr2UmGrt 4hO+gur2++j9cfxbhaVSUDZyt7mqRUrLtWtYweKe+HlBgGBbIh/wB1U0ucxMEwI+uOV2 ubhZc8Cud2LpgTA2l45IEOX6HG2JIIszV/X74ytYdd0XzuSJYck4FTJNn/N+k8Hr0lau c3UQ== X-Gm-Message-State: APjAAAWY8kHi6cg3nHaSJvtklZ+/aaC0TTvm9ttVjP0iT1WYcXUy+Wc6 1kzPCfWto5WqWgfmh5RjX/BLcQ== X-Received: by 2002:adf:e2cb:: with SMTP id d11mr11255906wrj.66.1559667494840; Tue, 04 Jun 2019 09:58:14 -0700 (PDT) Received: from clegane.local (20.119.129.77.rev.sfr.net. [77.129.119.20]) by smtp.gmail.com with ESMTPSA id t13sm25524979wra.81.2019.06.04.09.58.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jun 2019 09:58:14 -0700 (PDT) From: Daniel Lezcano To: heiko@sntech.de Cc: linux-kernel@vger.kernel.org, edubezval@gmail.com, manivannan.sadhasivam@linaro.org, Rob Herring , Mark Rutland , Matthias Brugger , Philipp Tomsich , Christoph Muellner , Viresh Kumar , Enric Balletbo i Serra , Emil Renner Berthing , Randy Li , Tony Xie , Vicente Bergas , Klaus Goger , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Rockchip SoC support), linux-rockchip@lists.infradead.org (open list:ARM/Rockchip SoC support) Subject: [PATCH 1/2] arm64: dts: rockchip: Fix multiple thermal zones conflict in rk3399.dtsi Date: Tue, 4 Jun 2019 18:57:57 +0200 Message-Id: <20190604165802.7338-1-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently the common thermal zones definitions for the rk3399 assumes multiple thermal zones are supported by the governors. This is not the case and each thermal zone has its own governor instance acting individually without collaboration with other governors. As the cooling device for the CPU and the GPU thermal zones is the same, each governors take different decisions for the same cooling device leading to conflicting instructions and an erratic behavior. As the cooling-maps is about to become an optional property, let's remove the cpu cooling device map from the GPU thermal zone. Signed-off-by: Daniel Lezcano --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 9 --------- 1 file changed, 9 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 196ac9b78076..e1357e0f60f7 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -821,15 +821,6 @@ type = "critical"; }; }; - - cooling-maps { - map0 { - trip = <&gpu_alert0>; - cooling-device = - <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_b1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; }; };