summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakeshi Kihara <takeshi.kihara.df@renesas.com>2018-06-11 18:56:10 +0900
committerKhang Nguyen <khang.nguyen.xv@rvc.renesas.com>2018-06-18 17:55:58 +0700
commita1e844b0849b1c47f37f6ae6095b17bff5f79539 (patch)
tree516890b3313109a63ed6cebccdd3542c1d6eecfd
parentc38c37303164d16e514236655f629e8d186137ae (diff)
rcar-gen3: linux-renesas: Enable DEVFREQ configuration
This commit enables DEVFREQ configuration. Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
-rw-r--r--meta-rcar-gen3/recipes-kernel/linux/linux-renesas/devfreq.cfg10
-rw-r--r--meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb1
2 files changed, 11 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-kernel/linux/linux-renesas/devfreq.cfg b/meta-rcar-gen3/recipes-kernel/linux/linux-renesas/devfreq.cfg
new file mode 100644
index 0000000..e330f3b
--- /dev/null
+++ b/meta-rcar-gen3/recipes-kernel/linux/linux-renesas/devfreq.cfg
@@ -0,0 +1,10 @@
+CONFIG_PM_DEVFREQ=y
+# CONFIG_ARM_EXYNOS_BUS_DEVFREQ is not set
+# CONFIG_ARM_RK3399_DMC_DEVFREQ is not set
+CONFIG_DEVFREQ_GOV_PASSIVE=y
+CONFIG_DEVFREQ_GOV_PERFORMANCE=y
+CONFIG_DEVFREQ_GOV_POWERSAVE=y
+CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=y
+CONFIG_DEVFREQ_GOV_USERSPACE=y
+# CONFIG_DEVFREQ_THERMAL is not set
+# CONFIG_PM_DEVFREQ_EVENT is not set
diff --git a/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb b/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb
index ce4e3a5..d1eb75b 100644
--- a/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb
+++ b/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb
@@ -21,6 +21,7 @@ PR = "r1"
SRC_URI_append = " \
file://defconfig \
file://touch.cfg \
+ file://devfreq.cfg \
${@base_conditional("USE_AVB", "1", " file://usb-video-class.cfg", "", d)} \
"