From a1e844b0849b1c47f37f6ae6095b17bff5f79539 Mon Sep 17 00:00:00 2001 From: Takeshi Kihara Date: Mon, 11 Jun 2018 18:56:10 +0900 Subject: rcar-gen3: linux-renesas: Enable DEVFREQ configuration This commit enables DEVFREQ configuration. Signed-off-by: Takeshi Kihara Signed-off-by: Khang Nguyen Signed-off-by: Takamitsu Honda --- meta-rcar-gen3/recipes-kernel/linux/linux-renesas/devfreq.cfg | 10 ++++++++++ meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb | 1 + 2 files changed, 11 insertions(+) create mode 100644 meta-rcar-gen3/recipes-kernel/linux/linux-renesas/devfreq.cfg (limited to 'meta-rcar-gen3') 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)} \ " -- cgit 1.2.3-korg