lkml.org 
[lkml]   [2023]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v2 2/2] thermal/drivers/imx: Use the thermal framework for the trip point
    On Thu, Mar 9, 2023 at 6:28 AM Daniel Lezcano <daniel.lezcano@linaro.org> wrote:
    >
    > The thermal framework provides an API to get the trip related to a
    > trip point id. We want to consolidate the generic trip points code,
    > thus preventing the different drivers to deal with the trip points
    > after they registered them.
    >
    > The set_trip_temp ops will be changed regarding the above changes but
    > first we need to rework a bit the different implementation in the
    > drivers.
    >
    > The goal is to prevent using the trip id but use a trip point passed
    > as parameter which will contain all the needed information.
    >
    > As we don't have the trip point passed as parameter yet, we get the
    > trip point using the generic trip thermal framewrok APIs and use it to
    > take exactly the same decisions.
    >
    > The difference with this change and the previous code is from where we
    > get the thermal trip point (which is the same).
    >
    > No functional change intended.
    >
    > Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
    > ---
    > V2:
    > - Remove extra tab inserted in the previous version

    Reviewed-by: Fabio Estevam <festevam@gmail.com>

    \
     
     \ /
      Last update: 2023-03-27 00:51    [W:2.859 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site