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,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 BB194C49ED6 for ; Thu, 12 Sep 2019 02:42:23 +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 8BC402082C for ; Thu, 12 Sep 2019 02:42:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GwgQGIH4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8BC402082C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sigxcpu.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: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:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iu3ik4qOgXG3jghznohj16wTtAf42IUqjiKh4bm/mhE=; b=GwgQGIH4+yQHCO BxUiK8rZALdGyKekENvkjyKA14ShbvlH9xHKU22JJIXROdAOsW1NQ37fBQ/hGk/AddSC16TGHxLBV 4bbbBdi8jBy9NrDCzsFgaEIjFj2SWd+HXQXiaosRVcmHxezy4qHokO/X1Kj+4caXA5YlnRX/irho2 4if/7PQy2SmuluP8myAoRHQqL75hnVt7rBe72zJGYBjnnm5ELTry6PDbF4uqkyM+9LTnPIYRvLuM5 6VbM6J6NxXc+m7ZK94JlWI/NpXfSJFshFvSi+knWw3DOteV7P+3jx+PVSS8XWjfvH+a7Uca3EAofn Rk+NW7GPQJloavxa7Stw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8F3q-00088f-Ms; Thu, 12 Sep 2019 02:42:18 +0000 Received: from honk.sigxcpu.org ([24.134.29.49]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8F3n-00087c-1n for linux-arm-kernel@lists.infradead.org; Thu, 12 Sep 2019 02:42:16 +0000 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190911_194215_252299_C07F0AD5 X-CRM114-Status: GOOD ( 14.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, On Wed, Sep 11, 2019 at 07:14:25PM -0700, Guido G=FCnther 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=FCnther > --- > 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 =3D <&tmu 1>; > = > trips { > + gpu-alert { > + temperature =3D <80000>; > + hysteresis =3D <2000>; > + type =3D "passive"; > + }; > + > gpu-crit { > temperature =3D <90000>; > hysteresis =3D <2000>; > type =3D "critical"; > }; > }; > + > + cooling-maps { > + map0 { > + trip =3D <&gpu_alert>; > + cooling-device =3D > + <&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 =3D "core", "shader", "bus", "reg"; > + #cooling-cells =3D <2>; > assigned-clocks =3D <&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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel