From d74973747a5e304057f8f8e42f3331b4c1820072 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Tue, 19 Nov 2019 10:57:47 +0100 Subject: [PATCH] linux (RPi): config options for 4.19.84 Enable CPUFREQ_DT and CLK_RASPBERRYPI for RPi4 to support clock changes via mailbox calls. Signed-off-by: Matthias Reichl --- projects/RPi/devices/RPi/linux/linux.arm.conf | 4 ++-- projects/RPi/devices/RPi2/linux/linux.arm.conf | 4 ++-- projects/RPi/devices/RPi4/linux/linux.arm.conf | 10 +++++++--- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/projects/RPi/devices/RPi/linux/linux.arm.conf b/projects/RPi/devices/RPi/linux/linux.arm.conf index ee4459d84e..c62f691797 100644 --- a/projects/RPi/devices/RPi/linux/linux.arm.conf +++ b/projects/RPi/devices/RPi/linux/linux.arm.conf @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 4.19.80 Kernel Configuration +# Linux/arm 4.19.84 Kernel Configuration # # @@ -3966,6 +3966,7 @@ CONFIG_COMMON_CLK=y # CONFIG_CLK_QORIQ is not set # CONFIG_COMMON_CLK_PWM is not set # CONFIG_COMMON_CLK_VC5 is not set +# CONFIG_CLK_RASPBERRYPI is not set # CONFIG_HWSPINLOCK is not set # @@ -3995,7 +3996,6 @@ CONFIG_BCM2835_MBOX=y # # CONFIG_RPMSG_QCOM_GLINK_RPM is not set # CONFIG_RPMSG_VIRTIO is not set -# CONFIG_SOUNDWIRE is not set # # SOC (System On Chip) specific Drivers diff --git a/projects/RPi/devices/RPi2/linux/linux.arm.conf b/projects/RPi/devices/RPi2/linux/linux.arm.conf index b7140541ef..6b7438cb5c 100644 --- a/projects/RPi/devices/RPi2/linux/linux.arm.conf +++ b/projects/RPi/devices/RPi2/linux/linux.arm.conf @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 4.19.80 Kernel Configuration +# Linux/arm 4.19.84 Kernel Configuration # # @@ -4082,6 +4082,7 @@ CONFIG_COMMON_CLK=y # CONFIG_CLK_QORIQ is not set # CONFIG_COMMON_CLK_PWM is not set # CONFIG_COMMON_CLK_VC5 is not set +# CONFIG_CLK_RASPBERRYPI is not set # CONFIG_HWSPINLOCK is not set # @@ -4113,7 +4114,6 @@ CONFIG_BCM2835_MBOX=y # # CONFIG_RPMSG_QCOM_GLINK_RPM is not set # CONFIG_RPMSG_VIRTIO is not set -# CONFIG_SOUNDWIRE is not set # # SOC (System On Chip) specific Drivers diff --git a/projects/RPi/devices/RPi4/linux/linux.arm.conf b/projects/RPi/devices/RPi4/linux/linux.arm.conf index 575d3a1622..11a668b1ae 100644 --- a/projects/RPi/devices/RPi4/linux/linux.arm.conf +++ b/projects/RPi/devices/RPi4/linux/linux.arm.conf @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 4.19.80 Kernel Configuration +# Linux/arm 4.19.84 Kernel Configuration # # @@ -538,8 +538,10 @@ CONFIG_CPU_FREQ_GOV_ONDEMAND=y # # CPU frequency scaling drivers # -# CONFIG_CPUFREQ_DT is not set +CONFIG_CPUFREQ_DT=y +CONFIG_CPUFREQ_DT_PLATDEV=y # CONFIG_ARM_BIG_LITTLE_CPUFREQ is not set +# CONFIG_ARM_RASPBERRYPI_CPUFREQ is not set CONFIG_ARM_BCM2835_CPUFREQ=y # CONFIG_QORIQ_CPUFREQ is not set @@ -2794,6 +2796,7 @@ CONFIG_THERMAL_GOV_STEP_WISE=y # CONFIG_THERMAL_GOV_USER_SPACE is not set # CONFIG_THERMAL_GOV_POWER_ALLOCATOR is not set # CONFIG_CPU_THERMAL is not set +# CONFIG_CLOCK_THERMAL is not set # CONFIG_THERMAL_EMULATION is not set # CONFIG_QORIQ_THERMAL is not set @@ -4626,6 +4629,7 @@ CONFIG_COMMON_CLK=y # CONFIG_CLK_QORIQ is not set # CONFIG_COMMON_CLK_PWM is not set # CONFIG_COMMON_CLK_VC5 is not set +CONFIG_CLK_RASPBERRYPI=y # CONFIG_HWSPINLOCK is not set # @@ -4657,7 +4661,6 @@ CONFIG_BCM2835_MBOX=y # # CONFIG_RPMSG_QCOM_GLINK_RPM is not set # CONFIG_RPMSG_VIRTIO is not set -# CONFIG_SOUNDWIRE is not set # # SOC (System On Chip) specific Drivers @@ -4760,6 +4763,7 @@ CONFIG_NVMEM=y # CONFIG_FPGA is not set # CONFIG_FSI is not set # CONFIG_TEE is not set +CONFIG_PM_OPP=y # CONFIG_SIOX is not set # CONFIG_SLIMBUS is not set