[PATCH 15/15] drivers: thermal: tsens: Add interrupt support

2019-10-16 Thread Amit Kucheria
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 stat

Re: [PATCH 15/15] drivers: thermal: tsens: Add interrupt support

2019-08-22 Thread Amit Kucheria
Hi Stephen, Thanks for the thorough review. On Sat, Aug 17, 2019 at 11:39 AM Stephen Boyd wrote: > > Quoting Amit Kucheria (2019-07-25 15:18:50) > > diff --git a/drivers/thermal/qcom/tsens-common.c > > b/drivers/thermal/qcom/tsens-common.c > > index 13a875b99094..f94ef79c37bc 100644 > > --- a/d

Re: [PATCH 15/15] drivers: thermal: tsens: Add interrupt support

2019-08-16 Thread Stephen Boyd
Quoting Amit Kucheria (2019-07-25 15:18:50) > diff --git a/drivers/thermal/qcom/tsens-common.c > b/drivers/thermal/qcom/tsens-common.c > index 13a875b99094..f94ef79c37bc 100644 > --- a/drivers/thermal/qcom/tsens-common.c > +++ b/drivers/thermal/qcom/tsens-common.c > @@ -13,6 +13,22 @@ > #include

[PATCH 15/15] drivers: thermal: tsens: Add interrupt support

2019-07-25 Thread Amit Kucheria
Depending on the IP version, TSENS supports upper, lower, max, min 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 d