Re: [U-Boot] [PATCH] thermal: imx_thermal: rework driver to be reused

2015-08-25 Thread Alonso Adrian
Hi Stefano, > -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: Tuesday, August 25, 2015 12:23 PM > To: Alonso Lazcano Adrian-B38018 ; u- > b...@lists.denx.de; sba...@denx.de > Cc: ota...@ossystems.com.br; Estevam Fabio-R49496 > ; Li Frank-B20596 ; > Garg Nitin-B3717

Re: [U-Boot] [PATCH] thermal: imx_thermal: rework driver to be reused

2015-08-25 Thread Stefano Babic
Hi Adrian, On 25/08/2015 18:07, Adrian Alonso wrote: > - Rework imx_thermal driver to be used across i.MX > processor that support thermal sensors ok > - Make read_cpu_temperature SoC dependent Agree on that, but why moving into the soc / cpu file ? We have a driver for a specific hardware.

[U-Boot] [PATCH] thermal: imx_thermal: rework driver to be reused

2015-08-25 Thread Adrian Alonso
- Rework imx_thermal driver to be used across i.MX processor that support thermal sensors - Make read_cpu_temperature SoC dependent Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan --- arch/arm/cpu/armv7/mx6/soc.c | 86 +++- arch/arm/imx-common/cpu.c