From patchwork Fri Feb 9 08:58:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 127773 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp402981ljc; Fri, 9 Feb 2018 00:59:19 -0800 (PST) X-Google-Smtp-Source: AH8x224kPJ0p5ThWX+1zDXS0Pcp51UXCY9xUNEBJuWOy6krR/l+d6Pzu4NOUr8gRlyZ00FyKwXHm X-Received: by 2002:a17:902:24c7:: with SMTP id l7-v6mr1874311plg.268.1518166759190; Fri, 09 Feb 2018 00:59:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518166759; cv=none; d=google.com; s=arc-20160816; b=mN2lCTdR3y7m8uJQhpuErD35j6TdW7JcMFKZfCTluzzyivUwCVORy8ufFcjgmYRr5D H0Fzl17nv6scHjx6Sfq1X5mBmwq3DyDxR4lQXKToSex3VXflieA4r2QlNcgOVWguK54C QtGEK/Cb0WQSxB1Tsx1aQqNSj6K02gj5CtMuIgDqOph71HPOUNL5jSm9r9R0lanreaWh LZem8q5pNPn3O9Ldlsw9fpPGnal6mCY/a24V6rxPwDlbra+jdXqPTENlhMiJ9xrTWsy+ GqKDCpOjUbACcecGlVJfUOKmua1mF5LQ0ScJczlmJmGwsBGSZMun1lAHs/qe6jzGaKPC 4hzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=ONKnLCAaG0t+JU6W7X7N6p1epEJROvhwPld3UMfebkQ=; b=nFrceGemEZEQzgZijqpyoX3cDOeCgTZ5goF0S8m08sdHKnJjXqbl9S4KnVd/GnCTDk pSk4PRKNp9wSF3KgPToZGq4Y20iMW2xA/JfZPrBd7MoaHAzrWiH9jWM8bhY5sIFQZlyK TwUp/NlbCVZrqEDzy3psxfTCo8f4jji1mfx7qU42B3K3hVNwHGue9nJ90LREDLWMZ3fY a1Rp6uhzFiUnwkaUw5yfzqrBY1a1jUnq/A/RN2B/Gs3PpkIZK8pd2Cj7/EoG1xHnFRre F3NrMRhdwew6jm089mVprjm7g6wo8xSKJHYHKcFRA5q0nce5GDWnjJ3QfDpNtaHhysuD vS6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Yj02JJzr; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t17-v6si144681ply.186.2018.02.09.00.59.18; Fri, 09 Feb 2018 00:59:19 -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=@linaro.org header.s=google header.b=Yj02JJzr; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752322AbeBII7N (ORCPT + 15 others); Fri, 9 Feb 2018 03:59:13 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:40392 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752266AbeBII7H (ORCPT ); Fri, 9 Feb 2018 03:59:07 -0500 Received: by mail-pg0-f68.google.com with SMTP id g2so3205029pgn.7 for ; Fri, 09 Feb 2018 00:59:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=ONKnLCAaG0t+JU6W7X7N6p1epEJROvhwPld3UMfebkQ=; b=Yj02JJzr9V5Q7l9HHeazPdrrB+1DuYns4If7CrFSNUHlwsDrFUsO5fV8oUWQCE3Evs zg5EMM92HoIU1J8Y/S+x3LNPhSUDZsoCExtI2yEcv0Gfg2J7xOD45BMIpYe0Y2Fe5BOK ifjio2dAPjGdWUMFh74SirDnvW82rLguFkNBs= 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:in-reply-to:references; bh=ONKnLCAaG0t+JU6W7X7N6p1epEJROvhwPld3UMfebkQ=; b=tnp1nuHXBnCcIzIDStkpqTDZ+TBFJJBQlOxLffqrNUtVVEjCK+R5KZVGhIfUuWLiJw +CtYCt5OlwrYrk8zLdqgDd88mD7AZHlVnWlcjfBOGID3ukKURs/4tyU+ZvY21OBbV8fA iNZPqEcUggz8RHZ/A8K8sSWwts9tSxVXcPYweg84exbSYLYzIGqNIKo19tkEAB7z0a9v i9Usfu7C05XJ6AuIKaXR66J45x2TUbmJMViA79mgwSV31JQGLI3TFzTAkLEs5z+kbY9h PMSG5ODaTgHx3JP07gdUtzSk8jQwLS5dxg6Ti1VZAaj0pdPTJYJAcgYIQMIt0nAe0ZvS ZHkw== X-Gm-Message-State: APf1xPCL5Af06BRx/1X8M/ZD6sXbpT3xllNo116rgO2w0boFq+2eRzgG lxNBOeloeBmNLysrM5ng9TErIQ== X-Received: by 10.98.107.71 with SMTP id g68mr2065426pfc.96.1518166746878; Fri, 09 Feb 2018 00:59:06 -0800 (PST) Received: from localhost ([122.172.61.199]) by smtp.gmail.com with ESMTPSA id h69sm4490875pfe.20.2018.02.09.00.59.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Feb 2018 00:59:06 -0800 (PST) From: Viresh Kumar To: Rafael Wysocki , Zhang Rui , Eduardo Valentin Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , Mark Rutland , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/10] dt-bindings: thermal: Remove "cooling-{min|max}-level" properties Date: Fri, 9 Feb 2018 14:28:10 +0530 Message-Id: <0ec53640f1a09e6e0d7aa1a21d1a3266c3c209c7.1518166039.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The "cooling-min-level" and "cooling-max-level" properties are not parsed by any part of kernel currently and the max cooling state of a CPU cooling device is found by referring to the cpufreq table instead. Remove the unused bindings. Signed-off-by: Viresh Kumar --- Documentation/devicetree/bindings/thermal/thermal.txt | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) -- 2.15.0.194.g9af6a3dea062 diff --git a/Documentation/devicetree/bindings/thermal/thermal.txt b/Documentation/devicetree/bindings/thermal/thermal.txt index 1719d47a5e2f..cc553f0952c5 100644 --- a/Documentation/devicetree/bindings/thermal/thermal.txt +++ b/Documentation/devicetree/bindings/thermal/thermal.txt @@ -55,8 +55,7 @@ of heat dissipation). For example a fan's cooling states correspond to the different fan speeds possible. Cooling states are referred to by single unsigned integers, where larger numbers mean greater heat dissipation. The precise set of cooling states associated with a device -(as referred to by the cooling-min-level and cooling-max-level -properties) should be defined in a particular device's binding. +should be defined in a particular device's binding. For more examples of cooling devices, refer to the example sections below. Required properties: @@ -69,15 +68,6 @@ For more examples of cooling devices, refer to the example sections below. See Cooling device maps section below for more details on how consumers refer to cooling devices. -Optional properties: -- cooling-min-level: An integer indicating the smallest - Type: unsigned cooling state accepted. Typically 0. - Size: one cell - -- cooling-max-level: An integer indicating the largest - Type: unsigned cooling state accepted. - Size: one cell - * Trip points The trip node is a node to describe a point in the temperature domain @@ -226,8 +216,6 @@ cpus { 396000 950000 198000 850000 >; - cooling-min-level = <0>; - cooling-max-level = <3>; #cooling-cells = <2>; /* min followed by max */ }; ... @@ -241,8 +229,6 @@ cpus { */ fan0: fan@48 { ... - cooling-min-level = <0>; - cooling-max-level = <9>; #cooling-cells = <2>; /* min followed by max */ }; };