[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5d854d7b.1c69fb81.8a4b3.9784@mx.google.com>
Date: Fri, 20 Sep 2019 15:06:50 -0700
From: Stephen Boyd <swboyd@...omium.org>
To: Amit Kucheria <amit.kucheria@...aro.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Mark Rutland <mark.rutland@....com>,
Rob Herring <robh+dt@...nel.org>,
Zhang Rui <rui.zhang@...el.com>, agross@...nel.org,
bjorn.andersson@...aro.org, edubezval@...il.com,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
masneyb@...tation.org
Cc: linux-pm@...r.kernel.org
Subject: Re: [PATCH v4 15/15] drivers: thermal: tsens: Add interrupt support
Quoting Amit Kucheria (2019-09-20 14:52:30)
> Depending on the IP version, TSENS supports upper, lower and critical
> threshold interrupts. We only add support for upper and lower threshold
> interrupts for now.
>
> TSENSv2 has an irq [status|clear|mask] bit tuple for each sensor while
> earlier versions only have a single bit per sensor to denote status and
> clear. These differences are handled transparently by the interrupt
> handler. At each interrupt, we reprogram the new upper and lower threshold
> in the .set_trip callback.
>
> Signed-off-by: Amit Kucheria <amit.kucheria@...aro.org>
> ---
Reviewed-by: Stephen Boyd <swboyd@...omium.org>
Powered by blists - more mailing lists