Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp304073ybz; Fri, 24 Apr 2020 00:17:52 -0700 (PDT) X-Google-Smtp-Source: APiQypL9WqInfb7hboRCLll3jdJUHCTSHIfjkhUB3DznX8L808ekHPkTDW7oYHSLcOZtLe20LAiQ X-Received: by 2002:aa7:d143:: with SMTP id r3mr954418edo.147.1587712672532; Fri, 24 Apr 2020 00:17:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587712672; cv=none; d=google.com; s=arc-20160816; b=UlckB7cYHkOrfMfFIWwe5PLc64N+smygexWh2j2tO20WkHdD/VZ8jId/L5gZD3huCx ++zytUPjCkT1spUmWmKYFrGYQQ5Znf2lPGFmbkSguAIXHtpwHKc0SFo6wRuorc5eaU5T WdsDZPCgrg0dq5Ql3afhlt4MbCO64vzHedaNgrVJSVN4dQOLb/+KG0Tpif2BaEMrtvja nRDg25cHHiEaT9eI/rBsd2gHrKENxx9tQx8jX1BhqrwKghrgJ4tk2AocGy/txkYBi0Hc XbvDzxet5mcJhD6TRLiTSDZcoQnD7l9mW/39pzwPEJQiaXwQsqynQuLk1MzF9pebEhLH yQGw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=e4Gfsp6Fj3yVSLCW8Oewrus2aSGsU6oP2lyI8Cpz4WE=; b=QIMbFunLFzJrDZtOBvN6MHtguOOsSPUZKSeaWTDBpLOgLtSdGi4CToPmdtjX2MW63p Zv8K4ZdhymFp6SOuS1hMrHRinWMsIxMkqTZGNvlEVKfhKKzRTTojoRP3qw/MUnAXijpx 9MHd+SpXXHU5HJElP07X06ZSPeQJdLSl9rkJVulZkamMxvm1xUppmJn1mqDjKYspQUwv oUZxGyOZFe4Ce+B24vs8L1A8v9NV3LWefVKCK+BMGQZWrEmpBEIU7Tvk/cxrPtyJrcyL xMgjCtQPQoAnFMNDgLP13+Jeg5z1NvFlHJhKHjwPMwOYnhqMbZP/Q4qTv5bLVQ7iG/OP QP3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=EoqGL+ku; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k9si2954897edj.96.2020.04.24.00.17.28; Fri, 24 Apr 2020 00:17:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=EoqGL+ku; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726489AbgDXHQL (ORCPT + 99 others); Fri, 24 Apr 2020 03:16:11 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:60342 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725898AbgDXHQL (ORCPT ); Fri, 24 Apr 2020 03:16:11 -0400 X-UUID: 7cd8ab1132dd40b5a838baf9c9488a43-20200424 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=e4Gfsp6Fj3yVSLCW8Oewrus2aSGsU6oP2lyI8Cpz4WE=; b=EoqGL+kuEKofpeohP0cMFPeCWmj64VZWeq3EdEBxm0EVGV8kpuYR7IiPz7S55b9t1Y0yNOWozKwkcTOhgCGXT33F1ipIYPxc0+Nsdq67lJ02BBepx780aTmToI/cRP+CUX+8HY1qX6FtNEZeIitGAW1fYV8vUGL+CaueswgsiDA=; X-UUID: 7cd8ab1132dd40b5a838baf9c9488a43-20200424 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1070851026; Fri, 24 Apr 2020 15:16:06 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 24 Apr 2020 15:16:05 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 24 Apr 2020 15:16:03 +0800 From: Michael Kao To: Zhang Rui , Eduardo Valentin , Daniel Lezcano , Rob Herring , Mark Rutland , Matthias Brugger , , , CC: , , , , Michael Kao Subject: [PATCH] thermal: power_allocate: add upper and lower limits Date: Fri, 24 Apr 2020 15:16:01 +0800 Message-ID: <20200424071601.2636-1-michael.kao@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VGhlIHVwcGVyIGFuZCBsb3dlciBsaW1pdHMgb2YgdGhlcm1hbCB0aHJvdHRsZSBzdGF0ZSBpbiB0 aGUNCmRldmljZSB0cmVlIGRvIG5vdCBhcHBseSB0byB0aGUgcG93ZXJfYWxsb2NhdGUgZ292ZXJu b3IuDQpBZGQgdGhlIHVwcGVyIGFuZCBsb3dlciBsaW1pdHMgdG8gdGhlIHBvd2VyX2FsbG9jYXRl IGdvdmVybm9yLg0KDQpTaWduZWQtb2ZmLWJ5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