Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp991294ybz; Wed, 29 Apr 2020 13:02:08 -0700 (PDT) X-Google-Smtp-Source: APiQypIpN8GKfn486Js6jwd2T+xxiksG/+qZdf04mgjpX+a/OSX9a0P/hGRBdaC7/7yKUZIbmtms X-Received: by 2002:a17:907:7242:: with SMTP id ds2mr4343134ejc.297.1588190528439; Wed, 29 Apr 2020 13:02:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588190528; cv=none; d=google.com; s=arc-20160816; b=xvqZumhQUfhdb6o0AkOFcAEugmDFuh+s74aMzhrtgBlYUl8ghlInGW3h9QcPNt67O9 HTbIrwYtEP+gMuCvq2Fr4T7OmgMvTNzN3K6yLJUsyBVdZuXfAIiy2BzHfcrBJgVERFir bTrRuKNNMZpHwHUUGYUf9C3DXrroDY4cFqOVqN7o1RLl+Ox9ZZkpaQsbMjLgMuGBS/0S NxivbC9Hb7ZBv7sf9aP8oEoaGLqtYrVxPTypG3CoGZzy5N1Xga6rZrzg6t6Kw4Bc7TNT Tvmjyx9HMvhJp03QJjxCY4HSSw+NvB3KJTAgybeoObzjwXCBUJgRKZt3oM0+zG5Ftwt/ RG/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=+fNlXcVTFrRKc/9uWu46QzaQmqs0KHreczUgYENNVGw=; b=Ezqe8mNuqs+d9/Uq2xao9BpOPDQu37DvD6nsvsGqFs89VKloWuANGn7R/D5uApdszy 1KSy+0JDDEoTfZSaJttyLi89AEharO7EtrgGQQamxflcSVikXNoi0iI3/7gUi5/rJeeF 3ybNzpNOQZZURMX2c/kTr4SQpLy2PPq4J9cEr7YbyNZ+AfOCZYkGMULCwI2Hr7VOLGAs nyJ8Clw+AohSfyAaHSI0KF++sxjKr9IwSOH+2talSqsi9NnJOfnC39o6g+oxm4H/oir2 TGx6qR6y+Yn3lB9t7Y1F9BmBeuIj6aVBFN9LjAeuNbWtOeg2lriX4HXPfAJZpLWxsJfy qgdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p23si4465252eju.299.2020.04.29.13.01.43; Wed, 29 Apr 2020 13:02:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726852AbgD2UAQ (ORCPT + 99 others); Wed, 29 Apr 2020 16:00:16 -0400 Received: from foss.arm.com ([217.140.110.172]:44202 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726456AbgD2UAP (ORCPT ); Wed, 29 Apr 2020 16:00:15 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 39F261063; Wed, 29 Apr 2020 13:00:15 -0700 (PDT) Received: from [10.37.12.43] (unknown [10.37.12.43]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7C80F3F68F; Wed, 29 Apr 2020 13:00:13 -0700 (PDT) Subject: Re: [PATCH v4 3/4] thermal/drivers/cpuidle_cooling: Change the registration function To: Daniel Lezcano , rui.zhang@intel.com Cc: Viresh Kumar , Amit Daniel Kachhap , Javi Merino , Amit Kucheria , "open list:THERMAL/CPU_COOLING" , open list References: <20200429103644.5492-1-daniel.lezcano@linaro.org> <20200429103644.5492-3-daniel.lezcano@linaro.org> From: Lukasz Luba Message-ID: Date: Wed, 29 Apr 2020 21:00:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200429103644.5492-3-daniel.lezcano@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Daniel, On 4/29/20 11:36 AM, 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 > > Acked-by: Viresh Kumar > Signed-off-by: Daniel Lezcano > --- > - V4: > - Changed message from pr_info to pr_debug > - Fixed of properties to comply with the binding > - Add a debug message int case the thermal-idle node is not found > - Do not return an error as the caller won't care > --- Looks good. Reviewed-by: Lukasz Luba Regards, Lukasz