Hyeonseong Gil [Tue, 27 Feb 2018 09:04:58 +0000 (18:04 +0900)]
[COMMON] cpufreq: acme: Use devdata from dm_scaler
It can be used devdata directly from the sclaer function.
Added devdata register at exynos_dm_data_init().
Change-Id: I35965a1e4011366b0e16af7e22f6312319b4363a
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Soohyun Kim [Wed, 24 Jan 2018 04:37:53 +0000 (13:37 +0900)]
cpufreq: acme: change API for cpuhotplug
Change-Id: I9df99631bf827de8ced627f91d1fa8ba6a645c8b
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
Eunseok Choi [Tue, 23 Jan 2018 13:19:24 +0000 (22:19 +0900)]
cpufreq: acme: register cpufreq cooling device
Change-Id: I039e4db41c7db0a634e0e35d77000c576d63c514
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
Soohyun Kim [Mon, 22 Jan 2018 10:56:58 +0000 (19:56 +0900)]
cpufreq: acme: change API for cooling device registration
Change-Id: Ib52c8ca4209ef88ee85dcb3094d192899e4a2f9a
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
Soohyun Kim [Fri, 9 Mar 2018 03:39:01 +0000 (12:39 +0900)]
soc: cpupm: Fix build error.
Build error occured when CONFIG_CPU_IDLE is disabled.
So, distinguish the build area use by config.
Change-Id: Id0c30d53813b29b4899665ceca3ac9fbd662eda2
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
lakkyung.jung [Fri, 11 May 2018 09:30:28 +0000 (18:30 +0900)]
[9610] arm64: dts: Add CPUIDLE feature.
Change-Id: I97301d80eeb6a2f121e215c7fe670ea3196d6475
Signed-off-by: lakkyung.jung <lakkyung.jung@samsung.com>
Park Bumgyu [Mon, 26 Feb 2018 07:13:32 +0000 (16:13 +0900)]
HACK: handle big reset control
In prior chips, only big cluster supports CPD(Cluster Power Down),
therefore, big_reset_control() is called in cluster_enable/disable
function. It should be changed to consider cluster.
Change-Id: I75a50df68a44aceabb41b06fd9d66cb65aaf7de2
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
lakkyung.jung [Fri, 11 May 2018 09:21:00 +0000 (18:21 +0900)]
[9610] arm64: dts: Add node for cpupm.
Change-Id: I2936efcbed28a7578db311acc3714349916f5fe0
Signed-off-by: lakkyung.jung <lakkyung.jung@samsung.com>
Park Bumgyu [Tue, 20 Feb 2018 10:43:15 +0000 (19:43 +0900)]
cpuidle: profiler: renewal idle profiler
Change-Id: I880065e2feebd06dd8e820f1716a2d3c51e3a070
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Fri, 23 Feb 2018 00:39:01 +0000 (09:39 +0900)]
soc: cpupm: handle idle ip
Change-Id: I028775221ea5ff3238bf50532095ea49b49071a1
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Fri, 26 Jan 2018 10:25:10 +0000 (19:25 +0900)]
nohz: export symbol tick_nohz_get_sleep_length_cpu
tick_nohz_get_sleep_length_cpu returns the length of the current
sleep for a particular CPU.
Change-Id: I8fbc8af8914f0d2ddc47847bb55320925c59aaf9
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Mon, 19 Feb 2018 04:50:19 +0000 (13:50 +0900)]
soc: cpupm: support system idle
Change-Id: Id861005931eff43e61c9cd7b98aed8d00adc61b1
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Tue, 13 Feb 2018 12:05:16 +0000 (21:05 +0900)]
soc: cpupm: handle cpu hotplug
Change-Id: I0a2eb08b97bb8d4d07cec790cae13523ed0fadc8
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Mon, 5 Feb 2018 10:29:56 +0000 (19:29 +0900)]
soc: cpupm: support cluster power down
Change-Id: I232bfac95617d8dff191b176d48119abd0c7accd
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Fri, 26 Jan 2018 10:15:49 +0000 (19:15 +0900)]
soc: cpupm: support c2 state idle
Change-Id: I27d951d61470de912fde7fe21419ecaa3d9ffecb
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Wed, 31 Jan 2018 06:38:46 +0000 (15:38 +0900)]
psci: change customized PSCI to support bit operation
Change-Id: I8cf40dbe290e56d6d93fb2c193342eda166b3857
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
Johnlay Park [Mon, 22 Jan 2018 12:41:36 +0000 (21:41 +0900)]
cache: kill the unused cache related patch
Change-Id: I858260c9963c0c1b17137a9c1471925851d5eb66
Signed-off-by: Johnlay Park <jonglae.park@samsung.com>
Park Bumgyu [Tue, 10 May 2016 06:37:06 +0000 (15:37 +0900)]
arm64: fill flush_all_cpu_caches()
Change-Id: I2b87a88480d04145a341a312aaa8fc9ac0e690aa
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Tue, 10 May 2016 07:12:08 +0000 (16:12 +0900)]
arm64: Remove unused function
flush_cache_all, cpu_cache_off, soft_restart, cpu_soft_restart,
cpu_reset are removed by commit
68234df
(arm64: kill flush_cache_all()), however, this patch is reverted as
Exynos needs flush_cache_all. But other functions are unnecessary,
remove them.
Change-Id: I0ab8e30065ab3bb0314ba4dcb5984bfb81769b6d
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Tue, 10 May 2016 06:49:27 +0000 (15:49 +0900)]
Revert "arm64: Remove unused macros from assembler.h"
This reverts commit
d3127afa712321a2b297cfee358be2cb223f933c.
Change-Id: I75e0aafbf1e4f440bc51ca20a762d1834f886781
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Thu, 13 Apr 2017 05:46:47 +0000 (14:46 +0900)]
Revert "arm64: kill flush_cache_all()"
This reverts commit
68234df4ea7939f98431aa81113fbdce10c4a84b.
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Change-Id: If0b171a071e9e2fe55f0f5dc73d8f963b594ca28
Youngtae Lee [Thu, 2 Nov 2017 11:36:17 +0000 (20:36 +0900)]
kernel: Add PRE/POST noti for cpu pm
CPU_PM_ENTER_PREPARE is called before adding a timer event.
CPU_PM_EXIT is called after CPU_PM_EXIT.
Change-Id: I339cdcc1d20bbbbeb85de9f3b8bbf79150c7dfe5
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
Youngtae Lee [Thu, 2 Nov 2017 11:53:41 +0000 (20:53 +0900)]
trace: power: Add trace for schedutil governor
Change-Id: I20b8c8e72e71be03a3f18eee979397c8b892e81f
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
Park Bumgyu [Fri, 19 Jan 2018 08:05:55 +0000 (17:05 +0900)]
[COMMON] cpufreq_schedutil: select idle cpu for scaling
Change-Id: Ice84c50845dcd96689a51f481d969a557c84667a
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Youngtae Lee [Fri, 19 Jan 2018 07:52:59 +0000 (16:52 +0900)]
sched: su_gov: remove DL initial flag when starting governor
In shared policy, DL initial flag could set max freq
util flag removed by updating utilization so, remove this flag.
Change-Id: Ib04def4e8d6d42cf3d3b65b71b048f10d1285a5c
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Youngtae Lee [Tue, 14 Nov 2017 02:18:33 +0000 (11:18 +0900)]
sched: schedutil: change loop condition to get next_freq on shared policy
Between CPUHP_AP_ONLINE_DYN notif for cpufreq and stopper,
schedutil can not see util of hotplug out core.
At this time, there is a task in the core which is hotplug out,
there is a problem that utilization of these tasks is not reflected.
To avoid this, schedutil sees through the online mask to find next_frequency.
Change-Id: I3fc28c605edb184de390727a5f4a3eaa73a8797c
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
Youngtae Lee [Thu, 2 Nov 2017 11:47:24 +0000 (20:47 +0900)]
sched: schedutil: Add slack_timer and pm_qos handler
1. the slack_timer works to prevent the fequency from being held unnecessarily high
when the cpu sleeps long in a high utilization.
2. The Pm_qos handler tells the governor if the frequency
that was held high by qos could fall.
Change-Id: I5f2d5be73b8d8294a35b2810cc9721264ec55964
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
Youngtae Lee [Mon, 25 Sep 2017 13:20:35 +0000 (06:20 -0700)]
schedutil: change reference max frequency
When cpuinfo.max_frequency and policy->max is different,
This causes a bug in which the frequency increases quickly
To solve this problem, always use fixed max_frequency(cpuinfo.max_frequency)
Change-Id: I362268ebd5ffdb3e3229a414752cfb93651f2656
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
Park Bumgyu [Tue, 1 Aug 2017 10:36:30 +0000 (19:36 +0900)]
[COMMON] cpufreq: prevent to access NULL sg_policy
Change-Id: If6a532db0dc3a7fe7b3146fd48c03550d5e16fbd
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Fri, 19 Jan 2018 07:42:10 +0000 (16:42 +0900)]
[COMMON] sched: support freqvar tuner
Change-Id: Ifd2fb13a6ab44f3137aca816c8537a85af0e7850
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Youngtae Lee [Thu, 24 Aug 2017 06:43:54 +0000 (23:43 -0700)]
smp: Support random core control by bootargs
Add early_cpu_mask to remember user cpu want to remove.
hotplug and cpufreq driver uses it when control
number of online core.
Change-Id: I20977beb5e338a977f73db9a943d0ac2d3c52d93
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
Soohyun Kim [Wed, 17 Jan 2018 01:25:15 +0000 (10:25 +0900)]
[COMMON] soc: samsung: Introduce exynos cpu hotplug
exynos CPU hotplug driver supports the interface to enable or
disable cpu. All exynos drivers which want to hotplug cpu must
call the function CPU hotplug driver supported function.
CPU hotplug driver refers pm_qos class value of PM_QOS_CPU_ONLINE_MIN
and PM_QOS_CPU_ONLINE_MAX. Driver enables the cpu as mush as the
PM_QOS_CPU_ONLINE_MIN value unless this value is not bigger than
PM_QOS_CPU_ONLINE_MAX value. PM_QOS_CPU_ONLINE_MAX class has higher
priority.
Change-Id: I8b28b5198ec7e90a68579b1459d933dc35c673fc
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
Soohyun Kim [Mon, 22 Jan 2018 10:55:47 +0000 (19:55 +0900)]
Revert "[HACK] cpufreq: acme: block cooling device registration"
This reverts commit
37ac423b70b6d912cae2ad7db7b2e2f305e69a23.
Change-Id: Ic1f0360bbf37ee4b28303e42f09c4667476a62df
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
Park Bumgyu [Fri, 19 Jan 2018 05:37:16 +0000 (14:37 +0900)]
[HACK] cpufreq: acme: block cooling device registration
Change-Id: Icc91df606227e2511a6b1703ab82d04ab6f94022
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Fri, 19 Jan 2018 04:48:47 +0000 (13:48 +0900)]
[COMMON] cpufreq: support ACME(A Cpufreq that Meet Every chipset)
Change-Id: Ieb367cab72c87bb67c63bf3dbfef2d11099593b2
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
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>