Jaejoon Yoo [Thu, 11 Aug 2016 07:16:37 +0000 (16:16 +0900)]
[COMMON] exynos: DVFS Manager: Parse policy use data from DT.
Change-Id: Ibd874c4582b2f6b80adcafd3dae176623db64b0f
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
Taekki Kim [Wed, 10 Aug 2016 11:05:33 +0000 (20:05 +0900)]
[COMMON] samsung: exynos-dm: remove minimum constraint check
This patch removes minimum constraint check when policy update.
If the policy min frequency is low than currunt frequency,
the constraint min frequency can changed be to wrong frequency.
Change-Id: I16df3c983f8ed46191d084d2b0453425e18fb845
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
Jaejoon Yoo [Mon, 8 Aug 2016 02:27:47 +0000 (11:27 +0900)]
[COMMON] exynos: DVFS Manager: Add policy request function
When policy data is updated, DVFS Manager send it to FVP
Change-Id: Icd5d5f88d8150b914a1995d0a02172db239e0c48
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
Eunok Jo [Tue, 7 Jun 2016 04:45:08 +0000 (13:45 +0900)]
[COMMON] trace: ess: Snapshot for Exynos DVFS Manager
Change-Id: I0d487c1ef4e5ec28bbf2728d54391c3559f3e6d0
Signed-off-by: Eunok Jo <eunok25.jo@samsung.com>
Eunok Jo [Wed, 15 Jun 2016 08:37:28 +0000 (17:37 +0900)]
[COMMON] exynos: DVFS Manager driver code
DVFS Manager is for checking and controlling constraint
between two or more different frequency domains.
DVFS Manager checks requests from each frequency domains
and decide available frequency in terms of system stability.
Change-Id: I8fd587dd8738a9ee7ab6c23134e18e0e201825f7
Signed-off-by: Eunok Jo <eunok25.jo@samsung.com>
Chungwoo Park [Mon, 14 May 2018 08:30:01 +0000 (17:30 +0900)]
[HACK][9610] arm64: dts: Add thermal control dummy node.
Change-Id: Icfdf08f79d8470805bc12715d951f2d4e760af0b
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
Chungwoo Park [Mon, 14 May 2018 05:21:02 +0000 (14:21 +0900)]
[9610] arm64: Add exynos thermal related node to dt.
Change-Id: I286530ef87e04b0fd6954afda4284f0f352a99e8
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
Chungwoo Park [Mon, 15 Jan 2018 07:06:12 +0000 (16:06 +0900)]
[COMMON] thermal : Modify check audio status code to 9610.
Change-Id: I2a716447348d608c22c43188b8415d6310004023
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
Chungwoo Park [Thu, 4 Jan 2018 05:26:01 +0000 (14:26 +0900)]
[9610] thermal : Modify tmu sensor value.
This patch modified tmu sensor value to 1002X sensor.
Change-Id: Id8b0bc69342de23fdfe5e59849cc01ae26483474
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
Chungwoo Park [Mon, 14 May 2018 04:53:56 +0000 (13:53 +0900)]
[9610] thermal : Add exynos9610 tmu related code.
Change-Id: I138657f8aec41fd647befd6ff5ba224f91c7030d
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
Hyeonseong Gil [Fri, 23 Mar 2018 07:50:37 +0000 (16:50 +0900)]
[COMMON] thermal: isp_cooling: match enum type
Change-Id: I2ab0d7d554167d7d3cfcf4d60fc23f69fee306e4
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 23 Mar 2018 07:19:43 +0000 (16:19 +0900)]
[COMMON] thermal: gpu_cooling: Remove unused get_static_t type
Change-Id: I33eefffa5716cdc0c6bcb8af47ca32429b22833f
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 23 Mar 2018 08:01:26 +0000 (17:01 +0900)]
[COMMON] thermal: gpu_cooling: Use g3d_cmu_cal_id from dt
Change-Id: Ibbdd6813d9b4482497b0c4fa6b7020a9f8e42790
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Wed, 21 Mar 2018 04:53:59 +0000 (13:53 +0900)]
[COMMON] thermal: cpu_cooling: Ignore calcuate power
When none of cpus are online in policy,
do not need to calculate the power
Change-Id: If7e0fb21c804260bc0cb3df71a03ee09db235261
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Mon, 19 Mar 2018 00:42:28 +0000 (09:42 +0900)]
[COMMON] thermal: cpu_cooling: Supplement trace_event
Change-Id: Ib63da66156be68c830e8a7a7d17f40c3808d9d1c
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 16 Mar 2018 11:33:06 +0000 (20:33 +0900)]
[COMMON] thermal: cpu_cooling: Use cal_id from cpufreq dt
Change-Id: I3ef9d9848b0c87173d2ab630e497ebb73cbf7cff
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Thu, 8 Mar 2018 04:13:57 +0000 (13:13 +0900)]
[COMMON] thermal: samsung: Remove unused definition of zone_name
Change-Id: If2ce0ba8bf73e7c8a07aa1b31f5213ce05f15bef
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Eunseok Choi [Mon, 5 Feb 2018 14:52:35 +0000 (23:52 +0900)]
[COMMON] thermal: fix build error
rename gpufreq_dev as gpufreq_cdev
Change-Id: Ie26d7122fdbbe9834eb05c1d40bec1c9381f9b61
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Mon, 22 Jan 2018 12:15:07 +0000 (21:15 +0900)]
[9810] thermal: replace clip_cpus with cpufreq_policy
Change-Id: I64723b569fec2e45e0d9d58b5e62d228aba86595
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Hyeonseong Gil [Mon, 18 Sep 2017 02:15:54 +0000 (11:15 +0900)]
thermal: cpu_cooling: Change cooling device node
Previously, CPU device node was used to register the cooling device.
We chanaged to use the cpufreq device node for registration
even if the specific CPU was turned off.
Change-Id: I7e6e76fe38a2d05a9968290adb080d85712a5afd
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Eunseok Choi [Tue, 9 May 2017 10:03:50 +0000 (19:03 +0900)]
[COMMON] thermal: fix build error
Change-Id: I8e53bd09d42af5f300bffc5bc8c529a7165db3a7
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Mon, 22 Jan 2018 12:40:03 +0000 (21:40 +0900)]
Revert "[9810] thermal: samsung: register cpu hotplug done notifier"
This reverts commit
0bf4a0d9fc6722b9af8efa51d1b47ef051471b71.
Change-Id: I252ea68d7a5d3a7a4761121eea6ab0637c06eb55
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Mon, 22 Jan 2018 11:18:25 +0000 (20:18 +0900)]
Revert "[9810] thermal: samsung: skip CP cold temp margin during suspend"
This reverts commit
ac636d9077bc4751da4961009df7664722824d24.
Change-Id: Ia474ab1545b46072af0e5f722c662832eb7b43ab
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Thu, 14 Dec 2017 08:58:48 +0000 (17:58 +0900)]
[COMMON] thermal: delay cpu hotplug until cdev is initialized
Change-Id: I46e252cde6c2fbaa09acffc1352d6fae4d1496fd
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Mon, 4 Dec 2017 14:31:03 +0000 (23:31 +0900)]
[9810] thermal: samsung: skip CP cold temp margin during suspend
skip CP cold temp margin during suspend when CP is on data call.
Change-Id: I94fa4c20478a191123dbeed13c4d70aae85c65ce
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Tue, 19 Dec 2017 07:46:09 +0000 (16:46 +0900)]
[9810] firmware: update ACPM TMU plugin binary (12/20)
1350127
08f2f3a
Change-Id: I886c64e941d0c002d7d8258b4c5a58dc3e97f1e5
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Mon, 18 Dec 2017 02:29:22 +0000 (11:29 +0900)]
[9810] firmware: update ACPM TMU plugin binary (12/18)
024f527 fix hysteresis for cold temperature
Change-Id: I6f1ef2bea923d3c7802b1e9a6e44e48f707d6d59
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Mon, 4 Dec 2017 14:38:48 +0000 (23:38 +0900)]
[9810] firmware: update ACPM TMU plugin binary (12/8)
acf14d9 [9810] plugins: tmu: skip CP cold temp margin
Change-Id: I8096909f626a3c71052b121f22ad5856201f5fb0
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Fri, 1 Dec 2017 05:15:48 +0000 (14:15 +0900)]
[9810] firmware: update ACPM TMU plugin binary (12/1)
Change-Id: Ia5699ede6fb5f5538d9f706e8d8ad15ea66789ad
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Thu, 23 Nov 2017 15:48:17 +0000 (00:48 +0900)]
[9810] firmware: update ACPM TMU plugin binary (11/23)
support limited frequency
Change-Id: I45333d7c5b82baad5847c13786a9a2d72c9043ca
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Thu, 10 Aug 2017 05:36:43 +0000 (14:36 +0900)]
[9810] firmware: update ACPM TMU plugin binary (8/10)
support TMU EVT1
Change-Id: Ie58b7168d791c21a8d34a55f59b877afecaa8308
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Naeun Yoo [Fri, 28 Jul 2017 10:31:31 +0000 (19:31 +0900)]
[9810] firmware: update ACPM TMU plugin binary (7/28).
Change-Id: I8501ae600402f2b8e90645450ba7bface3bedb52
Signed-off-by: Naeun Yoo <ne.yoo@samsung.com>
Eunseok Choi [Tue, 11 Jul 2017 11:17:05 +0000 (20:17 +0900)]
[9810] firmware: update ACPM TMU plugin binary (7/11)
- change probe id indexing method
Change-Id: I31075621c04913e5fffc52414470a00259ad34ba
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Tue, 20 Jun 2017 07:47:50 +0000 (16:47 +0900)]
[9810] firmware: update ACPM TMU plugin binary (6/20)
- update thermal zone configuratoin
- clean up logs
Change-Id: If71f1068d9b69ff79449f9296e4c810cd06a0cf6
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Wed, 31 May 2017 10:46:25 +0000 (19:46 +0900)]
[9810] firmware: add ACPM TMU plugin binary (5/31)
Change-Id: Iab1020c3ca784914c72f6361b668c2ac44cc7034
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Fri, 19 May 2017 05:21:54 +0000 (14:21 +0900)]
[9810] firmware: add ACPM TMU plugin binary (5/22)
Change-Id: I50b52d0d1274d4f56207d823e5cad45a2e0e1bc4
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Sun, 21 Jan 2018 18:20:47 +0000 (03:20 +0900)]
Revert "[9810] firmware: introduce TMU plugin"
This reverts commit
88b052508a1bf501d20c200688e780844ae805fe.
Change-Id: Ib3fa579aed264f5e7ff1263c68779ce577f8b1df
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Naeun Yoo [Fri, 12 Jan 2018 06:25:13 +0000 (15:25 +0900)]
[9810] firmware: introduce TMU plugin
Change-Id: I2683e393fbaa369ac4fbfae072bef70b8d232503
Signed-off-by: Naeun Yoo <ne.yoo@samsung.com>
Eunseok Choi [Tue, 5 Dec 2017 11:06:00 +0000 (20:06 +0900)]
[9810] thermal: fix recursive mutex_lock by cpu hotplug notifier
Change-Id: I303f7a0e3a811f1de728605fa2332c800e445889
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Fri, 24 Nov 2017 01:58:21 +0000 (10:58 +0900)]
[COMMON] thermal: fix prevent error
CID: 202888 202205 202201 201542 200628 200625
Resolved migration conflicts from kernel 4.9 to 4.14.
- rename cpufreq_device -> cpufreq_cdev
- rename gpufreq_device -> gpufreq_cdev
Change-Id: I926e40f0539d4b795be2e34d55108d3b3c0dfdc9
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Thu, 23 Nov 2017 15:43:35 +0000 (00:43 +0900)]
[COMMON] thermal: samsung: add limited frequency for power allocator
Change-Id: I73817be52303a29f75e491e11c0902198a5ca316
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Thu, 9 Nov 2017 05:21:18 +0000 (14:21 +0900)]
[9810] thermal: samsung: register cpu hotplug done notifier
Change-Id: Ibb5a6b9641cc4bed495085e105a71547acda8c70
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Thu, 9 Nov 2017 13:07:26 +0000 (22:07 +0900)]
[COMMON] thermal: cpu_cooling: calculate power by online cpus
Resolved migration conflicts from kernel 4.9 to 4.14.
- allowed_cpus -> policy->related_cpus
Change-Id: I82b186566d40f75f654393cb655f17d4c15dbcfb
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Fri, 17 Nov 2017 04:24:50 +0000 (13:24 +0900)]
[9810] thermal: samsung: remove EVT0 dependent codes
Revert "[9810] thermal: samsung: modify TMU calibration for NZVYT lot"
Change-Id: Ie747f96b3c774d61154c6fceb1269de7130a61fa
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Tue, 5 Sep 2017 10:27:19 +0000 (19:27 +0900)]
[COMMON] thermal: core: remove HMP dependencies
Change-Id: Ibc1784dad601e79b0cae82caf6e733bac3e869d6
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Wed, 30 Aug 2017 13:58:37 +0000 (22:58 +0900)]
[COMMON] thermal: power_alloctor: reset err_integral to integral_max
This patch set err_integral value to integral_max as a reset value.
Change-Id: I79ce81fd91bcbc565d484ead2adbf313d4430c45
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Viresh Kumar [Tue, 25 Apr 2017 10:27:08 +0000 (15:57 +0530)]
thermal: cpu_cooling: Avoid accessing potentially freed structures
commit
289d72afddf83440117c35d864bf0c6309c1d011 upstream.
After the lock is dropped, it is possible that the cpufreq_dev gets
freed before we call get_level() and that can cause kernel to crash.
Drop the lock after we are done using the structure.
Resolved migration conflicts from kernel 4.9 to 4.14.
- allowed_cpus -> policy->related_cpus
Change-Id: Ib7f00f738b761e291d01abbd2bf9b5745ad404e8
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Wed, 28 Jun 2017 13:23:51 +0000 (22:23 +0900)]
[COMMON] thermal: samsung: remove unused codes
Change-Id: I6506da0636b308a0364402a816de2d045641070b
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Fri, 16 Jun 2017 11:08:53 +0000 (20:08 +0900)]
[COMMON] thermal: samsung: clean up acpm tmu debug
Change-Id: I216da414e8d7618fa201d55ea548249f73f69483
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Fri, 16 Jun 2017 08:43:06 +0000 (17:43 +0900)]
[COMMON] thermal: samsung: add acpm tmu ipc dump
Change-Id: Id5ed7f57e445b0e956d4f18a4ae2a3091f7e1f43
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Thu, 15 Jun 2017 13:41:03 +0000 (22:41 +0900)]
[COMMON] thermal: core: remove HMP dependency of cpumask
Change-Id: Ib33c5f699acdafb062f3eb8b2091387b9bb0c44e
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Sat, 3 Jun 2017 06:36:54 +0000 (15:36 +0900)]
[9810] thermal: samsung: add TMU TRIM0 configuration
Change-Id: I7280a4c8a6c175d1dcc8e36e9ecb753c606694e8
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Wed, 10 May 2017 12:15:29 +0000 (21:15 +0900)]
[9810] thermal: samsung: modify TMU calibration for NZVYT lot
Change-Id: I3b54e21a15b3fd9c5454e2e5c1ee08556f7f8667
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Hyeonseong Gil [Thu, 11 May 2017 03:18:24 +0000 (12:18 +0900)]
[COMMON] thermal: samsung: Use GIC_MULTI_TARGET for TMU
Change-Id: I0cabda43c80def25ec18dc10b792c550c0419b8f
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Mon, 15 May 2017 07:31:16 +0000 (16:31 +0900)]
[COMMON] thermal: core: Change to use their own workqueue
To prevent workqueue's delayed schedule,
use their own workqueue and it will be handled in all core of LITTLE.
Resolved migration conflicts from kernel 4.9 to 4.14.
Change-Id: I1520ba4d7877fd9abf0edbc14693319ba27cc915
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Eunseok Choi [Tue, 30 May 2017 07:23:42 +0000 (16:23 +0900)]
[9810] thermal: samsung: reduce TMU sending time
Change-Id: I624b15d3a2c4173f593dcff1e18c3481563c8114
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Thu, 25 May 2017 03:33:54 +0000 (12:33 +0900)]
[COMMON] thermal: samsung: remove CONFIG_EXYNOS_THERMAL_DEBUG
Change-Id: Icb817575c8c5fcf1179457cdf74149c1e5d7f24e
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Wed, 24 May 2017 15:33:03 +0000 (00:33 +0900)]
[COMMON] thermal: samsung: suppress acpm tmu log
Change-Id: I8f749ef443c468ff53a63b4d3c86f086bfa280ce
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Wed, 24 May 2017 15:28:47 +0000 (00:28 +0900)]
[COMMON] thermal: add macros to support soc dependencies
Change-Id: I455a9f4c02402cd1ae6808354b9450333ab68f92
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Tue, 23 May 2017 08:32:35 +0000 (17:32 +0900)]
[COMMON] thermal: cpu_cooling: discard invalid cooling level
Resolved migration conflicts from kernel 4.9 to 4.14.
- freq_table and power_table are merged into struct freq_table
Change-Id: If039d12292d1901b08444e162b23ca08bdbb8427
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Mon, 22 May 2017 17:45:02 +0000 (02:45 +0900)]
[COMMON] thermal: cpu_cooling: modify ids of static power table
Change-Id: I725217f8df11927fcede4be288fdf05af618aee3
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Tue, 16 May 2017 14:48:00 +0000 (23:48 +0900)]
[COMMON] thermal: samsung: add CP call test mode
Change-Id: Ieb22673b09d36a09f0e3dd1d86981f098a370ece
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Thu, 4 May 2017 10:54:47 +0000 (19:54 +0900)]
[COMMON] thermal: samsung: support cold temperature control during CP call
Change-Id: I5e61e18ea0c77ca999ccfd3e4057707c0d30bb1d
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Thu, 4 May 2017 09:01:24 +0000 (18:01 +0900)]
[COMMON] thermal: samsung: add exynos9810 DTM driver with ACPM support
Change-Id: I722790b07803d28842a76ebde872118782381d73
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Eunseok Choi [Thu, 4 May 2017 08:50:03 +0000 (17:50 +0900)]
[COMMON] thermal: samsung: support ACPM TMU plugin
add include/linux/sched/clock.h
Change-Id: Ia4e795d45ca2aac5ddd9d59242764ba57f2021e4
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Chungwoo Park [Wed, 26 Apr 2017 09:04:44 +0000 (18:04 +0900)]
[COMMON] thermal: not allowed manually bind/ unbind device from the driver
Change-Id: Icbe8d8e48ea7e0da78007b7f153f3832fb76303b
Signed-off-by: Chungwoo Park <cww.park2@samsung.com>
Hyeonseong Gil [Fri, 14 Apr 2017 07:34:32 +0000 (16:34 +0900)]
[COMMON] thermal: samsung: support data ntrip support
Change-Id: Id4e05e32b4829f5d947e87b38329ee7530bbc826
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Thu, 13 Apr 2017 07:29:36 +0000 (16:29 +0900)]
[COMMON] thermal: Kconfig: select PM_OPP by CPU_THERMAL
Change-Id: I45264acc0fac1e2faa15b22a4a98ecf7dfdd65e5
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Thu, 13 Apr 2017 06:31:23 +0000 (15:31 +0900)]
[COMMON] thermal: cpu_cooling: Fix set_cur_temp API
Resolved migration conflicts from kernel 4.9 to 4.14.
Change-Id: Id1c3cf9b8496a9479cf63eb1599988a589afcf7b
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 7 Apr 2017 07:10:11 +0000 (16:10 +0900)]
[COMMON] thermal: samsung: Parsing PIDTM data from ECT
Change-Id: I162add552ce41ec83785ba37fc7b440e7c2eb94e
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 7 Apr 2017 06:03:13 +0000 (15:03 +0900)]
[COMMON] thermal: power_alloctor: use only one passive trip point
Change-Id: I41998e0ffeef9bd10e717cd1d2bd6174c4f93c07
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 7 Apr 2017 02:18:28 +0000 (11:18 +0900)]
[COMMON] thermal: samsung: Parse dyn_coeff from ECT
Change-Id: I92d7a36ff94c95c189e188145a3846bd6e63bcd0
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 7 Apr 2017 01:28:58 +0000 (10:28 +0900)]
[COMMON] thermal: core: Added get_zone_by_cool_np API
Resolved migration conflicts from kernel 4.9 to 4.14.
Change-Id: Iae4191873a0482425647e141f548b0d11f5a072e
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 24 Mar 2017 02:02:47 +0000 (11:02 +0900)]
[COMMON] thermal: samsung: Added ECT parsing function
Resolved migration conflicts from kernel 4.9 to 4.14.
Change-Id: I565316644978e42ccf1aab7532651701df915185
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 24 Mar 2017 02:01:09 +0000 (11:01 +0900)]
[COMMON] thermal: of-thermal: remove ECT related code
Change-Id: Ic8dd52b8ff17c3e47d4f3165d0bac91a2cf9c4b6
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 24 Mar 2017 01:59:09 +0000 (10:59 +0900)]
[COMMON] thermal: samsung: Replace to get cdev data
Change-Id: I5f706db307e107d6ea129a6864396f75d480efa5
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 24 Mar 2017 01:55:45 +0000 (10:55 +0900)]
[COMMON] thermal: Move the definition of of_thermal structure
Change-Id: I318539a0581ed6d6661194fba7183e41d4738529
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 24 Mar 2017 01:52:01 +0000 (10:52 +0900)]
[COMMON] thermal: Makfile: rearrange build sequence
To ensure the init sequences of each drivers,
gpu_cooling and isp_cooling's build sequence modified
Change-Id: I920d123f3574963fd99d0c86c76c42f2477c5086
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Thu, 30 Mar 2017 01:46:22 +0000 (10:46 +0900)]
[COMMON] thermal: samsung: Move isp_cooling_register
Change-Id: I15f4aa845684c3d1811f69799520618d6075159a
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Thu, 30 Mar 2017 01:41:07 +0000 (10:41 +0900)]
[COMMON] thermal: samsung: Move gpufreq_cooling_register
Change-Id: Id3de94b3f240ee786c5f3b2bf1e84d4b3aef2453
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 24 Mar 2017 01:49:05 +0000 (10:49 +0900)]
[COMMON] thermal: samsung: Move cpufreq_cooling_register
To remove the dependency of cpu_cooling and exynos_tmu, cooling_register will
be called by cpufreq driver.
Change-Id: Ic3fc64c5d7eeda8f4ca2c7475ad8aec753626389
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 24 Mar 2017 01:39:25 +0000 (10:39 +0900)]
[COMMON] thermal: samsung: Remove checking cpufreq
To pull in init sequence of DTM, remove checking cpufreq
Change-Id: Ibaad030b047e0632786019e735b6877a6ede85a0
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Soomin Kim [Sun, 8 Jan 2017 08:37:50 +0000 (17:37 +0900)]
[7872] thermal: samsung: Add 7872 TMU bringup code
Change-Id: I277dffbf03cee4fa71aa600157464c0d344eab4b
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
Soomin Kim [Sun, 8 Jan 2017 08:35:07 +0000 (17:35 +0900)]
[COMMON] thermal: of_thermal: Add thermal zone name
Change-Id: Idda979e0d1302bdfe70c508c25d48d11f5279870
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
Soomin Kim [Fri, 6 Jan 2017 07:22:05 +0000 (16:22 +0900)]
[COMMON] thermal: gpu: Modify thermal control method.
Thermal driver sends frequency instead of cooling state.
Resolved migration conflicts from kernel 4.9 to 4.14.
- rename gpufreq_device -> gpufreq_cdev
Change-Id: I8f32e9a1a37bb095e4c06de41f1969bd75913a20
Signed-off-by: Chungwoo Park <cww.park2@samsung.com>
Soomin Kim [Fri, 6 Jan 2017 07:17:12 +0000 (16:17 +0900)]
[COMMON] thermal: gpu_cooling: Move and Modify cooling_table_init function
gpu_cooling_table_init() is moved from exynos tmu driver.
And cooling table is made with ECT since GPU throttling
information is defined in it.
Change-Id: I483359872eb1ba21a35f52b3ee6eb05f5914bb24
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
Chungwoo Park [Fri, 6 Jan 2017 07:10:26 +0000 (16:10 +0900)]
[COMMON] thermal: gpu_cooling: Add exynos7872 related header file.
Change-Id: Icc91d4db43c5163caf3564facd04f59495c8df37
Signed-off-by: Chungwoo Park <cww.park2@samsung.com>
Chungwoo Park [Fri, 6 Jan 2017 07:09:46 +0000 (16:09 +0900)]
[COMMON] thermal: cpu_cooling: Add exynos7872 related header file
Change-Id: Ib6f3caaec594788a51b116f32809420d2d5a68e0
Signed-off-by: Chungwoo Park <cww.park2@samsung.com>
Hyeonseong Gil [Fri, 17 Feb 2017 08:14:31 +0000 (17:14 +0900)]
[COMMON] thermal: cpu_cooling: Fix Prevent CID 11693
Change-Id: I9e577d3cfb981910ef001aa90b0bc396f0b2741d
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 17 Feb 2017 08:06:46 +0000 (17:06 +0900)]
[COMMON] thermal: gpu_cooling: Fix Prevent CID 11404
Change-Id: I9d00145cd8c52c11f7ec992d85ee58026abf3c7c
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Tue, 7 Feb 2017 10:25:18 +0000 (19:25 +0900)]
[COMMON] thermal: cpu_cooling: Fix SVACE WGID 95804
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Resolved migration conflicts from kernel 4.9 to 4.14.
- rename cpufreq_device -> cpufreq_cdev
Change-Id: I59cab68f8a57608fe60963da5f69fcced809b397
Hyeonseong Gil [Tue, 7 Feb 2017 09:43:21 +0000 (18:43 +0900)]
[COMMON] thermal: gpu_cooling: Fix SVACE defect
WGID: 95803, 96347, 96467
Resolved migration conflicts from kernel 4.9 to 4.14.
- rename gpufreq_device -> gpufreq_cdev
Change-Id: Id875f7bee04ab164098e82842662a550ce63b2df
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Tue, 7 Feb 2017 09:41:30 +0000 (18:41 +0900)]
[COMMON] thermal: isp_cooling: Fix SVACE defect WGID 95373
Change-Id: I8acf12b4b8c85bd44b48c60e4df9f87db84c448e
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Tue, 7 Feb 2017 09:34:10 +0000 (18:34 +0900)]
[COMMON] thermal: thermal_core: Fix SVACE WGID 97218
Change-Id: Ib2526e997ff0923b746efd522f479e06219d53ab
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 20 Jan 2017 01:14:07 +0000 (10:14 +0900)]
[COMMON] thermal: samsung: Fix prevent CID 11979
Change-Id: Ief6e4b7e65496a5aad6b51404bbe0987bd3bcf29
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 20 Jan 2017 00:57:32 +0000 (09:57 +0900)]
[COMMON] thermal: samsung: Fix prevet CID 11247
Change-Id: I4ef7ab3b142e906de2c8b700419bf99303da5fc8
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Soomin Kim [Mon, 2 Jan 2017 04:59:47 +0000 (13:59 +0900)]
[COMMON] thermal: isp_cooling: Fix SVACE(WGID:82271) bug
Since thermal_block and function are already checked above,
these can't be NULL. So, remove unnecessary code.
Change-Id: I88f589684de306c8930253cd8195b5ac6cd52a5e
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
Soomin Kim [Mon, 2 Jan 2017 04:10:38 +0000 (13:10 +0900)]
[COMMON] thermal: of_thermal: Fix SVACE(WGID:82320) bug
Uninitialized variable,'level', is used. Also, if there
is parsing error, the value of level can be strange.
So, fix both bug.
Change-Id: I21a4eaf9cfed87f6ed14c4b2c35548a0dea4cdd7
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
Soomin Kim [Mon, 2 Jan 2017 03:31:18 +0000 (12:31 +0900)]
[COMMON] thermal: isp: Fix ISP_FPS_TABLE_END position
Change-Id: I8c19b906c4ae89323225252439810743df852143
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
Hyeonseong Gil [Tue, 15 Nov 2016 02:02:45 +0000 (11:02 +0900)]
[COMMON] thermal: samsung: Introduce balance mode for DTM v0.2.2
Resolved migration conflicts from kernel 4.9 to 4.14.
- Move sysfs attrs to thermal_sysfs.c
Change-Id: I100b28897f45e00c8d1b8bc4d62949ac5d1ddb03
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>