[COMMON] soc: samsung: Introduce exynos cpu hotplug
authorSoohyun Kim <soohyuni.kim@samsung.com>
Wed, 17 Jan 2018 01:25:15 +0000 (10:25 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:26:34 +0000 (17:26 +0900)
commite15cd9f27462e0f3daf94ab704a26a137f1cd97b
tree4b7ca2dc6069c1a7d296a058a7c619c88e42ec56
parent774291d30d7d8f0c571c2afcb2a34ad5d0da5f67
[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>
drivers/soc/samsung/Makefile
drivers/soc/samsung/exynos-cpu_hotplug.c [new file with mode: 0644]
include/soc/samsung/exynos-cpu_hotplug.h [new file with mode: 0644]