Received: by 10.223.176.5 with SMTP id f5csp416606wra; Fri, 9 Feb 2018 01:00:21 -0800 (PST) X-Google-Smtp-Source: AH8x225SdBjuoss96GpD7CfN7aouVm5K1C4ce57p0i04fbI7BPUoGeyw9MgUeN3wibTMs8pUoDoN X-Received: by 2002:a17:902:6b49:: with SMTP id g9-v6mr1884992plt.9.1518166821530; Fri, 09 Feb 2018 01:00:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518166821; cv=none; d=google.com; s=arc-20160816; b=x7XMtRnBenJJhFd1bpH+BHqER0jtivupWyGx2hl9EcqYlk9L1LpcnRg9bQz1tcYS3e rfm0t1VgKnKkf4uBzpVOE4A5uyc4J8UZKpbfYGAbKQSvr1iBOYLjpJESy0k9WTdaBxms sFkTV7VjA84NBp6LYZoonVpR2nbQpY3I5F7GKgdTsyvUyg36CoHv3eDEvQMZOqA4kf6p HlbdLQ38tnLsft5zEbydjPvminl/2N7t6vCKX6vfHE2KPIUnoOibitUKCLxwwM8oZRqi umzRDH5iNt+gAm74KP87V4ONvbGh6YI++bUBa/aFVSw+wuF24i5J7DOrmo9JhR5I1NSN 9Njg== 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 c15si1135169pgt.96.2018.02.09.01.00.03; Fri, 09 Feb 2018 01:00:21 -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 S1752292AbeBII7N (ORCPT + 99 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(-) 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 */ }; }; -- 2.15.0.194.g9af6a3dea062