Re: [PATCH V3] Thermal: imx: add i.mx6sx thermal support
From: edubezval@xxxxxxxxx
Date: Fri Aug 08 2014 - 08:16:01 EST
Hello Shawn,
On Thu, Aug 7, 2014 at 4:50 AM, Shawn Guo <shawn.guo@xxxxxxxxxx> wrote:
> On Wed, Aug 06, 2014 at 03:12:09PM +0800, Anson Huang wrote:
>> i.MX6SX has some new features of thermal interrupt function,
>> there are LOW, HIGH and PANIC irq for thermal sensor, so add
>> platform data to separate different thermal version;
>>
>> The reset value of LOW ALARM is 0 which means the highest
>> temp, so the LOW ALARM will be triggered once irq is enabled,
>> so we need to correct it before enabling thermal irq;
>>
>> Enable PANIC ALARM as critical trip point, it will trigger
>> system reset via SRC module once PANIC IRQ is triggered, it
>> is pure hardware function, so use it instead of software
>> reset by cooling device.
>>
>> Signed-off-by: Anson Huang <b20788@xxxxxxxxxxxxx>
>
> Tested-by: Shawn Guo <shawn.guo@xxxxxxxxxx>
Thanks!
Did you have the chance to test on both? i.MX6Q and i.MX6SX?
--
Eduardo Bezerra Valentin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/