BACKPORT: thermal/drivers/hisi: Prepare to add support for other hisi platforms
For platform compatibility, add the tsensor ops to a thermal data structure. Each platform has its own probe function to register proper tsensor ops function to the pointer, platform related resource request are also implemented in the platform probe function. Change-Id: I5c9f006884aa3ebe5df7a07cde41980a62168e84 Signed-off-by:Kevin Wangtao <kevin.wangtao@linaro.org> Tested-by: Daniel Lezcano <daniel.lezcano@linaro.org> # hikey6220 Signed-off-by:
Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by:
Eduardo Valentin <edubezval@gmail.com> (cherry picked from commit a160a465297362c515db28848b79eb876ceab9c0) Signed-off-by:
Kevin Wangtao <kevin.wangtao@hisilicon.com>
Loading
Please register or sign in to comment