Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp745619ybv; Sat, 22 Feb 2020 14:05:06 -0800 (PST) X-Google-Smtp-Source: APXvYqxqi5mCYAWsbTICCN8XMhVj6XYMMoCchnXR5g4lASRpIVY5eKoEFRJSemuVSgaent4twanq X-Received: by 2002:a05:6830:1555:: with SMTP id l21mr32489667otp.41.1582409105971; Sat, 22 Feb 2020 14:05:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582409105; cv=none; d=google.com; s=arc-20160816; b=cn5VcvNqHptBYukV/eSeb3aCl+Cr4m8h5rqQWkDbDdffZV9nJro7UZ36pR5sgTK9Nb 2xzEQ9yYBMNz6M+967/ha/YbFVF2I/nwTD6wvvsnJSTLi6EJq64Ctx2Sg400TaS362h3 ViYZOAYV7+Nv9E1+97ukRLiLJsG2Y2lY+x7/vEeXuWMAC+9iqiQOPwa4wXhIDz3fa6Wa NbS55dOPwideufob9UTcTuk3tx6662P/Nxq2nkMWgNCY0uHIRfYgtfF/PXGAZI6VEPMg vRZtWQhHi/fR0ACkxQk4hjKJhi5NCE/wfrm8E2s6j24POjlZgdl7ziA52o0sPrAnpddT xYwg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WecMb7XC+F71BDVsaL32uLe6ZzntKQ/HmvHZGIxKOJo=; b=kNG14wigOWCsJaNIQbASCIZ417eu69G56DX0XwHqEqA1NzACfrAdWEQ77HNn/Q16kT OHqmf3XngPR3Jdii0TAkyrP7FlVLTOw0fA5yMhsL6vWmBUcyelRs+6eySa+5e8CtZv5M 5pBU4RgdT++IaYPX+OY7psX6UVuN6g1Nm3RhoLd6Kdv4DLWNeRhmrhPEJtzaiBQR5nRK wWGFVh0/VKaLXLN0WM1Wk4NPE3dUYbMTsQ7vuQysU5ep35rjOK4Y7wrtE0aJ5KMzoXDz o4jcNHAmUABSAeIJ6qILBMqYQERx8jjcKaWqdh1pwq3wk3xLxa/zuh6Ssunn61Te5tW/ bC9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=vaQRLUiX; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l19si2694557oii.54.2020.02.22.14.04.54; Sat, 22 Feb 2020 14:05:05 -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=@googlemail.com header.s=20161025 header.b=vaQRLUiX; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726984AbgBVWEs (ORCPT + 99 others); Sat, 22 Feb 2020 17:04:48 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:32915 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726832AbgBVWEs (ORCPT ); Sat, 22 Feb 2020 17:04:48 -0500 Received: by mail-wm1-f68.google.com with SMTP id m10so7820279wmc.0; Sat, 22 Feb 2020 14:04:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WecMb7XC+F71BDVsaL32uLe6ZzntKQ/HmvHZGIxKOJo=; b=vaQRLUiXMysRiqAX5vXIJmFxStAF6yVfmi7kTKH6PDgx7XQtA6hIFgpYkLBjVc7dkk b246OiYA+c5qNP4lkL0WZFN9Q3/rs5qeIfuyhJnqmAHPTvSb89mC0nK+f0+2yzCdwHEY XCRmEOYlLF0u19r0cdKa4w8fShbIQ3J6Gy+/i6lVbPtl/5PMWz16MoSF/AI3cFTRfQBg NQ+sWNAucuPhBBexOVEvTIrQ9lbL4O+/5NXAoj0RF3jro7onhpxUgjl/JumoRTDPtKkd b+W8cKKUM7/pbC9US5LV/dEoD++R3xcnCGlFxezyIV+P4ZmidMBfqIxtBiSh+6LEP81d AOmw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=WecMb7XC+F71BDVsaL32uLe6ZzntKQ/HmvHZGIxKOJo=; b=CzNJ+SMIdJbe5umgv9E8SEdPlgIJqayPSVTbNQ6Ft3FAehhB6iI4JZoelRAjtZ0Zaq uMd8ymbgAYPmUf0xS1XuJqlKd1MuX3V0jp+6jYrS1UV2ilq+Ss8N/IH68SMTK3ctiMoT BDXDwKIUdHtK8h2k0i5nvfvknuzFvsbEpAAcbnsNMNqcwdhh3Kq0zvCT4liMyXO0GFbv mvp8tm6Ueo4FgeEPovynwWvUXIr0cAmEtWwCY6sj1cCM7dFZSuu/U0Wpat/RqtPDUkIV 079eO8vvW2QZ6x7t3adgkwjBDske/eGCrw1I3ZbOo0Ti+VCBZ7069eJyWAfzbZ2gMrp1 U72A== X-Gm-Message-State: APjAAAX6EnaPNgQHBx5ZBGEQzBtKUd6nnACwGcF0Z/RHDuomsy8JbfyS Jhx8kt4Ov0roMqIkOpDNH6I= X-Received: by 2002:a1c:7d92:: with SMTP id y140mr11567948wmc.145.1582409086211; Sat, 22 Feb 2020 14:04:46 -0800 (PST) Received: from localhost.localdomain (p200300F1373A1900428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:f1:373a:1900:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id q130sm11151738wme.19.2020.02.22.14.04.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Feb 2020 14:04:45 -0800 (PST) From: Martin Blumenstingl To: yuq825@gmail.com, dri-devel@lists.freedesktop.org Cc: airlied@linux.ie, daniel@ffwll.ch, linux-kernel@vger.kernel.org, tomeu.vizoso@collabora.com, robh@kernel.org, steven.price@arm.com, alyssa.rosenzweig@collabora.com, linux-amlogic@lists.infradead.org, linux-rockchip@lists.infradead.org, wens@csie.org, linux-pm@vger.kernel.org, Martin Blumenstingl Subject: [PATCH RFC v3 1/2] dt-bindings: gpu: mali-utgard: Add the #cooling-cells property Date: Sat, 22 Feb 2020 23:04:31 +0100 Message-Id: <20200222220432.448115-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200222220432.448115-1-martin.blumenstingl@googlemail.com> References: <20200222220432.448115-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The GPU can be one of the big heat sources on a SoC. Allow the "#cooling-cells" property to be specified for ARM Mali Utgard GPUs so the GPU clock speeds (and voltages) can be reduced to prevent a SoC from overheating. Signed-off-by: Martin Blumenstingl --- Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml index afde81be3c29..33548ca2a759 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml @@ -107,6 +107,9 @@ properties: operating-points-v2: true + "#cooling-cells": + const: 2 + required: - compatible - reg @@ -162,6 +165,7 @@ examples: clocks = <&ccu 1>, <&ccu 2>; clock-names = "bus", "core"; resets = <&ccu 1>; + #cooling-cells = <2>; }; ... -- 2.25.1