lakkyung.jung [Fri, 11 May 2018 06:52:09 +0000 (15:52 +0900)]
[9610] arm64: dts: add dtsi for cpufreq
Change-Id: I10b80260406fcdd719e26620868d6cf30adb0957
Signed-off-by: lakkyung.jung <lakkyung.jung@samsung.com>
lakkyung.jung [Fri, 11 May 2018 06:07:46 +0000 (15:07 +0900)]
[9610] dtsi: Add sched util information
Change-Id: I4668f70355db509575640faa15abb058661ab311
Signed-off-by: lakkyung.jung <lakkyung.jung@samsung.com>
Park Bumgyu [Fri, 19 Jan 2018 01:42:49 +0000 (10:42 +0900)]
[COMMON] cpuidle: support cpuidle driver for exynos
Change-Id: I206e3204542c8b6d87e5c48c830a8f67fd0288a8
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Tue, 16 Jan 2018 10:01:05 +0000 (19:01 +0900)]
[COMMON] sched: ehmp: support EHMP(Exynos HMP)
Change-Id: Ie7ee8a84ed0fdc3a62d10a5b55488477edcdba7f
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Tue, 3 May 2016 10:23:54 +0000 (19:23 +0900)]
[COMMON] arm64: kernel: Support customized suspend finisher
We hope that PSCI framework cover the all platform specific power
states, unfortunately PSCI can support only state managed by cpuidle.
Hence it is not correspond on Exynos.
psci_suspend_customized_finisher supports extra power state which
cpuidle does not handle such as system sleep, system idle clock
down and cluster power down.
Change-Id: I970f5ec2477de8e3fea2e10528bfc564b584c144
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
Park Bumgyu [Tue, 3 May 2016 10:01:36 +0000 (19:01 +0900)]
[COMMON] arm64: psci: Reappear psci_power_state_pack
psci_power_state_pack which combines PSCI power state information
to integer is removed by commit
c8cc427("arm64: psci: kill
psci_power_state").
In case of exynos, it needs to reconstitute PSCI power state to
support extra power mode which cpuidle does not support. To
resonstitute PSCI power state, psci_power_state_pack is added.
It will be used in psci_suspend_customized_finisher.
Change-Id: I506e690965e73cdd1d6acee7664b5cf4cfc049a0
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Chungwoo Park [Mon, 14 May 2018 12:42:07 +0000 (21:42 +0900)]
Revert "[HACK][9610] bts: disable PM QoS request"
This reverts commit
aa6f441e35a565319cef69f1b47900de5b7d3f64.
Change-Id: I5cb311bc240f18ee2a7959a1cc99e40e5e00a24d
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
Chungwoo Park [Mon, 14 May 2018 10:37:30 +0000 (19:37 +0900)]
[9610] arm64: Add devfreq node to exynos9610
Change-Id: Ib170edd2632096930db49f0fbc7fe6337822ff22
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
Chungwoo Park [Mon, 14 May 2018 10:08:57 +0000 (19:08 +0900)]
[9610] bts: Add MIF_CHANGE type to exynos9610 bts.
Change-Id: I83586c7f14d363550d25046f800273552e03dbde
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
Chungwoo Park [Mon, 14 May 2018 09:26:03 +0000 (18:26 +0900)]
devfreq: Bring up to exynos devfreq.
Change-Id: I5f8e4a0b203e4046fd3378111faf24cd400caa50
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
Chungwoo Park [Mon, 14 May 2018 11:32:52 +0000 (20:32 +0900)]
[COMMON] soc: samsung: cal-if: Add time related header file.
Change-Id: Ia387fa477cec5d93e4a38c79fa0345fbe00a8163
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
Chungwoo Park [Mon, 14 May 2018 11:26:12 +0000 (20:26 +0900)]
[9610] soc: samsung: Enable ACPM_DVFS to Kconfig.
Change-Id: I9b21c6a29568c206d56603e0117f6ab23640d4d9
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
Hanjun Shin [Fri, 23 Feb 2018 08:18:42 +0000 (17:18 +0900)]
[COMMON] soc: samsung: Remove static on exynos_pd_status() function
- Remove static keyword to use the function in another file.
- exynos_devfreq.c will use this function for get_freq()
Change-Id: I80ab48027ccdf7166d60e6be3708d9146b218124
Signed-off-by: Hanjun Shin <hanjun.shin@samsung.com>
yi jaeuk [Fri, 18 May 2018 10:00:00 +0000 (19:00 +0900)]
[HACK][9610] disable runtimePM in VIPX
Change-Id: I445e1f2e0938a1ab81b3469de59c2ebf1722ec4d
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
yi jaeuk [Mon, 14 May 2018 09:27:47 +0000 (18:27 +0900)]
[HACK][9610] include: soc: samsung: include exynos-pm.h
Change-Id: I09b6ba83b473cb17f600514e2a1b377a46308b99
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
Chungwoo Park [Mon, 21 May 2018 06:21:20 +0000 (15:21 +0900)]
[COMMON] devfreq: Add exynos devfreq depth header file.
Change-Id: Iaeef0e315a093a0d4f40f1ba43cbf27b0e3a3707
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
yi jaeuk [Fri, 11 May 2018 05:16:59 +0000 (14:16 +0900)]
[HACK][9610] include: soc: samsung: include exynos-powermode.h
This patch is for exynos_pd.
The patch is copied from android-exynos-4.9-ww-9610-stable.
When exynos-powermode is done, the patch can be reverted.
Change-Id: I6ea3235465f270f68f50c5425b10611b05eda1c3
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
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>