Re: [PATCH v6 3/4] thermal: tegra: parse sensor id before sensor register

2018-12-19 Thread Wei Ni
On 19/12/2018 10:57 PM, Eduardo Valentin wrote: > On Wed, Dec 19, 2018 at 11:00:10AM +0800, Wei Ni wrote: >> >> >> On 19/12/2018 9:24 AM, Eduardo Valentin wrote: >>> On Fri, Dec 14, 2018 at 05:49:52PM +0800, Wei Ni wrote: Since different platforms may not support all 4 sensors, so the

Re: [PATCH v6 3/4] thermal: tegra: parse sensor id before sensor register

2018-12-19 Thread Eduardo Valentin
On Wed, Dec 19, 2018 at 11:00:10AM +0800, Wei Ni wrote: > > > On 19/12/2018 9:24 AM, Eduardo Valentin wrote: > > On Fri, Dec 14, 2018 at 05:49:52PM +0800, Wei Ni wrote: > >> Since different platforms may not support all 4 > >> sensors, so the sensor registration may be failed. > >> Add codes to

Re: [PATCH v6 3/4] thermal: tegra: parse sensor id before sensor register

2018-12-18 Thread Wei Ni
On 19/12/2018 9:24 AM, Eduardo Valentin wrote: > On Fri, Dec 14, 2018 at 05:49:52PM +0800, Wei Ni wrote: >> Since different platforms may not support all 4 >> sensors, so the sensor registration may be failed. >> Add codes to parse dt to find sensor id which >> need to be registered. So that

Re: [PATCH v6 3/4] thermal: tegra: parse sensor id before sensor register

2018-12-18 Thread Eduardo Valentin
On Fri, Dec 14, 2018 at 05:49:52PM +0800, Wei Ni wrote: > Since different platforms may not support all 4 > sensors, so the sensor registration may be failed. > Add codes to parse dt to find sensor id which > need to be registered. So that the registration > can be successful on all platform. > >

Re: [PATCH v6 3/4] thermal: tegra: parse sensor id before sensor register

2018-12-14 Thread Thierry Reding
On Fri, Dec 14, 2018 at 05:49:52PM +0800, Wei Ni wrote: > Since different platforms may not support all 4 > sensors, so the sensor registration may be failed. > Add codes to parse dt to find sensor id which > need to be registered. So that the registration > can be successful on all platform. > >

[PATCH v6 3/4] thermal: tegra: parse sensor id before sensor register

2018-12-14 Thread Wei Ni
Since different platforms may not support all 4 sensors, so the sensor registration may be failed. Add codes to parse dt to find sensor id which need to be registered. So that the registration can be successful on all platform. Signed-off-by: Wei Ni --- drivers/thermal/tegra/soctherm.c | 45