Re: [PATCH 3/3] thermal: max77620: Add thermal driver for reporting junction temp

2016-03-09 Thread Laxman Dewangan
On Wednesday 09 March 2016 02:54 AM, Eduardo Valentin wrote: On Fri, Mar 04, 2016 at 07:10:10PM +0530, Laxman Dewangan wrote: Maxim Semiconductor Max77620 supports alarm interrupts when its die temperature crosses 120C and 140C. These threshold temperatures are not configurable. Add therma

Re: [PATCH 3/3] thermal: max77620: Add thermal driver for reporting junction temp

2016-03-08 Thread Eduardo Valentin
Hello Laxman, Thanks for working on this. Impressed how simplified these drivers are becoming. I really liked you added the so waited devm_ helpers. Very minor comments as follows (now that you will send a new version anyway). On Fri, Mar 04, 2016 at 07:10:10PM +0530, Laxman Dewangan wrote: > Ma

Re: [PATCH 3/3] thermal: max77620: Add thermal driver for reporting junction temp

2016-03-04 Thread Laxman Dewangan
On Friday 04 March 2016 07:10 PM, Laxman Dewangan wrote: > +#include +#include +#include + +#define MAX77620_NORMAL_OPERATING_TEMP 10 +#define MAX77620_TJALARM1_TEMP 12 +#define MAX77620_TJALARM1_TEMP 14 Oops, Second one is MAX77620_TJALARM2_TEMP. Will send other

[PATCH 3/3] thermal: max77620: Add thermal driver for reporting junction temp

2016-03-04 Thread Laxman Dewangan
Maxim Semiconductor Max77620 supports alarm interrupts when its die temperature crosses 120C and 140C. These threshold temperatures are not configurable. Add thermal driver to register PMIC die temperature as thermal zone sensor and capture the die temperature warning interrupts to notifying the c