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: 10208719 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ED943602D8 for ; Fri, 9 Feb 2018 10:09:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA22229824 for ; Fri, 9 Feb 2018 10:09:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CE8DE2982A; Fri, 9 Feb 2018 10:09:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4C56D29824 for ; Fri, 9 Feb 2018 10:09:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Ty1AE7InswjER0chWr5HIY2By4DzdMZ3+97mRcpTIRI=; b=KowNW5ErJBsh8a271XCo+Mpl7c utoUN/uQBGRKNTNWb41iZj9MgVYcC2sNry51ZlBwCdIxRRag8pT0bEPQZbREBaiseOZDYbJDMDGwx drV8PBV36ySmydci2wlix9oS7vdEem2Vt56kUaq+RVXYqce//cpWKDIHBQSRzW8laiZNTNYFJUxkU +y44xOfYE/bkvdNJ39oTmspfZbt5ehTOcSGq3L71tVQZRcC+/LOKPftmLvoPMl7CRwWEapBLsM21p mL5QGjaeSb1MvLbuee5rFMwg3jv5cCeBajrfuzbWfg95856pL/2uwOxMTwYi1RVIl9+n7LIsuEkdW D1u+DR/A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ek5c2-0003IK-Rf; Fri, 09 Feb 2018 10:08:58 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ek5c1-0003Hm-5E for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Feb 2018 10:08:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ONKnLCAaG0t+JU6W7X7N6p1epEJROvhwPld3UMfebkQ=; b=kPGvlHj0g/LZJsGALqziC2cvM wWRKkuhoV718h/wAJMuSkm13fvo7jLFlWoYuhs9iyEpazcZLTQNvtXXRH+saRSYbBRLHjVVB/lStY pLJCGTvUh74ObC3vs5sdrHeDWvr5fAD73Wl6hLhA/sKILaofY2VIFekStvYF76tF2EIjzuPqC259r Wk/KFljfREB0PMlqc3U2EOW7iP6NAYfWmBrrMpE3n3asApJ0rh8e+hVgh9Gt6pH5PTxc/eflEPiPe Bcod3rGtVOnTePJFuD1dMl4+hdbe5OVrO2uQaA9S6mmvcDWVD+Sc5IwNNkRzp69Pk68LRjfsFVfqK FzQVEyKmA==; Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]) by merlin.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ek4Wg-0006Az-Od for linux-arm-kernel@lists.infradead.org; Fri, 09 Feb 2018 08:59:25 +0000 Received: by mail-pg0-x243.google.com with SMTP id o1so3207070pgn.4 for ; Fri, 09 Feb 2018 00:59:09 -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=Z8pcoZjAx932lvjfx77gChLRTALE2CX3M1UW2cpL0NbYUgcJiL9v0+rrYOyYHzE+TS RkITughDqlXx2YiXE09QU1bYrjUGFH8TDRHojf/yELhgq8Mt2bhU2+3GZ6Qi5JvXSS7e F1BwA15p+sPTKpt96x4YWm5gghsdvQSaEEMES5dHm5YS8as5OLQY5s2lRm3GvdKo7eol DNOE4OjR3BCZxAlN5PclJm7M1qZdxKK5+kbWYpJyjP5Kt0fZub39KENP57c3kPNPTxL8 gjnJyOkIlScqlAiHW+f6IRH00xg54nUU0587+xCfO2ZixmSKBwwhtL0VuOnr/GMX6DT+ 8z9g== X-Gm-Message-State: APf1xPDjYVzWdpxlnFGvJpRI5/ocRO+v8bREW7BVhcspYHgkDSNLEcMz NtAhRxN0YuIf26RLFtBmM/F4xA== X-Google-Smtp-Source: AH8x225hu7i2Y7PNK4xsdM3oynTs6AU2HMZiDprESJ/gSERxMzUE//0ESq9nMrXL0WsvqLNBabHRfA== 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 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: X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Vincent Guittot , linux-pm@vger.kernel.org, Viresh Kumar , daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Rob Herring --- 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 */ }; };