i.MX28 die temperature

Marek Vasut marex at denx.de
Tue Oct 23 06:32:37 EDT 2012


Dear Peter Turczak,

> Hi Marek,
> 
> On Oct 23, 2012, at 10:52 AM, Marek Vasut wrote:
> > We have some basic LRADC driver in upstream already, you should use that.
> > 
> > See drivers/staging/iio/adc/mxs-lradc.c
> 
> Thanks for the heads-up.
> I was referring to this driver (pulled from linus' 3.7rc), it does not
> currently seem to have a consumer api for use within other kernel modules.
> Maybe I'm just heading the wrong way now...

Ah yes, it doesn't ... feel free to implement it. It can -- though -- read the 
CPU die temperature, just sample those two channels, substract one from another 
and multiply by the coeficient ... you'll find that in the datasheet.

Best regards,
Marek Vasut



More information about the linux-arm-kernel mailing list