[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87f1e4aa-1c54-e5ca-7bb6-e0638e4c1b4a@linaro.org>
Date: Mon, 23 Aug 2021 10:40:45 +0200
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Alexandre Bailon <abailon@...libre.com>, rui.zhang@...el.com,
amitk@...nel.org
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
ben.tseng@...iatek.com, khilman@...libre.com
Subject: Re: [RFC PATCH 0/2] Add a generic virtual thermal sensor
On 23/08/2021 09:35, Alexandre Bailon wrote:
[ ... ]
> I am not really satisfied of that patch but that the simplest way I
> found to do it.
> How would you proceed to get the hw sensor from its device tree phandle
> and id ?
Could the function 'thermal_zone_of_get_sensor_id' help ?
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Powered by blists - more mailing lists