RE: [PATCH V12 3/5] thermal: imx_sc: add i.MX system controller thermal support

2019-05-16 Thread Anson Huang
m; > enric.balle...@collabora.com; marc.w.gonza...@free.fr; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; linux...@vger.kernel.org > Cc: dl-linux-imx > Subject: RE: [PATCH V12 3/5] thermal: imx_

RE: [PATCH V12 3/5] thermal: imx_sc: add i.MX system controller thermal support

2019-05-16 Thread Aisheng Dong
[...] > > > + if (!sensor) > > > + return -ENOMEM; > > > + > > > + ret = thermal_zone_of_get_sensor_id(child, > > > + _specs, > > > > It looks a bit strange why need sensor_specs as you even did not use it. > > It is

Re: [PATCH V12 3/5] thermal: imx_sc: add i.MX system controller thermal support

2019-05-16 Thread Daniel Lezcano
On 16/04/2019 05:22, Anson Huang wrote: > i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller > inside, the system controller is in charge of controlling power, > clock and thermal sensors etc.. > > This patch adds i.MX system controller thermal driver support, > Linux kernel has to

RE: [PATCH V12 3/5] thermal: imx_sc: add i.MX system controller thermal support

2019-05-15 Thread Anson Huang
..@amarulasolutions.com; enric.balle...@collabora.com; > marc.w.gonza...@free.fr; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux- > p...@vger.kernel.org > Cc: dl-linux-imx > Subject: RE: [PATCH V12 3/5] thermal: imx_sc: add

RE: [PATCH V12 3/5] thermal: imx_sc: add i.MX system controller thermal support

2019-05-08 Thread Anson Huang
o.org; ja...@amarulasolutions.com; > enric.balle...@collabora.com; marc.w.gonza...@free.fr; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; linux...@vger.kernel.org > Cc: dl-linux-imx > Subject: [PATCH V12 3/5] thermal: imx_

RE: [PATCH V12 3/5] thermal: imx_sc: add i.MX system controller thermal support

2019-04-17 Thread Anson Huang
Best Regards! Anson Huang > -Original Message- > > From: Anson Huang > > Sent: Tuesday, April 16, 2019 11:22 AM > > > > i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller > > inside, the system controller is in charge of controlling power, clock > > and thermal sensors

RE: [PATCH V12 3/5] thermal: imx_sc: add i.MX system controller thermal support

2019-04-17 Thread Aisheng Dong
> From: Anson Huang > Sent: Tuesday, April 16, 2019 11:22 AM > > i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, > the system controller is in charge of controlling power, clock and thermal > sensors etc.. > > This patch adds i.MX system controller thermal driver

[PATCH V12 3/5] thermal: imx_sc: add i.MX system controller thermal support

2019-04-15 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and thermal sensors etc.. This patch adds i.MX system controller thermal driver support, Linux kernel has to communicate with system controller via MU (message