Re: [PATCH] dt-bindings: thermal: samsung: Add SPDX license identifier

2018-07-25 Thread Bartlomiej Zolnierkiewicz
On Tuesday, July 24, 2018 10:03:12 PM Krzysztof Kozlowski wrote: > On Tue, Jul 24, 2018 at 06:46:35PM +0200, Bartlomiej Zolnierkiewicz wrote: > > > > Hi, > > > > On Wednesday, July 18, 2018 10:02:50 PM Krzysztof Kozlowski wrote: > > > Replace GPL license st

Re: [PATCH] dt-bindings: thermal: samsung: Add SPDX license identifier

2018-07-25 Thread Bartlomiej Zolnierkiewicz
On Tuesday, July 24, 2018 10:03:12 PM Krzysztof Kozlowski wrote: > On Tue, Jul 24, 2018 at 06:46:35PM +0200, Bartlomiej Zolnierkiewicz wrote: > > > > Hi, > > > > On Wednesday, July 18, 2018 10:02:50 PM Krzysztof Kozlowski wrote: > > > Replace GPL license st

Re: [PATCH 04/14] thermal: ti-soc-thermal: cleanup COUNTER feature handling for OMAP5

2018-07-25 Thread Bartlomiej Zolnierkiewicz
On Wednesday, July 11, 2018 09:08:29 AM J, KEERTHY wrote: > > On 5/14/2018 5:12 PM, Bartlomiej Zolnierkiewicz wrote: > > OMAP5 sensors don't claim COUNTER feature support (they use > > COUNTER_DELAY feature instead) so there is no need to set fields > > of struct tem

Re: [PATCH 04/14] thermal: ti-soc-thermal: cleanup COUNTER feature handling for OMAP5

2018-07-25 Thread Bartlomiej Zolnierkiewicz
On Wednesday, July 11, 2018 09:08:29 AM J, KEERTHY wrote: > > On 5/14/2018 5:12 PM, Bartlomiej Zolnierkiewicz wrote: > > OMAP5 sensors don't claim COUNTER feature support (they use > > COUNTER_DELAY feature instead) so there is no need to set fields > > of struct tem

Re: [PATCH 01/14] thermal: ti-soc-thermal: fix TALERT IRQ handling for DRA752

2018-07-25 Thread Bartlomiej Zolnierkiewicz
On Wednesday, July 11, 2018 07:49:41 AM J, KEERTHY wrote: > > On 5/14/2018 5:12 PM, Bartlomiej Zolnierkiewicz wrote: > > .report_temperature is not set in dra752_data which > > results in temperature updates not being propagated by > > ti_bandgap_talert_irq_handler

Re: [PATCH 01/14] thermal: ti-soc-thermal: fix TALERT IRQ handling for DRA752

2018-07-25 Thread Bartlomiej Zolnierkiewicz
On Wednesday, July 11, 2018 07:49:41 AM J, KEERTHY wrote: > > On 5/14/2018 5:12 PM, Bartlomiej Zolnierkiewicz wrote: > > .report_temperature is not set in dra752_data which > > results in temperature updates not being propagated by > > ti_bandgap_talert_irq_handler

Re: [PATCH] dt-bindings: thermal: samsung: Add SPDX license identifier

2018-07-24 Thread Bartlomiej Zolnierkiewicz
of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > */ > > #ifndef _EXYNOS_THERMAL_TMU_DT_H Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics

Re: [PATCH] dt-bindings: thermal: samsung: Add SPDX license identifier

2018-07-24 Thread Bartlomiej Zolnierkiewicz
of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > */ > > #ifndef _EXYNOS_THERMAL_TMU_DT_H Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics

Re: [PATCH] thermal: samsung: Remove Exynos5440 clock handling left-overs

2018-07-24 Thread Bartlomiej Zolnierkiewicz
t. > > Clean it up. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics

Re: [PATCH] thermal: samsung: Remove Exynos5440 clock handling left-overs

2018-07-24 Thread Bartlomiej Zolnierkiewicz
t. > > Clean it up. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics

Re: [PATCH] thermal: ti-soc-thermal: remove dead code

2018-07-04 Thread Bartlomiej Zolnierkiewicz
On Tuesday, July 03, 2018 10:40:25 AM Keerthy wrote: > > On Monday 02 July 2018 10:00 PM, Eduardo Valentin wrote: > > Keerthy, > > > > On Fri, Jun 29, 2018 at 06:10:26PM +0200, Bartlomiej Zolnierkiewicz wrote: > >> > >> Hi, > >> >

Re: [PATCH] thermal: ti-soc-thermal: remove dead code

2018-07-04 Thread Bartlomiej Zolnierkiewicz
On Tuesday, July 03, 2018 10:40:25 AM Keerthy wrote: > > On Monday 02 July 2018 10:00 PM, Eduardo Valentin wrote: > > Keerthy, > > > > On Fri, Jun 29, 2018 at 06:10:26PM +0200, Bartlomiej Zolnierkiewicz wrote: > >> > >> Hi, > >> >

Re: [PATCH 00/17] thermal: enable/check sensor after its setup is finished

2018-06-29 Thread Bartlomiej Zolnierkiewicz
On Tuesday, April 10, 2018 02:41:54 PM Bartlomiej Zolnierkiewicz wrote: > Hi, > > [devm]_thermal_zone_of_sensor_register() is used to register > thermal sensor by thermal drivers using DeviceTree. Besides > registering sensor this function also immediately enables it > (using

Re: [PATCH 00/17] thermal: enable/check sensor after its setup is finished

2018-06-29 Thread Bartlomiej Zolnierkiewicz
On Tuesday, April 10, 2018 02:41:54 PM Bartlomiej Zolnierkiewicz wrote: > Hi, > > [devm]_thermal_zone_of_sensor_register() is used to register > thermal sensor by thermal drivers using DeviceTree. Besides > registering sensor this function also immediately enables it > (using

Re: [PATCH] thermal: ti-soc-thermal: remove dead code

2018-06-29 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, May 02, 2018 03:20:35 PM Bartlomiej Zolnierkiewicz wrote: > Majority of this code (i.e. functions from ti-bandgap.c) has been > introduced in May 2013 by commit eb982001dbd8 ("thermal: introduce TI > SoC thermal driver"). Just remove it altogether (i

Re: [PATCH] thermal: ti-soc-thermal: remove dead code

2018-06-29 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, May 02, 2018 03:20:35 PM Bartlomiej Zolnierkiewicz wrote: > Majority of this code (i.e. functions from ti-bandgap.c) has been > introduced in May 2013 by commit eb982001dbd8 ("thermal: introduce TI > SoC thermal driver"). Just remove it altogether (i

[PATCH v2] ARM: dts: exynos: remove no longer needed samsung thermal properties

2018-06-21 Thread Bartlomiej Zolnierkiewicz
Remove no longer needed samsung thermal properties. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- v2: - rebased against current -next kernel arch/arm/boot/dts/exynos3250.dtsi |2 +- arch/arm/boot/dts/exynos4.dtsi

[PATCH v2] ARM: dts: exynos: remove no longer needed samsung thermal properties

2018-06-21 Thread Bartlomiej Zolnierkiewicz
Remove no longer needed samsung thermal properties. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- v2: - rebased against current -next kernel arch/arm/boot/dts/exynos3250.dtsi |2 +- arch/arm/boot/dts/exynos4.dtsi

Re: [PATCH] video/omap: add module license tags

2018-06-08 Thread Bartlomiej Zolnierkiewicz
nce Imre is working at Intel these days. > > Fixes: 81c44c2b2ce3 ("video/omap: fix modular build") > Cc: Imre Deak > Signed-off-by: Arnd Bergmann Patch queued for 4.18 (with minor fixups, interdiff below), thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R

Re: [PATCH] video/omap: add module license tags

2018-06-08 Thread Bartlomiej Zolnierkiewicz
nce Imre is working at Intel these days. > > Fixes: 81c44c2b2ce3 ("video/omap: fix modular build") > Cc: Imre Deak > Signed-off-by: Arnd Bergmann Patch queued for 4.18 (with minor fixups, interdiff below), thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R

Re: [PATCH 10/19 v3] regulator: s2mps11: Pass descriptor instead of GPIO number

2018-05-30 Thread Bartlomiej Zolnierkiewicz
On Monday, May 28, 2018 01:29:07 PM Bartlomiej Zolnierkiewicz wrote: > > Hi Linus, > > On Monday, May 28, 2018 10:41:31 AM Linus Walleij wrote: > > On Sat, May 26, 2018 at 12:02 PM, Mark Brown wrote: > > > On Mon, May 14, 2018 at 10:06:31AM +0200, Linus Walleij wrote

Re: [PATCH 10/19 v3] regulator: s2mps11: Pass descriptor instead of GPIO number

2018-05-30 Thread Bartlomiej Zolnierkiewicz
On Monday, May 28, 2018 01:29:07 PM Bartlomiej Zolnierkiewicz wrote: > > Hi Linus, > > On Monday, May 28, 2018 10:41:31 AM Linus Walleij wrote: > > On Sat, May 26, 2018 at 12:02 PM, Mark Brown wrote: > > > On Mon, May 14, 2018 at 10:06:31AM +0200, Linus Walleij wrote

Re: [PATCH 10/19 v3] regulator: s2mps11: Pass descriptor instead of GPIO number

2018-05-28 Thread Bartlomiej Zolnierkiewicz
[ It fails with -EBUSY on gpiod_request() in gpiod_get_from_of_node(). ] Therefore it seems that more work is needed before s2mps11 driver can be converted to use GPIO descriptors. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics Index: b/drivers/regu

Re: [PATCH 10/19 v3] regulator: s2mps11: Pass descriptor instead of GPIO number

2018-05-28 Thread Bartlomiej Zolnierkiewicz
Y on gpiod_request() in gpiod_get_from_of_node(). ] Therefore it seems that more work is needed before s2mps11 driver can be converted to use GPIO descriptors. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics Index: b/drivers/regulator/s2mps11.c =

Re: [PATCH] arm64: dts: exynos: fix type of thermal trip points for Exynos7

2018-05-15 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 15, 2018 02:59:33 PM Krzysztof Kozlowski wrote: > On Tue, May 15, 2018 at 2:37 PM, Bartlomiej Zolnierkiewicz > <b.zolnier...@samsung.com> wrote: > > Currently Exynos thermal driver treats as "active" all specified > > trip points before reaching ma

Re: [PATCH] arm64: dts: exynos: fix type of thermal trip points for Exynos7

2018-05-15 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 15, 2018 02:59:33 PM Krzysztof Kozlowski wrote: > On Tue, May 15, 2018 at 2:37 PM, Bartlomiej Zolnierkiewicz > wrote: > > Currently Exynos thermal driver treats as "active" all specified > > trip points before reaching maximum number of hardwa

[PATCH] arm64: dts: exynos: fix type of thermal trip points for Exynos7

2018-05-15 Thread Bartlomiej Zolnierkiewicz
0 to cpu-alert6 trip points to be "active" instead of "passive" (cpu-alert-7 type is "critical" so it doesn't need a fixup). Cc: Alim Akhtar <alim.akh...@samsung.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> --- arch/arm64/boo

[PATCH] arm64: dts: exynos: fix type of thermal trip points for Exynos7

2018-05-15 Thread Bartlomiej Zolnierkiewicz
0 to cpu-alert6 trip points to be "active" instead of "passive" (cpu-alert-7 type is "critical" so it doesn't need a fixup). Cc: Alim Akhtar Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm64/boot/dts/exynos/exynos7-trip-points.dtsi | 14 +++--- 1 fi

Re: [PATCH] video: fbdev: nvidia: fix spelling mistake: "scaleing" -> "scaling"

2018-05-15 Thread Bartlomiej Zolnierkiewicz
4.18, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics

Re: [PATCH] video: fbdev: nvidia: fix spelling mistake: "scaleing" -> "scaling"

2018-05-15 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 08, 2018 11:36:19 PM Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in module parameter description text > > Signed-off-by: Colin Ian King Patch queued for 4.18, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R I

Re: [PATCH] video: fbdev: fix spelling mistake: "frambuffer" -> "framebuffer"

2018-05-15 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 09:37:42 AM Colin King wrote: > From: Colin Ian King <colin.k...@canonical.com> > > Trivial fix to spelling mistake in error messages > > Signed-off-by: Colin Ian King <colin.k...@canonical.com> Patch queued for 4.18, thanks. Best regards, -

Re: [PATCH] video: fbdev: fix spelling mistake: "frambuffer" -> "framebuffer"

2018-05-15 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 09:37:42 AM Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in error messages > > Signed-off-by: Colin Ian King Patch queued for 4.18, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics

Re: [PATCH v2 11/11] docs: fix broken references with multiple hints

2018-05-15 Thread Bartlomiej Zolnierkiewicz
Mauro Carvalho Chehab <mchehab+sams...@kernel.org> Acked-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> # for fbdev part Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics

Re: [PATCH v2 11/11] docs: fix broken references with multiple hints

2018-05-15 Thread Bartlomiej Zolnierkiewicz
Mauro Carvalho Chehab Acked-by: Bartlomiej Zolnierkiewicz # for fbdev part Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics

Re: [PATCH 14/18] fbdev: modedb.c: fix a kernel-doc markup

2018-05-15 Thread Bartlomiej Zolnierkiewicz
ing. > > Signed-off-by: Mauro Carvalho Chehab <mchehab+sams...@kernel.org> Acked-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics

Re: [PATCH 14/18] fbdev: modedb.c: fix a kernel-doc markup

2018-05-15 Thread Bartlomiej Zolnierkiewicz
ing. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics

Re: [PATCH] thermal: exynos: Reduce severity of too early temperature read

2018-05-14 Thread Bartlomiej Zolnierkiewicz
l: > Signed-off-by: Krzysztof Kozlowski <k...@kernel.org> Acked-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> Eduardo, please queue it for v4.17 if possible, thanks. > --- > drivers/thermal/samsung/exynos_tmu.c | 8 +++- > 1 file changed, 7 insertions(+), 1 dele

Re: [PATCH] thermal: exynos: Reduce severity of too early temperature read

2018-05-14 Thread Bartlomiej Zolnierkiewicz
gt; Signed-off-by: Krzysztof Kozlowski Acked-by: Bartlomiej Zolnierkiewicz Eduardo, please queue it for v4.17 if possible, thanks. > --- > drivers/thermal/samsung/exynos_tmu.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/drivers/thermal/samsung/e

Re: [PATCH 0/3] fbdev/drm: sh_mobile: remove unused MERAM support

2018-05-14 Thread Bartlomiej Zolnierkiewicz
On Friday, April 27, 2018 02:09:31 PM Daniel Vetter wrote: > On Fri, Apr 27, 2018 at 1:36 PM, Laurent Pinchart > <laurent.pinch...@ideasonboard.com> wrote: > > Hi Bartlomiej, > > > > On Friday, 27 April 2018 14:21:42 EEST Bartlomiej Zolnierkiewicz wrote: > >&

Re: [PATCH 0/3] fbdev/drm: sh_mobile: remove unused MERAM support

2018-05-14 Thread Bartlomiej Zolnierkiewicz
On Friday, April 27, 2018 02:09:31 PM Daniel Vetter wrote: > On Fri, Apr 27, 2018 at 1:36 PM, Laurent Pinchart > wrote: > > Hi Bartlomiej, > > > > On Friday, 27 April 2018 14:21:42 EEST Bartlomiej Zolnierkiewicz wrote: > >> Hi, > >> > >> Th

Re: [PATCH] video: fbdev: remove unused auo_k190xfb drivers

2018-05-14 Thread Bartlomiej Zolnierkiewicz
On Friday, April 27, 2018 05:07:41 PM Heiko Stuebner wrote: > Am Freitag, 27. April 2018, 13:04:24 CEST schrieb Bartlomiej Zolnierkiewicz: > > auo_k1900fb and auo_k1901fb drivers have been introduced six > > years ago by following commits: > > > > commit 2c8304d3125b (

Re: [PATCH] video: fbdev: remove unused auo_k190xfb drivers

2018-05-14 Thread Bartlomiej Zolnierkiewicz
On Friday, April 27, 2018 05:07:41 PM Heiko Stuebner wrote: > Am Freitag, 27. April 2018, 13:04:24 CEST schrieb Bartlomiej Zolnierkiewicz: > > auo_k1900fb and auo_k1901fb drivers have been introduced six > > years ago by following commits: > > > > commit 2c8304d3125b (

[PATCH 01/14] thermal: ti-soc-thermal: fix TALERT IRQ handling for DRA752

2018-05-14 Thread Bartlomiej Zolnierkiewicz
.report_temperature is not set in dra752_data which results in temperature updates not being propagated by ti_bandgap_talert_irq_handler() (it doesn't make much sense to handle TALERT IRQ without reporting temperature updates to the thermal core). Fix it. Signed-off-by: Bartlomiej Zolnierkiewicz

[PATCH 02/14] thermal: ti-soc-thermal: fix comment in omap5xxx-bandgap.h

2018-05-14 Thread Bartlomiej Zolnierkiewicz
The comment for OMAP5430.CORE register offsets is incorrect. Fix it. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> --- drivers/thermal/ti-soc-thermal/omap5xxx-bandgap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/ti-soc-t

[PATCH 01/14] thermal: ti-soc-thermal: fix TALERT IRQ handling for DRA752

2018-05-14 Thread Bartlomiej Zolnierkiewicz
.report_temperature is not set in dra752_data which results in temperature updates not being propagated by ti_bandgap_talert_irq_handler() (it doesn't make much sense to handle TALERT IRQ without reporting temperature updates to the thermal core). Fix it. Signed-off-by: Bartlomiej Zolnierkiewicz

[PATCH 02/14] thermal: ti-soc-thermal: fix comment in omap5xxx-bandgap.h

2018-05-14 Thread Bartlomiej Zolnierkiewicz
The comment for OMAP5430.CORE register offsets is incorrect. Fix it. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/ti-soc-thermal/omap5xxx-bandgap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/ti-soc-thermal/omap5xxx-bandgap.h b/drivers

[PATCH 07/14] thermal: ti-soc-thermal: remove ->tshut_[hot,cold]_mask fields

2018-05-14 Thread Bartlomiej Zolnierkiewicz
.tshut_[hot,cold]_mask fields are set to identical values for all sensors supporting TSHUT_CONFIG feature so remove them and use common defines instead. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> --- d

[PATCH 06/14] thermal: ti-soc-thermal: remove ->threshold_[thot,tcold]_mask fields

2018-05-14 Thread Bartlomiej Zolnierkiewicz
.threshold_[thot,tcold]_mask fields are set to identical values for all sensors supporting TALERT feature so remove them and use common defines instead. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> --- d

[PATCH 07/14] thermal: ti-soc-thermal: remove ->tshut_[hot,cold]_mask fields

2018-05-14 Thread Bartlomiej Zolnierkiewicz
.tshut_[hot,cold]_mask fields are set to identical values for all sensors supporting TSHUT_CONFIG feature so remove them and use common defines instead. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/ti-soc-thermal/omap4

[PATCH 06/14] thermal: ti-soc-thermal: remove ->threshold_[thot,tcold]_mask fields

2018-05-14 Thread Bartlomiej Zolnierkiewicz
.threshold_[thot,tcold]_mask fields are set to identical values for all sensors supporting TALERT feature so remove them and use common defines instead. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/ti-soc-thermal

[PATCH 08/14] thermal: ti-soc-thermal: use common struct temp_sensor_data for OMAP5

2018-05-14 Thread Bartlomiej Zolnierkiewicz
Currently all struct temp_sensor_data instances for OMAP5 are identical so just use one common structure to avoid duplication. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> --- .../thermal/ti-soc-thermal

[PATCH 08/14] thermal: ti-soc-thermal: use common struct temp_sensor_data for OMAP5

2018-05-14 Thread Bartlomiej Zolnierkiewicz
Currently all struct temp_sensor_data instances for OMAP5 are identical so just use one common structure to avoid duplication. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- .../thermal/ti-soc-thermal/omap5-thermal-data.c| 42

[PATCH 11/14] thermal: ti-soc-thermal: use OMAP5 register tables for DRA752

2018-05-14 Thread Bartlomiej Zolnierkiewicz
them. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> --- drivers/thermal/ti-soc-thermal/Makefile| 2 +- drivers/thermal/ti-soc-thermal/dra752-bandgap.h| 4 ++ .../thermal/ti-soc-thermal/dra752-thermal-dat

[PATCH 09/14] thermal: ti-soc-thermal: use common struct temp_sensor_data for DRA752

2018-05-14 Thread Bartlomiej Zolnierkiewicz
Currently all struct temp_sensor_data instances for DRA752 are identical so just use one common structure to avoid duplication. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> --- drivers/thermal/ti-soc-t

[PATCH 11/14] thermal: ti-soc-thermal: use OMAP5 register tables for DRA752

2018-05-14 Thread Bartlomiej Zolnierkiewicz
them. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/ti-soc-thermal/Makefile| 2 +- drivers/thermal/ti-soc-thermal/dra752-bandgap.h| 4 ++ .../thermal/ti-soc-thermal/dra752-thermal-data.c

[PATCH 09/14] thermal: ti-soc-thermal: use common struct temp_sensor_data for DRA752

2018-05-14 Thread Bartlomiej Zolnierkiewicz
Currently all struct temp_sensor_data instances for DRA752 are identical so just use one common structure to avoid duplication. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/ti-soc-thermal/dra752-bandgap.h| 42

[PATCH 10/14] thermal: ti-soc-thermal: use OMAP5 defines for DRA752

2018-05-14 Thread Bartlomiej Zolnierkiewicz
Use defines from omap5xxx-bandgap.h in dra752-thermal-data.c instead of defining duplicate ones in dra752-bandgap.h. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> --- drivers/thermal/ti-soc-thermal/

[PATCH 10/14] thermal: ti-soc-thermal: use OMAP5 defines for DRA752

2018-05-14 Thread Bartlomiej Zolnierkiewicz
Use defines from omap5xxx-bandgap.h in dra752-thermal-data.c instead of defining duplicate ones in dra752-bandgap.h. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/ti-soc-thermal/dra752-bandgap.h| 70

[PATCH 14/14] thermal: ti-soc-thermal: remove SoC family config options

2018-05-14 Thread Bartlomiej Zolnierkiewicz
extra complexity and keep SoC family config options. Just remove them. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> --- drivers/thermal/ti-soc-thermal/Kconfig | 63 +++--- drivers/thermal/ti-soc-thermal/Makefile| 8 +-- .../ther

[PATCH 14/14] thermal: ti-soc-thermal: remove SoC family config options

2018-05-14 Thread Bartlomiej Zolnierkiewicz
extra complexity and keep SoC family config options. Just remove them. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/ti-soc-thermal/Kconfig | 63 +++--- drivers/thermal/ti-soc-thermal/Makefile| 8 +-- .../thermal/ti-soc-thermal/omap5-thermal

[PATCH 13/14] thermal: ti-soc-thermal: use short int for *_adc_to_temp[] conversion tables

2018-05-14 Thread Bartlomiej Zolnierkiewicz
Switch *_adc_to_temp[] conversion tables to use short int (by storing values / 100) and do the needed result multiplication (by 100) in ti_bandgap_adc_to_mcelsius(). This saves space and makes code cleaner. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej

[PATCH 12/14] thermal: ti-soc-thermal: add ->adc_to_mcelsius method

2018-05-14 Thread Bartlomiej Zolnierkiewicz
* Add ->adc_to_mcelsius method to struct ti_bandgap_data and use it if present in ti_bandgap_adc_to_mcelsius(). * Implement ->adc_to_mcelsius for DRA752 and remove no longer needed dra752_adc_to_temp[]. There should be no functional changes caused by this patch. Signed-off-by: Bart

[PATCH 12/14] thermal: ti-soc-thermal: add ->adc_to_mcelsius method

2018-05-14 Thread Bartlomiej Zolnierkiewicz
* Add ->adc_to_mcelsius method to struct ti_bandgap_data and use it if present in ti_bandgap_adc_to_mcelsius(). * Implement ->adc_to_mcelsius for DRA752 and remove no longer needed dra752_adc_to_temp[]. There should be no functional changes caused by this patch. Signed-off-by: Bart

[PATCH 13/14] thermal: ti-soc-thermal: use short int for *_adc_to_temp[] conversion tables

2018-05-14 Thread Bartlomiej Zolnierkiewicz
Switch *_adc_to_temp[] conversion tables to use short int (by storing values / 100) and do the needed result multiplication (by 100) in ti_bandgap_adc_to_mcelsius(). This saves space and makes code cleaner. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej

[PATCH 04/14] thermal: ti-soc-thermal: cleanup COUNTER feature handling for OMAP5

2018-05-14 Thread Bartlomiej Zolnierkiewicz
OMAP5 sensors don't claim COUNTER feature support (they use COUNTER_DELAY feature instead) so there is no need to set fields of struct temp_sensor_registers which are only used for COUNTER feature. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej

[PATCH 04/14] thermal: ti-soc-thermal: cleanup COUNTER feature handling for OMAP5

2018-05-14 Thread Bartlomiej Zolnierkiewicz
OMAP5 sensors don't claim COUNTER feature support (they use COUNTER_DELAY feature instead) so there is no need to set fields of struct temp_sensor_registers which are only used for COUNTER feature. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej

[PATCH 05/14] thermal: ti-soc-thermal: remove redundant methods from struct ti_bandgap_data

2018-05-14 Thread Bartlomiej Zolnierkiewicz
unctional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> --- drivers/thermal/ti-soc-thermal/dra752-thermal-data.c | 3 --- drivers/thermal/ti-soc-thermal/omap3-thermal-data.c | 6 -- drivers/thermal/ti-soc-thermal/omap4-therm

[PATCH 03/14] thermal: ti-soc-thermal: fix comments in omap4-thermal-data.c

2018-05-14 Thread Bartlomiej Zolnierkiewicz
The comments about ADC code values are incorrect. Fix them. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> --- drivers/thermal/ti-soc-thermal/omap4-thermal-data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/ti-soc-thermal

[PATCH 05/14] thermal: ti-soc-thermal: remove redundant methods from struct ti_bandgap_data

2018-05-14 Thread Bartlomiej Zolnierkiewicz
unctional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/ti-soc-thermal/dra752-thermal-data.c | 3 --- drivers/thermal/ti-soc-thermal/omap3-thermal-data.c | 6 -- drivers/thermal/ti-soc-thermal/omap4-thermal-data.c | 8 drivers/therm

[PATCH 03/14] thermal: ti-soc-thermal: fix comments in omap4-thermal-data.c

2018-05-14 Thread Bartlomiej Zolnierkiewicz
The comments about ADC code values are incorrect. Fix them. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/ti-soc-thermal/omap4-thermal-data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/ti-soc-thermal/omap4-thermal-data.c b/drivers

[PATCH 00/14] thermal: ti-soc-thermal: simplify the driver a bit

2018-05-14 Thread Bartlomiej Zolnierkiewicz
ttps://lkml.org/lkml/2018/5/2/367) Please consider applying. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics Bartlomiej Zolnierkiewicz (14): thermal: ti-soc-thermal: fix TALERT IRQ handling for DRA752 thermal: ti-soc-thermal: fix comment in omap5xxx

[PATCH 00/14] thermal: ti-soc-thermal: simplify the driver a bit

2018-05-14 Thread Bartlomiej Zolnierkiewicz
ttps://lkml.org/lkml/2018/5/2/367) Please consider applying. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics Bartlomiej Zolnierkiewicz (14): thermal: ti-soc-thermal: fix TALERT IRQ handling for DRA752 thermal: ti-soc-thermal: fix comment in omap5xxx

Re: [PATCH] drivers: omap2: Kconfig: make FB_OMAP2_DSS_INIT depend on OF

2018-05-04 Thread Bartlomiej Zolnierkiewicz
On Friday, May 04, 2018 09:45:26 AM Mauro Carvalho Chehab wrote: > Em Fri, 04 May 2018 13:05:17 +0200 > Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> escreveu: > > > On Friday, May 04, 2018 07:59:06 AM Mauro Carvalho Chehab wrote: > > > Em Fri, 04 May 2018 1

Re: [PATCH] drivers: omap2: Kconfig: make FB_OMAP2_DSS_INIT depend on OF

2018-05-04 Thread Bartlomiej Zolnierkiewicz
On Friday, May 04, 2018 09:45:26 AM Mauro Carvalho Chehab wrote: > Em Fri, 04 May 2018 13:05:17 +0200 > Bartlomiej Zolnierkiewicz escreveu: > > > On Friday, May 04, 2018 07:59:06 AM Mauro Carvalho Chehab wrote: > > > Em Fri, 04 May 2018 12:48:46 +0200 > > > Ba

Re: [PATCH] drivers: omap2: Kconfig: make FB_OMAP2_DSS_INIT depend on OF

2018-05-04 Thread Bartlomiej Zolnierkiewicz
On Friday, May 04, 2018 07:59:06 AM Mauro Carvalho Chehab wrote: > Em Fri, 04 May 2018 12:48:46 +0200 > Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> escreveu: > > > On Thursday, May 03, 2018 08:48:56 AM Randy Dunlap wrote: > > > On 04/20/2018

Re: [PATCH] drivers: omap2: Kconfig: make FB_OMAP2_DSS_INIT depend on OF

2018-05-04 Thread Bartlomiej Zolnierkiewicz
On Friday, May 04, 2018 07:59:06 AM Mauro Carvalho Chehab wrote: > Em Fri, 04 May 2018 12:48:46 +0200 > Bartlomiej Zolnierkiewicz escreveu: > > > On Thursday, May 03, 2018 08:48:56 AM Randy Dunlap wrote: > > > On 04/20/2018 04:25 AM, Anders Roxell wrote: > > &

Re: [PATCH] drivers: omap2: Kconfig: make FB_OMAP2_DSS_INIT depend on OF

2018-05-04 Thread Bartlomiej Zolnierkiewicz
EST) > > > > source "drivers/video/fbdev/omap2/omapfb/Kconfig" > > > > > > Hi, > > This patch certainly fixes the build errors that I have been seeing in > linux-next for several days now, so: > > Acked-by: Randy Dunlap <rdun...@infr

Re: [PATCH] drivers: omap2: Kconfig: make FB_OMAP2_DSS_INIT depend on OF

2018-05-04 Thread Bartlomiej Zolnierkiewicz
ce "drivers/video/fbdev/omap2/omapfb/Kconfig" > > > > > > Hi, > > This patch certainly fixes the build errors that I have been seeing in > linux-next for several days now, so: > > Acked-by: Randy Dunlap > Tested-by: Randy Dunlap Thanks. Since there has been no follow up from Mauro on this ([1]) I guess that the best thing I can do is simply merging both patches to fbdev tree.. [1] https://www.spinics.net/lists/linux-media/msg132583.html Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics

Re: [PATCH v2] thermal: ti-soc-thermal: fix incorrect entry in omap5430_adc_to_temp[]

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Wednesday, May 02, 2018 05:49:31 PM Daniel Lezcano wrote: > On Wed, May 02, 2018 at 04:14:32PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Entry for Index 941 has one zero too much. Fix it. > > > > Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>

Re: [PATCH v2] thermal: ti-soc-thermal: fix incorrect entry in omap5430_adc_to_temp[]

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Wednesday, May 02, 2018 05:49:31 PM Daniel Lezcano wrote: > On Wed, May 02, 2018 at 04:14:32PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Entry for Index 941 has one zero too much. Fix it. > > > > Signed-off-by: Bartlomiej Zolnierkiewicz > > Good catch :) Thanks.

[PATCH] ARM: EXYNOS: no need to select ARCH_HAS_BANDGAP any longer

2018-05-02 Thread Bartlomiej Zolnierkiewicz
This is not needed since commit fcbb1e02ee54 ("drivers: thermal: Remove ARCH_HAS_BANDGAP dependency for samsung") from 2014. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> --- arch/arm/mach-exynos/Kconfig |1 - 1 file changed, 1 deletion(-) Index: b/arch

[PATCH] ARM: EXYNOS: no need to select ARCH_HAS_BANDGAP any longer

2018-05-02 Thread Bartlomiej Zolnierkiewicz
This is not needed since commit fcbb1e02ee54 ("drivers: thermal: Remove ARCH_HAS_BANDGAP dependency for samsung") from 2014. Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm/mach-exynos/Kconfig |1 - 1 file changed, 1 deletion(-) Index: b/arch/arm/mach-exyn

[PATCH v2] thermal: ti-soc-thermal: fix incorrect entry in omap5430_adc_to_temp[]

2018-05-02 Thread Bartlomiej Zolnierkiewicz
Entry for Index 941 has one zero too much. Fix it. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> --- v2: - Fix patch description. drivers/thermal/ti-soc-thermal/omap5-thermal-data.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/thermal/

[PATCH v2] thermal: ti-soc-thermal: fix incorrect entry in omap5430_adc_to_temp[]

2018-05-02 Thread Bartlomiej Zolnierkiewicz
Entry for Index 941 has one zero too much. Fix it. Signed-off-by: Bartlomiej Zolnierkiewicz --- v2: - Fix patch description. drivers/thermal/ti-soc-thermal/omap5-thermal-data.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/thermal/ti-soc-thermal/omap5-thermal

[PATCH] thermal: ti-soc-thermal: remove dead code

2018-05-02 Thread Bartlomiej Zolnierkiewicz
used" comments. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> --- drivers/thermal/ti-soc-thermal/dra752-bandgap.h | 68 --- drivers/thermal/ti-soc-thermal/dra752-thermal-data.c | 65 --- drivers/thermal/ti-soc-thermal/omap3-thermal-data.c |6 driv

[PATCH] thermal: ti-soc-thermal: remove dead code

2018-05-02 Thread Bartlomiej Zolnierkiewicz
used" comments. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/ti-soc-thermal/dra752-bandgap.h | 68 --- drivers/thermal/ti-soc-thermal/dra752-thermal-data.c | 65 --- drivers/thermal/ti-soc-thermal/omap3-thermal-data.c |6 drivers/thermal/ti-soc-thermal/omap4-th

[PATCH] thermal: ti-soc-thermal: fix incorrect entry in omap5430_adc_to_temp[]

2018-05-02 Thread Bartlomiej Zolnierkiewicz
omap5430_adc_to_temp[941] entry has one zero too much. Fix it. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> --- drivers/thermal/ti-soc-thermal/omap5-thermal-data.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/thermal/ti-soc-thermal

[PATCH] thermal: ti-soc-thermal: fix incorrect entry in omap5430_adc_to_temp[]

2018-05-02 Thread Bartlomiej Zolnierkiewicz
omap5430_adc_to_temp[941] entry has one zero too much. Fix it. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/ti-soc-thermal/omap5-thermal-data.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/thermal/ti-soc-thermal/omap5-thermal-data.c

Re: [PATCH 16/18] thermal: exynos: cleanup code for enabling threshold interrupts

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Wednesday, May 02, 2018 12:03:44 PM Bartlomiej Zolnierkiewicz wrote: > On Tuesday, May 01, 2018 01:02:39 PM Daniel Lezcano wrote: > > On Thu, Apr 26, 2018 at 01:51:31PM +0200, Bartlomiej Zolnierkiewicz wrote: > > > Cleanup code for enabling threshold interrupts in ->tmu

Re: [PATCH 16/18] thermal: exynos: cleanup code for enabling threshold interrupts

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Wednesday, May 02, 2018 12:03:44 PM Bartlomiej Zolnierkiewicz wrote: > On Tuesday, May 01, 2018 01:02:39 PM Daniel Lezcano wrote: > > On Thu, Apr 26, 2018 at 01:51:31PM +0200, Bartlomiej Zolnierkiewicz wrote: > > > Cleanup code for enabling threshold interrupts in ->tmu

Re: [PATCH 17/18] thermal: exynos: remove unused defines for Exynos5433

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 01:11:20 PM Daniel Lezcano wrote: > On Thu, Apr 26, 2018 at 01:51:32PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Remove unused defines for Exynos5433. > > I agree to remove these macros but is there a place with the documentation for > those values

Re: [PATCH 17/18] thermal: exynos: remove unused defines for Exynos5433

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 01:11:20 PM Daniel Lezcano wrote: > On Thu, Apr 26, 2018 at 01:51:32PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Remove unused defines for Exynos5433. > > I agree to remove these macros but is there a place with the documentation for > those values

Re: [PATCH 16/18] thermal: exynos: cleanup code for enabling threshold interrupts

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 01:02:39 PM Daniel Lezcano wrote: > On Thu, Apr 26, 2018 at 01:51:31PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Cleanup code for enabling threshold interrupts in ->tmu_control > > method implementations. > > > > There should b

Re: [PATCH 16/18] thermal: exynos: cleanup code for enabling threshold interrupts

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 01:02:39 PM Daniel Lezcano wrote: > On Thu, Apr 26, 2018 at 01:51:31PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Cleanup code for enabling threshold interrupts in ->tmu_control > > method implementations. > > > > There should b

Re: [PATCH 15/18] thermal: exynos: check return values of ->get_trip_[temp,hyst] methods

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 12:43:04 PM Daniel Lezcano wrote: > On Thu, Apr 26, 2018 at 01:51:30PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Check return values of ->get_trip_[temp,hyst] methods in > > exynos_tmu_initialize(). > > > > Signed-off-by: Bartlo

Re: [PATCH 15/18] thermal: exynos: check return values of ->get_trip_[temp,hyst] methods

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 12:43:04 PM Daniel Lezcano wrote: > On Thu, Apr 26, 2018 at 01:51:30PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Check return values of ->get_trip_[temp,hyst] methods in > > exynos_tmu_initialize(). > > > > Signed-off-by: Bartlomiej Zolnie

Re: [PATCH 14/18] thermal: exynos: move trips setting to exynos_tmu_initialize()

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 12:31:26 PM Daniel Lezcano wrote: > On Thu, Apr 26, 2018 at 01:51:29PM +0200, Bartlomiej Zolnierkiewicz wrote: > > * Add dummy exynos4210_tmu_set_trip_hyst() helper. > > > > * Add ->tmu_set_trip_temp and ->tmu_set_trip_hyst methods to struct &g

Re: [PATCH 14/18] thermal: exynos: move trips setting to exynos_tmu_initialize()

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 12:31:26 PM Daniel Lezcano wrote: > On Thu, Apr 26, 2018 at 01:51:29PM +0200, Bartlomiej Zolnierkiewicz wrote: > > * Add dummy exynos4210_tmu_set_trip_hyst() helper. > > > > * Add ->tmu_set_trip_temp and ->tmu_set_trip_hyst methods to struct &g

Re: [PATCH 13/18] thermal: exynos: set trips in ascending order in exynos7_tmu_initialize()

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 12:02:42 PM Daniel Lezcano wrote: > On Thu, Apr 26, 2018 at 01:51:28PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Set trips in ascending order in exynos7_tmu_initialize() (it should > > make no difference in driver operation). This prepares the driver >

Re: [PATCH 13/18] thermal: exynos: set trips in ascending order in exynos7_tmu_initialize()

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 12:02:42 PM Daniel Lezcano wrote: > On Thu, Apr 26, 2018 at 01:51:28PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Set trips in ascending order in exynos7_tmu_initialize() (it should > > make no difference in driver operation). This prepares the driver >

<    1   2   3   4   5   6   7   8   9   10   >