Messages in this thread | | | Subject | Re: [RFC PATCH 0/2] Add a generic virtual thermal sensor | From | Daniel Lezcano <> | Date | Mon, 23 Aug 2021 10:40:45 +0200 |
| |
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
| |