Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2270193ybb; Mon, 30 Mar 2020 02:59:48 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsci/1I9zv+81XTnLCqtVnTk8jAOrZuVgKvcN6/KOrMkwBhMbU0cZKQy6BAHHDxna/XVZk+ X-Received: by 2002:a9d:ed5:: with SMTP id 79mr7883062otj.249.1585562388494; Mon, 30 Mar 2020 02:59:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585562388; cv=none; d=google.com; s=arc-20160816; b=jg8wS+fBIVn6wPPgbnCrTsLP3VlKMDxZQWbQHbQcGYVmTmoCscp3vx/CcyOzWaOkSu mVHRe5v4eGZJxkYFtxlL7I80iCGUkvk5NuoozYRLYQZs1xDD2YNOnsCRJyJBec0ud3Rb ALR5WeOO9uQrszD7gvtIJVg0aZJF4AWQMSPSHDiNlRYY6i/EWCXzcGoi4Q5Mkdh7Yl6K Vn6hwfbhmgxaxWkYXxDzut+9aR3dz7CdHwzzbs/l+mEbi6bhaA/mIsyzLrBLAJguotR1 ePJDoaYW5/G63BSAwGiQLG1XKL/3Cn7K/yh/sd+173cyaLEbLmgKKXcneoYK5uLpI5xV KRGg== 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; bh=DmLiFkHsrWw2W5ZST6R5SB9z1KVD8jOd9o3JzW6oIFE=; b=Yk6i12a9RcS3goEupnJMGbvvyXVn4TXfrNcxFJWhjtnm7Jxg0kVZ5r9JMvezuaNspv TVKUIl7Q8MyQqQ/5MXjDO/LPpyBjVOk2uF93mFlJtpPZChbDHPqz/36drGi8rdtt14fK LoWL9XzRrbekk8EpKs3lL3glvSVREpC9cmorvb1dmXf0NjtlTasCCGL3febAvDszevGD 8e9cYKrWEZp1SlEKBv2T4sFqE1yIPBOdgMSrdvkXUpxLjtFDyCAcFp8BTzrwxu3DL5ld 3CdRN+gxySVjqtHzF8DE/MElFVi0d2mKUr7w/Fcv5aIMhBwONBvSLz0IG5UxsaexLBur COoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RfpjGEAP; 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 q2si6635623otg.211.2020.03.30.02.59.36; Mon, 30 Mar 2020 02:59:48 -0700 (PDT) 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=RfpjGEAP; 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 S1728824AbgC3J65 (ORCPT + 99 others); Mon, 30 Mar 2020 05:58:57 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:41534 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728259AbgC3J64 (ORCPT ); Mon, 30 Mar 2020 05:58:56 -0400 Received: by mail-pl1-f194.google.com with SMTP id d24so2691406pll.8 for ; Mon, 30 Mar 2020 02:58:56 -0700 (PDT) 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=DmLiFkHsrWw2W5ZST6R5SB9z1KVD8jOd9o3JzW6oIFE=; b=RfpjGEAPHLupfgmWfSQ0PuZKGf0nWWJdmQO8TLKYdatCIZWUWsMbicPfiCWdhjzmtt tkG9oSExzxFJsrh94ePID+mtrKKw+Dp/sYMbu2FBt96Glike/oRu2svpLZlZRwf02s9W SMehH13DY6bOrwQUYrPdK7azSjLe1PbbZqIM7fMYdU0tfRz9xg0OuPpL7vJXpZnIVu9v vnq2M7JoOwHlB6ruSaG46Kx1jjEGoP6eZDOi322WHfO1CNzUB1aHwCJe6AP9eVphI5F1 ASilehCzBCUH1I3oO4vBsZ//qB1mW3OA4ANGtxCSM/Rht6mLDFIz3UB016yW67EUJ6m2 wAkw== 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=DmLiFkHsrWw2W5ZST6R5SB9z1KVD8jOd9o3JzW6oIFE=; b=K4d++g7DxiOxSB/xpNXyKTaZQzZ3hJxQ110zkcBgzlnQtTh+LT67U0ob7AG3RA+dzA fc7/EALxEDotmrdJFGKv2y8EYUfY6j52rVSR4lpY8zQbL2uOvRt6h6V8E4BfZrbVNLN7 /7237zDFDx6FnC7xO9hBoQrJbIL9Qxz7vUNUI/cvKklPLuvYhjwQeT/VPHcm/0nNOGoK vEFa0EXqJSD9POIBii1MFtHSihP3uxAItnIuvoLEojAY3av14WYHpxLb6n7dBDUnVzKr yCmN1WNXCwwfmMR9TkyG9pH2rMIIjglfp5qesUXdzC44ihn6Kt+Y41+44192enZnWe95 eAeg== X-Gm-Message-State: AGi0PubLzD3pW4fAQoMlIjCwF2cSITOfmiuF8qUz5UHHJ4nRHbYIAsau HnJV0YvnfiidvHyexFImFxDU3w== X-Received: by 2002:a17:902:b60d:: with SMTP id b13mr2894873pls.324.1585562335553; Mon, 30 Mar 2020 02:58:55 -0700 (PDT) Received: from localhost ([122.171.118.46]) by smtp.gmail.com with ESMTPSA id r9sm5074256pfg.2.2020.03.30.02.58.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2020 02:58:54 -0700 (PDT) Date: Mon, 30 Mar 2020 15:28:52 +0530 From: Viresh Kumar To: Daniel Lezcano Cc: rafael@kernel.org, robh@kernel.org, Amit Daniel Kachhap , Javi Merino , Zhang Rui , Amit Kucheria , "open list:THERMAL/CPU_COOLING" , open list Subject: Re: [PATCH 3/4] thermal/drivers/cpuidle_cooling: Change the registration function Message-ID: <20200330095852.rn2kxxenykm74664@vireshk-i7> References: <20200329220324.8785-1-daniel.lezcano@linaro.org> <20200329220324.8785-3-daniel.lezcano@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200329220324.8785-3-daniel.lezcano@linaro.org> User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30-03-20, 00:03, Daniel Lezcano wrote: > Today, there is no user for the cpuidle cooling device. The targetted > platform is ARM and ARM64. > > The cpuidle and the cpufreq cooling device are based on the device tree. > > As the cpuidle cooling device can have its own configuration depending > on the platform and the available idle states. The DT node description > will give the optional properties to set the cooling device up. > > Do no longer rely on the CPU node which is prone to error and will > lead to a confusion in the DT because the cpufreq cooling device is > also using it. Let initialize the cpuidle cooling device with the DT > binding. > > This was tested on: > - hikey960 > - hikey6220 > - rock960 > - db845c > > Signed-off-by: Daniel Lezcano > --- > drivers/thermal/cpuidle_cooling.c | 58 +++++++++++++++++++++++++------ > include/linux/cpu_cooling.h | 7 ---- > 2 files changed, 47 insertions(+), 18 deletions(-) Acked-by: Viresh Kumar -- viresh