Received: by 10.223.185.116 with SMTP id b49csp3301721wrg; Sun, 18 Feb 2018 19:44:38 -0800 (PST) X-Google-Smtp-Source: AH8x225/AHPeGGL85oOgMlkUvntTRYTbA6dnSQjHRZLVmXSG8yHF/71z4yNilIbD4ncraCJhVHhC X-Received: by 10.98.137.130 with SMTP id n2mr11182740pfk.175.1519011877944; Sun, 18 Feb 2018 19:44:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519011877; cv=none; d=google.com; s=arc-20160816; b=GJC3wsQQh52GxGErOW/swt41aLG0c8QxPdaVtgVzwLrlkoLRvcBSfVpfI5h/JeP1Zk UgYI86GIq3oyW2sCXx4i3oM1qu+rAfdd8PbwbB9fRaDbvprbzJNgLcdDZuFgfG2KuQjl iK/h3ducojzxXWQdMzKa0Yk+ur0+iWo6JKlCSeIZ5L8CUQV+WL92fKrzjFz7opHHgU4G FGEwCs3XrcabbYsA46Bur/VeRsVB25an86IjYCOi53CK52m5gjlehMBpp01s60p7lTT7 ZHsiqE91jag9CGTMxn/tXpGIbA54xUYrt/aJvxQLyMVkZaTT/+wfBjkpQz3nWoIpbEyY nmWA== 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:dkim-signature:arc-authentication-results; bh=q+xYkZW6E+ofVLlPNRcXzlscAgtMTTYHLf2kUQKcwqY=; b=TKCx/YTnkjJe7MDProBvWZvthJWsNJwT1wzYWcSgUbvB/mlsMCYqzLHnezu0kvlcKa dE9v+2hyDScZhIMtLwbnzNkbeIoLgwl17q3AlGn1Yf0kG79bKXNMthufajgfqGer5CTA sb+Hq/yrs1KQt1VmJYTFE38i+PXn/2KZE4Keo2lMexgsw7JuzJaQ5ajAFEGCQmWq9s09 i6X9tyQgVgYekAYk1NoSiDuh2mFtXJwJHqs0lZ3n3U2rV59/tXiyEatN10GPl6PizCv5 tcatZNR+Eds9T3BCt4W1V0NWBSg5aDDmhkfFQbtxTnGCpCMz+dKx23ChHizzlWO2nulq ePDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N7UgRJ1s; 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 o7si5909535pgs.314.2018.02.18.19.44.22; Sun, 18 Feb 2018 19:44:37 -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=N7UgRJ1s; 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 S1751917AbeBSDnn (ORCPT + 99 others); Sun, 18 Feb 2018 22:43:43 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:40495 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751808AbeBSDnl (ORCPT ); Sun, 18 Feb 2018 22:43:41 -0500 Received: by mail-pf0-f195.google.com with SMTP id m5so47515pff.7 for ; Sun, 18 Feb 2018 19:43:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=q+xYkZW6E+ofVLlPNRcXzlscAgtMTTYHLf2kUQKcwqY=; b=N7UgRJ1slJCnP1qy8+zzKk8htgew1KA1Eunyvpyf7w42fN8C597lLD4KrMCWgM6pWa 3JVse7f1nzzmxPs8HIXnC+77iGgJfYXaPvOqhlv9v/yOzaeaVP00uObSTed/kdPXfyEa e8l1WXxBPqIppj358/7HQcoz0CqJ9i5Az0g/U= 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=q+xYkZW6E+ofVLlPNRcXzlscAgtMTTYHLf2kUQKcwqY=; b=hgibo5LHtS2nbmUs+fHX7245J6CbP7FmYLu0UpWzeS7SOxoX0eZETAWICZ8DWG36jK heOXzn9olIf3/xmaCfKdx3pQhwBbuba80seKgAE5oeexNGaxPHd8Yli+NKjPaFuNum9K EnE0IAZKDkLncHYjL9rBO3sm8vhmQAG9ToEMknosKsMdFFzCgb0nPWYIxfe02xdgEZik 12/ZYOJWpCYcp1JABI24AzyQNr80zjgiQx1sQFaRYn2Ch9SehAIf9EReFciDNNYl0Eq6 l47O7ceHcx9w1GiqNSMehe5KL0y1iJ4S/K4ftpCxyA6/BtEImp9gye5Ga+x9d+ZWe79z geeQ== X-Gm-Message-State: APf1xPBSqJLxN4jUq6zRazIIm/6rOvhoKCo4hdDZ3W0cDa4d+JPtPLNQ Z7tGW82vH9sfDImHSt4/MbmzVA== X-Received: by 10.99.117.10 with SMTP id q10mr1902691pgc.423.1519011820787; Sun, 18 Feb 2018 19:43:40 -0800 (PST) Received: from localhost ([122.167.232.138]) by smtp.gmail.com with ESMTPSA id i27sm30054788pfi.32.2018.02.18.19.43.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Feb 2018 19:43:40 -0800 (PST) Date: Mon, 19 Feb 2018 09:13:38 +0530 From: Viresh Kumar To: Rob Herring Cc: Rafael Wysocki , Zhang Rui , Eduardo Valentin , linux-pm@vger.kernel.org, Vincent Guittot , Mark Rutland , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 10/10] dt-bindings: thermal: Remove "cooling-{min|max}-level" properties Message-ID: <20180219034338.GI28462@vireshk-i7> References: <0ec53640f1a09e6e0d7aa1a21d1a3266c3c209c7.1518166039.git.viresh.kumar@linaro.org> <20180218232906.jkpymin3a4qxjhnc@rob-hp-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180218232906.jkpymin3a4qxjhnc@rob-hp-laptop> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18-02-18, 17:29, Rob Herring wrote: > On Fri, Feb 09, 2018 at 02:28:10PM +0530, Viresh Kumar wrote: > > 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. > > What about non-CPU devices? A fan for example. Even they aren't using these properties. The gpio-fan binding[1] for example uses the "gpio-fan,speed-map" property instead to find the number of states it supports. -- viresh [1] Documentation/devicetree/bindings/gpio/gpio-fan.txt