exynos_tmu.h is used only by exynos_tmu.c so there is no need
for a separate include file.
Also while at it remove no longer needed cpu_cooling.h include.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
exynos_tmu.h is used only by exynos_tmu.c so there is no need
for a separate include file.
Also while at it remove no longer needed cpu_cooling.h include.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
Acked-by: Daniel Lezcano
On Monday, April 16, 2018 03:02:45 PM Daniel Lezcano wrote:
> On 16/04/2018 12:12, Bartlomiej Zolnierkiewicz wrote:
> > Remove no longer needed samsung thermal properties.
> >
> > There should be no functional changes caused by this patch.
> >
> > Signed-
On Monday, April 16, 2018 03:02:45 PM Daniel Lezcano wrote:
> On 16/04/2018 12:12, Bartlomiej Zolnierkiewicz wrote:
> > Remove no longer needed samsung thermal properties.
> >
> > There should be no functional changes caused by this patch.
> >
> > Signed-
On Monday, April 16, 2018 02:54:01 PM Daniel Lezcano wrote:
> On 16/04/2018 14:49, Bartlomiej Zolnierkiewicz wrote:
> > On Monday, April 16, 2018 02:41:48 PM Daniel Lezcano wrote:
> >> On 16/04/2018 14:35, Bartlomiej Zolnierkiewicz wrote:
> >>> On Monday, April 16, 2
On Monday, April 16, 2018 02:54:01 PM Daniel Lezcano wrote:
> On 16/04/2018 14:49, Bartlomiej Zolnierkiewicz wrote:
> > On Monday, April 16, 2018 02:41:48 PM Daniel Lezcano wrote:
> >> On 16/04/2018 14:35, Bartlomiej Zolnierkiewicz wrote:
> >>> On Monday, April 16, 2
On Monday, April 16, 2018 02:41:48 PM Daniel Lezcano wrote:
> On 16/04/2018 14:35, Bartlomiej Zolnierkiewicz wrote:
> > On Monday, April 16, 2018 02:16:56 PM Daniel Lezcano wrote:
> >> On 16/04/2018 12:11, Bartlomiej Zolnierkiewicz wrote:
> >>> From: Marek Szypro
On Monday, April 16, 2018 02:41:48 PM Daniel Lezcano wrote:
> On 16/04/2018 14:35, Bartlomiej Zolnierkiewicz wrote:
> > On Monday, April 16, 2018 02:16:56 PM Daniel Lezcano wrote:
> >> On 16/04/2018 12:11, Bartlomiej Zolnierkiewicz wrote:
> >>> From: Marek Sz
On Monday, April 16, 2018 02:19:30 PM Daniel Lezcano wrote:
> On 16/04/2018 12:11, Bartlomiej Zolnierkiewicz wrote:
> > From: Maciej Purski <m.pur...@samsung.com>
> >
> > Device context's field data->soc is currently obtained by comparing
> > of_compatibl
On Monday, April 16, 2018 02:19:30 PM Daniel Lezcano wrote:
> On 16/04/2018 12:11, Bartlomiej Zolnierkiewicz wrote:
> > From: Maciej Purski
> >
> > Device context's field data->soc is currently obtained by comparing
> > of_compatible's. Provide soc_type as .data fie
On Monday, April 16, 2018 02:16:56 PM Daniel Lezcano wrote:
> On 16/04/2018 12:11, Bartlomiej Zolnierkiewicz wrote:
> > From: Marek Szyprowski <m.szyprow...@samsung.com>
> >
> > tmu_read() in case of Exynos4210 might return error for out of bound
> > values. Curr
On Monday, April 16, 2018 02:16:56 PM Daniel Lezcano wrote:
> On 16/04/2018 12:11, Bartlomiej Zolnierkiewicz wrote:
> > From: Marek Szyprowski
> >
> > tmu_read() in case of Exynos4210 might return error for out of bound
> > values. Current code ignores such val
On Monday, April 16, 2018 02:06:41 PM Daniel Lezcano wrote:
> On 16/04/2018 12:11, Bartlomiej Zolnierkiewicz wrote:
> > From: Marek Szyprowski <m.szyprow...@samsung.com>
> >
> > When thermal sensor is not yet enabled, reading temperature might return
> > ran
On Monday, April 16, 2018 02:06:41 PM Daniel Lezcano wrote:
> On 16/04/2018 12:11, Bartlomiej Zolnierkiewicz wrote:
> > From: Marek Szyprowski
> >
> > When thermal sensor is not yet enabled, reading temperature might return
> > random value. This might even result in s
From: Maciej Purski <m.pur...@samsung.com>
Device context's field data->soc is currently obtained by comparing
of_compatible's. Provide soc_type as .data field in device's match
table, as it is done in most drivers.
Signed-off-by: Maciej Purski <m.pur...@samsung.com>
Signed-off
From: Maciej Purski
Device context's field data->soc is currently obtained by comparing
of_compatible's. Provide soc_type as .data field in device's match
table, as it is done in most drivers.
Signed-off-by: Maciej Purski
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/sams
All SoCs use the same value (4) for the noise cancel mode so just
make it explicit and remove parsing of samsung,tmu_noise_cancel_mode
property.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/t
All SoCs use the same value (4) for the noise cancel mode so just
make it explicit and remove parsing of samsung,tmu_noise_cancel_mode
property.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/samsung/exynos_tmu.c | 10
by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/samsung/exynos_tmu.c | 48 ++--
drivers/thermal/samsung/exynos_tmu.h | 2 --
2 files changed, 13 insertions(+), 37 deletions(-)
diff --git a/drivers/thermal/s
by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/samsung/exynos_tmu.c | 48 ++--
drivers/thermal/samsung/exynos_tmu.h | 2 --
2 files changed, 13 insertions(+), 37 deletions(-)
diff --git a/drivers/thermal/samsung/exynos_tmu.c
b/drivers/thermal
by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/samsung/exynos_tmu.c | 43
drivers/thermal/samsung/exynos_tmu.h | 10 -
2 files changed, 9 insertions(+), 44 deletions(-)
diff --git a/drivers/t
by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/samsung/exynos_tmu.c | 43
drivers/thermal/samsung/exynos_tmu.h | 10 -
2 files changed, 9 insertions(+), 44 deletions(-)
diff --git a/drivers/thermal/samsung/exynos_tmu.c
b
Since pdata reference_voltage values are SoC (not platform) specific
just move it from platform data to struct exynos_tmu_data instance.
Then remove parsing of samsung,tmu_reference_voltage property.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej
Since pdata reference_voltage values are SoC (not platform) specific
just move it from platform data to struct exynos_tmu_data instance.
Then remove parsing of samsung,tmu_reference_voltage property.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej
Since pdata gain values are SoC (not platform) specific just move
it from platform data to struct exynos_tmu_data instance. Then
remove parsing of samsung,tmu_gain property.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zoln
Since pdata gain values are SoC (not platform) specific just move
it from platform data to struct exynos_tmu_data instance. Then
remove parsing of samsung,tmu_gain property.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal
ake it explicit and remove parsing of
samsung,tmu_[first,second]_point_trim properties.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/samsung/exynos_tmu.c | 20 +---
driver
ake it explicit and remove parsing of
samsung,tmu_[first,second]_point_trim properties.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/samsung/exynos_tmu.c | 20 +---
drivers/thermal/samsung/exynos_tmu.h |
Remove no longer needed samsung thermal properties.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
.../dts/exynos/exynos5433-tmu-g3d-sensor-conf.dtsi | 20
.../boot/dts/exynos/exyn
Remove no longer needed samsung thermal properties.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
arch/arm/boot/dts/exynos3250.dtsi | 2 +-
arch/arm/boot/dts/exynos
exynos_tmu.h is used only by exynos_tmu.c so there is no need
for a separate include file.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/samsung/exynos_tmu.c | 18 +++-
d
Remove no longer needed samsung thermal properties.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
.../dts/exynos/exynos5433-tmu-g3d-sensor-conf.dtsi | 20
.../boot/dts/exynos/exynos5433-tmu-sensor-conf.dtsi | 19
Remove no longer needed samsung thermal properties.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
arch/arm/boot/dts/exynos3250.dtsi | 2 +-
arch/arm/boot/dts/exynos4.dtsi| 2 +-
arch/arm/boot/dts
exynos_tmu.h is used only by exynos_tmu.c so there is no need
for a separate include file.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/samsung/exynos_tmu.c | 18 +++-
drivers/thermal/samsung/exynos_tmu.h
Since pdata efuse values are SoC (not platform) specific just move
them from platform data to struct exynos_tmu_data instance. Then
remove parsing of samsung,tmu[_,min_,max]_efuse_value properties.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej
Since pdata efuse values are SoC (not platform) specific just move
them from platform data to struct exynos_tmu_data instance. Then
remove parsing of samsung,tmu[_,min_,max]_efuse_value properties.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej
exynos: Fix first temperature read after
registering sensor")
CC: sta...@vger.kernel.org # v4.6+
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/samsung/exynos_tmu.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/thermal/sam
Remove unused "type" field from struct exynos_tmu_platform_data.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/samsung/exynos_tmu.h | 2 --
1 file changed, 2 deletions(-)
diff
;)
CC: sta...@vger.kernel.org # v4.6+
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/samsung/exynos_tmu.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/thermal/samsung/exynos_tmu.c
b/drivers/thermal/samsung/exynos_tmu.c
index ed805c7..986cbd0 100644
---
Remove unused "type" field from struct exynos_tmu_platform_data.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/samsung/exynos_tmu.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/therm
ed-off-by: Marek Szyprowski <m.szyprow...@samsung.com>
CC: sta...@vger.kernel.org # v4.6+
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/samsung/exynos_tmu.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/thermal/sa
...@vger.kernel.org # v4.6+
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/samsung/exynos_tmu.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/thermal/samsung/exynos_tmu.c
b/drivers/thermal/samsung/exynos_tmu.c
index 986cbd0..ac83f72 100644
ready present in linux-soc-thermal-tree)
- drop "thermal: exynos: remove separate thermal_exynos.h header
file" patch
(to be resend once dts changes are merged)
Tested on Exynos4210 based Trats board and Exynos5422 based Odroid-XU3
Lite board.
Best regards,
--
Bartlomiej Zolnierkiewicz
Sams
ready present in linux-soc-thermal-tree)
- drop "thermal: exynos: remove separate thermal_exynos.h header
file" patch
(to be resend once dts changes are merged)
Tested on Exynos4210 based Trats board and Exynos5422 based Odroid-XU3
Lite board.
Best regards,
--
Bartlomiej Zolnierkiewicz
Sams
On Friday, April 13, 2018 01:12:39 PM Bartlomiej Zolnierkiewicz wrote:
> On Friday, April 13, 2018 12:41:18 PM Bartlomiej Zolnierkiewicz wrote:
> > On Friday, April 13, 2018 12:30:04 PM Daniel Lezcano wrote:
> > > On 13/04/2018 11:28, Bartlomiej Zo
On Friday, April 13, 2018 01:12:39 PM Bartlomiej Zolnierkiewicz wrote:
> On Friday, April 13, 2018 12:41:18 PM Bartlomiej Zolnierkiewicz wrote:
> > On Friday, April 13, 2018 12:30:04 PM Daniel Lezcano wrote:
> > > On 13/04/2018 11:28, Bartlomiej Zo
On Friday, April 13, 2018 12:41:18 PM Bartlomiej Zolnierkiewicz wrote:
> On Friday, April 13, 2018 12:30:04 PM Daniel Lezcano wrote:
> > On 13/04/2018 11:28, Bartlomiej Zolnierkiewicz wrote:
> >
> > [ ... ]
> >
> > >>> It is okay to return
On Friday, April 13, 2018 12:41:18 PM Bartlomiej Zolnierkiewicz wrote:
> On Friday, April 13, 2018 12:30:04 PM Daniel Lezcano wrote:
> > On 13/04/2018 11:28, Bartlomiej Zolnierkiewicz wrote:
> >
> > [ ... ]
> >
> > >>> It is okay to return
warnings.
>
> Signed-off-by: Daniel Lezcano <daniel.lezc...@linaro.org>
Thanks Daniel, this is much better fix.
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
> ---
> drivers/thermal/samsung/exynos_tmu.c | 46
> ++--
>
ings.
>
> Signed-off-by: Daniel Lezcano
Thanks Daniel, this is much better fix.
Acked-by: Bartlomiej Zolnierkiewicz
> ---
> drivers/thermal/samsung/exynos_tmu.c | 46
> ++--
> 1 file changed, 12 insertions(+), 34 deletions(-)
>
> di
On Friday, April 13, 2018 12:30:04 PM Daniel Lezcano wrote:
> On 13/04/2018 11:28, Bartlomiej Zolnierkiewicz wrote:
>
> [ ... ]
>
> >>> It is okay to return 0 because this code-path (the default one) will be
> >>> never hit by the driver (probe makes sure of
On Friday, April 13, 2018 12:30:04 PM Daniel Lezcano wrote:
> On 13/04/2018 11:28, Bartlomiej Zolnierkiewicz wrote:
>
> [ ... ]
>
> >>> It is okay to return 0 because this code-path (the default one) will be
> >>> never hit by the driver (probe makes sure of
> > Rui, bzolnier, please consider the following fix:
> > >
> > as it is late in this merge window, I'd prefer to
> > 1. drop all the thermal-soc material in the first pull request which I
> > will send out soon.
> > 2. you can prepare another pull request conta
nier, please consider the following fix:
> > >
> > as it is late in this merge window, I'd prefer to
> > 1. drop all the thermal-soc material in the first pull request which I
> > will send out soon.
> > 2. you can prepare another pull request containing the thermal-soc
>
On Friday, April 13, 2018 11:19:40 AM Daniel Lezcano wrote:
> On 13/04/2018 11:08, Bartlomiej Zolnierkiewicz wrote:
> > On Friday, April 13, 2018 11:00:43 AM Daniel Lezcano wrote:
> >> On 13/04/2018 10:55, Bartlomiej Zolnierkiewicz wrote:
> >>> On Friday, April 13, 20
On Friday, April 13, 2018 11:19:40 AM Daniel Lezcano wrote:
> On 13/04/2018 11:08, Bartlomiej Zolnierkiewicz wrote:
> > On Friday, April 13, 2018 11:00:43 AM Daniel Lezcano wrote:
> >> On 13/04/2018 10:55, Bartlomiej Zolnierkiewicz wrote:
> >>> On Friday, April 13, 20
On Friday, April 13, 2018 11:00:43 AM Daniel Lezcano wrote:
> On 13/04/2018 10:55, Bartlomiej Zolnierkiewicz wrote:
> > On Friday, April 13, 2018 01:39:05 PM Zhang Rui wrote:
> >> Hi, Eduardo,
> >>
> >> On 四, 2018-04-12 at 21:08 -0700, Eduardo Valentin wrote:
On Friday, April 13, 2018 11:00:43 AM Daniel Lezcano wrote:
> On 13/04/2018 10:55, Bartlomiej Zolnierkiewicz wrote:
> > On Friday, April 13, 2018 01:39:05 PM Zhang Rui wrote:
> >> Hi, Eduardo,
> >>
> >> On 四, 2018-04-12 at 21:08 -0700, Eduardo Valentin wrote:
nd out soon.
> 2. you can prepare another pull request containing the thermal-soc
> materials except the exynos fixes
> 3. exynos fixes with the problem solved can be queued for -rc2 or
> later.
Could you please just merge the obvious fix from Arnd instead?
[ it was posted two weeks ago and ACKed by me ]
https://patchwork.kernel.org/patch/10313313/
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R Institute Poland
Samsung Electronics
re another pull request containing the thermal-soc
> materials except the exynos fixes
> 3. exynos fixes with the problem solved can be queued for -rc2 or
> later.
Could you please just merge the obvious fix from Arnd instead?
[ it was posted two weeks ago and ACKed by me ]
https://patchwork.kernel.org/patch/10313313/
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R Institute Poland
Samsung Electronics
) *
> + *temp = (temp_code - data->temp_error1) *
> (EXYNOS_SECOND_POINT_TRIM - EXYNOS_FIRST_POINT_TRIM) /
> (data->temp_error2 - data->temp_error1) +
> EXYNOS_FIRST_POINT_TRIM;
> break;
> ca
(EXYNOS_SECOND_POINT_TRIM - EXYNOS_FIRST_POINT_TRIM) /
> (data->temp_error2 - data->temp_error1) +
> EXYNOS_FIRST_POINT_TRIM;
> break;
> case TYPE_ONE_POINT_TRIMMING:
> - temp = temp_code - data->temp_error1 + EXYNOS_FIRST_POINT_TRIM;
> + *temp = temp_code - data->temp_error1 + EXYNOS_FIRST_POINT_TRIM;
> break;
> default:
> WARN_ON(1);
> + ret = -EINVAL;
ditto
> break;
> }
>
> - return temp;
> + return ret;
> }
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R Institute Poland
Samsung Electronics
Enable/check sensor after HW-block setup (if necessary) and setting
data->tz.
Cc: Eric Anholt <e...@anholt.net>
Cc: Stefan Wahren <stefan.wah...@i2se.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/broadcom/bcm2835_thermal.c | 6 +
Enable/check sensor after setting priv->thermal.
Cc: Markus Mayer <mma...@broadcom.com>
Cc: bcm-kernel-feedback-l...@broadcom.com
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/broadcom/brcmstb_thermal.c | 4 ++--
1 file changed, 2 i
Enable/check sensor after HW-block setup (if necessary) and setting
data->tz.
Cc: Eric Anholt
Cc: Stefan Wahren
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/broadcom/bcm2835_thermal.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/ther
Enable/check sensor after setting priv->thermal.
Cc: Markus Mayer
Cc: bcm-kernel-feedback-l...@broadcom.com
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/broadcom/brcmstb_thermal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/thermal/broad
* Add ops_of_thermal flag to struct thermal_zone_device_ops and
set it in of-thermal.c.
* Add checking sensor mode for drivers using of-thermal.c to
thermal_zone_get_temp() (print a warning if sensor is disabled).
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.
* Add ops_of_thermal flag to struct thermal_zone_device_ops and
set it in of-thermal.c.
* Add checking sensor mode for drivers using of-thermal.c to
thermal_zone_get_temp() (print a warning if sensor is disabled).
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/of-thermal.c
Enable/check sensor after checking sensor coefficients.
Cc: Jun Nie <jun@linaro.org>
Cc: Baoyou Xie <baoyou@linaro.org>
Cc: Shawn Guo <shawn...@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/zx2967_thermal.c |
Enable/check sensor after checking sensor coefficients.
Cc: Jun Nie
Cc: Baoyou Xie
Cc: Shawn Guo
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/zx2967_thermal.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/thermal/zx2967_thermal.c b/drivers
* Enable/check sensor explicitly in rockchip_thermal_probe() (also
check sensor after doing chipset specific control operation).
* Remove superfluous second sensor enable/check attempt.
Cc: Heiko Stuebner <he...@sntech.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@sa
* Enable/check sensor explicitly in rockchip_thermal_probe() (also
check sensor after doing chipset specific control operation).
* Remove superfluous second sensor enable/check attempt.
Cc: Heiko Stuebner
Signed-off-by: Bartlomiej Zolnierkiewicz
---
This driver may require some more fixing
Enable sensor after checking trip points (unipher_tm_enable_sensor()
enables IRQ so we need to toggle sensor before calling it) and check
sensor after doing chipset specific enable sensor operation.
Cc: Masahiro Yamada <yamada.masah...@socionext.com>
Signed-off-by: Bartlomiej Zolnierk
Enable sensor after setting sensor data and check sensor after
writing update interval.
Cc: Eduardo Valentin <edubez...@gmail.com>
Cc: Keerthy <j-keer...@ti.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/ti-soc-thermal/ti-th
Enable sensor after setting sensor data and check sensor after
writing update interval.
Cc: Eduardo Valentin
Cc: Keerthy
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
Enable sensor after checking trip points (unipher_tm_enable_sensor()
enables IRQ so we need to toggle sensor before calling it) and check
sensor after doing chipset specific enable sensor operation.
Cc: Masahiro Yamada
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal
Enable sensor after doing chipset specific initialization operation and
check sensor after doing chipset specific control operation.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/samsung/exynos_tmu.c | 8 +---
1 file changed, 5 insertions
Enable/check sensor after setting zone->tz and programming hwtrips.
Cc: Thierry Reding <thierry.red...@gmail.com>
Cc: Jonathan Hunter <jonath...@nvidia.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/tegra/soctherm.c | 6 +++-
Enable sensor after doing chipset specific initialization operation and
check sensor after doing chipset specific control operation.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/samsung/exynos_tmu.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git
Enable/check sensor after setting zone->tz and programming hwtrips.
Cc: Thierry Reding
Cc: Jonathan Hunter
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/tegra/soctherm.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/thermal/tegra/soctherm.
Enable/check sensor after setting tsc->zone and checking ntrips.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/rcar_gen3_thermal.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/thermal/rcar_gen3_thermal.c
(only place which calls
->set_mode). Modify mode_store() in thermal_sysfs.c accordingly.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/acpi/thermal.c | 2 ++
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | 2 --
drive
(only place which calls
->set_mode). Modify mode_store() in thermal_sysfs.c accordingly.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/acpi/thermal.c | 2 ++
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | 2 --
drivers/platform/x86/
Enable/check sensor after setting tsc->zone and checking ntrips.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/rcar_gen3_thermal.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/thermal/rcar_gen3_thermal.c
b/drivers/thermal/rcar_gen3_therma
Enable/check sensor after setting tmdev->sensor[i].tzd and calling
chipset specific enable operation.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/qcom/tsens.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/driver
Enable/check sensor after enabling monitoring.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/qoriq_thermal.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/thermal/qoriq_thermal.c b/drivers/thermal/qoriq_thermal.c
Enable/check sensor after enabling monitoring.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/qoriq_thermal.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/thermal/qoriq_thermal.c b/drivers/thermal/qoriq_thermal.c
index cdd6f59..2695021 100644
Enable/check sensor after setting tmdev->sensor[i].tzd and calling
chipset specific enable operation.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/qcom/tsens.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/thermal/qcom/tsens.c b/driv
* Rename static thermal_zone_device_check() helper in thermal_core.c
to thermal_zone_device_work_check().
* Add thermal_zone_device_check() helper. Then update core code and
drivers to use it.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/acpi/the
* Rename static thermal_zone_device_check() helper in thermal_core.c
to thermal_zone_device_work_check().
* Add thermal_zone_device_check() helper. Then update core code and
drivers to use it.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/acpi/thermal.c
* Enable/check sensor after checking ntrips and doing chipset specific
enable operation.
* Remove superfluous second sensor enable/check attempt.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/hisi_thermal.c | 9 +++--
1 file changed, 3 inse
* Enable/check sensor after checking ntrips and doing chipset specific
enable operation.
* Remove superfluous second sensor enable/check attempt.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/hisi_thermal.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff
Add thermal_zone_device_toggle() helper. Then update core code and
drivers to use it.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/hisi_thermal.c | 14 ++
drivers/thermal/of-thermal.c | 2 +-
drivers/thermal/rockchip_the
Add thermal_zone_device_toggle() helper. Then update core code and
drivers to use it.
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/hisi_thermal.c | 14 ++
drivers/thermal/of-thermal.c | 2 +-
drivers/thermal/rockchip_thermal.c | 22
tions are separated and
corresponding drivers are modified to use the new helpers to
enable and check sensor explicitly.
Tested on Exynos5422 based Odroid-XU3 Lite board (aforementioned
warnings from the thermal core are now gone).
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R Institute Poland
Move thermal_zone_device_toggle() call to the users of
[devm]_thermal_zone_of_sensor_register().
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
---
drivers/thermal/broadcom/bcm2835_thermal.c | 2 ++
drivers/thermal/broadcom/brcmstb_thermal.c | 2 ++
d
tions are separated and
corresponding drivers are modified to use the new helpers to
enable and check sensor explicitly.
Tested on Exynos5422 based Odroid-XU3 Lite board (aforementioned
warnings from the thermal core are now gone).
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R Institute Poland
Move thermal_zone_device_toggle() call to the users of
[devm]_thermal_zone_of_sensor_register().
Signed-off-by: Bartlomiej Zolnierkiewicz
---
drivers/thermal/broadcom/bcm2835_thermal.c | 2 ++
drivers/thermal/broadcom/brcmstb_thermal.c | 2 ++
drivers/thermal/broadcom/ns
!MICROBLAZE && !OPENRISC
+ !ARM64 && !ARC && !MICROBLAZE && !OPENRISC && !NDS32 && !S390
default y
help
Saying Y here will allow you to use Linux in text mode through a
Best regards,
--
Bartlomiej Zolnierkiewi
!MICROBLAZE && !OPENRISC
+ !ARM64 && !ARC && !MICROBLAZE && !OPENRISC && !NDS32 && !S390
default y
help
Saying Y here will allow you to use Linux in text mode through a
Best regards,
--
Bartlomiej Zolnierkiewi
501 - 600 of 5838 matches
Mail list logo