Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5960938ybi; Wed, 12 Jun 2019 11:26:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzort7Py52DubzAs7tSknUG8eENsYs3HiGcVeHMIYW+swXtHZWTTrpjdsAY3mu77YJR0Jl+ X-Received: by 2002:a65:6096:: with SMTP id t22mr25877518pgu.71.1560363965577; Wed, 12 Jun 2019 11:26:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560363965; cv=none; d=google.com; s=arc-20160816; b=uJGjovgyckSlBV0S3M+/GGa5LRJzPZTFgYI4a8Qs6DaWPRuk+c6GyO4t2+h7rP4UIX 2/vfoVh51Vnt7VkSiCxqHbUYsSZFzG6ujPPd/Ls34Ck2zlxIy2SvWyUlz3nDGl9qWwiS uRD0fU4n1xDmEKT38kC1ffs9x1s/Iu7T8ptaIt0c5Y9KhRowYdYW3a8Esl35dc4bNIPN yuoJH2+XtI4OTpy7mHseHxz+TbdEuJGop9fOOW2zG44G1lUDpNa2u7LED4uKMMP6oFxN m6CVXWEiHUPcDJRIfCxxybXZK94ULEg1WtcwIVVgsTCoNtKweyEiG8WkaZvu642q4cIF 6oVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=uuSNLBW4Xih8Ln2YP0hGuCrzdFOuV7Ci6Ka3i26S9OU=; b=XAfKTp6qpWXZhEP3FFCUU66KmDiSQHsxKHUXSKy6twudJIrr7W+ohqCYT4rI2aMEhW PUUWju0Td2pL2LW0drHzP1xXCQsahqMiv+bh+MnjOoWxH4i1sMQeAlfMgJ75gk+leMP9 6DuqjDj/7a7tCQQpWM+9zu9V0BqvVg+njauLpbTLs5ZLank7OInjT3MyOC3Esi2DLPwP oPo6zeky6zeMOFObLDNkUx6krLKjZSr6o1j0zi5CkdH3++pOWL0YxtzYNa/3T74Jo+u0 Um+QJDshNI+N7BceZ8IbEMhsVBe6qDOqZ1OVL6eoOcCLRqNcSXSgVF+RnTurxFpkdw3Y QbBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g17si414269plo.69.2019.06.12.11.25.51; Wed, 12 Jun 2019 11:26:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727479AbfFLSZZ (ORCPT + 99 others); Wed, 12 Jun 2019 14:25:25 -0400 Received: from mx2.suse.de ([195.135.220.15]:35448 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727000AbfFLSZX (ORCPT ); Wed, 12 Jun 2019 14:25:23 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 6BBD9B00A; Wed, 12 Jun 2019 18:25:22 +0000 (UTC) From: Nicolas Saenz Julienne To: stefan.wahren@i2se.com, Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com Cc: mbrugger@suse.de, viresh.kumar@linaro.org, rjw@rjwysocki.net, sboyd@kernel.org, ptesarik@suse.com, linux-rpi-kernel@lists.infradead.org, ssuloev@orpaltech.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, mturquette@baylibre.com, linux-pm@vger.kernel.org, Nicolas Saenz Julienne , Russell King , linux-kernel@vger.kernel.org Subject: [PATCH v4 6/7] ARM: defconfig: enable cpufreq driver for RPi Date: Wed, 12 Jun 2019 20:24:58 +0200 Message-Id: <20190612182500.4097-7-nsaenzjulienne@suse.de> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190612182500.4097-1-nsaenzjulienne@suse.de> References: <20190612182500.4097-1-nsaenzjulienne@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This enables on both multi_v7_defconfig and bcm2835_defconfig the new firmware based clock and cpufreq drivers for the Raspberry Pi platform. In the case of bcm2835_defconfig, as the cpufreq subsystem was disabled, the conservative governor was selected as default since it better handles the high frequency transition latency. Signed-off-by: Nicolas Saenz Julienne Acked-by: Stefan Wahren --- Changes since v2: - Change default governor to conservative in bcm2835_defconfig - Set all as builtin in bcm2835_defconfig arch/arm/configs/bcm2835_defconfig | 9 +++++++++ arch/arm/configs/multi_v7_defconfig | 2 ++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig index dcf7610cfe55..519ff58e67b3 100644 --- a/arch/arm/configs/bcm2835_defconfig +++ b/arch/arm/configs/bcm2835_defconfig @@ -37,6 +37,14 @@ CONFIG_CMA=y CONFIG_SECCOMP=y CONFIG_KEXEC=y CONFIG_CRASH_DUMP=y +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_STAT=y +CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=y +CONFIG_CPU_FREQ_GOV_USERSPACE=y +CONFIG_CPU_FREQ_GOV_ONDEMAND=y +CONFIG_CPUFREQ_DT=y +CONFIG_ARM_RASPBERRYPI_CPUFREQ=y CONFIG_VFP=y # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set # CONFIG_SUSPEND is not set @@ -132,6 +140,7 @@ CONFIG_DMA_BCM2835=y CONFIG_STAGING=y CONFIG_SND_BCM2835=m CONFIG_VIDEO_BCM2835=m +CONFIG_CLK_RASPBERRYPI=y CONFIG_MAILBOX=y CONFIG_BCM2835_MBOX=y # CONFIG_IOMMU_SUPPORT is not set diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 6b748f214eae..0fd60a83f768 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -102,6 +102,7 @@ CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y CONFIG_CPUFREQ_DT=y CONFIG_ARM_IMX6Q_CPUFREQ=y +CONFIG_ARM_RASPBERRYPI_CPUFREQ=y CONFIG_QORIQ_CPUFREQ=y CONFIG_CPU_IDLE=y CONFIG_ARM_CPUIDLE=y @@ -899,6 +900,7 @@ CONFIG_STAGING_BOARD=y CONFIG_COMMON_CLK_MAX77686=y CONFIG_COMMON_CLK_RK808=m CONFIG_COMMON_CLK_S2MPS11=m +CONFIG_CLK_RASPBERRYPI=y CONFIG_COMMON_CLK_QCOM=y CONFIG_QCOM_CLK_RPM=y CONFIG_APQ_MMCC_8084=y -- 2.21.0