Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2803255imj; Mon, 18 Feb 2019 12:33:42 -0800 (PST) X-Google-Smtp-Source: AHgI3IY1f2bW9CTv+9inxlHZ1Qmw+KUFgMkE8WtlcN76Yixf6Lw+hvvol0t49C5xAv+KvaAysu13 X-Received: by 2002:aa7:8101:: with SMTP id b1mr26514990pfi.148.1550522022191; Mon, 18 Feb 2019 12:33:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550522022; cv=none; d=google.com; s=arc-20160816; b=KzOpjZcW2+R2EfSh7JdteusRY9xe9w2cNlYBZhSbWx48ylO0H8cxwHxPo4McSTV2uH ZKnhcFRexWzLBYYzIbQAoLsYCWx5fXsJWtdT4A7L/1UPb6YFJlPOP6DV8FmU97a2U6kW 51lAJwsCNXStW8NFF5UGnjidJ6ynhR8rK0aKEDik1MqW0G9dSdHEreulUzseTsN2HQqG AGmpvXIJpe8gJsNfMutLtifoTyf+5tOaRAH/RPYJIfKng7lCCy1ZDUUctvZDlaLcpFcX dn1bxTq32gtCJdXLoPBzZhxNoASZdh9f1Hh9WykwWai+3Jau1De+mXlPJLEAydZSmNkU 5OLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=yvm3pH6cxtlAzN/9pwY/UuTRQR4gOgeaCA1EXwFSEI0=; b=IErJG9RLW0ykt8lWxNlLLPKSDJbuzH0HHwACGaf2H4YVes3xfS/VUp/Th8qqSXRjCY 7oWQsHD+3St8zasLsn1w0zUBnEqSPPpa8HYqhCsQY+/u6Oruh3sNSoQT8iECe5X33tJd xuGRdsPQGf6P5mdzv/HV6xEQ4J4oBzGsInPdsiaMddvFlkrmHMmO4n5lgY1PUhFfI0df +Jxva+41nWTx35vgeLZxRyG9Sbl6uJ7fCpJFzZ6Cnw9BXZM0wfyb7wKaJVm5HTaaYgUI 89zJQp4lU1/P589X1u5bXJml3vMEP/z0y2TGKIoK9nKQdyHSpAQuAFUe3pO2FdfaHLwn ae4A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i9si13337575pgs.156.2019.02.18.12.33.26; Mon, 18 Feb 2019 12:33: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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729598AbfBRUdQ (ORCPT + 99 others); Mon, 18 Feb 2019 15:33:16 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:34045 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726831AbfBRUdQ (ORCPT ); Mon, 18 Feb 2019 15:33:16 -0500 Received: by mail-ot1-f66.google.com with SMTP id 98so30573901oty.1; Mon, 18 Feb 2019 12:33:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=yvm3pH6cxtlAzN/9pwY/UuTRQR4gOgeaCA1EXwFSEI0=; b=X9Q68lVk6nq6LvGC83uYNddq3rky2TK9acRs2Un6HdRucmOL6RoNHCyk885XaYAro0 7jyGDZkfeX2JFGEvIpYiFaAKQzzMyn0JuKOvaJS92CDbTpBwgrbHu/MwTcQm0tAR1ImU +jebbmZJMUcJHrGv1EIKkoQvi4z16TKgIl+rmIQIxdh2L9Eoqh/T3s0CvLcFYLI6wxsp ObyzNEy7+L7tLUWPmhHMPRlbeJ+OjXRgKGe88B+WqoELX6r1TXw0qNS2WgIZZhVRFo27 GLE0O6OOeR6+S0Fb9vjyXZCwdMm1fXU5sdM9XUWBVTrOXLgiuFbGyPlcEeF1Fa0zLjPq aTKw== X-Gm-Message-State: AHQUAuY/l7ZcdbbAOaBEtbwIPr4zw5A/etVzbV2qS9lhVIu0cQZaZLtL OL2jGPjRjM3SwnGoVmg3tw== X-Received: by 2002:a9d:644b:: with SMTP id m11mr15741262otl.90.1550521995426; Mon, 18 Feb 2019 12:33:15 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id z5sm3506779otm.14.2019.02.18.12.33.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 12:33:14 -0800 (PST) Date: Mon, 18 Feb 2019 14:33:14 -0600 From: Rob Herring To: Wei Ni Cc: thierry.reding@gmail.com, daniel.lezcano@linaro.org, edubezval@gmail.com, linux-tegra@vger.kernel.org, rui.zhang@intel.com, srikars@nvidia.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v1 04/12] of: Add bindings of gpu hw throttle for Tegra soctherm Message-ID: <20190218203314.GB12911@bogus> References: <1545118484-23641-1-git-send-email-wni@nvidia.com> <1545118484-23641-6-git-send-email-wni@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1545118484-23641-6-git-send-email-wni@nvidia.com> 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 On Tue, Dec 18, 2018 at 03:34:36PM +0800, Wei Ni wrote: > Add "nvidia,gpu-throt-level" property to set gpu hw > throttle level. > > Signed-off-by: Wei Ni > --- > .../bindings/thermal/nvidia,tegra124-soctherm.txt | 17 +++++++++++++++-- > include/dt-bindings/thermal/tegra124-soctherm.h | 22 ++++++++++++++++++---- > 2 files changed, 33 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.txt b/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.txt > index ab66d6feab4b..cf6d0be56b7a 100644 > --- a/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.txt > +++ b/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.txt > @@ -52,6 +52,15 @@ Required properties : > Must set as following values: > TEGRA_SOCTHERM_THROT_LEVEL_LOW, TEGRA_SOCTHERM_THROT_LEVEL_MED > TEGRA_SOCTHERM_THROT_LEVEL_HIGH, TEGRA_SOCTHERM_THROT_LEVEL_NONE > + - nvidia,gpu-throt-level: This property is for Tegra124 and Tegra210. Also, why not just use percents like nvidia,cpu-throt-percent? > + It is the level of pulse skippers, which used to throttle clock > + frequencies. It indicates gpu clock throttling depth and can be > + programmed to any of the following values which represent a throttling > + percentage: > + TEGRA_SOCTHERM_THROT_LEVEL_NONE (0%) > + TEGRA_SOCTHERM_THROT_LEVEL_LOW (50%), > + TEGRA_SOCTHERM_THROT_LEVEL_MED (75%), > + TEGRA_SOCTHERM_THROT_LEVEL_HIGH (85%). > - #cooling-cells: Should be 1. This cooling device only support on/off state. > See ./thermal.txt for a description of this property.