hwangjae lee [Fri, 18 May 2018 11:37:34 +0000 (20:37 +0900)]
[9610] fbdev: dpu: dphy reset method is changed by sysreg control
Change-Id: I9381add8b0f9c81a33788fd35c147bfcc17b1a92
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
yi jaeuk [Fri, 18 May 2018 10:22:15 +0000 (19:22 +0900)]
[9610] arm64: dtsi: add g3d power-domain
Change-Id: I17682adb7fb5e6a3f0c9ed6900ec1060cc870e62
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
yi jaeuk [Fri, 18 May 2018 07:56:03 +0000 (16:56 +0900)]
[9610] iommu: Added power domain registration on each sysmmu.
Change-Id: If8173a68177ed0e237d0bea383e5484fe8fea6a4
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
Lee Yongjin [Mon, 22 Jan 2018 11:25:06 +0000 (20:25 +0900)]
soc: samsung: added the genpd state alloc
Change-Id: Iee5b3f0bd5e9649ba64add619653f722522cd389
Signed-off-by: Lee Yongjin <yongjin0.lee@samsung.com>
Jang JeongHoon [Mon, 22 Jan 2018 06:19:17 +0000 (15:19 +0900)]
[COMMON] soc: samsung: exynos-pd-dbg: Applied 4.14 change.
Due to below commits, lock for each genpd should be selected.
d716f47 PM / Domains: Support IRQ safe PM domains
35241d1 PM / Domains: Abstract genpd locking
Change-Id: I13126fd6b2647da540a4c16eb71da67624456a8f
Signed-off-by: Jang JeongHoon <jnghn.jang@samsung.com>
yi jaeuk [Wed, 9 May 2018 08:10:19 +0000 (17:10 +0900)]
[9610] drivers: soc: introduce exynos_pd
Change-Id: Ia5ae988037a35136d60c7310e725f05d720f76fa
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
Chungwoo Park [Mon, 14 May 2018 09:12:09 +0000 (18:12 +0900)]
[9610] arm64: Add exynos dm node to exynos9610.
Change-Id: I33142c2603e66dd9456f3ddc36f35647ba3ddfc2
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
Chungwoo Park [Mon, 14 May 2018 08:27:24 +0000 (17:27 +0900)]
[COMMON] exynos-dm: Add dm related config to code.
Change-Id: Ifad8614d135ce4ace4d402569ffb20f062f94108
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
Hyeonseong Gil [Wed, 28 Feb 2018 00:28:28 +0000 (09:28 +0900)]
[COMMON] soc: samsung: exynos-dm: remove enum dm_type
Change-Id: I29bd9741b9a5f642abc0132c042684e285efed7c
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 23 Feb 2018 04:11:10 +0000 (13:11 +0900)]
[COMMON] soc: samsung: exynos-dm: Use dynamic allocate using device tree
Change-Id: I119e1ff06e949d52acf929300677e2608e7b86cd
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Mon, 5 Feb 2018 04:40:01 +0000 (13:40 +0900)]
[COMMON] soc: samsung: exynos-dm: Remove unsued dvfs_type
Change-Id: I92aecf3261c33dc9f533122ac7e3ee430564f443
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Mon, 5 Feb 2018 04:23:34 +0000 (13:23 +0900)]
[COMMON] soc: samsung: exynos-dm: Remove chip dependency
To commonize code, we removed chip dependent code.
It registers sysfs node dynamically at probe time
and it uses dm_type_name from device-tree.
Change-Id: Ic29002b0f4fbb1298a1adfc25fdebd6fd4f29fbd
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Tue, 27 Feb 2018 08:48:37 +0000 (17:48 +0900)]
[COMMON] soc: samsung: exynos-dm: pass devdata through scaler.
Change-Id: I94feea7b905f9840b8893191491a70be3c78b3ba
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Mon, 18 Dec 2017 04:58:04 +0000 (13:58 +0900)]
[COMMON] soc: samsung: Supplement DM sysfs info
Change-Id: Ide37abfbb8d3f3a328e595314e9fd63385b8d86c
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Tue, 25 Jul 2017 08:06:05 +0000 (17:06 +0900)]
[COMMON] samsung: exynos-dm: compare min/max freq
Change-Id: Idf37bbeebf01c7fac9d104a37a1d5f6d0d6e0c38
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Wed, 17 May 2017 05:28:39 +0000 (14:28 +0900)]
[9810] soc: samsung: Modify DM type for exynos9810
Change-Id: If772b0dbd32970cdaf1bbdd99fe56a101edf2a25
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Eunok Jo [Mon, 27 Feb 2017 07:43:19 +0000 (16:43 +0900)]
[COMMON] exynos: DVFS Manager: fix scaling violation
Change-Id: I46a9ce754783dc67d28f898fb11a39f5aefb2827
Signed-off-by: Eunok Jo <eunok25.jo@samsung.com>
Eunok Jo [Tue, 7 Feb 2017 10:53:10 +0000 (19:53 +0900)]
[COMMON] dvfs manager: svace fix: fix type mismatch
WGID: 96922, 97112
Change-Id: Iffef18b92ffa67e1b5d77a4c023c6237eda3fb35
Signed-off-by: Eunok Jo <eunok25.jo@samsung.com>
Taekki Kim [Tue, 13 Sep 2016 11:39:54 +0000 (20:39 +0900)]
[COMMON] samsung: exynos-dm: fix frequency scale ordering
Change-Id: Ib4c3f0c57ee4f595aa6b4baebff101afa39aa439
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
Taekki Kim [Tue, 13 Sep 2016 07:27:24 +0000 (16:27 +0900)]
[COMMON] samsung: exynos-dm: fix frequency policy condition
Change-Id: Ic997d8c9967a899aea29e906074397fa3e2706e9
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
Taekki Kim [Tue, 20 Sep 2016 12:22:14 +0000 (21:22 +0900)]
[COMMON] samsung: exynos-dm: fix the mutex unlocking
This patch fixes the mutex unlocking when return from error.
Change-Id: I5c5e97446535432e5ff2a3503649fac216a2d851
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
Taekki Kim [Tue, 13 Sep 2016 12:58:37 +0000 (21:58 +0900)]
[COMMON] samsung: exynos-dm: fix sysfs message logging
Change-Id: I73778d5f03da27e17de04d7fabbf50b51b828ac7
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
Jaejoon Yoo [Fri, 19 Aug 2016 06:55:56 +0000 (15:55 +0900)]
[COMMON] exynos: DVFS Manager: Fix policy_min_freq set
While device is booting, policy_min_freq value(INT) is set incorrectly.
I expected that policy_min_freq(INT) value should be changed to boot frequency
after devfreq init call. But policy_min_freq(INT) was not changed to boot frequency
after devfreq init call rarely.
This patch is for fixing this problem from DVFS Manager.
Change-Id: I82348d678bb31f093a322a92b508860a531f0cf2
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
Jaejoon Yoo [Mon, 15 Aug 2016 02:34:17 +0000 (11:34 +0900)]
[COMMON] exynos: DVFS Manager: Add config to ACPM code in DM
Change-Id: Ie026c05b6e317a5351a45893896a4e20598918ea
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
Jaejoon Yoo [Fri, 12 Aug 2016 03:53:26 +0000 (12:53 +0900)]
[COMMON] exynos: DVFS Manager: Parse cal-id from DT.
Change-Id: I244d06a50d1e15353c00fde8ba46c661aa960fb5
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
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>