[PATCH] ARM: shmobile: r8a7793: Add thermal device to DT

Simon Horman horms at verge.net.au
Fri Nov 6 01:17:35 PST 2015

On Fri, Nov 06, 2015 at 09:50:27AM +0100, Geert Uytterhoeven wrote:
> On Fri, Nov 6, 2015 at 8:30 AM, Simon Horman <horms+renesas at verge.net.au> wrote:
> > Instantiate the thermal sensor in the r8a7793 device tree.
> >
> > Based on very similar work for the r8a7790 by Magnus Damm.
> Given the similarity of R-Car M2-N and M2-W, I would have referred
> to r8a7791 ;-)

True. Though for thermal the datasheet indicates H2 is also quite similar.

I also prepared a very similar patch to add thermal to the r8a7794 (E2).
But the driver reports the sensor is broken - my inspection of the code
leads me to believe its not able to get a proper reading from the sensor.

I'm wondering if anyone knows about this issue. Perhaps its specific
to my Alt board. Or a limitation of the E2?

> > Cc: Magnus Damm <damm at opensource.se>
> > Signed-off-by: Simon Horman <horms+renesas at verge.net.au>
> Acked-by: Geert Uytterhoeven <geert+renesas at glider.be>
> Gr{oetje,eeting}s,
>                         Geert
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds

More information about the linux-arm-kernel mailing list