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=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 3B2BDC49ED6 for ; Thu, 12 Sep 2019 02:42:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 14BB52081B for ; Thu, 12 Sep 2019 02:42:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729223AbfILCmP (ORCPT ); Wed, 11 Sep 2019 22:42:15 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:55116 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727986AbfILCmP (ORCPT ); Wed, 11 Sep 2019 22:42:15 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id ACF3CFB03; Thu, 12 Sep 2019 04:42:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z-y1afFhBSMJ; Thu, 12 Sep 2019 04:42:12 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id D371D46CC1; Wed, 11 Sep 2019 19:42:10 -0700 (PDT) Date: Wed, 11 Sep 2019 19:42:10 -0700 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lucas Stach , Abel Vesa , Anson Huang , Carlo Caione , "Angus Ainslie (Purism)" , Andrey Smirnov , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dts: arm64: imx8mq: Enable gpu passive throttling Message-ID: <20190912024210.GA13270@bogon.m.sigxcpu.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Sep 11, 2019 at 07:14:25PM -0700, Guido Günther wrote: > Temperature and hysteresis were picked after the CPU. I pulled that one from the wrong branch so please disregard. I've sent out a v2. Cheers, -- Guido > > Signed-off-by: Guido Günther > --- > arch/arm64/boot/dts/freescale/imx8mq.dtsi | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > index 564045927485..fda636085bb3 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > @@ -235,12 +235,26 @@ > thermal-sensors = <&tmu 1>; > > trips { > + gpu-alert { > + temperature = <80000>; > + hysteresis = <2000>; > + type = "passive"; > + }; > + > gpu-crit { > temperature = <90000>; > hysteresis = <2000>; > type = "critical"; > }; > }; > + > + cooling-maps { > + map0 { > + trip = <&gpu_alert>; > + cooling-device = > + <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; > + }; > + }; > }; > > vpu-thermal { > @@ -1006,6 +1020,7 @@ > <&clk IMX8MQ_CLK_GPU_AXI>, > <&clk IMX8MQ_CLK_GPU_AHB>; > clock-names = "core", "shader", "bus", "reg"; > + #cooling-cells = <2>; > assigned-clocks = <&clk IMX8MQ_CLK_GPU_CORE_SRC>, > <&clk IMX8MQ_CLK_GPU_SHADER_SRC>, > <&clk IMX8MQ_CLK_GPU_AXI>, > -- > 2.23.0.rc1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel