From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CEC663321C2; Fri, 29 May 2026 15:18:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780067931; cv=none; b=lYa2HoXdNRGNc7m7dPp3IfohPIzmMcNjtxG5wE1DtvOKDdoH4olCuk7GMMrWpMaFKJv3fwVSiuSrDWUce19har4yT8nUlVj/8kx8pOycmzNgH4+PkqmmlpLlf6gJS0yghyRVJpjTuQ1MeWTlupvJhkQw4eqJL/qiqDblIldg7dM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780067931; c=relaxed/simple; bh=ivH/tOTm/MtMLHtuPvnKIKXI+O+0zuzXiqnxkcFsMmE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=W7XbEpuvpqZ5awNm2WpbAxZD1vQ5VOmrkpN9VxPJKYeRU1twoHbSXqEn8gqaORKiCRg5GcxBriM665b6hgOZfePnvEP9ehG4hfb5nyaKr9J0Eaitnn8U/13nhOT1U6qvjdq/aZeAcP/qiYXslF9DDzAY+PMiA7vcoAIKVs6k/Vc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=hgKzm/J0; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="hgKzm/J0" 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 E040533EA; Fri, 29 May 2026 08:18:44 -0700 (PDT) Received: from [10.57.26.238] (unknown [10.57.26.238]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 344383FAF5; Fri, 29 May 2026 08:18:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1780067929; bh=ivH/tOTm/MtMLHtuPvnKIKXI+O+0zuzXiqnxkcFsMmE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=hgKzm/J08GPu32rvNURHQPhQwqlHMLKWK4g2wPk8wMNuhs71nZMwvNEJyknB3aS2H RDly5a1sZ0p9v8fYAphU9hEH69x6Yv9Y5lB3vnOvnFJKqUL70mcwOzn3FaKAE9NLJY 6x9k9XotjJ05gFG+GuGAGAWkFy4+jAXBKaAYFRYY= Message-ID: <1f0527d4-1dfb-432b-8d0e-06e99a94f638@arm.com> Date: Fri, 29 May 2026 16:18:41 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 07/10] thermal/of: Add cooling device ID support To: Daniel Lezcano , rafael@kernel.org, daniel.lezcano@kernel.org Cc: Zhang Rui , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lucas Stach , Russell King , Christian Gmeiner , David Airlie , Simona Vetter , Guenter Roeck , Joel Stanley , Andrew Jeffery , =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , Benson Leung , =?UTF-8?Q?Pali_Roh=C3=A1r?= , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Heiko Stuebner , Thierry Reding , Jonathan Hunter , Bjorn Andersson , Konrad Dybcio , Amit Daniel Kachhap , Viresh Kumar , Neil Armstrong , Amit Kucheria , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, "moderated list:DRM DRIVERS FOR VIVANTE GPU IP" , "open list:DRM DRIVERS FOR VIVANTE GPU IP" References: <20260526140802.1059293-12-daniel.lezcano@oss.qualcomm.com> <20260526140802.1059293-19-daniel.lezcano@oss.qualcomm.com> Content-Language: en-US From: Lukasz Luba In-Reply-To: <20260526140802.1059293-19-daniel.lezcano@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/26/26 15:08, Daniel Lezcano wrote: > Introduce an identifier (cdev_id) for cooling devices registered from > device tree. > > This prepares support for a new DT binding where cooling devices are > identified by a tuple (device node, ID), instead of relying on child > nodes. > > Existing users are updated to pass a default ID of 0, preserving the > current behavior. > > Future changes will extend the cooling map parsing to match cooling > devices based on both the device node and the ID. > > No functional change intended. > > Signed-off-by: Daniel Lezcano > --- > drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 5 +++-- > drivers/thermal/cpufreq_cooling.c | 2 +- > drivers/thermal/cpuidle_cooling.c | 2 +- > drivers/thermal/devfreq_cooling.c | 2 +- > drivers/thermal/thermal_of.c | 14 ++++++++------ > include/linux/thermal.h | 6 ++++-- > 6 files changed, 18 insertions(+), 13 deletions(-) > Reviewed-by: Lukasz Luba